html {
    scroll-behavior: smooth;
    /* This ensures that when navigating to IDs, the header doesn't cover content */
    scroll-padding-top: 80px; 
}
/* Base Styles */
:root {
    --deep-forest: #0d1e16;
    --champagne: #c5a059;
    --cream: #fdfcf9;
    --text-dark: #2a2a2a;
    --text-light: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
}
#home{
    padding-top:91px;
}

/* Navbar */
.navbar {
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Changed to fixed so it stays visible while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    transition: all 0.4s ease;
    
    /* The Glass Effect */
    background: rgba(13, 30, 22, 0.2); /* Very light forest tint */
    backdrop-filter: blur(10px); /* Blurs the banner behind the nav */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 1); 
    padding: 15px 10%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--deep-forest);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    color: #fff ;
    /*text-shadow: 0 2px 10px rgba(0,0,0,0.3);*/
    font-weight: 500;
    text-decoration:none;
}
.navbar.scrolled .nav-links a{
    color: var(--text-dark);
}
.nav-cta {
    background: var(--champagne);
    color: var(--deep-forest) !important;
    border: none !important;
    padding: 12px 25px;
    text-shadow: none !important;
    border-radius: 2px;
}
.nav-cta:hover {
    background: var(--deep-forest);
    color: white !important;
}
/* Floor Plan Layout */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 10px 25px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--deep-forest);
    color: white;
    border-color: var(--deep-forest);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #f0f0f0;
    transition: 0.4s;
}

.plan-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.plan-image {
    position: relative;
    height: 250px;
    background: #f9f9f9;
    overflow: hidden;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Keeps the technical drawing proportions */
}

.plan-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 30, 22, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.plan-overlay span {
    color: white;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid white;
    padding: 8px 15px;
}

.plan-image:hover .plan-overlay {
    opacity: 1;
}

.plan-info {
    padding-top: 20px;
    text-align: center;
}

.plan-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.plan-info p {
    font-size: 0.8rem;
    color: var(--champagne);
    font-weight: 600;
}
@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
        /*background: rgba(13, 30, 22, 0.8); /* Slightly darker on mobile for readability */
        background: rgba(255, 255, 255, 1);
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: none; /* Usually better to use a hamburger menu on mobile */
    }
}
/* Hero Section Height */

/* Section Headers */
.section-container {
    padding: 140px 10% 80px;
}

.lux-header {
    margin-bottom: 60px;
}

.centered { text-align: center; }

.sub-title {
    color: var(--champagne);
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--deep-forest);
}

/* Project Cards */
.project-card {
    display: flex;
    align-items: center;
    gap: 100px;
    background: white;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.03);
}

.project-image {
    flex: 1.5;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-details {
    flex: 1;
}

.project-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.project-stats {
    display: flex;
    flex-direction: column;
    margin: 30px 0;
    gap: 10px;
    font-weight: 600;
    color: var(--champagne);
}

.lux-btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--champagne);
    color: var(--champagne);
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.4s;
}

.lux-btn-outline:hover {
    background: var(--champagne);
    color: white;
}

/* Gallery Masonry */
.gallery-section {
    padding: 100px 5%;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.tall { grid-row: span 2; }
.wide { grid-column: span 2; }

/* Highlights Banner */
.stats-banner {
    background: var(--deep-forest);
    color: white;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 40px;
    padding: 80px 5%;
    text-align: center;
}

.stat-box {
    flex: 1;
    min-width: 150px; /* Ensures they don't get too squashed */
}

.stat-num, .stat-suffix {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--champagne);
    display: inline-block;
}

.stat-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.65rem;
    margin-top: 10px;
    opacity: 0.8;
}

/* Contact Hub with Glassmorphism */
.contact-hub {
    position: relative;
    height: 700px; /* Adjust based on your image height */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Places form on the right as per image 344ef9 */
    padding-right: 10%;
    overflow: hidden;
}
.map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.form-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
}

.glass-form {
    background: rgba(13, 30, 22, 0.85); /* Deep Forest Glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.glass-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.glass-form p {
    color: var(--champagne);
    font-size: 0.9rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.glass-form input, 
.glass-form select, 
.glass-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    margin-bottom: 20px;
    color: white;
    outline: none;
}

.glass-form select option {
    background: var(--deep-forest);
}

.gold-submit {
    width: 100%;
    background: #c29958; /* Warm Gold from image 344ef9 */
    color: #000;
    padding: 18px;
    border: none;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.gold-submit:hover {
    background: white;
}


input, select, textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    color: #666;
    margin-bottom: 25px;
    font-size: 0.9rem;
    outline: none;
}

/*.gold-submit {*/
/*    background: var(--champagne);*/
/*    border: none;*/
/*    color: var(--deep-forest);*/
/*    padding: 20px;*/
/*    width: 100%;*/
/*    font-weight: 700;*/
/*    letter-spacing: 2px;*/
/*    cursor: pointer;*/
/*    transition: 0.3s;*/
/*}*/

/*.gold-submit:hover {*/
/*    background: white;*/
/*}*/

.lux-footer {
    text-align: center;
    padding: 40px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    background: #000;
    color: #444;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .project-card { flex-direction: column; gap: 0px; padding: 20px; align-items: flex-start; }
    .main-title { font-size: 2.5rem; }
    .masonry-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-hub { padding-right: 50px; justify-content: center; height: auto; }
    .form-overlay { max-width: 100%; }
}


/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 30, 22, 0.85);
    backdrop-filter: blur(12px);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    transition: opacity 0.4s ease;
}

/* Modal Box */
.modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--deep-forest);
    z-index: 10;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 60px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.spec-item strong {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--champagne);
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 30px;
}
.footer{
    padding:30px 5%;
}
.ftr-main{
    font-size:12px;
}
.ftr-main a{
    color:#000;
}
.highlights-section{
    padding:50px 0 0;
}
.location-bg {
    background-color: #fff;
    padding-bottom: 120px;
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

.location-item:hover {
    padding-left: 15px;
}

.loc-distance {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--champagne);
    letter-spacing: 2px;
    white-space: nowrap;
    margin-top: 5px;
}

.loc-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--deep-forest);
}

.loc-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Map Styling */
.location-map {
    position: relative;
    height: 550px;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    padding: 15px;
    background: white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) contrast(1.1) opacity(0.8); /* Luxury Map Filter */
}

.map-overlay-label {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: var(--deep-forest);
    color: white;
    padding: 15px 25px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.visual-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('your-township-image.jpg') center/cover no-repeat;
    z-index: 1;
}

/* Dark tint to ensure form stands out */
.visual-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 30, 22, 0.4); 
}
/* Responsive */
@media (max-width: 992px) {
    .location-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .location-map {
        height: 400px;
    }
}
/* Responsive Modal */
@media (max-width: 768px) {
    .modal-body { grid-template-columns: 1fr; }
    .modal-info { padding: 15px; }
    .modal-image { height: 220px; }
    
    .section-container{
        padding: 40px 5% 0;
    }
    input{
        margin-bottom:5px;
    }
    #modalTitle{
        display:none;
    }
    .masonry-grid {
     grid-template-columns: repeat(1, 1fr);
    }
    .tall {
        grid-row: span 1;
    }
    .wide {
        grid-column: span 1;
    }
    .gallery-section {
        padding: 30px 5%;
    }
    .glass-form{
        padding: 20px;
    }
    .stat-box {
        flex: 3;
        min-width: 130px;
    }
    #home{
        padding-top:81px;
    }
}
/* Mobile Sticky Footer Styles */
.mobile-sticky-footer {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 2500; /* Above everything except the modal */
    padding: 12px 15px;
}

.m-footer-content {
    display: flex;
    gap: 10px;
    height: 50px;
}

.m-btn-call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    color: var(--deep-forest);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px;
}

.m-btn-enquire {
    flex: 2;
    background: var(--deep-forest);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
}
/* Custom Modal Overlay */
.custom-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Modal Content Box */
.custom-modal-content {
    background: #fff; /* Deep Forest */
    width: 100%;
    max-width: 450px;
    padding: 15px;
    position: relative;
    border: 1px solid rgba(194, 153, 88, 0.3);
}

.close-custom-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: black;
    cursor: pointer;
}

.custom-modal-header h2 {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.custom-modal-header p {
    color: #C29958; /* Champagne Gold */
    font-size: 0.85rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Form Styling */
.custom-modal-form .input-row {
    margin-bottom: 20px;
}

.custom-modal-form input, 
.custom-modal-form select, 
.custom-modal-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 0;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.custom-modal-form select option {
    background: #0D1E16;
}

.custom-gold-btn {
    width: 100%;
    background: #C29958;
    color: #000;
    border: none;
    padding: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.custom-gold-btn:hover {
    background: white;
}
/* Media Query to show only on Mobile */
@media (max-width: 768px) {
    .mobile-sticky-footer {
        display: block;
    }
    
    /* Add padding to the bottom of the body so content isn't hidden behind the footer */
    body {
        padding-bottom: 75px;
    }
    .contact-hub {
        justify-content: center;
        padding: 0 5%;
        height: auto;
        padding-right:18px;
        padding-top: 50px;
        padding-bottom: 50px;
        
    }
}