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

:root {
    --primary-color: #1D4D4F;
    --secondary-color: #77AB59;
    --accent-color: #D9C5B2;
    --light-color: #F5F5F5;
    --dark-color: #1A3A3B;
    --text-color: #333;
    --text-light: #666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    font-weight: 300;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.accent-text {
    color: var(--secondary-color);
}

.large-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.4;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-dark {
    background-color: var(--primary-color);
    color: #fff;
}

.section-dark h2, 
.section-dark h3 {
    color: #fff;
}

.section-light {
    background-color: var(--light-color);
}

.section-white {
    background-color: #fff;
}

.section-accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: capitalize;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #fff;
}

.hero-title {
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.feature-title {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

.about-content h2 {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Amenities Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.amenity-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.amenity-title {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Floor Plans Section */
.floor-plans-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.floor-plan-tab {
    padding: 1rem 2rem;
    margin: 0 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.floor-plan-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.floor-plan-content {
    display: none;
}

.floor-plan-content.active {
    display: block;
}

.floor-plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.floor-plan-image img {
    width: 100%;
    height: auto;
}

.floor-plan-details h3 {
    margin-bottom: 1.5rem;
}

.floor-plan-features {
    list-style: none;
    margin-top: 2rem;
}

.floor-plan-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.floor-plan-feature i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background-color: #1d4d4f;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #eee;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-details {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
    color: var(--primary-color);
}

/* Map Section */
.map-container {
    height: 500px;
    overflow: hidden;
    position: relative;
}

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


/* Specifications Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.specs-table th,
.specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.specs-table th {
    font-weight: 600;
    color: var(--primary-color);
}

/* Villa Features */
.villa-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.villa-feature {
    text-align: center;
}

.villa-feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.villa-feature-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Project Highlights */
.highlights-container {
    padding: 3rem;
    background-color: rgba(29, 77, 79, 0.05);
    margin: 3rem 0;
}

.highlights-title {
    text-align: center;
    margin-bottom: 3rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.highlight-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
}

.highlight-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlight-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Tree Initiative */
.tree-initiative {
    background-color: var(--light-color);
    padding: 5rem 0;
    text-align: center;
}

.tree-initiative-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Call to Action */
.cta {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.cta h2 {
    color: white;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-btn:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Lead generation form specific styles */
.lead-form-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 350px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(calc(100% - 50px));
}

.lead-form-container.active {
    transform: translateY(0);
}

.lead-form-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lead-form-title {
    font-size: 1rem;
    margin: 0;
}

.lead-form-body {
    padding: 20px;
}

.lead-form .form-control {
    margin-bottom: 15px;
}

.lead-form-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Floating CTA button */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.floating-cta:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .about-grid,
    .floor-plan-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Improved mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        padding: 8px;
        margin-right: -8px;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 1.5rem 0;
    }
    
    /* Add a close icon for when menu is open */
    .mobile-menu-btn .fa-times {
        display: none;
    }
    
    .mobile-menu-open .mobile-menu-btn .fa-bars {
        display: none;
    }
    
    .mobile-menu-open .mobile-menu-btn .fa-times {
        display: inline-block;
    }
    
    /* Prevent body scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    .hero-content {
        text-align: center;
    }

    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .features-grid,
    .gallery-grid,
    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .villa-features {
        grid-template-columns: 1fr 1fr;
    }
}
/* Nature Border Style */
.nature-border {
    position: relative;
    width: 100%;
    height: 180px; /* Height on desktop */
    background-image: url('images/nature-border.webp'); /* Add the actual path to your image */
    background-repeat: repeat;
    background-position: center bottom;
    background-size: contain;
    margin-top: 20px; /* Space between content and border */
}

/* Make the nature border responsive */
@media (max-width: 1200px) {
    .nature-border {
        height: 150px; /* Slightly smaller on medium screens */
    }
}

@media (max-width: 768px) {
    .nature-border {
        height: 120px; /* Smaller on tablets */
    }
}

@media (max-width: 576px) {
    .nature-border {
        height: 80px; /* Much smaller on mobile */
    }
}

/* Enhanced Features Section */
.section-features {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    overflow: hidden;
}

/* Background decorative elements */
.features-bg-shape {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(119, 171, 89, 0.08); /* Secondary color with opacity */
    z-index: 1;
}

.features-bg-shape::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -400px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: rgba(29, 77, 79, 0.05); /* Primary color with opacity */
}

.features-bg-shape::after {
    content: '';
    position: absolute;
    bottom: -300px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(217, 197, 178, 0.12); /* Accent color with opacity */
}

/* Section header styling */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.section-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 1rem auto 0;
}

/* Enhanced Villa Features grid */
.villa-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.villa-feature {
    background-color: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.villa-feature::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.villa-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.villa-feature:hover::before {
    transform: scaleX(1);
}

.villa-feature-icon {
    margin-bottom: 1.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.villa-feature-icon svg {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.villa-feature:hover .villa-feature-icon svg {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.villa-feature-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
    transition: color 0.3s ease;
}

.villa-feature:hover .villa-feature-title {
    color: var(--secondary-color);
}

/* Add a subtle background pattern */
.section-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(119, 171, 89, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .villa-features {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .villa-feature {
        padding: 1.5rem 1rem;
    }
    
    .villa-feature-icon {
        height: 60px;
    }
    
    .villa-feature-icon svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .villa-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .section-features {
        padding: 4rem 0;
    }
    
    .villa-feature-title {
        font-size: 0.9rem;
    }
    
    .villa-feature-icon {
        height: 50px;
    }
    
    .villa-feature-icon svg {
        width: 35px;
        height: 35px;
    }
}	