/* Base & Variables */
:root {
    --header-height: 4.5rem;

    /* Colors */
    --hue-primary: 145;
    /* Nature Green */
    --primary-color: hsl(var(--hue-primary), 60%, 35%);
    /* #238f45 darker */
    --primary-color-alt: hsl(var(--hue-primary), 60%, 25%);
    --primary-light: hsl(var(--hue-primary), 60%, 95%);

    --title-color: hsl(200, 15%, 20%);
    --text-color: hsl(200, 8%, 45%);
    --text-color-light: hsl(200, 8%, 65%);
    --body-color: hsl(0, 0%, 100%);
    --container-color: #fff;
    --accent-color: hsl(35, 80%, 55%);
    /* Goldish */

    /* Fonts */
    --body-font: 'Outfit', sans-serif;
    --title-font: 'Playfair Display', serif;

    --h1-font-size: 3.5rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;

    /* Font Weight */
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;

    /* Spacing */
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
}

/* Reset */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: var(--font-bold);
    line-height: 1.2;
}

/* Layout */
/* Layout */
.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding: 5rem 0 2rem;
}

.section-title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
    text-align: center;
}

.section-subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-5);
    text-align: center;
    font-family: var(--body-font);
}

/* Header */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: transparent;
    transition: .4s;
}

.header.bg-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.05);
}

/* Ensure logo and text are readable on transparent background (assuming hero is dark/image) 
   But wait, our hero text is white, but header text is dark in the variable.
   We need to handle text colors if the background is transparent over a likely dark hero image section (or if the hero image is light).
   The hero overlay is dark: background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
   So white text is best for transparent header.
*/
.header:not(.bg-header) .logo,
.header:not(.bg-header) .nav-link,
.header:not(.bg-header) .nav-toggle {
    color: #fff;
}

.header.bg-header .logo,
.header.bg-header .nav-link,
.header.bg-header .nav-toggle {
    color: var(--title-color);
}

.header.bg-header .nav-link.active {
    color: var(--primary-color);
}


.header-container {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--title-font);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--title-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    column-gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: var(--font-medium);
    transition: .3s;
    color: var(--title-color);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: var(--font-medium);
    transition: .3s;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.2);
}

.nav-button:hover {
    background-color: var(--primary-color-alt);
    transform: translateY(-2px);
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    font-size: 1.25rem;
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1);
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

.hero-title {
    color: #fff;
    font-size: 4rem;
    /* Bigger for impact */
    margin-bottom: var(--mb-1-5);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: var(--mb-2-5);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: var(--mb-2-5);
}

.btn {
    display: inline-flex;
    align-items: center;
    column-gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: var(--font-semi-bold);
    transition: .3s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--title-color);
}

.hero-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.stars {
    display: flex;
    color: var(--accent-color);
    gap: 2px;
}

.fill-star {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Info Grid - Overlapping the Hero */
.info {
    padding-top: 0;
    margin-top: -4rem;
    /* Overlap */
    position: relative;
    z-index: 10;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: .3s;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1);
}

.info-icon svg {
    width: 28px;
    height: 28px;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--mb-0-5);
    font-family: var(--body-font);
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-image img {
    transition: .4s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge .number {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

.experience-badge .text {
    font-size: 0.825rem;
    text-transform: uppercase;
    color: var(--text-color-light);
}

.about-data {
    text-align: left;
}

.about-description {
    margin-bottom: var(--mb-2);
}

.about-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-list li i {
    color: var(--primary-color);
    min-width: 24px;
}

.about-list strong {
    color: var(--title-color);
    display: block;
    margin-bottom: 0.25rem;
}

/* CTA */
.cta {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    color: #fff;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 90, 39, 0.85);
    /* Green tint */
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: var(--mb-1);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--mb-2-5);
    opacity: 0.9;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    background-color: #fff;
    color: var(--primary-color);
    border: none;
}

.btn-large:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Location */
.location .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.map-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.address-box {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 350px;
}

.address-box i {
    color: var(--primary-color);
    flex-shrink: 0;
}

.address-box h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.address-box p {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--title-color);
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--title-font);
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: #fff;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: .3s;
    width: fit-content;
}

.footer-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    color: #fff;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Responsive */
@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media screen and (max-width: 992px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .info-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .info {
        margin-top: -2rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {

    /* Apply sidebar styles to the container ID nav-menu 
       so both the list and the close button slide together. 
    */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: #fff;
        width: 80%;
        height: 100%;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 4rem 1.5rem 2rem;
        /* Add padding for content */
        transition: .4s;
        z-index: var(--z-fixed);
        display: flex;
        /* Allow flex content alignment */
        flex-direction: column;
    }

    /* Reveal the menu when class is added by JS */
    .nav.show-menu {
        right: 0;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        row-gap: 2rem;
        /* Spacing between links */
        /* Remove old fixed/sidebar styles from here */
    }

    .nav-toggle {
        display: block;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
        color: var(--title-color);
        cursor: pointer;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .address-box {
        position: relative;
        top: 0;
        left: 0;
        margin-top: 1rem;
        box-shadow: none;
        border: 1px solid #eee;
        width: 100%;
        max-width: 100%;
    }
}

/* Gallery & Floating Button Styles */

/* Gallery Grid - Bento Style */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: .4s;
}

.gallery-overlay h3 {
    font-size: 1.25rem;
    color: #fff;
    font-family: var(--body-font);
    font-weight: var(--font-medium);
}

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

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Specific Grid Areas - Desktop */
.item-1 {
    grid-area: 1 / 1 / 3 / 3;
}

/* Rearranged to fit 5 items: 
   Col 3 has Item 2 and 4. 
   Col 4 has Item 3 and 5. 
*/
.item-2 {
    grid-area: 1 / 3 / 2 / 4;
}

.item-3 {
    grid-area: 1 / 4 / 2 / 5;
}

.item-4 {
    grid-area: 2 / 3 / 3 / 4;
}

.item-5 {
    grid-area: 2 / 4 / 3 / 5;
    display: block;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: var(--z-tooltip);
    transition: .3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: #20b858;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5px;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Gallery */
@media screen and (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    /* Mobile: Item 1 big, others small pairs */
    .item-1 {
        grid-area: span 1 / span 2;
        height: 300px;
    }

    .item-2,
    .item-3,
    .item-4,
    .item-5 {
        grid-area: auto;
        height: 250px;
    }
}

@media screen and (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4,
    .item-5 {
        grid-area: auto;
        height: 250px;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: .3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.user-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.stars-small {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.quote-icon {
    color: var(--primary-light);
    width: 40px;
    height: 40px;
    transform: rotate(180deg);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.7;
}