:root {
    --primary-color: #2e7d32;
    --secondary-color: #4caf50;
    --accent-color: #81c784;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --dark-bg: #1b5e20;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* General Reset */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Add padding for smaller screens */
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
}

.slider-container {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%; /* Each slide takes full width */
    text-align: center;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    max-width: 90%; /* Prevent text overflow */
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: var(--secondary-color);
}

/* Features Section */
.features {
    padding: 5rem 1rem; /* Add padding for smaller screens */
    background: var(--light-bg);
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Activities Preview */
.activities-preview {
    padding: 5rem 1rem;
    background: var(--light-bg);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.activity-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.activity-card:hover .activity-overlay {
    opacity: 1;
}

.view-more {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid white;
    border-radius: 25px;
    transition: var(--transition);
}

.view-more:hover {
    background: white;
    color: var(--primary-color);
}

.activity-card h3 {
    padding: 1.5rem;
    margin: 0;
    color: var(--text-color);
}

.activity-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/IMG-20250121-WA0033.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
/*     .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background: white;
        padding: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }*/

    .hamburger1 {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        transition: var(--transition);
    }

    .hamburger1 span {
        width: 25px;
        height: 3px;
        background: var(--text-color);
        margin: 2px 0;
        transition: var(--transition);
    } 

    /* Transform Hamburger into X */
.hamburger1.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
/* Hide the middle bar */
.hamburger1.active span:nth-child(2) {
    opacity: 0; 
}

.hamburger1.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .activities-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }

    .slide-content {
        max-width: 100%; /* Ensure text fits on smaller screens */
    }
}
