/* The public site: home page, menu and dish pages. The admin has its own admin.css. */

:root {
    --bg: #0b0b0b;
    --surface: #141414;
    --surface-2: #1b1b1b;
    --text: #f5f5f5;
    --muted: #bbb;
    --faint: #888;
    --line: rgba(255, 255, 255, 0.07);
    --gold: #d6a85f;
    --gold-light: #e6b96f;
    --banner-height: 40px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--banner-height) 0 0 0; /* offset for the fixed banner */
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: var(--gold);
}

/* COMING SOON BANNER */
.coming-soon-banner {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--banner-height);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    color: #000;
    text-align: center;
    padding: 0 12px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.coming-soon-banner a {
    color: #000;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 0.4em;
}

.coming-soon-banner a:hover {
    opacity: 0.8;
}

/* NAVBAR */
.navbar {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: var(--banner-height);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.brand img {
    height: 60px;
    display: block;
}

.nav-links a {
    margin-left: 24px;
    text-decoration: none;
    color: #ddd;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
}

@media (max-width: 700px) {
    .coming-soon-banner {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .nav-container {
        flex-direction: column;
        padding: 10px 16px;
        gap: 6px;
    }

    .brand img {
        height: 44px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 18px;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 0.9rem;
    }
}

/* HERO */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
    url('https://images.unsplash.com/photo-1504674900247-0877df9cc836');
    background-size: cover;
    background-position: center;
}

.hero-logo {
    width: 240px;
    max-width: 70%;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin: 10px 0;
}

.hero p {
    color: #ccc;
    font-size: 1.1rem;
}

@media (max-width: 700px) {
    .hero h1 {
        font-size: 2rem;
    }
}

/* SECTION */
.section {
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
}

/* Room for the banner and navbar when a link jumps to #quote or #signup. */
.section[id] {
    scroll-margin-top: 110px;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.section-intro {
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: var(--surface);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* BUTTONS */
.button {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 8px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.button:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.button.secondary {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
}

.button.secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.85rem;
    color: var(--faint);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer nav {
    margin-bottom: 10px;
}

.footer nav a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 10px;
}

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

/* QUOTE FORM */
.quote-form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
}

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

.quote-form button {
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: var(--gold);
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.quote-form button:hover {
    background: var(--gold-light);
}

.quote-form .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.quote-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--muted);
}

/* Make the browser's date picker icon visible on the dark background */
.quote-form input[type="date"] {
    color-scheme: dark;
}

.quote-success,
.form-success {
    color: #7CFC98;
    margin-bottom: 20px;
}

.quote-error,
.form-error {
    color: #ff8a80;
    margin-bottom: 20px;
}

/* MENU */
.page {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px 60px;
}

.page-head {
    text-align: center;
    margin-bottom: 28px;
}

.page-head h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    margin: 0 0 10px;
}

.page-head p {
    color: var(--muted);
    margin: 6px auto;
    max-width: 640px;
    line-height: 1.5;
}

.page-head .fine {
    font-size: 0.85rem;
    color: var(--faint);
}

.menu-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pill {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ddd;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.15s ease;
}

.pill:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pill.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    font-weight: 600;
}

.pill-label {
    color: var(--faint);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: center;
    margin-right: 4px;
}

.menu-section {
    margin-top: 44px;
    /* Room for the banner and navbar when jumping to a category. */
    scroll-margin-top: 150px;
}

.menu-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.menu-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}

.menu-photo {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    overflow: hidden;
}

.menu-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-photo img {
    transform: scale(1.03);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #555;
    background: radial-gradient(circle at 50% 40%, #222, #161616 70%);
}

.menu-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 20px;
    flex: 1;
}

.menu-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin: 0;
}

.menu-body h3 a {
    color: var(--text);
    text-decoration: none;
}

.menu-body h3 a:hover {
    color: var(--gold);
}

.menu-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 0.72rem;
    letter-spacing: 0.3px;
    padding: 3px 9px;
    border-radius: 999px;
    color: #a9d8a0;
    background: rgba(124, 200, 110, 0.1);
    border: 1px solid rgba(124, 200, 110, 0.25);
}

.contains {
    font-size: 0.8rem;
    color: var(--faint);
}

.contains strong {
    color: var(--muted);
    font-weight: 500;
}

.options {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.options li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}

.option-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.option-note {
    font-size: 0.78rem;
    color: var(--faint);
}

.option-price {
    color: var(--gold);
    font-weight: 500;
    white-space: nowrap;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.card-actions .button {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    white-space: nowrap;
}

.card-actions .button.secondary {
    flex: 0 0 auto;
    padding: 10px 16px;
}

.menu-empty {
    text-align: center;
    color: var(--muted);
    padding: 50px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

/* DISH PAGE */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--faint);
    margin-bottom: 22px;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

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

.dish {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.dish .menu-photo {
    border-radius: 12px;
    border: 1px solid var(--line);
}

.dish h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin: 0 0 12px;
}

.dish-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dish-info .lead {
    font-size: 1.1rem;
    color: #ddd;
    margin: 0;
    line-height: 1.5;
}

.dish-info .description {
    color: var(--muted);
    line-height: 1.65;
    white-space: pre-line;
    margin: 0;
}

.dish-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 8px 0 0;
}

.allergen-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
}

.dish-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.dish-info .fine {
    font-size: 0.82rem;
    color: var(--faint);
    margin: 0;
}

@media (max-width: 800px) {
    .dish {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dish h1,
    .page-head h1 {
        font-size: 2rem;
    }
}

/* HOME PAGE HIGHLIGHTS */
.highlights {
    margin-top: 30px;
}

.highlights-more {
    margin-top: 28px;
}
