/* ============================================
   JK Rasoi — Restaurant Website Styles
   Palette: Deep Navy (#0A1628) + Warm Gold (#C8A45E)
   Fonts: Cormorant Garamond + Inter
============================================ */

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

:root {
    --navy: #0A1628;
    --navy-light: #132238;
    --navy-mid: #1A2D47;
    --gold: #C8A45E;
    --gold-light: #D4B76A;
    --gold-pale: #F5E8C8;
    --cream: #FAF8F5;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border: rgba(10, 22, 40, 0.08);
    --border-gold: rgba(200, 164, 94, 0.3);
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.97);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--navy);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--gold);
    transition: color 0.3s ease;
}

.nav-cta:hover {
    color: var(--gold-light);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--navy);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--navy);
    transition: all 0.3s var(--ease-out);
}

.hamburger::before {
    transform: translateY(-6px);
}

.hamburger::after {
    transform: translateY(6px);
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

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

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--navy);
    padding: 8px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--navy);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

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

.mobile-phone {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    color: var(--gold) !important;
    margin-top: 1rem;
    letter-spacing: 0.05em;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--cream);
    padding: 72px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    flex: 1;
    padding-bottom: 4rem;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

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

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy);
}

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

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

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

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 0.85rem;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

.detail-dot {
    color: var(--gold);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--gold);
    z-index: -1;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* --- About --- */
.about {
    padding: 8rem 0;
    background: var(--white);
}

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

.about-text .section-title {
    margin-bottom: 2rem;
}

.about-body {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--navy);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.about-image {
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5/6.5;
}

/* --- Menu --- */
.menu {
    padding: 8rem 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 0.7rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border);
    background: transparent;
    transition: all 0.3s var(--ease-out);
}

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

.menu-tab.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.menu-grid {
    max-width: 800px;
    margin: 0 auto;
}

.menu-category {
    display: none;
}

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

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

.menu-item:first-child {
    border-top: 1px solid var(--border);
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

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

.menu-item-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.menu-item-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
}

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

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

/* --- Experience --- */
.experience {
    padding: 8rem 0;
    background: var(--navy);
}

.experience .section-eyebrow {
    color: var(--gold);
}

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

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.experience-image {
    overflow: hidden;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 7/5;
}

.experience-body {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.experience-features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.feature svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.feature-value {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* --- Visit --- */
.visit {
    padding: 8rem 0;
    background: var(--white);
}

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

.visit-body {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    background: var(--cream);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
}

.contact-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.4;
}

.contact-value:hover {
    color: var(--gold);
}

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

.visit-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(30%) contrast(1.05);
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white);
    display: block;
    margin-bottom: 1rem;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

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

.footer-phone {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-address {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .about-grid,
    .experience-grid,
    .visit-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-details {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .about-grid,
    .experience-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .menu-categories {
        gap: 0.5rem;
    }
    
    .menu-tab {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .visit-map {
        height: 300px;
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav-container {
        padding: 0 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .menu-item-name {
        font-size: 1.15rem;
    }
    
    .contact-block {
        padding: 1.5rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
