html {
    scroll-behavior: smooth;
}

body {
    background-image: url('../resources/background.png');
    color: white;
    font-family: "Roboto", sans-serif;
}

/* ===================== NAVBAR ===================== */
.navbar-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(8px);
    padding: 10px 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease;
}

.navbar-wrapper:hover {
    background: rgba(13, 13, 13, 0.95);
}

.navbar {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navlogo {
    max-width: 55px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.navlogo:hover {
    transform: scale(1.1);
}

.navbar-buttons {
    display: flex;
    gap: 15px;
}

.navbutton {
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 30px;
    border: 3px solid rgb(255, 243, 174);
    background: linear-gradient(rgb(255, 217, 9), rgb(255, 234, 92));
    color: rgb(76, 74, 0);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbutton:hover {
    background: linear-gradient(rgb(171, 145, 0), rgb(238, 206, 0));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
    .navbar {
        width: 90%;
        flex-direction: column;
        gap: 10px;
    }

    .navbar-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===================== HERO ===================== */
.hero-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* center content vertically in remaining space */
    min-height: calc(100vh - 100px);
    /* viewport height minus navbar */
    padding-top: 160px;
    /* offset for fixed navbar */
    padding-bottom: 50px;
    box-sizing: border-box;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    margin: 40px 0;
    /* instead of margin-top: 200px */
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    /* space between text and buttons */
}

.hero-title {
    font-family: "Stack Sans Text", sans-serif;
    font-weight: 400;
    font-size: 100px;
    margin-bottom: 15px;
    border-right: 5px solid white;
    padding-right: 5px;
}

.hero-text {
    font-family: "Quicksand", sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.3;
    margin: 8px 0;
}

.hero-buttons {
    display: flex;
    gap: 50px;
    margin: 40px 0;
}

.mainbutton {
    padding: 15px 40px;
    border-radius: 40px;
    border: 4px solid rgb(255, 243, 174);
    background: linear-gradient(rgb(255, 217, 9), rgb(255, 234, 92));
    color: rgb(76, 74, 0);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mainbutton:hover {
    background: linear-gradient(rgb(171, 145, 0), rgb(238, 206, 0));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* ===================== WORK ===================== */
.work-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    color: white;
    margin: 50px 0;
    text-decoration: underline;
    text-align: center;
}

/* ===================== CUSTOMERS ===================== */
.customer-wrapper {
    width: 100%;
    min-height: 80dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

.customer-list {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.customer-entry {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.customer-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.customer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ccc;
}

.customer-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.customer-name {
    font-family: "Stack Sans Text", sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 4px;
}

.customer-details {
    font-family: "Quicksand", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgb(204, 204, 204);
}

/* ===================== THUMBNAILS ===================== */
.thumb-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.thumb-wrapper {
    padding: 6px;
    border-radius: 12px;
    background: radial-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumb-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.thumbnail {
    width: 100%;
    height: auto;
    border: 15px solid rgb(28, 28, 28);
    border-radius: 8px;
    object-fit: cover;
}

/* ===================== SOCIAL BUTTONS ===================== */
.fa {
    padding: 20px;
    margin: 20px;
    font-size: 50px;
    width: 100px;
    text-align: center;
    text-decoration: none;
    color: rgb(76, 74, 0);
    background: linear-gradient(rgb(255, 217, 9), rgb(255, 234, 92));
    border-radius: 20px;
    transition: all 0.3s ease;
}

.fa:hover {
    background: linear-gradient(rgb(171, 145, 0), rgb(238, 206, 0));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.social-wrapper {
    display: flex;
    flex-direction: column;
    /* keep buttons stacked vertically if you want */
    align-items: center;
    /* centers content horizontally */
    justify-content: center;
    color: white;
    gap: 20px;
    /* space between text and buttons */
    margin: 50px 0;
    /* optional spacing from other sections */
}

/* If your buttons are horizontal, add this */
.social-buttons {
    display: flex;
    justify-content: center;
    /* centers buttons in the row */
    gap: 20px;
    /* spacing between buttons */
}

/* ===================== SELECTOR ===================== */
.selector {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* =====================
   MOBILE SECTION
   ===================== */
@media screen and (max-width: 768px) {

    /* --- Navbar --- */
    .navbar {
        width: 90%;
        flex-direction: row;   /* Logo nur, keine Buttons */
        justify-content: center;
    }

    .navbar-buttons {
        display: none;         /* Buttons verschwinden */
    }

    /* --- Hero Wrapper --- */
    .hero-wrapper {
        padding-top: 80px;     /* Abstand zur Navbar */
        padding-bottom: 50px;
        text-align: center;
        min-height: calc(100vh - 80px);
        box-sizing: border-box;
    }

    /* --- Hero Logo --- */
    .hero-logo {
        max-width: 180px;
        margin: 50px 0;
    }

    /* --- Hero Title --- */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
        min-height: 3rem;       /* FIX: reserviert Platz, kein Layout Shift */
        border-right: 3px solid white;
        padding-right: 5px;
        text-align: center;
        overflow: hidden;
    }

    /* --- Hero Description Text --- */
    .hero-text {
        font-size: 1.5rem;      /* etwas größer */
        line-height: 1;
        margin-bottom: 15px;
        text-align: center;
    }

    /* --- Hero Buttons --- */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .hero-buttons button {
        width: 80%;
        text-align: center;
        padding: 14px 0;
        font-size: 1.4rem;
    }

    /* --- Thumbnails / My Work --- */
    .thumb-container {
        display: grid;
        grid-template-columns: 1fr; /* EIN Thumbnail pro Reihe */
        gap: 12px;
        width: 100%;
        padding: 0 8px;           /* wenig Seitenrand */
        box-sizing: border-box;
    }

    .thumb-wrapper {
        padding: 4px;
        border-radius: 10px;
    }

    .thumbnail {
        width: 100%;
        height: auto;
        border: 8px solid rgb(28,28,28);
        border-radius: 6px;
        object-fit: cover;
    }

    /* --- Customer Section --- */
    .customer-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .customer-entry {
        padding: 12px;
        border-radius: 10px;
    }

    /* --- Social Buttons --- */
    .social-wrapper {
        margin: 40px 0;
    }

    .fa {
        width: 80px;
        height: 80px;
        font-size: 36px;
        margin: 10px;
    }
}
