/* ============================================
   NAMIBIA MIGRATION - HERO BANNER STYLES
   Unique Creative Design
   ============================================ */

/* Hero Banner Section */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Video/GIF Background */
.hero-media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure video displays in Firefox */
    display: block;
}

/* Gradient overlay with Namibia colors - Reduced opacity for clearer images */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        160deg,
        rgba(26, 54, 93, 0.35) 0%,
        rgba(31, 41, 55, 0.25) 40%,
        rgba(198, 79, 46, 0.2) 100%
    );
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 5%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Slider Container - Grid stacking for natural height */
.hero-slider {
    display: grid;
    grid-template-areas: "slide";
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, transparent 35%, #d4a437 50%, #c64f2e 50%, transparent 65%) 1;
}

/* Individual Slides - Stack on same grid area */
.slide {
    grid-area: slide;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Headline Typography */
.slide h1 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
    padding: 0 5%;
}

/* CTA Button */
.hero-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.cta-primary {
    position: relative;
    padding: 18px 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: transparent;
    border: 2px solid #d4a437;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #d4a437, #c64f2e);
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-primary:hover {
    color: #ffffff;
    border-color: #c64f2e;
}

.cta-primary:hover::before {
    left: 0;
}

/* ========================================
   SLIDER NAVIGATION - Creative Design
   ======================================== */

.slider-navigation {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1920px;
    margin: 0 auto;
}

/* Arrow Buttons - Circular with Glow */
.slider-arrow {
    display: flex;
    align-items: center;
    gap: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-arrow svg {
    width: 50px;
    height: 50px;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-arrow:hover svg {
    border-color: #d4a437;
    background: rgba(212, 164, 55, 0.15);
    box-shadow: 0 0 25px rgba(212, 164, 55, 0.3);
}

.slider-arrow span {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.slider-arrow:hover span {
    opacity: 1;
    color: #d4a437;
}

/* Slide Numbers - Modern Pills */
.slider-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.slide-number {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.slide-number:hover {
    color: #ffffff;
}

.slide-number.active {
    color: #1a365d;
    background: linear-gradient(135deg, #d4a437, #f0c14b);
    box-shadow: 0 4px 15px rgba(212, 164, 55, 0.4);
}

/* Progress indicator for active */
.slide-number.active::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #d4a437;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   AUDIO CONTROL BUTTON
   ======================================== */
.audio-control {
    position: absolute;
    top: 120px;
    right: 5%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-control:hover {
    background: rgba(212, 164, 55, 0.3);
    border-color: #d4a437;
}

.audio-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-icon svg {
    width: 20px;
    height: 20px;
}

.audio-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .audio-control {
        top: 100px;
        right: 3%;
        padding: 10px 15px;
    }
    
    .audio-text {
        display: none;
    }
    
    .audio-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .audio-control {
        top: 90px;
        padding: 10px;
        border-radius: 50%;
    }
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 992px) {
    .slider-arrow svg {
        width: 45px;
        height: 45px;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .slider-navigation {
        bottom: 30px;
        padding: 0 3%;
    }
    
    .slider-arrow span {
        display: none;
    }
    
    .slider-arrow svg {
        width: 42px;
        height: 42px;
        padding: 10px;
    }
    
    .slider-numbers {
        padding: 6px 10px;
        gap: 5px;
    }
    
    .slide-number {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
    
    .cta-primary {
        padding: 15px 40px;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        margin-bottom: 35px;
        padding-bottom: 20px;
    }
    
    .slider-navigation {
        bottom: 20px;
    }
    
    .slider-arrow svg {
        width: 38px;
        height: 38px;
        padding: 9px;
    }
    
    .slide-number {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }
    
    .slide-number.active::after {
        display: none;
    }
    
    .cta-primary {
        padding: 14px 35px;
        font-size: 0.8rem;
    }
}
