/*
 * Hoofdstylesheet voor Radio SamSam - Schoon & Opgeschikt
 * Inclusief Header, Main Content, Footer, FAB en Modale Popup.
 */

/* =========================
   0. CSS Variabelen & Reset
   ========================= */
:root {
    /* Kleur palet */
    --color-primary: #007bff;        /* Helder Blauw (Merkkleur) */
    --color-primary-dark: #0056b3;
    --color-accent: #0056b3;         /* Fel Oranje/Rood (Actie/Live) */
    --color-accent-light: rgba(254, 254, 60,1);
    --color-background: #ffffff;     /* Wit */
    --color-light-background: #f8f9fa; /* Zeer lichtgrijs (Footer/Header BG) */
    --color-text-dark: #343a40;      /* Donkere tekst */
    --color-border: #dee2e6;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("style/img/samsam-bg.png"), url("style/img/samsam-bg.png"), url("style/img/North_Brabant-Flag.svg.png"), url("style/img/North_Brabant-Flag.svg.png");
  background-repeat: no-repeat, no-repeat, repeat-y, repeat-y;
  background-position: left center, right center;
  background-size: 400px auto, 400px auto, 400px auto, 400px auto;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
  background-blend-mode: multiply;
}


body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    transition: background-color 0.3s, color 0.3s;
    line-height: 1.6;
}
.sidecontainer{
    width: 20%;
        background-image: url("style/img/icon.png");
    background-position: left;
    background-repeat: repeat-y;
    background-size: cover;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================
   1. HEADER & NAVIGATIE
   ========================= */
#main-header {
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    text-decoration: none;
    display: block ruby;
}

#main-nav ul {
    list-style: none;
    display: flex;
}

#main-nav ul li a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 500;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

#main-nav ul li a:hover,
#main-nav ul li a.active {
    color: var(--color-primary);
}

.header-actions .btn {
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    font-weight: 500;
    transition: background-color 0.2s, opacity 0.2s;
}

.btn-top10 {
    background-color: var(--color-primary);
    color: white;
}

.btn-top10:hover {
    background-color: var(--color-primary-dark);
}

.theme-toggle {
    background: var(--color-light-background);
    color: var(--color-text-dark);
    font-size: 1.2rem;
    padding: 5px 10px;
}

/* =========================
   2. MAIN CONTENT & SECTIONS
   ========================= */

.content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
}

.content-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 40px;
    text-align: center;
}

/* Hero Section */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 20px 20px;
  border-bottom: none;
  background-color: var(--color-light-background);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.hero-text-block {
    flex: 2;
}

.tagline {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-text-block h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
}

.sub-text {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 30px;
}

.call-to-action-btn {
    background-color: var(--color-accent);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.call-to-action-btn:hover {
    background-color: #e63900;
}

/* DJ Live Card (rechts) */
.dj-live-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-light-background);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.dj-live-card h3 {
    margin-top: 10px;
    color: var(--color-primary);
}

.live-glow {
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
}

.dj-iframe-container iframe {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.hero-player-box {
    margin-bottom: 20px;
    width: 80%;
}

.stream-player-box {
    margin-bottom: 10px;
}

#audio-player {
    width: 100%;
}

.live-status {
    font-weight: 700;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


/* Programmering Tabs & Grid */
.tab-pills {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 5px;
    overflow-x: auto;
}

.pill-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    font-weight: 700;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 3px solid transparent;
}

.pill-btn.active {
    color: var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
}

.program-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.program-card {
    background-color: var(--color-light-background);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    position: relative;
}

.program-card.live-highlight {
    border: 2px solid var(--color-accent);
}

.dj-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.program-info {
    padding: 15px;
}

.program-dj-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-primary-dark);
}

.program-tijd {
    font-size: 0.9rem;
    color: #6c757d;
}

.live-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--color-accent);
    color: black;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Spiegelplaat */
.spiegel-section {
    text-align: center;
}

.spiegel-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.vinyl-display {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.vinyl-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.vinyl {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #111 25%, #222 35%, #333 45%, #111 100%);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: spin 8s linear infinite;
}

.track-cover {
    width: 50%;
    height: 50%;
    border-radius: 50%;
    position: absolute;
    top: 25%;
    left: 25%;
    object-fit: cover;
    z-index: 2;
}

.no-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.8rem;
    z-index: 2;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spiegel-info {
    text-align: left;
    max-width: 400px;
}

.spiegel-tag {
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 5px;
}

.spiegel-track-title {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--color-primary-dark);
}

.spiegel-track-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #6c757d;
}

.spiegel-gekozen {
    font-style: italic;
    color: var(--color-text-dark);
}

/* Studio's */
.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.studio-card {
    background-color: var(--color-light-background);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.studio-card img {
    width: 100%;
    height: 150px;
    border-radius: 4px;
    margin-bottom: 10px;
    object-fit: cover;
}

.studio-card p {
    font-weight: 700;
    color: var(--color-primary-dark);
}

/* =========================
   3. FOOTER STYLING
   ========================= */

#main-footer {
    background-color: var(--color-light-background);
    color: var(--color-text-dark);
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 30px;
}

.footer-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.footer-nav-links a {
    display: block;
    color: var(--color-text-dark);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-nav-links a:hover {
    color: var(--color-accent);
}

.footer-contact p {
    margin-bottom: 15px;
}

.footer-email-link {
    display: block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-email-link i {
    margin-right: 8px;
}

.btn-footer-request {
    background-color: var(--color-accent);
    color: var(--color-text-dark)!important;
    font-weight: 700;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.btn-footer-request:hover {
    background-color: var(--color-primary-dark);
}

.social-icons a {
    color: var(--color-text-dark);
    font-size: 1.8rem;
    margin-right: 15px;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: var(--color-primary);
}

.buma-logo {
    max-height: 150px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 0;
    text-align: center;
    font-size: 0.8rem;
}

.footer-copyright p a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    margin: 0 5px;
}


/* =========================
   4. MODALE POPUP & FAB KNOP
   ========================= */

/* Verzoek knop (Floating Action Button) */
.floating-action-btn {
    /* De !important declaratie hier zorgt ervoor dat de knop 
       altijd rechtsonder blijft staan, zelfs als een andere 
       (minder specifieke) regel 'position: relative;' toevoegt. */
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    
    z-index: 1050; 
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary-dark);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    
    /* Nodig voor de tooltip */
    position: relative; 
}

.floating-action-btn:hover {
    background-color: var(--color-primary-dark);
    transform: scale(1.05);
}

/* Tooltip (pseudo-element) voor de knop - ALTIJD ZICHTBAAR */
.floating-action-btn::before {
  content: "Verzoekje?";
  position: absolute;
  top: -34px;
  right: 50%;
  transform: translateX(50%);
  background-color: var(--color-primary-dark);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 1060;
  opacity: 1;
  pointer-events: none;
  transition: none;
}

/* Tooltip Pijlpunt (driehoekje eronder) - ALTIJD ZICHTBAAR */
.floating-action-btn::after {
    content: "";
    position: absolute;
    top: -5px; 
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--color-primary-dark);
    
    opacity: 1;
    pointer-events: none;
    transition: none;
}

/* Dark Mode aanpassing voor de tooltip */
body.dark-mode .floating-action-btn::before,
body.dark-mode .floating-action-btn::after {
    background-color: var(--color-dark-border); 
    border-top-color: var(--color-dark-border);
}

/* -- Modale Popup stijlen blijven ongewijzigd -- */

/* Modale Popup Container (Overlay) */
#verzoek-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 1070; 
    
    display: flex;
    justify-content: center; 
    align-items: center; 
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#verzoek-popup.show {
    opacity: 1;
    visibility: visible;
}
.modal-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 1070; 
    
    display: flex;
    justify-content: center; 
    align-items: center; 
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-form-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Let op: De #verzoek-popup ID moet nu de .modal-form-overlay klasse hebben in de HTML */
/* Als u de HTML niet wilt aanpassen, moet u beide selectors gebruiken: */
#verzoek-popup, .modal-form-overlay {
    /* Kopieer de stijlen van .modal-form-overlay hierheen */
    position: fixed;
    top: 0;
    left: 0;
    /* ... etc. ... */
}
/* U heeft #verzoek-popup nog steeds nodig om .show toe te passen */
#verzoek-popup.show, .modal-form-overlay.show {
    opacity: 1;
    visibility: visible;
}
.modal-content{
background-color: var(--color-light-background);
}
.card-body{
background-color: var(--color-light-surface);
}

/* De daadwerkelijke popup content wrapper (binnen de overlay) */
.popup-content-wrapper {
    /* ... (bestaande stijlen blijven hier staan) ... */
}

.popup-content-wrapper {
    width: min(90vw, 600px); 
    height: min(90vh, 700px);
    background-color: var(--color-background);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

#verzoek-popup.show .popup-content-wrapper {
    transform: scale(1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-light-background);
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

.popup-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.btn-close-popup {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    padding: 0;
}

.btn-close-popup:hover {
    color: var(--color-accent);
}

.popup-iframe-container {
    flex-grow: 1;
    overflow: hidden; 
    border-radius: 0 0 12px 12px; 
}

.popup-iframe-container iframe {
    border: none;
    width: 100%;
    height: 100%;
    display: block;
}


/* =========================
   5. MEDIA QUERIES (RESPONSIVE)
   ========================= */

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-text-block h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Header */
    .header-container {
        flex-wrap: wrap;
    }
    #main-nav {
        order: 3; /* Navigatie onderaan op mobiel */
        width: 100%;
]    }
    #main-nav ul {
        justify-content: space-around;
    }
    .header-actions {
        order: 2;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr; 
        text-align: center;
    }
    .footer-block {
        padding-bottom: 20px;
        border-bottom: 1px dashed var(--color-border);
    }
    .footer-block:last-child {
        border-bottom: none;
    }

    /* Popup op mobiel: Fullscreen */
    .popup-content-wrapper {
        width: 100%;
        height: 100%;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }
    .popup-header, .popup-iframe-container {
        border-radius: 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    .floating-action-btn {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
.vinyl-wrapper {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.vinyl, .track-cover, .no-cover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

/* Vinyl */
.vinyl {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid #333;
  background: repeating-radial-gradient(circle at center, #2f2424 0px, #484040 2px, #000 4px ), radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 60%);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
  animation: spin 12s linear infinite;
  z-index: 1;
}

/* Cover meedraaiend */
.track-cover, .no-cover {
  width: 65%;
  height: 65%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  z-index: 2;
  animation: spin 12s linear infinite;
}

.no-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e5e5;
  color: #555;
  font-weight: 600;
}

@keyframes spin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
small{
    color: var(--color-accent);
}
/* =========================
   5. CONTACT FORMULIER STIJL (HERGEBRUIK MODAAL)
   ========================= */

/* Contact knop in Navigatie */
.btn-nav-contact {
    background-color: var(--color-primary);
    color: white;
    font-weight: 700;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.2s;
    cursor: pointer;
}
.btn-nav-contact:hover {
    background-color: var(--color-primary-dark);
}

/* De formulier wrapper (maak hem iets kleiner) */
.popup-content-wrapper.contact-wrapper {
    max-width: 450px; /* smaller dan de verzoekjes popup */
    height: auto; 
    max-height: 90vh; /* Zorg dat het past op kleine schermen */
}

.popup-form-container {
    padding: 20px;
    overflow-y: auto; /* Scrollen als het formulier te lang wordt */
    flex-grow: 1;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--color-background);
    color: var(--color-text-dark);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-group-checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.btn-submit-contact {
    width: 100%;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit-contact:hover {
    background-color: var(--color-primary-dark);
}

.message-area {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
}

/* Dark Mode Overrides voor het formulier */
body.dark-mode .popup-content-wrapper.contact-wrapper {
    background-color: var(--color-dark-surface);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: var(--color-dark-background);
    border-color: var(--color-dark-border);
    color: var(--color-text-light);
}

body.dark-mode .form-group label {
    color: var(--color-text-light);
}
#home {
  scroll-margin-top: 100px;
}
#programmas {
  scroll-margin-top: 100px;
}
#spiegelplaat {
  scroll-margin-top: 100px;
}
#studio {
  scroll-margin-top: 100px;
}
/* =========================
   RESPONSIEVE SIDEBAR NAVIGATIE
   ========================= */

/* Hamburger knop */
.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1100;
  color: var(--color-primary-dark);
  transition: color 0.3s ease;
}
.menu-toggle:hover {
  color: var(--color-primary);
}

/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1098;
}
#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Sidebar container */
.sidebar {
position: fixed !important;
  top: 0;
  left: 100%;
  width: 250px;
  height: 100%;
  background-color: var(--color-light-background, #fff);
  box-shadow: 3px 0 10px rgba(0,0,0,0.15);
  padding-top: 80px;
  transition: right 0.3s ease;
  z-index: 1099;
}
.sidebar.active {
  left: 0;
}

/* Sidebar navigatie */
.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar ul li a {
  display: block;
  padding: 15px 20px;
  color: var(--color-text-dark, #222);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

/* Logo bovenin menu */
.sidebar .logo {
display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-weight: bold;
  color: var(--color-primary-dark, #111);
  text-decoration: none;
}
.sidebar .logo img {
  width: 40px;
}

/* Mobiel gedrag */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  /* Verberg origineel menu als sidebar nog dicht is */
  #main-nav:not(.active) ul {
    display: none;
  }

  .header-container {
    position: relative;
    z-index: 1200;
  }
}

/* Desktop gedrag */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
  .sidebar {
    position: static !important;
    width: auto;
    height: auto;
    box-shadow: none;
    border-right: none;
    padding-top: 0;
    left: auto !important;
    background: none;
  }
  .sidebar ul {
    display: flex;
    gap: 20px;
  }
  .sidebar ul li {
    border: none;
  }
  #overlay {
    display: none;
  }
}
/* =============== SIDEBAR NAVIGATIE FIX =============== */

/* Mobiel: verticaal onder elkaar */
@media (max-width: 768px) {
  .sidebar ul {
    display: block !important; /* Zorgt dat ze onder elkaar komen */
  }

  .sidebar ul li {
    display: block;
    width: 100%;
  }

  .sidebar ul li a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    text-align: left;
  }
  .sidebar .logo{
      position: absolute;
  top: 0;
  left: 40px;

  }
  body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("style/img/samsam-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 400px auto;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

}

/* Desktop: horizontaal naast elkaar */
@media (min-width: 769px) {
.sidebar{
    display: contents;
}
  .sidebar ul {
    display: flex !important;
    gap: 20px;
  }

  .sidebar ul li {
    display: inline-block;
  }

  .sidebar ul li a {
    padding: 10px 15px;
  }
}
/* =========================
   CONTACT NOTIFICATIE BALK
   ========================= */
.notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    font-weight: 700;
    color: white;
    z-index: 2000; /* Hoger dan de header/navigatie */
    transition: all 0.5s ease-in-out;
    opacity: 1;
    margin-top: 0;
}

.success-bar {
    background-color: #28a745; /* Groen */
}

.error-bar {
    background-color: #dc3545; /* Rood */
}

.notification p {
    margin: 0;
}

/* Duw de header naar beneden als de notificatie zichtbaar is */
#main-header {
    transition: margin-top 0.5s ease-in-out;
}

/* LET OP: Zorg ervoor dat de header start op 0px margin-top als er geen notificatie is */
/* Dit wordt normaal gesproken geregeld door de PHP. */