@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --slhd-primary: rgb(29, 56, 122);
    --slhd-secondary: rgb(0, 144, 214);
    --slhd-yellow: rgb(253, 195, 0);
    --slhd-orange1: rgb(243, 145, 0);
    --slhd-orange2: rgb(249, 176, 0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--slhd-primary);
    overflow-x: hidden;
    padding-left: 0;
    padding-right: 0;
    padding-top: 140px;
    margin: 0;
}

/* BLUE VERTICAL STRIPES - Full page background */
.blue-stripes-vertical {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -20;
    background: repeating-linear-gradient(
        to bottom,
        rgb(31, 44, 201) 0px,
        rgb(31, 44, 201) 30px,
        rgb(29, 56, 122) 30px,
        rgb(29, 56, 122) 60px,
        rgb(0, 71, 149) 60px,
        rgb(0, 71, 149) 90px,
        rgb(0, 144, 214) 90px,
        rgb(0, 144, 214) 120px,
        rgb(0, 71, 149) 120px,
        rgb(0, 71, 149) 150px,
        rgb(29, 56, 122) 150px,
        rgb(29, 56, 122) 180px
    );
    pointer-events: none;
}

/* Left and right blue vertical bars - SEPARATE ELEMENTS */
.blue-bar-left,
.blue-bar-right {
    position: fixed;
    top: 0;
    width: 25px;
    height: 100%;
    z-index: 999;
    background: repeating-linear-gradient(
        to bottom,
        rgb(31, 44, 201) 0px,
        rgb(31, 44, 201) 30px,
        rgb(29, 56, 122) 30px,
        rgb(29, 56, 122) 60px,
        rgb(0, 71, 149) 60px,
        rgb(0, 71, 149) 90px,
        rgb(0, 144, 214) 90px,
        rgb(0, 144, 214) 120px,
        rgb(0, 71, 149) 120px,
        rgb(0, 71, 149) 150px,
        rgb(29, 56, 122) 150px,
        rgb(29, 56, 122) 180px
    );
    pointer-events: none;
}

.blue-bar-left {
    left: 0;
}

.blue-bar-right {
    right: 0;
}
		/* WARNING BAR */
.warning-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 25px;
    background-color: rgb(253, 195, 0);
    color: rgb(29, 56, 122);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    line-height: 1.2;
    padding: 0 40px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.warning-bar-content {
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.warning-bar a {
    color: rgb(29, 56, 122);
    text-decoration: underline;
    font-weight: 600;
}

.warning-bar a:hover {
    color: rgb(0, 144, 214);
}

/* Container spacing to respect blue bars */
.container,
.container-fluid {
    padding-left: 40px; /* 25px bar + 15px spacing */
    padding-right: 40px;
}

/* Content wrapper for all page content */
.content-wrapper {
    margin-top: 0;
    position: relative;
    z-index: 10;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    margin: 0;
    z-index: 1030;
    background-color: var(--slhd-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    min-height: 140px;
    padding: 0;
}

.navbar .container-fluid {
    max-width: 100%;
    padding: 10px 40px; /* Respect blue bars */
}

.navbar-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 120px;
}

.navbar-animation-section {
    flex: 0 0 auto;
}

.navbar-animation {
    width: 300px;
    height: auto;
}

.navbar-menu-section {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item {
    margin: 0 3px;
}

.navbar-nav .nav-link {
    color: white !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: lowercase;
    padding: 8px 16px !important;
    border-radius: 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

/* Hover effect - Orange square background */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    background-color: var(--slhd-yellow) !important;
    color: var(--slhd-primary) !important;
}

/* Dropdown menu */
.dropdown-menu {
    background: white;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 0;
    padding: 10px 0;
}

.dropdown-item {
    color: var(--slhd-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--slhd-yellow);
    color: var(--slhd-primary);
}

/* Mobile toggle */
.navbar-toggler {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    padding: 8px 12px;
}

.navbar-toggler-icon {
    background-image: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
}

.navbar-toggler-icon .line {
    background-color: white;
    height: 3px;
    width: 100%;
    border-radius: 0;
}

/* HERO SECTION */
.header_banner {
    position: relative;
    width: 100vw;
    margin: 0;
    margin-top: -140px;
    padding-top: 140px;
    height: 626px;
    background-image: url('/img/images/bg_home6.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.banner_home {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 150px;
}

.banner_home_slogan {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* TEASER SECTION - Full width but respecting blue bars */
.teaser_home {
    position: relative;
    z-index: 10;
    margin: 0;
    padding-left: 25px; /* Width of blue bar */
    padding-right: 25px; /* Width of blue bar */
}

.teaser_home .container-fluid {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.teaser_home .row {
    margin: 0;
}

.teaser_home .col-lg-4 {
    padding: 0;
}

.teaser_home_event {
    width: 100%;
    min-height: 400px;
    padding: 40px 45px;
    text-align: left;
}

/* Three different orange colors for each teaser */
.teaser_1-carousel {
    background-color: var(--slhd-yellow); /* rgb(253, 195, 0) */
}

.teaser_2-carousel {
    background-color: var(--slhd-orange2); /* rgb(249, 176, 0) */
}

.teaser_3-carousel {
    background-color: var(--slhd-orange1); /* rgb(243, 145, 0) */
}

.teaser_home_event_header {
    margin-bottom: 20px;
    padding-top: 30px;
}

.teaser_titel {
    color: var(--slhd-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1.875rem;
    font-weight: 400;
    letter-spacing: -2px;
    margin: 0;
}

.teaser_home_event_body {
    color: var(--slhd-primary);
    font-size: 1rem;
    line-height: 1.6;
}

.teaser_home_event_body p {
    margin-bottom: 10px;
}

.home_teaser_link {
    color: var(--slhd-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 500;
}

.home_teaser_link:hover {
    color: var(--slhd-yellow);
    text-decoration: underline;
}

/* INSTAGRAM SECTION */
.bg_white {
    background-color: white;
    padding: 40px 0;
}

/* CONTENT SECTIONS */
.bg_gray {
    background-color: var(--slhd-primary);
    color: var(--slhd-yellow);
    padding: 60px 0;
}

/* Content sections for template pages */
.content-section {
    position: relative;
    z-index: 10;
}

.content-wrapper > .content-section:first-child,
.content-section:first-of-type {
    margin-top: 0;
    padding-top: 80px;
}

.content-section.bg-light {
    background-color: #EBEBEB;
    padding: 60px 0;
}

.content-section.bg-light:first-child,
.content-wrapper > .content-section.bg-light:first-child {
    padding-top: 140px;
}

.content-section.bg-light .content_titel {
    color: var(--slhd-primary);
    margin-top: 0;
    padding-top: 0;
}

.content-section.bg-light .content_tekst p {
    color: #333;
}

/* Override Bootstrap's bg-dark with custom color */
section.content-section.bg-dark,
section.content-section.bg-blue {
    background-color: var(--slhd-primary) !important;
    padding: 60px 0;
    color: white;
}

section.content-section.bg-dark .content_titel,
section.content-section.bg-blue .content_titel {
    color: var(--slhd-yellow);
}

section.content-section.bg-dark .content_tekst p,
section.content-section.bg-blue .content_tekst p {
    color: white;
}

.content_titel {
    color: var(--slhd-yellow);
    font-family: 'Poppins', sans-serif;
    font-size: 1.875rem;
    font-weight: 400;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.content_tekst {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content_tekst p {
    line-height: 1.8;
    color: var(--slhd-yellow);
    font-size: 1rem;
}

.content_image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content_image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.more_link {
    color: var(--slhd-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.bg_gray .more_link {
    color: white;
}

.more_link:hover {
    text-decoration: underline;
    color: var(--slhd-yellow);
}

.img_rond_300 {
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.auto_rond {
    border-radius: 50%;
    overflow: hidden;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.auto_rond img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* AMBASSADEURS SECTION */
#home_ambassadeurs {
    background-color: white;
    padding: 60px 0;
}

#home_ambassadeurs .content_titel {
    color: var(--slhd-primary);
    text-align: center;
}

.ambassadeur-carousel-item {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    margin: 20px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 175px;
}

.img_rond_125 {
    width: 125px;
    height: 125px;
    margin: 0 auto;
}

.auto_rond_border_SLHD_secundair {
    border: 4px solid var(--slhd-yellow);
}

.Quote {
    font-style: italic;
    font-size: 0.875rem;
    color: var(--slhd-primary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.Ambassadeur .Naam {
    font-weight: 700;
    color: var(--slhd-yellow);
}

.Ambassadeur .Omschrijving {
    color: var(--slhd-primary);
}

/* FOOTER */
.footer {
    background-color: var(--slhd-primary);
    color: #999999;
    padding: 50px 0 20px;
    margin: 0;
    width: 100%;
    border-top: solid 20px;
    border-image: repeating-linear-gradient(
        to right,
        rgb(243, 145, 0) 0px,
        rgb(243, 145, 0) 60px,
        rgb(249, 178, 0) 60px,
        rgb(249, 178, 0) 120px,
        rgb(253, 195, 0) 120px,
        rgb(253, 195, 0) 180px,
        rgb(255, 221, 0) 180px,
        rgb(255, 221, 0) 240px,
        rgb(253, 195, 0) 240px,
        rgb(253, 195, 0) 300px,
        rgb(249, 178, 0) 300px,
        rgb(249, 178, 0) 360px
    ) 1;
}

.footer .container {
    max-width: 100%;
    padding: 0 40px; /* Respect blue bars */
}

.footer_logo img {
    max-width: 150px;
    height: auto;
}

.footer_contact {
    line-height: 2;
    font-size: 1rem;
}

.font_groter {
    font-size: 1.125rem;
    font-weight: 600;
}

.footer_link_pos {
    color: var(--slhd-yellow);
    text-decoration: none;
}

.footer_link_pos:hover {
    text-decoration: underline;
    color: var(--slhd-secondary);
}

.footer_link_neg {
    color: #999999;
    text-decoration: none;
    font-size: 0.75rem;
}

.footer_link_neg:hover {
    color: var(--slhd-secondary);
}

.footer_social ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer_social ul li a {
    color: #999999;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer_social ul li a:hover {
    color: var(--slhd-secondary);
}

.footer_copyright {
    font-size: 0.75rem;
    line-height: 1.8;
    margin-top: 20px;
}

/* Back to top */
#page_up {
    position: fixed;
    bottom: 50px;
    right: 50px; /* Adjusted for blue bar */
    z-index: 1000;
}

.page_up {
    display: block;
    width: 50px;
    height: 50px;
    background: #3B3D40;
    color: var(--slhd-secondary);
    text-align: center;
    line-height: 50px;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s;
}

.page_up:hover {
    background: #3B3D40;
    color: var(--slhd-secondary);
}

/* FormHeight container */
.FormHeight {
    min-height: 70vh;
    width: 100%;
    display: block;
    clear: both;
}

/* Responsive */
@media (max-width: 992px) {
    body {
        padding-left: 0;
        padding-right: 0;
    }
    
    .container,
    .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .navbar {
        margin: 0;
    }
    
    .navbar .container-fluid {
        padding: 10px 30px;
    }
    
    .header_banner {
        margin: 0;
        height: 400px;
    }
    
    .banner_home_slogan {
        font-size: 3rem;
    }
    
    .teaser_home {
        margin: 0;
    }
    
    .navbar-content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-animation {
        width: 240px;
        margin-bottom: 15px;
    }
    
    .navbar-collapse {
        width: 100%;
        margin-top: 15px;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
        margin: 3px 0;
    }
    
    .footer {
        margin: 0;
        width: 100%;
    }
    
    .footer .container {
        padding: 0 30px;
    }
    
    .footer_logo,
    .footer_contact,
    .footer_scholengroep,
    .footer_social {
        text-align: center;
        margin-top: 30px;
    }
    
    /* Hide blue bars on mobile */
    .blue-bar-left,
    .blue-bar-right {
        display: none;
    }
    
    .teaser_home {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .banner_home_slogan {
        font-size: 2rem;
    }
    
    .header_banner {
        height: 350px;
    }
    
    .teaser_titel {
        font-size: 1.5rem;
    }
}
