/*
 * Hero Slider Styles for Owl Carousel
 */

.hero-slider {
    position: relative;
    width: 100%;
}

.hero-slider .owl-item {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slider .owl-item.active {
    opacity: 1;
}

.single-hero-slide {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.single-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.85), rgba(151, 188, 98, 0.75));
    z-index: 1;
}

.hero-slides-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    padding: 2rem;
}

.hero-slides-content h1,
.hero-slides-content h2 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-slides-content h6 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-slides-content .btn {
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Owl Carousel Navigation */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-slider .owl-nav button {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    font-size: 1.5rem;
    color: white !important;
    transition: all 0.3s ease;
    border: none;
}

.hero-slider .owl-nav button:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.1);
}

.hero-slider .owl-nav .owl-prev {
    left: 20px;
}

.hero-slider .owl-nav .owl-next {
    right: 20px;
}

/* Owl Carousel Dots */
.hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-slider .owl-dots .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .owl-dots .owl-dot.active,
.hero-slider .owl-dots .owl-dot:hover {
    background: white;
    width: 30px;
    border-radius: 10px;
}

/* Gallery Carousel Styles */
.gallery-carousel {
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 0 10px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 95, 45, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay-btn {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gallery-item .overlay-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

    .hero-slides-content h1,
    .hero-slides-content h2 {
        font-size: 1.75rem;
    }

    .hero-slides-content h6 {
        font-size: 1rem;
    }

    .hero-slider .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .single-hero-slide {
        min-height: 400px;
    }

    .hero-slides-content {
        padding: 1rem;
    }

    .top-header-content {
        justify-content: center;
        text-align: center;
    }

    .top-header-content p {
        font-size: 0.85rem;
    }
}
