:root {
    /* Color Palette - Midnight Blue & Champagne Gold */
    --color-primary: #0F172A;
    /* Deep sensual Midnight Blue */
    --color-primary-dark: #020617;
    /* Almost black blue for depth */
    --color-olive: #334155;
    /* Slate accent instead of olive */

    --color-beige: #fdfcf8;
    /* Elegant alabaster/cream background */
    --color-white: #ffffff;

    --color-gold: #c5a059;
    /* Sophisticated champagne gold */
    --color-accent-hover: #d4af37;
    /* Lighter metallic gold for hover */

    --color-text-dark: #1e293b;
    /* Charcoal instead of black */
    --color-text-light: #64748b;
    /* Slate slate grey text */

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 6rem 2rem;
    /* Increased breathing room */
    --border-radius: 16px;
    /* Slightly rounder, softer corners */

    /* Premium Effects */
    --shadow-soft: 0 15px 40px -10px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --glass-bg: rgba(253, 252, 248, 0.85);
    /* Frosty cream glass */
    --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--color-beige);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    /* Tighter, editorial look for headings */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

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

.text-white {
    color: var(--color-white);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

/* Elegant underline for section titles */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
}

.text-white .section-title::after {
    background-color: rgba(255, 255, 255, 0.5);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 650px;
    margin: 1.5rem auto 4rem;
    line-height: 1.8;
}

/* Intro Text */
.intro-section {
    padding-top: 8rem;
    margin-top: 6rem;
    /* Ensures the element drops below the fixed navbar */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    /* Use the frosty cream glass */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
    /* Use premium shadow */
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    /* Subtle border */
}

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

.logo {
    display: block;
    width: 150px;
    /* Adjust as needed */
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* Hamburger Animation */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.btn-nav {
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

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

/* Hero Carousel */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

/* Smooth gradient divider separating Hero from content below */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--color-beige) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    /* Start slightly zoomed for cinematic effect */
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    /* Slow zoom out */
    transition: opacity 1.2s ease-in-out, transform 10s ease-out;
}

.carousel-slide::after {
    content: '';
    /* Overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(2, 6, 23, 0.85));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: var(--color-white);
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent-hover) 100%);
    color: var(--color-white);
    border: none;
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-gold) 100%);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(197, 160, 89, 0.4);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
}

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

/* Carousel Controls */
.carousel-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.carousel-controls button:hover {
    background: rgba(255, 255, 255, 0.4);
}

#prev-btn {
    left: 2rem;
}

#next-btn {
    right: 2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator.active {
    background: var(--color-gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

/* Pricing Showcase (Replaced Grid) */
.pricing-showcase-section {
    background-color: var(--color-white);
    position: relative;
    z-index: 2;
}

.pricing-split-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 900px) {
    .pricing-split-layout {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.pricing-hook {
    flex: 1;
    padding-right: 2rem;
}

.pricing-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(197, 160, 89, 0.1);
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.highlight-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 4rem;
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.pricing-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pricing-details {
    flex: 1;
    background: var(--color-beige);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
}

.list-heading {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    padding-bottom: 1rem;
}

.dimension-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dimension-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
}

.dimension-item:last-child {
    border-bottom: none;
}

.dimension-item:hover {
    padding-left: 1rem;
    padding-right: 1rem;
    background: rgba(197, 160, 89, 0.05);
    border-radius: 8px;
    border-bottom-color: transparent;
}

.dim-size {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.dim-size span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-light);
}

.dim-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.dim-view {
    font-weight: 600;
    color: var(--color-gold);
}

.dim-view a:hover {
    color: var(--color-primary);
}

.highlight-item {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    border: none;
}

.highlight-item:hover {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background: var(--color-primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.highlight-item .dim-size,
.highlight-item .dim-price,
.highlight-item .dim-view {
    color: var(--color-white);
}

.highlight-item .dim-size span {
    color: rgba(255, 255, 255, 0.7);
}

/* Cinematic Virtual Tour */
.cinematic-tour-section {
    background-color: var(--color-primary-dark);
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.tour-header {
    margin-bottom: 4rem;
}

.cinematic-video-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cinematic-video-wrapper:hover {
    transform: scale(1.015);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

.cinematic-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.theater-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.8), transparent 40%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3rem;
    pointer-events: none;
}

.play-indicator {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--color-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 3rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Master Plan & Media Showcase */
.master-plan-section {
    background-color: var(--color-white);
    position: relative;
    z-index: 2;
}

.media-showcase {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.media-showcase .plan-container {
    width: 100%;
    max-width: 900px;
    /* limits width when centered */
}

.premium-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 23, 42, 0.05);
    position: relative;
    transition: var(--transition-smooth);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    display: block;
}

.plan-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    display: block;
    transition: transform 0.8s ease;
}

.plan-container:hover img {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--color-white);
    text-align: left;
    pointer-events: none;
    /* Let clicks pass through to link/controls */
}

.media-overlay h3 {
    color: var(--color-gold);
    margin-bottom: 0.2rem;
    font-size: 1.5rem;
}

.click-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Green Living */
.green-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    color: white;
}

.green-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/leaf.png');
    opacity: 0.1;
    pointer-events: none;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}

/* Trust & Location */
.trust-section {
    position: relative;
}

/* Smooth gradient from location into footer */
.trust-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent 0%, var(--color-primary-dark) 100%);
    z-index: 1;
    pointer-events: none;
}

.split-layout {
    display: flex;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    /* Ensure content is above gradient */
}

.trust-content {
    flex: 1;
}

.map-container {
    flex: 1;
    height: 400px;
    background: #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    background: #eee;
}

.badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: var(--color-white);
    border: 1px solid var(--color-gold);
    color: var(--color-primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.location-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
    /* Space between rows */
    margin-top: 1rem;
}

.location-table td {
    padding: 0.5rem 1rem;
    font-size: 1.05rem;
    color: var(--color-text-dark);
    vertical-align: middle;
    width: 50%;
    /* Equal 2-column split */
}

.location-table td strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* Virtual Tour Heading */
.virtual-tour-wrapper {
    display: flex;
    flex-direction: column;
}

.virtual-tour-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 6rem 0 2rem;
    /* Increased padding as gradient transitions into this */
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
    /* Contrast fix */
}

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

.footer-col>p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 1050;
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
    }

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

    .split-layout {
        flex-direction: column;
    }

    .map-container {
        width: 100%;
        height: 300px;
    }

    .play-indicator {
        font-size: 1.2rem;
        padding: 0.6rem 1.5rem;
    }

    /* Refine Available Dimensions for Mobile */
    .pricing-details {
        padding: 1.5rem; /* Reduced padding on mobile to give content more room */
    }

    .dim-size {
        font-size: 1.2rem;
    }

    .dim-price {
        font-size: 0.95rem;
    }

    .dimension-item {
        padding: 1rem 0;
    }
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.whatsapp-fab svg {
    width: 32px;
    height: 32px;
}