/* Hero Slideshow Styles */

/* Hero Section Base */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slideshow Container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Ken Burns Effect Animation */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 2;
}

/* Hero Content */
.hero-text {
    position: relative;
    z-index: 9999999;
    text-align: left;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Poppins', Arial, sans-serif;
}

.hero-text h1 span {
    color: #D4AF37;
    display: block;
	z-index: 99999;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffe89f 0%, #75561d 100%);
    color: #1a1a1a;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 4px 15px rgba(117, 86, 29, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(117, 86, 29, 0.5);
}


/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Performance Optimizations */
.hero-slide {
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3.2rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
    }
    
    .cta-btn {
        padding: 16px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 380px;
        height: 70vh;
    }
    
    .hero-text {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .cta-btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    

    
    /* Reduce Ken Burns effect on mobile for performance */
    @keyframes kenBurns {
        0% {
            transform: scale(1);
        }
        100% {
            transform: scale(1.05);
        }
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 320px;
        height: 60vh;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    

}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        animation: none;
        transition: opacity 1s ease-in-out;
    }
    
    .hero-slide.active {
        animation: none;
    }
    
    .hero-text {
        animation: none;
    }
    
    .cta-btn:hover {
        transform: none;
    }
}
