/**
 * Announcement Bar Styles
 * Gouden aankondigingsbar bovenaan de pagina
 */

/* ========== ANNOUNCEMENT BAR ========== */
/* Z-index hierarchy:
   - Announcement bar: 1002 (bovenste balk)
   - Header (desktop/mobile): 1001 (onder announcement)
   - Mobile nav: 10000-10002 (over alles heen bij open)
*/
.announcement-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #0a0a0a;
    color: #d4d4d4;
    z-index: 1002 !important;
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
}

.announcement-bar.hidden {
    display: none !important;
}

.announcement-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 40px;
    padding: 0.625rem 2rem;
}

.announcement-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.announcement-text {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.4;
}

.announcement-icon {
    display: none;
}


/* ========== HEADER COMPENSATION ========== */
/* Wanneer announcement bar zichtbaar is, moet header lager staan */
body.has-announcement .header-desktop,
body.has-announcement .header-mobile {
    top: 40px;
}

/* Verwijderd: margin-top op main-content en hero-section om geen extra scroll te veroorzaken */
/* Hero section heeft al padding-top compensatie in home.css */

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .announcement-container {
        padding: 0.5rem 1rem;
        min-height: 36px;
    }
    
    .announcement-text {
        font-size: 0.75rem;
    }
    
    body.has-announcement .header-mobile {
        top: 36px;
    }
}

@media (max-width: 480px) {
    .announcement-container {
        padding: 0.4375rem 0.75rem;
        min-height: 32px;
    }
    
    .announcement-text {
        font-size: 0.6875rem;
        letter-spacing: 0.03em;
    }
    
    body.has-announcement .header-mobile {
        top: 32px;
    }
}
