/* General Reset */
body, h1, h2, p, form, img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f9;
    line-height: 1.7;
}

/* Hero Section Gradient Enhancement */
.hero {
    background: linear-gradient(
        rgba(0, 0, 0, 0.8), 
        rgba(0, 0, 0, 0.4)
    ), 
    url('../assets/container1.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    padding-top: 0;
}


.overlay {
    margin-top: -30px;
    background: rgba(0, 0, 0, 0.7);
    padding: 4rem;
    border-radius: 12px;
    width: 95%;
    max-width: 1200px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.logo {
    width: 800px;
    max-width: 100%;  /* Scale down on smaller screens */
    background-color: rgba(255, 255, 255, 0.85); 
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
}

.section-divider {
    width: 80%;
    margin: 0 auto; /* Match section spacing */
    border-top: 2px solid #ccc;
    opacity: 0.6;
}


.hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);  /* Fluid scaling */
    margin-top: 1rem;
    color: #628f5c;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;  /* Wrap buttons on smaller screens */
}

.cta-btn {
    background-color: #dddddd;
    color: rgb(0, 0, 0);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    min-width: 160px;
}

.cta-btn:hover {
    background-color: #628f5c;
    color: white;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* About Section */
.about {
    padding: 2rem 1.5rem;
    text-align: center;
    background-color: #ffffff;
}

.about h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about p {
    max-width: 850px;
    margin: 1rem auto;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery {
    padding: 2rem 1.5rem;
    background-color: #f0f0f0;
    text-align: center;
    margin-bottom: 0;
}

.gallery h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

/* Grid Layout for Gallery */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));  /* Dynamic columns */
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}

/* Uniform Image Size for Gallery */
.gallery-container img {
    width: 100%;
    height: 250px;  /* Fixed height for uniformity */
    object-fit: cover;  /* Ensures cropping without distortion */
    max-width: 350px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gallery hover lift — enhanced in animations.css for pointer devices */
.gallery-container img:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox .close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.lightbox .close:hover {
    color: #628f5c;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox .prev,
.lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    padding: 1rem 1.1rem;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    user-select: none;
    transition: background 0.2s, color 0.2s;
}

.lightbox .prev:hover,
.lightbox .next:hover {
    background: rgba(98, 143, 92, 0.85);
    color: #fff;
}

.lightbox .prev {
    left: 1.25rem;
}

.lightbox .next {
    right: 1.25rem;
}

/* CTA strip above footer */
.cta-strip {
    padding: 3rem 1.5rem;
    background-color: #ffffff;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.cta-strip h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #333;
    margin-bottom: 0.5rem;
}

.cta-strip p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-strip-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.75rem;
}

.cta-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #4a6d45;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.cta-strip-link:hover {
    color: #628f5c;
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1rem;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
    }

    .overlay {
        padding: 2rem;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 0;
    }

    .cta-btn {
        width: 100%;
    }

    .cta-strip-actions {
        flex-direction: column;
    }

    .cta-strip .cta-btn-primary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .logo {
        width: 300px;
    }

    .lightbox .prev,
    .lightbox .next {
        font-size: 1.5rem;
        padding: 0.75rem 0.85rem;
    }

    .lightbox .prev {
        left: 0.5rem;
    }

    .lightbox .next {
        right: 0.5rem;
    }

    .lightbox .close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 2rem;
    }
}

 
    

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .logo {
        width: 350px;
    }

    .overlay {
        width: 95%;
        padding: 1.5rem;
    }
}