/* CSS Reset and Global Styles */
:root {
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    --color-primary-dark: #5C4033; /* Dark Brown */
    --color-primary-medium: #8B4513; /* Saddle Brown */
    --color-accent-green: #556B2F; /* Dark Olive Green */
    --color-accent-light: #F5F5DC; /* Beige */
    --color-text-dark: #333333;
    --color-text-medium: #666666;
    --color-text-light: #FFFFFF;
    --color-border: #D2B48C;       /* Tan Border */
    --color-bg-white: #FFFFFF;
    --color-bg-cream: #FFF8DC;     /* Cornsilk/Cream */
    --transition-main: all 0.3s ease-in-out;
    --container-width: 1140px;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    line-height: 1.7; /* More spacious for rustic feel */
    overflow-x: hidden;
    padding-top: 75px; /* Space for fixed header */
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-main);
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.75px;
}

.btn-primary {
    background-color: var(--color-accent-green);
    color: var(--color-text-light);
    border-color: var(--color-accent-green);
}

.btn-primary:hover {
    background-color: #405024; /* Darker Olive */
    border-color: #405024;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary-dark);
}

.btn-outline:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
}

.btn-light-outline {
     background-color: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light);
}
.btn-light-outline:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary-dark);
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 3.25rem; margin-bottom: 1rem; }
h2 { font-size: 2.75rem; text-align: center; margin-bottom: 1rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--color-text-medium);
}
p:last-child { margin-bottom: 0; }

.section-subtitle {
    text-align: center;
    font-size: 1.15rem; /* Slightly larger subtitle */
    color: var(--color-text-medium);
    max-width: 750px;
    margin: 0 auto 4rem auto;
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Section Styling */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.cream-bg {
    background-color: var(--color-bg-cream);
}
.beige-bg {
     background-color: var(--color-accent-light);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Top Navigation --- */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.top-nav.scrolled {
     padding: 0.75rem 0;
     box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 0.25rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-green);
    transition: width 0.3s ease;
}

 .main-nav .nav-links a:hover {
     color: var(--color-accent-green);
 }

.main-nav .nav-links a:hover::after {
    width: 100%;
}

.main-nav .btn {
    padding: 0.6rem 1.4rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px 0;
    background-color: var(--color-primary-dark);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.menu-toggle.open .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* --- Hero Section --- */
.hero-section {
    height: 95vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
    padding: 0 1.5rem;
    padding-top: 75px; /* Adjust for header */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Image replaced */
    background-image: url('/Public.html/sample14/assets/photo1.avif');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(92, 64, 51, 0.6), rgba(92, 64, 51, 0.4)); /* Brown overlay */
    z-index: -1;
}

.hero-content {
    z-index: 2;
    max-width: 850px;
}

.hero-content .subtitle-small {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent-light);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-bg-cream);
    margin-bottom: 2.5rem;
}

/* --- About Section --- */
#about { padding: 6rem 0; background-color: var(--color-bg-cream); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.about-image img {
     box-shadow: 0 15px 35px rgba(92, 64, 51, 0.15); /* Brown shadow */
}
.about-content h2 {
     text-align: left;
     margin-bottom: 1.5rem;
}

/* --- Key Features Section --- */
#features { padding: 6rem 0; background-color: var(--color-accent-light); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 2.5rem;
    text-align: center;
}
.feature-item {
    background: var(--color-bg-white);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: var(--transition-main);
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--color-primary-medium);
}
.feature-item .icon {
     width: 55px;
     height: 55px;
     margin: 0 auto 1.5rem auto;
     color: var(--color-accent-green);
}
.feature-item h4 {
     font-size: 1.2rem;
     margin-bottom: 0.5rem;
     font-family: var(--font-body);
     font-weight: 600;
     color: var(--color-primary-dark);
}
.feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Farmhouse Designs Section --- */
#designs { padding: 6rem 0; }
.designs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.design-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-cream);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}
 .design-card:hover {
     box-shadow: 0 12px 30px rgba(0,0,0,0.1);
 }
.design-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.design-card-content {
    padding: 2rem;
}
.design-card-content h3 {
    margin-bottom: 0.75rem;
}
.design-card-content .specs {
     font-size: 0.95rem;
     color: var(--color-primary-medium);
     font-weight: 500;
     margin-bottom: 1.5rem;
     display: block;
}

/* --- Lifestyle Section --- */
#lifestyle { padding: 6rem 0; background-color: var(--color-accent-light); }
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.lifestyle-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.lifestyle-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lifestyle-item:hover img {
    transform: scale(1.05);
}
.lifestyle-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(92, 64, 51, 0.8), transparent); /* Brown gradient */
    color: var(--color-text-light);
    padding: 2rem 1.5rem 1rem;
    text-align: left;
}
.lifestyle-caption h4 {
    color: var(--color-text-light);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-heading); /* Heading font */
    margin: 0; /* Remove default margin */
}

/* --- Location Section --- */
#location { padding: 6rem 0; background-color: var(--color-bg-cream); }
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.location-content h2 { text-align: left; }
.location-list {
    list-style: none;
    margin-top: 2rem;
    padding-left: 0; /* Remove default padding */
}
.location-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 500;
}
.location-list li .icon {
     width: 24px;
     height: 24px;
     color: var(--color-accent-green);
     flex-shrink: 0;
}
.map-placeholder {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; }

/* --- Contact Form Section --- */
#contact { padding: 6rem 0; }
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-accent-light);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}
.contact-container h2 { text-align: center; }
 .contact-container .section-subtitle {
     margin-bottom: 2.5rem; /* More space before form */
 }
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-bg-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Added transition */
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-medium);
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.2);
}
 .form-group textarea {
     resize: vertical;
     min-height: 120px;
 }
.contact-form .btn-primary { font-size: 1rem; padding: 1rem; }

/* --- Footer --- */
.main-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-accent-light); /* Light text on dark */
    padding: 5rem 0 2rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    text-align: left;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
     border-bottom: 1px solid var(--color-primary-medium);
}
.footer-widget .logo {
    font-size: 1.75rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    display: inline-block;
    text-decoration: none;
}
.footer-widget p {
    color: #E0E0E0; /* Lighter grey */
    font-size: 0.9rem;
    max-width: 350px;
}
.footer-widget h4 {
    color: var(--color-text-light);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.footer-widget ul { list-style: none; padding-left: 0; } /* Reset padding */
.footer-widget li { margin-bottom: 0.75rem; }
.footer-widget a {
    text-decoration: none;
    color: #E0E0E0;
    transition: var(--transition-main);
}
.footer-widget a:hover { color: var(--color-accent-light); }
.footer-widget .contact-item {
    display: block;
    color: #E0E0E0;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}
.footer-bottom { text-align: center; }
.footer-bottom p {
    color: #BDBDBD; /* Medium grey */
    margin: 0;
    font-size: 0.85rem;
}


/* --- Responsive Design --- */

@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    section, #about, #features, #designs, #lifestyle, #location, #contact { 
         padding: 4rem 0; 
    }
    .nav-container { padding: 0 1.5rem; }
    
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { font-size: 1.1rem; }
    
    .about-grid { grid-template-columns: 1fr; }
    .about-image img { margin-top: 2rem; }
    .about-content h2 { text-align: center; }

    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .designs-grid { grid-template-columns: 1fr; gap: 2rem; }
    .location-grid { grid-template-columns: 1fr; }
    .map-placeholder { height: 350px; margin-top: 2rem; order: 1; }
     .location-content { order: 0;}
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    body { padding-top: 65px; } /* Adjust for header height */
    .top-nav { padding: 0.8rem 0; }
    .nav-container { padding: 0 1rem; }
    .logo { font-size: 1.4rem; }
    
    /* Mobile Nav Styling */
    .main-nav {
        position: fixed;
        top: 65px; /* Match body padding */
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 65px);
        background: var(--color-bg-white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
        padding: 1.5rem 1rem;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        transition: left 0.4s ease-in-out;
    }
    .main-nav .nav-links { display: none; } /* Hide list by default */
    .main-nav.open { left: 0; }
    .main-nav.open .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        list-style: none;
    }
     .main-nav.open .nav-links li { width: 100%; }
    .main-nav.open a {
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
        color: var(--color-text-dark);
    }
     .main-nav.open .nav-links li:last-child a { border-bottom: none; }
     .main-nav.open .nav-links a:hover {
         color: var(--color-accent-green);
         background-color: var(--color-accent-light);
     }
    .main-nav .nav-links a::after { display: none; }
    .main-nav .btn { display: none; } /* Hide button in closed nav */
     .main-nav.open .btn { 
         display: block;
         margin-top: auto;
         width: 100%; 
         margin-bottom: 1rem;
    } 
    .menu-toggle { display: block; }
    
    .hero-section { min-height: 70vh; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    
    .lifestyle-grid { grid-template-columns: 1fr; }
    .contact-container { padding: 2rem 1.5rem; }
}


/* --- Sticky Buttons (NEW) --- */
.sticky-btn {
    position: fixed;
    bottom: 25px;
    z-index: 990;
    padding: 12px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
}
.sticky-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn {
    left: 25px;
    background-color: #25D366;
    color: white;
    font-size: 1.75rem; /* Icon size */
    width: 55px;
    height: 55px;
    text-decoration: none;
}
.whatsapp-btn i {
    line-height: 1; /* Center icon */
}

.contact-btn {
    right: 25px;
    background-color: var(--color-accent-green); /* Use site's accent */
    color: var(--color-text-light);
    border: none;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 50px; /* Pill shape */
}
.contact-btn:hover {
    background-color: #405024; /* Darker accent */
}


/* --- Contact Popup Modal (NEW) --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--color-bg-white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.popup-overlay.visible .popup-container {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}
.popup-close:hover {
    color: var(--color-text-dark);
}

.popup-container h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}
.popup-container p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-medium);
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* Match main form */
}
/* Re-use form-group styles */
.popup-form .form-group {
    display: flex;
    flex-direction: column;
}
.popup-form .form-group input,
.popup-form .form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-bg-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.popup-form .form-group input:focus,
.popup-form .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-medium);
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.2);
}
.popup-form .form-group textarea {
    resize: vertical;
    min-height: 100px; /* Shorter for popup */
}
.popup-form .btn-primary {
    font-size: 1rem;
    padding: 0.9rem; /* Slightly smaller padding */
    border-radius: 4px; /* Match form fields */
}

.popup-thank-you {
    display: none; /* Hidden by default */
    text-align: center;
    padding: 2rem 0;
}
.popup-thank-you h3 {
    color: var(--color-primary-dark);
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    /* Adjust sticky buttons for smaller screens */
    .sticky-btn {
        bottom: 15px;
    }
    .whatsapp-btn {
        left: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .contact-btn {
        right: 15px;
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    /* Adjust popup for smaller screens */
    .popup-container {
        width: 95%;
        padding: 2rem 1.5rem;
    }
    .popup-close {
        top: 10px;
        right: 10px;
    }
}

