/* ============================================
   4. HERO SLIDER STYLES - WITH SUBTLE BLUR BACKGROUND
   ============================================ */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #1a1a1a;
    margin: 0;
    padding: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* ============================================ */
/* SUBTLE BLUR BACKGROUND - Recognizable but soft */
/* ============================================ */
.hero-slide .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    /* SUBTLE BLUR - Recognizable */
    filter: blur(8px) brightness(0.6);
    transform: scale(1.05);
}

/* Main Image - Centered with contain */
.hero-slide .hero-main-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.3));
}

/* Fallback for older method - keep for compatibility */
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: brightness(0.6);
}

/* ============================================ */
/* HERO CONTENT - Fade in, stay, then fade out early */
/* ============================================ */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 3;
    width: 80%;
    max-width: 900px;
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Start hidden - animation runs when slide becomes active */
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
    transition: all 0.5s ease;
}

/* When slide becomes active, run the animation */
.hero-slide.active .hero-content {
    animation: fadeInOut 10s ease forwards;
}

/* Hover effect - restore clarity */
.hero-content:hover {
    opacity: 1 !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    transform: translate(-50%, -50%) scale(1) !important;
    background: rgba(0, 0, 0, 0.3) !important;
    animation-play-state: paused !important;
    transition: all 0.3s ease;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    65% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    75% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.01);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    85% {
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(1.02);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.03);
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.hero-content h1 span {
    color: #c9a84c;
}

.hero-content .hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-content .hero-description {
    font-size: 16px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    transition: all 0.3s ease;
}

/* ============================================ */
/* SLIDE INDICATORS */
/* ============================================ */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-indicator.active {
    background: #c9a84c;
    border-color: #c9a84c;
    transform: scale(1.2);
}

.hero-indicator:hover {
    background: #c9a84c;
    transform: scale(1.1);
}

/* ============================================ */
/* NAVIGATION ARROWS */
/* ============================================ */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arrow:hover {
    background: #c9a84c;
    color: #1a1a1a;
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-left {
    left: 20px;
}

.hero-arrow-right {
    right: 20px;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 992px) {
    .hero-slider-container {
        height: 500px;
    }
    .hero-content h1 {
        font-size: 38px;
    }
    .hero-content .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: 400px;
    }
    .hero-content {
        width: 90%;
        padding: 25px;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content .hero-subtitle {
        font-size: 16px;
    }
    .hero-content .hero-description {
        font-size: 14px;
    }
    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .hero-arrow-left {
        left: 10px;
    }
    .hero-arrow-right {
        right: 10px;
    }
    /* Slightly less blur on tablet */
    .hero-slide .hero-bg-image {
        filter: blur(6px) brightness(0.6);
    }
    /* Adjust animation timing for mobile */
    @keyframes fadeInOut {
        0% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); backdrop-filter: blur(8px); }
        12% { opacity: 1; transform: translate(-50%, -50%) scale(1); backdrop-filter: blur(6px); }
        60% { opacity: 1; transform: translate(-50%, -50%) scale(1); backdrop-filter: blur(6px); }
        72% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.01); backdrop-filter: blur(3px); }
        82% { opacity: 0.15; transform: translate(-50%, -50%) scale(1.02); backdrop-filter: blur(1px); }
        100% { opacity: 0; transform: translate(-50%, -50%) scale(1.03); backdrop-filter: blur(0px); }
    }
}

@media (max-width: 480px) {
    .hero-slider-container {
        height: 350px;
    }
    .hero-content h1 {
        font-size: 22px;
    }
    .hero-content .hero-subtitle {
        font-size: 14px;
    }
    .hero-content .hero-description {
        display: none;
    }
    .hero-indicators {
        gap: 8px;
    }
    .hero-indicator {
        width: 10px;
        height: 10px;
    }
    /* Even less blur on mobile for performance */
    .hero-slide .hero-bg-image {
        filter: blur(4px) brightness(0.6);
    }
    @keyframes fadeInOut {
        0% { opacity: 0; transform: translate(-50%, -50%) scale(0.95); backdrop-filter: blur(6px); }
        12% { opacity: 1; transform: translate(-50%, -50%) scale(1); backdrop-filter: blur(4px); }
        50% { opacity: 1; transform: translate(-50%, -50%) scale(1); backdrop-filter: blur(4px); }
        65% { opacity: 0.3; transform: translate(-50%, -50%) scale(1.01); backdrop-filter: blur(2px); }
        80% { opacity: 0.05; transform: translate(-50%, -50%) scale(1.02); backdrop-filter: blur(0px); }
        100% { opacity: 0; transform: translate(-50%, -50%) scale(1.03); backdrop-filter: blur(0px); }
    }
}