/* Hero Slideshow with Ken Burns Effect */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

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

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenBurnsZoom 20s ease-in-out infinite alternate;
}

/* Ken Burns Effect - Zoom In/Out with Pan */
@keyframes kenBurnsZoom {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.15) translate(-2%, -2%);
    }
    100% {
        transform: scale(1.08) translate(2%, 1%);
    }
}

/* Smooth zoom for different slides */
.hero-slide:nth-child(even) .hero-slide-image {
    animation: kenBurnsZoomReverse 20s ease-in-out infinite alternate;
}

@keyframes kenBurnsZoomReverse {
    0% {
        transform: scale(1.1) translate(2%, 1%);
    }
    50% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.12) translate(-2%, -1%);
    }
}

/* Black Overlay with Gradient */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 107, 63, 0.7) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
}

/* Fade in animation for content */
.hero-content > * {
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation-delay: 0.3s;
}

/* Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    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: var(--accent-color);
    width: 40px;
    border-radius: 6px;
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-nav:hover {
    background: rgba(0, 107, 63, 0.8);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav.prev {
    left: 30px;
}

.hero-nav.next {
    right: 30px;
}

.hero-nav i {
    color: white;
    font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slideshow {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-nav {
        width: 40px;
        height: 40px;
    }

    .hero-nav.prev {
        left: 15px;
    }

    .hero-nav.next {
        right: 15px;
    }

    .hero-indicators {
        bottom: 20px;
    }
}