.gallery-a-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #ffffff, #f8fbf8);
    position: relative;
}

.gallery-a-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-a-title {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-a-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #6b9746;
    margin-bottom: 1rem;
}

.gallery-a-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Gallery Slider */
.gallery-a-slider-container {
    position: relative;
    margin: 3rem 0;
    padding: 0 40px;
}

.gallery-a-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1.5rem 0.5rem;
    gap: 20px;
}

.gallery-a-slider::-webkit-scrollbar {
    display: none;
}

.gallery-a-slide {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 380px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.gallery-a-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-a-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-a-slide:hover img {
    transform: scale(1.08);
}

.gallery-a-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px 15px 15px;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.gallery-a-slide:hover .gallery-a-slide-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Controls */
.gallery-a-slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 2rem 0;
}

.gallery-a-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-a-slider-dot.active {
    background: #6b9746;
    transform: scale(1.2);
}

.gallery-a-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-a-nav-btn:hover {
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.gallery-a-nav-btn.prev {
    left: 0;
}

.gallery-a-nav-btn.next {
    right: 0;
}

.gallery-a-nav-btn i {
    font-size: 1.2rem;
    color: #6b9746;
}

/* Lightbox Styles */
.gallery-a-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gallery-a-lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.gallery-a-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-a-lightbox-img-container {
    max-width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.gallery-a-lightbox-img-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.gallery-a-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.gallery-a-lightbox-close:hover {
    color: #6b9746;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gallery-a-lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    max-width: 700px;
    line-height: 1.6;
}

.gallery-a-lightbox-counter {
    color: white;
    position: absolute;
    top: -50px;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 1rem;
}

.gallery-a-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.gallery-a-lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.gallery-a-lightbox-nav.prev {
    left: 20px;
}

.gallery-a-lightbox-nav.next {
    right: 20px;
}

.gallery-a-lightbox-nav i {
    font-size: 1.8rem;
    color: white;
}

/* CTA Section */
.gallery-a-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.gallery-a-cta p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.gallery-a-btn {
    background: #6b9746;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.gallery-a-btn:hover {
    background: #5a8040;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(107, 151, 70, 0.25);
}

/* Animations */
@keyframes galleryAFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-a-slide {
        width: 320px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .gallery-a-title h2 {
        font-size: 2.2rem;
    }

    .gallery-a-slider-container {
        padding: 0 30px;
    }

    .gallery-a-slide {
        width: 280px;
        height: 210px;
    }

    .gallery-a-nav-btn {
        width: 45px;
        height: 45px;
    }

    .gallery-a-lightbox-close {
        top: 15px;
        right: 15px;
    }

    .gallery-a-lightbox-counter {
        top: 15px;
        left: 15px;
    }

    .gallery-a-lightbox-nav {
        width: 50px;
        height: 50px;
    }

    .gallery-a-lightbox-nav.prev {
        left: 10px;
    }

    .gallery-a-lightbox-nav.next {
        right: 10px;
    }

    .gallery-a-cta {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .gallery-a-section {
        padding: 3rem 0;
    }

    .gallery-a-title h2 {
        font-size: 1.9rem;
    }

    .gallery-a-title p {
        font-size: 1rem;
    }

    .gallery-a-slider-container {
        padding: 0 20px;
    }

    .gallery-a-slide {
        width: 260px;
        height: 190px;
    }

    .gallery-a-slide-caption {
        font-size: 0.85rem;
        padding: 15px 12px 12px;
    }

    .gallery-a-nav-btn {
        width: 40px;
        height: 40px;
    }

    .gallery-a-lightbox-caption {
        font-size: 1rem;
        padding: 0 10px;
    }

    .gallery-a-cta p {
        font-size: 1.1rem;
    }
}