/* Base Variables & Setup - BROCHURE AESTHETIC */
:root {
    --primary-bg: #fdfdfc; /* Pristine off-white/beige */
    --secondary-bg: #f4f5f0; /* Light beige/olive tint */
    --card-bg: #ffffff;
    --gold: #c5a059; /* Bright luxurious gold */
    --olive: #606E55; /* Signature Olive/Gold-Green from brochure */
    --gold-hover: #a38243;
    --text-dark: #2c3327; /* Dark forest green/charcoal */
    --text-muted: #6b7265;
    --border-color: #e2e5df;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400; /* Lighter weight for elegance */
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: center;
}

.btn-primary {
    background-color: var(--gold);
    color: #fff;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.4);
}

.btn-outline-gold {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

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

.btn-submit {
    background-color: var(--gold);
    color: #fff;
    width: 100%;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px;
}

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

.btn-gold-text {
    background: none;
    color: var(--gold);
    padding: 0;
    margin-top: 15px;
    font-weight: 600;
}
.btn-gold-text:hover {
    color: var(--gold-hover);
}

/* Header */
.top-bar {
    background-color: var(--gold);
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px) {
    .top-bar-content { flex-direction: column; gap: 5px; }
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s, box-shadow 0.3s;
    border-bottom: 1px solid var(--border-color);
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.main-header.scrolled .top-bar {
    display: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.desktop-nav a {
    margin: 0 15px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    color: var(--text-dark);
}

.desktop-nav a:hover {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Hero Section with Image Slideshow */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #111;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: kenburns 18s infinite linear;
}

/* 3 Slides, 6s interval = 18s total */
.hero-slideshow .slide:nth-child(1) { animation-delay: 0s; }
.hero-slideshow .slide:nth-child(2) { animation-delay: 6s; }
.hero-slideshow .slide:nth-child(3) { animation-delay: 12s; }

@keyframes kenburns {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    28% { opacity: 1; }
    33% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-text .badge {
    display: inline-block;
    background-color: var(--olive);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: 1.2rem;
    color: #f1f1f1;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.trust-signals {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
}
.trust-signals span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border-radius: 4px;
    border-left: 3px solid var(--gold);
}
.trust-signals img {
    height: 20px;
    filter: brightness(0) invert(1);
}

.rera-highlight {
    font-weight: 700;
}

/* Form Styles */
.hero-form-container {
    background-color: var(--card-bg);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-top: 5px solid var(--gold);
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.form-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.form-disclaimer {
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    margin-top: 15px;
}

/* Sections Common */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    text-transform: none;
    letter-spacing: normal;
}

/* Split-Block Grid Layout (Brochure Style) */
.split-block {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 0;
}

.split-content, .split-image {
    flex: 1; /* Guarantees exactly 50/50 split without wrapping */
    min-height: 600px;
}

.split-content {
    background-color: var(--secondary-bg);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 992px) {
    .split-block {
        flex-direction: column;
    }
    .split-content, .split-image { 
        min-height: 400px;
        width: 100%;
    }
}

.split-content.dark {
    background-color: var(--olive);
    color: #fff;
}
.split-content.dark h2, .split-content.dark h3, .split-content.dark p {
    color: #fff;
}
.split-content.dark .text-muted {
    color: rgba(255,255,255,0.8);
}

.split-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.split-content .huge-number {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    color: var(--gold);
}

.split-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.separator {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto 20px;
}

/* Overview Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--gold);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.1);
}

.feature-icon img {
    height: 35px;
    width: 35px;
    object-fit: contain;
    /* Removed the filter to show original icon colors */
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

/* Image Showcase */
.showcase {
    padding: 0;
}

.showcase-img {
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.showcase-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(31, 41, 55, 0.7);
}

.showcase-content {
    position: relative;
    z-index: 1;
    max-width: 1000px; /* Increased to allow heading to fit on one line */
    padding: 0 20px;
    margin: 0 auto;
}

.showcase-content h2 {
    font-size: 3rem; /* Slightly reduced to prevent 'SKY' from dropping to next line */
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.3;
}

.showcase-content p {
    font-size: 1.15rem;
    color: #f1f1f1;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Amenities */
.amenities {
    background-color: var(--secondary-bg);
}

.amenities-list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.amenities-list li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.amenities-list li::before {
    content: '\2726';
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Residences */
.residences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.residence-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.residence-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.res-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.res-info {
    padding: 30px;
}

.res-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.res-info .size {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.res-info p {
    color: var(--text-muted);
}

/* Location */
.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-highlights {
    margin-top: 30px;
}

.location-highlights li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.location-highlights img {
    height: 24px;
    margin-right: 15px;
    filter: invert(66%) sepia(40%) saturate(601%) hue-rotate(5deg);
}

.location-map img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.main-footer {
    background-color: #111827; /* Dark footer to contrast bright theme */
    color: #fff;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer-contact h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-contact .phone a {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.rera-highlight-footer {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    color: #6b7280;
    font-size: 0.9rem;
}
.footer-bottom a {
    color: var(--gold);
    text-decoration: underline;
    transition: color 0.3s;
}
.footer-bottom a:hover {
    color: var(--gold-hover);
}

/* Floating Elements */
.floating-ctas {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.float-btn.whatsapp {
    background-color: #25D366;
}

.float-btn.call {
    background-color: var(--gold);
    display: none;
}

.float-btn svg {
    width: 30px;
    height: 30px;
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 50px 40px;
    border-radius: 12px;
    border-top: 6px solid var(--gold);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.4s ease-out forwards;
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-body h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.modal-form .large-input {
    width: 100%;
    padding: 20px 15px; /* Bigger padding for larger inputs */
    font-size: 1.2rem; /* Larger font size */
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    transition: border-color 0.3s;
}

.modal-form .large-input:focus {
    outline: none;
    border-color: var(--gold);
}

.modal-form .btn-submit {
    padding: 18px;
    font-size: 1.2rem;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 50px;
    }
    .hero-text h1 { font-size: 3.5rem; }
    .trust-signals { justify-content: center; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .location-container { grid-template-columns: 1fr; }
    
    .desktop-nav { display: none; }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    .logo img {
        height: 28px !important;
    }
    .header-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        width: auto;
    }
    .header-actions .phone-link {
        font-size: 0.85rem;
    }
    .header-actions .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .hero {
        padding-top: 100px;
    }
    .hero-text h1 { font-size: 2.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .residences-grid { grid-template-columns: 1fr; }
    .amenities-list ul { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    .section-header h2 { font-size: 2.2rem; }

    .floating-ctas {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .float-btn {
        width: 45px;
        height: 45px;
    }
    .float-btn.call {
        display: flex;
    }
    .float-btn svg {
        width: 22px;
        height: 22px;
    }
}


/* New Button Style */
.btn-outline-dark {
    background-color: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    font-weight: 500;
    padding: 12px 24px;
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.btn-outline-dark:hover {
    background-color: var(--secondary-bg);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-dark {
    background-color: #2c2a26;
    color: #fff;
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.btn-dark:hover {
    background-color: var(--gold);
}

/* Payment Plan */
.payment-plan {
    background-color: var(--primary-bg);
    text-align: center;
    padding: 100px 20px;
}
.payment-plan .subheading {
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}
.payment-plan .huge-numbers {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: #2c2a26;
    line-height: 1;
    margin-bottom: 5px;
}
.payment-plan .tentative {
    color: #a0a0a0;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.payment-plan p {
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    background-color: var(--secondary-bg);
    padding: 100px 20px;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}
.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
}
.faq-answer a {
    color: var(--gold);
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 768px) {
    .payment-plan .huge-numbers {
        font-size: 4.5rem;
    }
}
