/* ============================================
   FULL-SCREEN IMMERSIVE HERO SLIDER
   Apple/Nike Inspired Cinematic Design
   ============================================ */

/* Hero Section - Full Viewport Height */
.hero-slider-section {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img,
.hero-slide picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Cinematic Dark Overlay for Text Readability */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   TEXT OVERLAY - CENTERED CINEMATIC STYLE
   ============================================ */

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    max-width: 1000px;
    width: 90%;
    color: #ffffff;
}

/* Small Badge/Tag */
.hero-badge {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    opacity: 0.9;
}

/* Large Hero Title */
.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 24px 0;
    color: #ffffff;
    letter-spacing: -2px;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Subtitle */
.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0 0 40px 0;
    color: #ffffff;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button - Minimal Style */
.hero-cta {
    display: inline-block;
    background: #ffffff;
    color: #000;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    color: #000;
}

.hero-cta:active {
    transform: translateY(0);
}

/* ============================================
   MINIMAL NAVIGATION CONTROLS
   ============================================ */

/* Arrow Buttons - Minimal */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-slider-container:hover .hero-nav-btn {
    opacity: 1;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 40px;
}

.hero-next {
    right: 40px;
}

.hero-nav-btn svg {
    color: #ffffff;
    width: 28px;
    height: 28px;
}

/* ============================================
   SLIDE INDICATORS - MINIMAL DOTS
   ============================================ */

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.3);
}

.hero-dot.active {
    background: #ffffff;
    width: 32px;
    border-radius: 4px;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-slider-section {
        height: 80vh;
    }

    .hero-title {
        font-size: 56px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-badge {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-nav-btn {
        width: 50px;
        height: 50px;
    }

    .hero-prev {
        left: 20px;
    }

    .hero-next {
        right: 20px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .hero-slider-section {
        height: 70vh;
        min-height: 600px;
    }

    .hero-slide-content {
        width: 85%;
        padding: 0 20px;
    }

    .hero-badge {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 16px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-cta {
        padding: 14px 36px;
        font-size: 14px;
    }

    /* Hide arrows on mobile, rely on swipe */
    .hero-nav-btn {
        display: none;
    }

    .hero-dots {
        bottom: 24px;
        gap: 8px;
    }

    .hero-dot {
        width: 6px;
        height: 6px;
    }

    .hero-dot.active {
        width: 24px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    .hero-slider-section {
        height: 60vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-cta {
        padding: 12px 32px;
        font-size: 13px;
    }
}

/* ============================================
   DARK MODE SUPPORT (Optional)
   ============================================ */

@media (prefers-color-scheme: dark) {
    .hero-slider-section {
        background: #000;
    }
}

/* ============================================
   ANIMATIONS & ENTRANCE EFFECTS
   ============================================ */

/* Fade in content when slide becomes active */
.hero-slide.active .hero-slide-content {
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Stagger animations for content elements */
.hero-slide.active .hero-badge {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.hero-slide.active .hero-title {
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.hero-slide.active .hero-subtitle {
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.hero-slide.active .hero-cta {
    animation: fadeIn 0.8s ease-out 1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════════════════════════
   DARK MODE
   ══════════════════════════════════════════════════════════ */
[data-bs-theme="dark"] .hero-slider-section { background: transparent; }
[data-bs-theme="dark"] .image-card { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); }
[data-bs-theme="dark"] .image-card:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
[data-bs-theme="dark"] .overlay-badge { background: rgba(30, 41, 59, 0.95); color: #f1f5f9; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); }
