/* ========================================
   Forget Me Not Diner — Styles
   Bold editorial design: plum + amber
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --plum-50: #fdf4f6;
    --plum-100: #fce8ec;
    --plum-200: #f9d0d9;
    --plum-300: #f2a8b8;
    --plum-400: #e8748e;
    --plum-500: #d44d6a;
    --plum-600: #b8334f;
    --plum-700: #9a2741;
    --plum-800: #7f2137;
    --plum-900: #6a1e31;
    --plum-950: #3a0e18;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;

    --cream: #faf8f5;
    --cream-dark: #f5f0ea;
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #7a7a7a;
    --white: #ffffff;

    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    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 {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Typography --- */
.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-sm);
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--plum-700);
    color: var(--white);
    border-color: var(--plum-700);
}

.btn-primary:hover {
    background-color: var(--plum-800);
    border-color: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--charcoal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--plum-700);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    position: relative;
}

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

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

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

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.mobile-menu.open {
    display: flex;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal);
    padding: var(--space-sm) 0;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--plum-600);
}

.mobile-call {
    margin-top: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--plum-700);
    font-weight: 600;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, var(--plum-100) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--plum-700);
    font-style: italic;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

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

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero-accent-box {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: var(--plum-800);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.accent-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.accent-sub {
    font-size: 0.8125rem;
    opacity: 0.8;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- About --- */
.about {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

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

.about-img-main {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-img-accent {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

.about-content {
    padding: var(--space-lg) 0;
}

.about-content .lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--plum-100);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--plum-700);
    line-height: 1;
}

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

/* --- Menu --- */
.menu {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.menu-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

.menu-header .menu-intro {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.menu-cat-btn {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border: 2px solid var(--plum-200);
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-cat-btn:hover {
    border-color: var(--plum-500);
    color: var(--plum-700);
}

.menu-cat-btn.active {
    background: var(--plum-700);
    border-color: var(--plum-700);
    color: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.menu-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.menu-item:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.menu-item-content {
    flex: 1;
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
}

.menu-item-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--amber-700);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--amber-100);
    padding: 0.1875rem 0.5rem;
    border-radius: 50px;
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.menu-item-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.08);
}

.menu-footer {
    text-align: center;
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.menu-footer p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Hide items not in active category */
.menu-item.hidden {
    display: none;
}

/* --- Gallery --- */
.gallery {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.gallery-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

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

.gallery-item--large {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.gallery-item--large img {
    aspect-ratio: 3/2;
}

.gallery-item:not(.gallery-item--large) img {
    aspect-ratio: 1;
}

.gallery-item--wide {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
}

.gallery-item--wide img {
    aspect-ratio: 2/1;
}

/* --- Testimonials --- */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--plum-950);
    color: var(--white);
    text-align: center;
}

.testimonials .eyebrow {
    color: var(--amber-400);
}

.testimonials .section-title {
    color: var(--white);
    margin-bottom: var(--space-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: left;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.testimonial-quote {
    margin-bottom: var(--space-md);
}

.quote-icon {
    color: var(--amber-400);
    opacity: 0.6;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--amber-300);
    font-weight: 600;
}

/* --- Visit --- */
.visit {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: stretch;
}

.visit-info {
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.visit-info .section-title {
    margin-bottom: var(--space-sm);
}

.visit-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.visit-detail {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.visit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--plum-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
}

.visit-detail strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.visit-detail p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--plum-700);
    font-weight: 600;
    transition: color 0.2s ease;
}

.visit-detail a:hover {
    color: var(--plum-500);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* --- Footer --- */
.site-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .logo-mark {
    color: var(--amber-400);
}

.footer-brand p {
    margin-top: var(--space-sm);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--amber-400);
    margin-bottom: var(--space-sm);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: var(--space-lg);
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

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

    .mobile-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-xl);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-accent-box {
        left: 0;
        bottom: -20px;
    }

    .hero-scroll-indicator {
        display: none;
    }

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

    .about-img-accent {
        right: 0;
        bottom: -30px;
    }

    .about-stats {
        justify-content: center;
    }

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

    .gallery-item--large {
        grid-column: 1 / -1;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: 100%;
    }

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

    .visit-map {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

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

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .menu-item {
        flex-direction: column;
    }

    .menu-item-img {
        width: 100%;
        height: 160px;
    }

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

    .gallery-item--large {
        grid-column: 1;
    }

    .about-img-accent {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: var(--space-sm);
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
    }
}

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

    html {
        scroll-behavior: auto;
    }

    .hero-scroll-indicator {
        animation: none;
    }
}
