/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* BASE */
body {
    font-family: "Montserrat", sans-serif;
    background: radial-gradient(circle at top, #0a3d6d, #041c2c);
    color: white;
}

.viewport {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.header {
    height: 100px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    width: 200px;
}

/* NAV */
.nav a {
    margin-left: 18px;
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.nav .login {
    padding: 8px 16px;
    background: #0a7bd6;
    border-radius: 8px;
}

/* HAMBURGER BUTTON */
.hamburger {
    display: none; /* alleen mobiel */
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* GRID */
.main-grid {
    flex: 1;
    display: grid;
    gap: 28px;
    padding: 30px 40px;
}

/* STORY */
.story {
    max-width: 520px;
}

.story h1 {
    font-family: "Oswald", sans-serif;
    font-size: 2.8rem;
    margin-bottom: 14px;
}

.story p {
    font-size: 1.05rem;
    opacity: .9;
}

.primary-cta {
    margin-top: 20px;
    padding: 14px 22px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0a7bd6, #0349ab);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

/* BESTSELLERS */
.bestsellers h2 {
    font-family: "Oswald", sans-serif;
    margin-bottom: 14px;
}

.cards {
    display: flex;
    gap: 18px;
}

.card {
    flex: 1;
    text-decoration: none;
    color: white;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .35s, background .35s;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.2);
}

.card.highlight {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.22);
}

.card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.card-info h3 {
    font-family: "Oswald", sans-serif;
    margin: 8px 0 2px;
}

.card-info span {
    font-size: .9rem;
    opacity: .8;
}

.card-cta {
    margin-top: 10px;
    font-weight: 600;
    color: #cfe8ff;
}

/* INFO */
.info ul {
    list-style: none;
}

.info li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

/* TRUST */
.trust {
    height: 50px;
    text-align: center;
    font-size: .9rem;
    opacity: .85;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WHATSAPP BUTTON */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1002;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.whatsapp-button:hover img {
    transform: scale(1.1);
}

/* DESKTOP – GRID */
@media (min-width: 1000px) {
    .main-grid {
        grid-template-columns: 1.1fr 1.9fr;
        grid-template-rows: 1fr auto;
    }

    .story {
        grid-row: 1;
        grid-column: 1;
        align-self: center;
    }

    .bestsellers {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .info {
        grid-column: 1;
        grid-row: 2;
    }
}

/* MOBIEL */
@media (max-width: 800px) {

    .logo {
        width: 160px;
    }

    /* Hamburger zichtbaar maken */
    .hamburger {
        display: flex;
    }

    /* Menu standaard verbergen */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: rgba(10, 61, 109, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav a {
        margin: 0;
        font-size: 1.2rem;
    }

    .nav.nav-active {
        right: 0;
    }

    .cards {
        flex-direction: column;
    }
}
