/* ============================================
   derisuroon — Clean Minimalist Restaurant Site
   Palette: Plum (#4a2c5e) + Amber (#d4a853)
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --plum: #4a2c5e;
    --plum-deep: #2e1a3d;
    --plum-light: #6b3d7d;
    --plum-pale: #f3eef6;
    --amber: #d4a853;
    --amber-light: #e8c97a;
    --amber-pale: #fdf6e3;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --bg-white: #ffffff;
    --bg-cream: #faf9f7;
    --bg-plum: #4a2c5e;
    --line: rgba(74, 44, 94, 0.12);
    --line-strong: rgba(74, 44, 94, 0.25);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(74, 44, 94, 0.06);
}

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

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: var(--plum);
}

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color 0.25s ease;
    position: relative;
}

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

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

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

.nav-cta {
    font-size: 0.78rem !important;
    letter-spacing: 0.12em !important;
    color: var(--plum) !important;
    border: 1px solid var(--plum);
    padding: 0.55rem 1.4rem;
    transition: all 0.25s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--plum);
    color: #fff !important;
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--plum);
    transition: all 0.3s ease;
}

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

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

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

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

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(46, 26, 61, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-overlay.open {
    display: flex;
}

.nav-overlay-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.25s ease;
}

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

.nav-overlay-cta {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    border: 1px solid var(--amber);
    padding: 0.7rem 2rem;
    margin-top: 1rem;
    transition: all 0.25s ease;
}

.nav-overlay-cta:hover {
    background: var(--amber);
    color: var(--plum-deep);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    padding-top: 72px;
    background: var(--bg-white);
}

.hero-left {
    padding: 4rem 4rem 4rem 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    max-width: 600px;
}

.hero-tag {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-dark);
    max-width: 520px;
}

.hero-headline em {
    font-style: italic;
    color: var(--plum);
}

.hero-sub {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
    max-width: 440px;
}

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

.hero-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    max-width: 440px;
}

.hero-details a {
    color: var(--plum);
    transition: color 0.25s ease;
}

.hero-details a:hover {
    color: var(--plum-light);
}

.divider {
    color: var(--amber);
}

.hero-right {
    height: 100vh;
    overflow: hidden;
}

.hero-img-wrap {
    width: 100%;
    height: 100%;
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 1px solid;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--plum);
    border-color: var(--plum);
    color: #fff;
}

.btn-primary:hover {
    background: var(--plum-deep);
    border-color: var(--plum-deep);
}

.btn-outline {
    background: transparent;
    border-color: var(--plum);
    color: var(--plum);
}

.btn-outline:hover {
    background: var(--plum);
    color: #fff;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    padding: 7rem 0;
}

.section-tag {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    max-width: 680px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 3.5rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--bg-cream);
}

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

.about-text p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* ============================================
   DIVIDER
   ============================================ */
.divider-section {
    padding: 0 2rem;
}

.thin-line {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: var(--line-strong);
}

/* ============================================
   MENU
   ============================================ */
.menu {
    background: var(--bg-white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.menu-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
}

.menu-card:hover {
    border-color: var(--plum);
    box-shadow: 0 8px 40px rgba(74, 44, 94, 0.06);
}

.menu-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--plum);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.menu-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-card li {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.6;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.menu-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-card li span {
    font-weight: 400;
    color: var(--text-dark);
}

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

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

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    background: var(--bg-cream);
}

.gallery .section-title {
    margin-bottom: 3rem;
}

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

.gallery-item img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* ============================================
   VISIT
   ============================================ */
.visit {
    background: var(--bg-white);
}

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

.visit-info .section-title {
    margin-bottom: 2.5rem;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}

.visit-block h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--plum);
    margin-bottom: 0.5rem;
}

.visit-block p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.visit-block a {
    color: var(--plum);
    transition: color 0.25s ease;
}

.visit-block a:hover {
    color: var(--plum-light);
}

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

.visit-map iframe {
    width: 100%;
    height: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--plum-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #fff;
    display: block;
    margin-bottom: 0.6rem;
}

.footer-brand p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.25s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

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

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: always visible if JS disabled */
.reveal {
    opacity: 1;
    transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-left {
        padding: 3rem 3rem 3rem 4rem;
    }
    
    .about-grid,
    .visit-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-left {
        padding: 6rem 2rem 3rem;
    }
    
    .hero-right {
        height: 55vh;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 280px;
    }
    
    .section {
        padding: 4.5rem 0;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-left {
        padding: 5rem 1.5rem 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
