/* =========================================================
   Mr Ribs — Design System (Dark Premium Steakhouse)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,700&display=swap');

:root {
    /* Palette */
    --ink:        #0c0a08;   /* near-black background */
    --ink-soft:   #141009;   /* panels */
    --ink-card:   #1b150e;   /* cards */
    --char:       #241c12;   /* borders / hover */
    --gold:       #c9a24b;   /* primary accent */
    --gold-soft:  #e6c878;   /* highlight */
    --gold-deep:  #8a6f2e;
    --copper:     #b5713a;
    --cream:      #f4ece0;   /* main text */
    --cream-dim:  #b9ac98;   /* secondary text */
    --line:       rgba(201,162,75,0.22);

    /* Type */
    --f-display: 'Noto Serif Display', Georgia, serif;
    --f-serif:   'Cormorant Garamond', Georgia, serif;
    --f-sans:    'DM Sans', 'Segoe UI', sans-serif;

    --maxw: 1200px;
    --radius: 14px;
    --shadow: 0 24px 60px rgba(0,0,0,0.55);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--f-sans);
    background: var(--ink);
    color: var(--cream);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; letter-spacing: .3px; font-style: italic; }

.eyebrow {
    font-family: var(--f-sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    color: var(--cream);
    margin: .6rem 0 1rem;
}
.section-title em { color: var(--gold-soft); font-style: italic; font-family: var(--f-serif); }

.lead { font-family: var(--f-serif); font-size: 1.3rem; color: var(--cream-dim); }

.center { text-align: center; }

.divider {
    width: 70px; height: 2px; margin: 1.2rem auto;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
section { padding: clamp(3.5rem, 8vw, 7rem) 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--f-sans);
    font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    padding: 1rem 2.2rem; border-radius: 50px; cursor: pointer;
    transition: all .35s ease; border: 1px solid var(--gold);
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(201,162,75,.35); }
.btn-ghost { background: transparent; color: var(--gold-soft); }
.btn-ghost:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }

/* ---------- Header ---------- */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(12,10,8,0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: all .4s ease;
}
header.scrolled { background: rgba(12,10,8,0.97); border-bottom: 1px solid var(--line); }

.header-container {
    max-width: var(--maxw); margin: 0 auto; padding: .9rem 1.5rem;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.nav-left ul, .nav-right ul { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-right ul { justify-content: flex-end; }
.nav-left a, .nav-right a {
    font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    color: var(--cream); position: relative; padding: .3rem 0; transition: color .3s;
}
.nav-left a::after {
    content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px;
    background: var(--gold); transition: width .3s;
}
.nav-left a:hover { color: var(--gold-soft); }
.nav-left a:hover::after { width: 100%; }

.cta-nav { padding: .55rem 1.3rem; border: 1px solid var(--line); border-radius: 50px; transition: all .3s; }
.cta-nav:hover { border-color: var(--gold); color: var(--gold-soft); }
.cta-nav.primary { background: var(--gold); color: var(--ink) !important; border-color: var(--gold); }
.cta-nav.primary:hover { background: var(--gold-soft); }
.cta-nav.admin-btn { padding: .45rem .7rem; border-color: transparent; color: rgba(255,255,255,.2); font-size: 1rem; }
.cta-nav.admin-btn:hover { border-color: transparent; color: rgba(255,255,255,.5); }

.logo-center { display: flex; justify-content: center; }
.logo-img { height: 58px; width: auto; border-radius: 50%; border: 2px solid var(--line); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; justify-self: end; }
.hamburger span { width: 26px; height: 2px; background: var(--gold-soft); transition: .3s; }

/* ---------- Footer ---------- */
footer {
    background: var(--ink-soft); border-top: 1px solid var(--line);
    padding: 3.5rem 1.5rem 2rem;
}
.footer-grid {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; align-items: start;
}
.footer-brand h3 { font-size: 1.8rem; color: var(--gold-soft); }
.footer-brand p { color: var(--cream-dim); font-family: var(--f-serif); font-size: 1.1rem; margin-top: .4rem; }
.footer-col h4 { font-family: var(--f-sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col p, .footer-col a { color: var(--cream-dim); font-size: .95rem; line-height: 2; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
    max-width: var(--maxw); margin: 2.5rem auto 0; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.06);
    text-align: center; color: var(--cream-dim); font-size: .82rem; letter-spacing: .05em;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-button {
    position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px;
    background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 999; transition: transform .3s;
}
.whatsapp-button:hover { transform: scale(1.1); }
.whatsapp-button img { width: 30px; height: 30px; }

/* ---------- Reveal (CSS-only, no JS dependency) ---------- */
.reveal { opacity: 1; transform: none; animation: revealUp .8s ease both; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes revealUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { animation: none; }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
    padding: 9rem 1.5rem 3.5rem; text-align: center;
    background:
        linear-gradient(rgba(12,10,8,.82), rgba(12,10,8,.94)),
        radial-gradient(circle at 50% 0%, rgba(201,162,75,.14), transparent 60%);
    border-bottom: 1px solid var(--line);
}
.page-header h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--cream); }
.page-header p { color: var(--cream-dim); font-family: var(--f-serif); font-size: 1.25rem; margin-top: .5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
    .header-container { grid-template-columns: auto 1fr auto; }
    .nav-left, .nav-right { display: none; }
    .nav-left.open {
        display: block; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(12,10,8,.98); border-bottom: 1px solid var(--line); padding: 1.5rem;
    }
    .nav-left.open ul { flex-direction: column; gap: 1.4rem; align-items: center; }
    .hamburger { display: flex; }
    .logo-center { justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}
