/* ============================================
   Roundabout Diner — Stylesheet
   Classic & Elegant · Forest Green + Off-White
   ============================================ */

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

:root {
    --forest: #1a3c2a;
    --forest-deep: #0f2519;
    --forest-light: #2d5e42;
    --forest-muted: #3d7a56;
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --cream-dark: #e8e0d0;
    --gold: #b8943e;
    --gold-light: #d4af6e;
    --text-dark: #1a1a18;
    --text-body: #2c2c28;
    --text-muted: #6b6b60;
    --text-light: #f5f0e8;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(26, 60, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 60, 42, 0.10);
    --shadow-lg: 0 8px 32px rgba(26, 60, 42, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lora', 'Palatino Linotype', Palatino, serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 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);
    color: var(--text-body);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--forest-muted);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--forest);
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--forest);
    line-height: 1.2;
    font-weight: 600;
}

.section-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--forest);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.lead {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--forest);
    color: var(--text-light);
    border-color: var(--forest);
}

.btn-primary:hover {
    background-color: var(--forest-deep);
    border-color: var(--forest-deep);
    color: var(--text-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(245, 240, 232, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(245, 240, 232, 0.1);
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-full {
    width: 100%;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(26, 60, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
    transition: background-color var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
}

.logo:hover { color: var(--text-light); }

.logo-mark {
    color: var(--gold);
}

.logo-light { color: var(--text-light); }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.main-nav a {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(245, 240, 232, 0.8);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--text-light);
    background-color: rgba(245, 240, 232, 0.08);
}

.nav-cta {
    background-color: var(--gold) !important;
    color: var(--forest-deep) !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

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

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

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--forest-deep);
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 37, 25, 0.92) 0%,
        rgba(26, 60, 42, 0.85) 50%,
        rgba(45, 94, 66, 0.78) 100%
    );
}

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

.hero-tagline {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: 1.15rem;
    color: rgba(245, 240, 232, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 240, 232, 0.5);
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

/* ---------- About ---------- */
.about {
    background-color: var(--cream-light);
}

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

.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-body);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--forest);
}

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

/* ---------- Menu ---------- */
.menu {
    background-color: var(--cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.menu-category {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 60, 42, 0.06);
    transition: all var(--transition);
}

.menu-category:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cream-dark);
}

.category-icon {
    color: var(--gold);
}

.category-title {
    font-size: 1.35rem;
    color: var(--forest);
}

.menu-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-items li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--forest);
}

.item-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.menu-note {
    margin-top: 40px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ---------- Drinks ---------- */
.drinks {
    background-color: var(--forest);
    color: var(--text-light);
}

.drinks .section-label { color: var(--gold-light); }

.drinks .section-title {
    color: var(--text-light);
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.drinks-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.drinks-content .lead {
    color: rgba(245, 240, 232, 0.75);
}

.drinks-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.drink-item {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

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

.drink-type {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-light);
    flex-shrink: 0;
    min-width: 100px;
}

.drink-detail {
    font-size: 0.95rem;
    color: rgba(245, 240, 232, 0.7);
    line-height: 1.6;
}

.drinks-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

/* ---------- Testimonials ---------- */
.testimonials {
    background-color: var(--cream-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 60, 42, 0.06);
    position: relative;
}

.testimonial-quote {
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--forest-muted);
}

/* ---------- Visit / Contact ---------- */
.visit {
    background-color: var(--cream);
}

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

.visit-info .section-title {
    margin-bottom: 16px;
}

.visit-info .section-subtitle {
    margin: 0 0 32px;
    text-align: left;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

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

.contact-item strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

.contact-item a {
    color: var(--forest-muted);
}

.contact-item a:hover {
    color: var(--forest);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--forest);
    margin-bottom: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    background-color: var(--white);
    color: var(--text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest-muted);
    box-shadow: 0 0 0 3px rgba(61, 122, 86, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background-color: rgba(61, 122, 86, 0.1);
    border: 1px solid rgba(61, 122, 86, 0.25);
    border-radius: var(--radius-sm);
    color: var(--forest);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--forest-muted);
}

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

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--forest-deep);
    color: rgba(245, 240, 232, 0.7);
    padding: 64px 0 0;
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
}

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(245, 240, 232, 0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.4);
    text-align: center;
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .drinks-layout,
    .visit-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap {
        max-height: 480px;
    }

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

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

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--forest-deep);
        padding: 96px 32px 32px;
        transition: right var(--transition);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 12px;
        text-align: center;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

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

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

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

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

    .section {
        padding: 72px 0;
    }

    .visit-map,
    .map-wrapper {
        min-height: 320px;
    }
}

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

    .hero-content {
        padding: 100px 16px 60px;
    }

    .menu-category {
        padding: 24px 20px;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
