/* Activities Section Styles */
.activities {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #ffffff, #f8fbf8);
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #6b9746;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.activity-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.activity-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.activity-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.activity-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #555;
}

.feature-item i {
    color: #6b9746;
    margin-right: 0.5rem;
    width: 20px;
}

.activity-actions {
    margin-top: auto;
}

.btn-activity {
    background: #6b9746;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.btn-activity:hover {
    background: #5a8040;
    transform: translateY(-2px);
}

.testimonials {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
}

.testimonials-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #6b9746;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: #f8fbf8;
    padding: 1.5rem;
    border-radius: 10px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.2rem;
}

.author-details p {
    color: #6b9746;
    font-size: 0.9rem;
}

.gallery-section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
}

.gallery-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #6b9746;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(107, 151, 70, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.newsletter {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(rgba(107, 151, 70, 0.9), rgba(90, 128, 64, 0.9)), url('https://images.unsplash.com/photo-1519046904884-53103b34b206?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
    border-radius: 15px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
}

.newsletter h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px 0 0 50px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-input:focus {
    outline: none;
}

.btn-newsletter {
   background: #333;
    color: white;
    /* If button is colored */
    background-color: #2d3748;
    /* If text is white, ensure dark enough background */
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0 50px 50px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-newsletter:hover {
    background: #222;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .activities {
        padding: 3rem 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .activity-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonials {
        padding: 2rem 1rem;
    }

    .newsletter {
        padding: 2rem 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        border-radius: 50px;
        margin-bottom: 1rem;
    }

    .btn-newsletter {
        border-radius: 50px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .gallery-item {
        height: 200px;
    }
}