/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --off-white: #f8f8f8;
    --light-grey: #e8e8e8;
    --mid-grey: #999;
    --text: #4a4a4a;
    --text-light: #888;
    --text-dark: #2a2a2a;
    --accent: #4a4a4a;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-deva: 'Noto Sans Devanagari', serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

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

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

/* === Splash Screen === */
.splash {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.6s ease, opacity 0.8s ease, visibility 0.8s ease;
}

.splash.fade-white {
    background: var(--white);
}

.splash.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-word {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.splash-char {
    font-family: var(--font-deva);
    font-size: 120px;
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    display: inline-block;
    padding-left: 14px;
    transition: font-size 0.5s ease, color 0.5s ease;
    user-select: none;
}

.splash-char.settled {
    font-size: 80px;
}

.splash-rest {
    font-family: var(--font-deva);
    font-size: 80px;
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    display: inline-block;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.6s ease, opacity 0.5s ease, color 0.5s ease;
}

.splash-rest.visible {
    max-width: 400px;
    opacity: 1;
}

/* === Navigation === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 40px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-devanagari {
    font-family: var(--font-deva);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1;
}

.nav-brand {
    font-family: var(--font-deva);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

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

.nav-cta {
    padding: 8px 20px;
    border: 1px solid var(--text);
    color: var(--text-dark) !important;
    font-weight: 400 !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.nav-cta:hover {
    background: var(--text-dark);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle.active span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text);
}

/* === Hero === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    background: linear-gradient(to bottom, var(--off-white), var(--white));
}

.hero-content {
    max-width: 680px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.hero-sub {
    margin-top: 24px;
    font-size: 17px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* === Button === */
.btn {
    display: inline-block;
    margin-top: 36px;
    padding: 14px 36px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--text-dark);
    border: 1px solid var(--text-dark);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    background: transparent;
    color: var(--text-dark);
}

/* === Sections === */
.section {
    padding: 100px 40px;
}

.section-alt {
    background: var(--off-white);
}

.container {
    max-width: 1080px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 680px;
}

.section-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.7;
}

/* === Name Meaning === */
.section-meaning {
    padding: 80px 40px;
    border-bottom: 1px solid var(--light-grey);
}

.meaning-devanagari {
    font-family: var(--font-deva);
    font-size: 42px;
    font-weight: 300;
    color: var(--text-dark);
    display: block;
    margin-bottom: 16px;
}

.meaning-english {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.meaning-text {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.9;
    max-width: 520px;
    margin: 0 auto;
}

/* === About === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text);
}

.about-stats {
    display: flex;
    gap: 40px;
    padding-top: 8px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
}

/* === Amenities === */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.amenity {
    padding: 0;
}

.amenity-icon {
    width: 36px;
    height: 36px;
    color: var(--mid-grey);
    margin-bottom: 16px;
}

.amenity-icon svg {
    width: 100%;
    height: 100%;
}

.amenity h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.amenity p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.6;
}

/* === Gallery / Spaces === */
.gallery-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: var(--off-white);
    border: 1px solid var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.gallery-item:hover {
    border-color: var(--mid-grey);
}

.gallery-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* === Location === */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.location-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.location-list {
    list-style: none;
}

.location-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-grey);
    font-size: 14px;
    color: var(--text);
}

.location-distance {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-light);
    min-width: 70px;
}

.map-placeholder {
    aspect-ratio: 1;
    background: var(--off-white);
    border: 1px solid var(--light-grey);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.map-placeholder small {
    font-size: 12px;
    color: var(--mid-grey);
}

/* === Contact Form === */
.contact-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--off-white);
    border: 1px solid var(--light-grey);
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--mid-grey);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--text);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 8px;
}

/* === Footer === */
.footer {
    padding: 40px;
    border-top: 1px solid var(--light-grey);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-deva);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.footer-devanagari {
    font-family: var(--font-deva);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1;
}

.footer-text {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-sep {
    color: var(--light-grey);
}

/* === Responsive === */
@media (max-width: 768px) {
    .splash-char {
        font-size: 80px;
    }

    .splash-char.settled {
        font-size: 48px;
    }

    .splash-rest {
        font-size: 48px;
        max-width: 280px;
    }

    .nav {
        padding: 16px 24px;
    }

    .nav.scrolled {
        padding: 12px 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .section {
        padding: 72px 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gallery-placeholder {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .splash-char {
        font-size: 64px;
    }

    .splash-char.settled {
        font-size: 36px;
    }

    .splash-rest {
        font-size: 36px;
        max-width: 220px;
    }

    .gallery-placeholder {
        grid-template-columns: 1fr;
    }

    .about-stats {
        gap: 28px;
    }
}
