@import url('https://fonts.googleapis.com/css?family=Proxima+Nova');

/* ==============================
   RESET & GLOBAL STYLES
   ============================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.main-content {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 5rem;
}
.title-box{
    display: flex;
    gap: 1rem;
}
.title-text{
    color: #111827;
    size: 18px;
}

body {
    font-family: "Proxima Nova", sans-serif;
    background-color: #FFFFFF;
    color: #1d1d1b;
    /* Huisstijl zwart: RGB 29, 29, 27 */
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;

    /* ADD THESE */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==============================
   NAVBAR & ANIMATIONS
   ============================== */
.navbar {
    background-color: #FFFFFF;
    /* Huisstijl rood: RGB 228, 5, 33 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.35s ease-in-out;
}

.navbar.hide {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: black;
    /* Logo tekst moet zwart zijn volgens handboek */
    /* This creates the gap between logo and links */
    margin-right: 1.5rem;
    position: relative;
    padding-right: 1.5rem;
}

/* logo size */
.logo-img {
    width: auto;
    height: 40px;
    object-fit: contain;
}

/* The Vertical Grey Line */
.logo::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #fff;
    /* Grey line */
}

.title {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    /*margin: 0;*/
    /* Prevents H1 from breaking height */
}


.nav-links {
    display: block;
}

.nav-links ul {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    font-family: "Proxima Nova", sans-serif;
    /* "Black Proxima Nova " stijl uit handboek */
    color: black;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.3s ease;
}

/* De animatie-onderlijn */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 0;
    background-color: #ffffff;
    /* Wit contrasteert goed op rood */
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #e40521;
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
    margin-right: 15px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #1d1d1b;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

.hamburger.active div:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Smooth transition for mobile menu */
@media screen and (max-width: 992px) {
    .hamburger {
        display: flex;
        /* SHOW BURGER ON MOBILE */
    }

    /* Remove the vertical line on mobile */
    .logo::after {
        display: none;
    }

    .nav-links {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #e40521;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* FIX: Force links to stack vertically and add padding */
    .nav-links ul {
        flex-direction: column;
        gap: 0;
        /* We use padding on links instead for better click area */
        text-align: center;
        padding: 1rem 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 8px 0;
        /* Makes the links "thicker" and easier to tap */
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        /* Optional: subtle divider */
    }

    .nav-links.active {
        max-height: 500px;
        /* Adjust based on number of links */
    }

    
}

@media screen and (max-width: 465px) {
    .title {
        display: none;
    }
}

.theme-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* THEME TOGGLE BUTTON */
.theme-button {
    display:none !important;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transition: all 0.2s ease;
    color: #1d1d1b;
}


/* ==============================
   ELEMENTEN & TYPOGRAFIE
   ============================== */
.footer .payoff {
    margin-top: 0rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #e40521;
    text-align: center;
}

.footer {
    text-align: center;
    /*padding: 1rem 0;*/
    font-size: 0.875rem;
    background-color: rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.hidden {
    display: none;
}

.invisible-text {
    opacity: 0%;
}

/* DARK MODE OVERRIDES */
body.dark {
    background-color: #111827;
    color: #f9fafb;
}

body.dark .nav-links a,
body.dark .logo,
body.dark .theme-button {
    color: #ffffff;
}

.broodtekst {
    clear: both;
    max-width: 80em;
    font-size: 1.2em;
    margin-bottom: 0em;
    margin-top: 1em;
}

body.dark .footer {
    text-align: center;
    /*padding: 1rem 0;*/
    font-size: 0.875rem;
    background-color: #172135;
    margin-top: auto;
}

/* First, ensure the parent has position: relative */
.nav-links a {
    position: relative;
}

/* Dark mode underline - default state */
body.dark .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 0;
    background-color: #1d1d1b;
    transition: width 0.3s ease;
}

/* Dark mode underline - hover state */
body.dark .nav-links a:hover::after {
    width: 100%;
}

body.dark .nav-links a:hover {
    color: #1d1d1b;
}

/* The Vertical Grey Line */
body.dark .logo::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #fff;
    /* Grey line */
}


@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}


.tussentitel_ding {
    font-family: "maple-web", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.2em;
    background-color: rgb(228, 5, 33);
    color: #fff;
    display: inline-block;
    padding: .2em .25em 0;
    margin: 0 0 .5em 0;
    transform: rotate(-1.5deg);
}


/*
.foto-wrapper {
    position: relative;
}

.foto-wrapper::after {
    content: "";
    background-image: url('../images/bolletjesnobg.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 10%;
    height: 100%;
    position: absolute;
    top: -50%;
    left: -2%;
}
*/
.middle{
    margin-top: 1%;
}



