:root {
    --primary-gold: #B8860B;
    /* Deep Metallic Gold */
    --accent-charcoal: #1A1A1A;
    --champagne-base: #FDF5E6;
    /* Warm Champagne */
    --ivory-white: #FFFFFF;
    --prestige-cream: #FCF8F1;
    --border-gold: rgba(184, 134, 11, 0.3);
    --border-light: rgba(0, 0, 0, 0.05);
    --text-main: #2C2C2C;
    --text-muted: #5A5A5A;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow-rich: 0 30px 60px rgba(184, 134, 11, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    background-color: var(--champagne-base);
    background-image:
        radial-gradient(circle at 2px 2px, rgba(184, 134, 11, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    /* Subtle pattern for 'bhara-bhara' feel */
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.8;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--champagne-base);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(253, 245, 230, 0.98);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 10px 40px rgba(184, 134, 11, 0.1);
    border-bottom: 2px solid var(--primary-gold);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-charcoal);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.logo span {
    color: var(--primary-gold);
    font-weight: 400;
    margin-left: 8px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gold);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    /* Chota/Refined gap */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.75rem;
    /* Refined */
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a.btn-primary {
    background: transparent !important;
    color: var(--primary-gold) !important;
    border: 1px solid var(--primary-gold) !important;
    padding: 8px 15px !important;
    box-shadow: none !important;
    font-size: 0.65rem !important;
}

.nav-links a.btn-primary:hover {
    background: var(--primary-gold);
    color: var(--ivory-white);
    transform: translateY(-2px);
}

/* Royal Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-charcoal);
    color: var(--ivory-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.7rem;
    transition: var(--transition);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-gold);
    color: var(--accent-charcoal);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(184, 134, 11, 0.2);
}

.btn-outline-gold {
    display: inline-block;
    padding: 12px 28px;
    border: 1.5px solid var(--primary-gold);
    color: var(--accent-charcoal);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.7rem;
    transition: var(--transition);
    background: transparent;
}

/* Hero Section */
.creative-hero {
    height: 100vh;
    min-height: 700px;
    width: 100%;
    background: var(--prestige-cream);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    display: flex;
    align-items: center;
}

.hero-image-main {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom right;
}

.hero-image-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--prestige-cream) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    margin-top: -130px;
}

.hero-text-wrapper {
    width: 50%;
    padding-right: 30px;
}

.sub-heading {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sub-heading::before {
    content: '';
    width: 25px;
    height: 2px;
    background: var(--primary-gold);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-charcoal);
    line-height: 1.1;
    letter-spacing: -1px;
}

.main-title span {
    color: var(--primary-gold);
    display: block;
    font-style: italic;
    font-weight: 400;
}

.hero-desc {
    font-size: 0.9rem;
    color: var(--text-main);
    max-width: 400px;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Concord Section */
.concord-section {
    padding: 100px 0;
    background: #F5F0E1;
    color: var(--accent-charcoal);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-gold);
}

.concord-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-gold) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    pointer-events: none;
}

.concord-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.concord-floating-box {
    position: relative;
    padding: 50px;
    background: var(--primary-gold);
    color: var(--ivory-white);
    box-shadow: 20px 20px 40px rgba(184, 134, 11, 0.15);
    text-align: left;
}

.concord-floating-box h3 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.concord-visual {
    position: relative;
    height: 500px;
    border: 1px solid var(--primary-gold);
    padding: 15px;
}

.concord-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--border-gold);
}

.concord-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* Philosophy Section */
.philosophy-section {
    padding: 100px 0;
    background: var(--ivory-white);
    position: relative;
}

.signature-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: -50px 0;
    position: relative;
    z-index: 10;
}

.signature-divider .line {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-gold), var(--primary-gold), transparent);
}

.signature-divider .seal {
    width: 70px;
    height: 70px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ivory-white);
    color: var(--primary-gold);
    font-size: 1.3rem;
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
    margin: 10px 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.philosophy-image {
    position: relative;
    padding: 30px;
}

.philosophy-image img {
    width: 100%;
    box-shadow: 20px 20px 0 var(--prestige-cream);
    border: 1px solid var(--border-gold);
}

.gold-border-box h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.1;
    text-align: center;
}

/* Legacy Section */
.legacy-section {
    padding: 100px 0;
    background: var(--prestige-cream);
}

.legacy-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.legacy-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 25px;
    text-align: left;
    /* Keep left on desktop for dynamic flow */
}

.stats-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    justify-content: flex-start;
}

.stats-grid .stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 5px;
    line-height: 1;
}

.stats-grid .stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.legacy-image img {
    width: 100%;
    box-shadow: -20px 20px 0 var(--ivory-white);
    border: 1px solid var(--border-gold);
}

/* Amenities */
.amenities-section {
    background: var(--ivory-white);
    padding: 100px 0;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.amenity-item {
    text-align: center;
    padding: 60px 30px;
    background: var(--prestige-cream);
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

.amenity-item:hover {
    background: var(--accent-charcoal);
    color: var(--ivory-white);
    transform: translateY(-5px);
}

.amenity-item i {
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

/* Testimonials */
.testimonials-section {
    padding: 120px 0;
    background: var(--prestige-cream);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 50px 30px;
    background: var(--ivory-white);
    border: 1px solid var(--border-gold);
    box-shadow: 15px 15px 0 var(--primary-gold);
    text-align: center;
}

/* Properties Grid */
.properties-section {
    padding: 100px 0;
    background: var(--ivory-white);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Fixed: Min 300px to avoid overflow */
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 5% 0;
}

.property-card {
    background: var(--ivory-white);
    padding: 15px;
    border: 1px solid var(--border-gold);
    transition: var(--transition);
    position: relative;
    max-width: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(184, 134, 11, 0.15);
}

.property-image {
    height: 250px;
    overflow: hidden;
    margin-bottom: 25px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--prestige-cream);
    position: relative;
    border-top: 1px solid var(--border-gold);
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form-container h2 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--accent-charcoal);
}

.contact-form-container p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    background: var(--ivory-white);
    border: 1px solid var(--border-gold);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-main);
    transition: var(--transition);
    outline: none;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23B8860B' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 25px center;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-gold);
    background: var(--ivory-white);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.08);
}

.contact-form select {
    grid-column: span 1;
}

.contact-form textarea {
    grid-column: span 2;
    height: 180px;
    resize: none;
}

.contact-form .btn-primary {
    grid-column: span 2;
    justify-self: center;
    min-width: 250px;
    margin-top: 10px;
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--accent-charcoal);
    color: var(--ivory-white);
    padding: 120px 0 0;
    border-top: 5px solid var(--primary-gold);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(184, 134, 11, 0.05) 0%, transparent 70%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 80px;
    position: relative;
    z-index: 2;
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--ivory-white);
}

.footer-brand p {
    color: #AAA;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 400px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #CCC;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.footer-links ul li a:hover {
    color: var(--primary-gold);
    padding-left: 10px;
}

.footer-bottom {
    background: #0D0D0D;
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 0.5px;
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--accent-charcoal);
    transition: var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Pricing Modal */
.pricing-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
}

.pricing-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--ivory-white);
    padding: 50px;
    border: 2px solid var(--primary-gold);
    max-width: 550px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 60px rgba(184, 134, 11, 0.2);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.6rem;
    color: var(--accent-charcoal);
    cursor: pointer;
    transition: var(--transition);
}

.modal-header h2 {
    font-family: var(--font-heading);
    color: var(--accent-charcoal);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.pricing-highlight {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 20px 0;
    display: block;
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 15px 0;
    text-align: center;
}

.pricing-tagline {
    font-style: italic;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-gold);
    text-align: center;
}

/* Responsive Overhaul */
@media (max-width: 1100px) {

    /* Trigger Hamburger Early to avoid overlap */
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--ivory-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 1050;
    }

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

}

@media (max-width: 968px) {
    .nav-container {
        padding: 0 20px;
    }

    .hero-text-wrapper {
        width: 100%;
        padding-right: 0;
        text-align: center;
        margin-top: 30px;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .sub-heading {
        justify-content: center;
    }

    .sub-heading::before {
        display: none;
    }

    .hero-image-main {
        position: relative;
        height: 40vh;
        width: 100%;
        order: -1;
    }

    .creative-hero {
        height: auto;
        flex-direction: column;
        padding-top: 80px;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 1400px;
        width: 100%;
        margin: 0 auto;
        padding: 0 5%;
        /* margin-top: -130px; */
    }

    .concord-grid,
    .philosophy-grid,
    .legacy-grid {
        grid-template-columns: 1fr !important;
        gap: 50px;
        padding: 0 5%;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 60px;
        text-align: center;
        padding-bottom: 60px;
    }

    .footer-brand p {
        margin: 0 auto 30px;
    }

    .concord-visual,
    .philosophy-image,
    .legacy-image {
        height: 350px !important;
    }

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

    .legacy-text .stat-item {
        text-align: center;
        margin-bottom: 30px;
    }

    .concord-floating-box {
        padding: 35px 25px;
        margin-top: -60px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .concord-floating-box h3 {
        text-align: center;
    }

    .concord-stats {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 35px;
        text-align: center;
    }

    .concord-stats .stat-item {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .concord-stats .stat-item:last-child {
        border-bottom: none;
    }

    .signature-divider {
        margin: 20px 0;
    }

    .signature-divider .line {
        height: 60px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form textarea,
    .contact-form .btn-primary {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .logo {
        font-size: 1.3rem;
    }
}