
/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

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

.slide-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
}

.slide-content {
    flex: 1;
    padding-right: 60px;
    color: rgb(0, 0, 0);
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-content .btn-hero {
    display: inline-block;
    background: #0d6417;
    color: rgb(255, 255, 255);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-content .btn-hero:hover {
    background: #38e32f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.slide-image {
    flex: 1;
    height: 80%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.slide-image:hover img {
    transform: scale(1.05);
}

/* Navigation Controls */
.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #39b223;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Arrow Navigation */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: white;
    font-size: 18px;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .slide-container {
        padding: 0 30px;
    }
    
    .slide-content {
        padding-right: 40px;
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 90vh;
    }
    
    .slide-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        justify-content: center;
    }
    
    .slide-content {
        padding-right: 0;
        margin-bottom: 40px;
        flex: none;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .slide-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .slide-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin: 0 auto;
    }
    
    .hero-arrow {
        display: none;
    }
    
    .hero-nav {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 85vh;
    }
    
    .slide-container {
        padding: 30px 15px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-content .btn-hero {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .slide-image {
        height: 250px;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

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

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
