/* ========================================
   TASTE OF INDIA — Custom Styles
   Deep Navy + Warm Gold | Minimalist
   ======================================== */

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

:root {
    --navy: #0A1628;
    --navy-light: #132240;
    --navy-mid: #1A2D4A;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-pale: #F5ECD7;
    --cream: #FAF8F4;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --border: #E8E4DC;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
.section-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 24px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 560px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    border: 1.5px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn--full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.15);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.nav-logo-mark {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold);
    border-radius: 2px;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.02em;
}

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

.nav-links a {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    text-transform: uppercase;
}

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

.nav-cta {
    padding: 10px 24px;
    border: 1.5px solid var(--gold);
    color: var(--gold) !important;
    border-radius: 2px;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--navy) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: var(--transition);
    display: block;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--white);
    padding: 12px 0;
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--gold);
}

.mobile-menu-cta {
    color: var(--gold);
    margin-top: 8px;
}

.mobile-menu-divider {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 16px 0;
}

.mobile-menu-phone {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.06em;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #0A1628 0%,
        #132240 30%,
        #1A3A5C 55%,
        #0D2137 80%,
        #0A1628 100%
    );
    z-index: 1;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.4) 0%,
        rgba(10, 22, 40, 0.6) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 28px;
}

.hero-headline-accent {
    color: var(--gold);
    font-style: italic;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* --- Features Strip --- */
.features {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 36px 32px;
    border-right: 1px solid var(--border);
    transition: var(--transition);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item:hover {
    background: var(--cream);
}

.feature-icon {
    width: 28px;
    height: 28px;
    color: var(--gold);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--navy);
}

/* --- Menu Section --- */
.menu {
    padding: 120px 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-sub {
    margin: 0 auto;
}

/* Menu Categories */
.menu-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.menu-cat {
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: none;
    border: 1.5px solid var(--border);
    color: var(--text-mid);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-cat:hover {
    border-color: var(--gold);
    color: var(--navy);
}

.menu-cat.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold);
}

/* Menu Panels */
.menu-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.menu-panel.active {
    display: block;
}

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

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.menu-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
}

.menu-item-dots {
    flex: 1;
    height: 1px;
    background: var(--border);
    min-width: 24px;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    padding-left: 0;
}

.menu-note {
    text-align: center;
    margin-top: 48px;
    padding: 20px;
    border-top: 1px solid var(--border);
}

.menu-note p {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    border: 1.5px solid var(--gold);
    border-radius: 2px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--navy);
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

/* --- Gallery --- */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

.gallery .section-header {
    margin-bottom: 56px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
    position: relative;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* --- Visit Section --- */
.visit {
    padding: 120px 0;
    background: var(--white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.visit-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}

.visit-detail-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.visit-detail h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 6px;
}

.visit-detail p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.visit-detail a {
    color: var(--gold);
    transition: var(--transition);
}

.visit-detail a:hover {
    color: var(--navy);
}

.visit-map {
    height: 480px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    filter: saturate(0.6) contrast(1.05);
}

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: var(--navy);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact .section-title {
    color: var(--white);
}

.contact .section-sub {
    color: rgba(255, 255, 255, 0.6);
}

.contact-text {
    padding-top: 8px;
}

/* Form */
.contact-form-wrap {
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

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

.form-group--full {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--navy);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Success */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 40px;
    text-align: center;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--gold);
}

.form-success p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-mark {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold);
    border-radius: 2px;
    margin-right: 12px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.3;
    vertical-align: top;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--gold);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item {
        border-bottom: 1px solid var(--border);
    }

    .feature-item:nth-child(2) {
        border-right: none;
    }

    .about-grid,
    .visit-grid,
    .contact-inner {
        gap: 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .gallery-item--tall {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-inner {
        height: 70px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

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

    .menu-grid {
        grid-template-columns: 1fr;
    }

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

    .about-image {
        height: 360px;
    }

    .about-image-accent {
        display: none;
    }

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

    .gallery-item--wide {
        grid-column: span 1;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .visit-map {
        height: 320px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .menu-categories {
        gap: 6px;
    }

    .menu-cat {
        padding: 8px 16px;
        font-size: 0.72rem;
    }

    .menu, .about, .gallery, .visit, .contact {
        padding: 80px 0;
    }
}

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

    .hero-content {
        padding: 0 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .menu-categories {
        flex-wrap: wrap;
        justify-content: center;
    }
}
