/* ============================================================
   SAM & SOUS — Private Chef & Catering
   Earthy / Warm / Effortless
   Palette: truffle brown-black, warm cream, burnt orange
   Type: Fraunces (headings) + Inter (body)
   ============================================================ */

:root {
  --bg: #1a1815;
  --bg-alt: #211e1a;
  --card: #282420;
  --text: #e8e0d4;
  --text-muted: #9a9288;
  --accent: #d4784c;
  --accent-dim: rgba(212, 120, 76, 0.12);
  --border: #2e2a24;
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* Grain atmosphere */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
}
h1 { font-size: clamp(3.2rem, 7vw, 5.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 500; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 14px;
}
.text-accent { color: var(--accent); }

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,24,21,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  height: 64px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s;
  font-family: var(--font-body);
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--text); }
.nav-cta {
  padding: 7px 20px;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999;
  padding: 40px 28px;
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--accent); }

/* ============================================================
   Hero — full-bleed typographic
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 28px;
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(3.2rem, 8vw, 6rem);
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  font-variation-settings: 'wght' 350;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 6px;
}
.hero-location {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  font-style: italic;
  font-weight: 300;
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 100px 0;
  position: relative;
}
.section.bg-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 { margin-bottom: 10px; }
.section-header p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   About — asymmetric block
   ============================================================ */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}
.about-text {
  padding-top: 6px;
}
.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 420px;
}

/* ============================================================
   Menu — THE SIGNATURE MOVE
   Before/after pseudo-element split with sliding accent line
   and price reveal animation on hover
   ============================================================ */
.menu-course {
  margin-bottom: 64px;
}
.menu-course:last-of-type { margin-bottom: 0; }

.course-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

/* Menu card — the signature reveal */
.menu-card {
  position: relative;
  background: var(--card);
  padding: 28px 32px;
  cursor: default;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.4s ease;
}

/* Invisible background shift layer */
.menu-card-bg {
  position: absolute;
  inset: 0;
  background: var(--border);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* ::before — thin burnt-orange line that slides across the top on hover */
.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 2;
  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ::after — a second line that slides from the right, meeting in the middle */
.menu-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
  z-index: 2;
  transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.menu-card:hover::before { width: 100%; }
.menu-card:hover::after  { width: 100%; }
.menu-card:hover { background: var(--bg-alt); }
.menu-card:hover .menu-card-bg { opacity: 0; }

/* Content */
.menu-card-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.menu-dish {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.menu-card:hover .menu-dish { color: #fff; }
.menu-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color 0.3s;
}
.menu-card:hover .menu-desc { color: #b5ada0; }

/* Price — animates from right on hover, like a server placing the dish */
.menu-price {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  transform: translateX(6px);
  opacity: 0.7;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 0.45s ease;
  flex-shrink: 0;
  padding-top: 2px;
}
.menu-price::before { content: '$'; }
.menu-card:hover .menu-price {
  transform: translateX(0);
  opacity: 1;
}

/* Dietary tags */
.menu-tags {
  position: absolute;
  bottom: 10px;
  right: 14px;
  z-index: 1;
  display: flex;
  gap: 4px;
}
.tag {
  display: inline-block;
  font-size: 0.6rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(212, 120, 76, 0.3);
  padding: 1px 5px;
  line-height: 1.4;
}

.menu-note {
  text-align: center;
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 0.8rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
  line-height: 1.6;
}

/* ============================================================
   Packages
   ============================================================ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.package-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: border-color 0.3s;
}
.package-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.package-card:hover .package-accent { transform: scaleX(1); }
.package-card:hover { border-color: rgba(212, 120, 76, 0.25); }
.package-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}
.package-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.package-price span {
  font-size: 0.7rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.package-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.65;
}
.package-note {
  margin-top: 14px;
  font-size: 0.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent) !important;
  opacity: 0.7;
}

/* ============================================================
   Service Areas
   ============================================================ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 720px;
  margin: 0 auto;
}
.area-item {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text);
  text-align: center;
  letter-spacing: 0.02em;
  transition: color 0.3s, border-color 0.3s;
}
.area-item:hover {
  color: var(--accent);
  border-color: rgba(212, 120, 76, 0.25);
}
.areas-note {
  text-align: center;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-style: italic;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px;
}
.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 14px;
}
.contact-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.contact-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card ul li {
  color: var(--text-muted);
  font-size: 0.82rem;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.contact-card ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.65rem;
}
.contact-card ul li strong {
  color: var(--text);
  font-weight: 500;
}

.contact-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}
.contact-areas span {
  display: block;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 52px 28px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-content { max-width: var(--max-width); margin: 0 auto; }
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 24px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.25s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.68rem;
}
.footer-credit a {
  color: var(--accent);
  text-decoration: none;
}
.footer-credit a:hover { text-decoration: underline; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   Animations
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Mobile bar (sticky bottom)
   ============================================================ */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1001;
  background: rgba(26,24,21,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 16px;
  justify-content: center;
  gap: 12px;
}
.mobile-bar .btn {
  flex: 1;
  text-align: center;
  padding: 12px 14px;
  font-size: 0.85rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-heading {
    font-size: 1.6rem;
  }
  .about-text p {
    max-width: 100%;
  }
  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 72px 0;
  }
  .section-header {
    margin-bottom: 44px;
  }
}

@media (max-width: 500px) {
  .desktop-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: none; }
  .mobile-nav.active { display: block; }

  .hero {
    padding: 80px 20px;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 0.78rem;
  }
  .hero-location {
    font-size: 0.9rem;
  }

  .section {
    padding: 56px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-header h2 {
    font-size: 1.7rem;
  }

  .container {
    padding: 0 18px;
  }
  .nav-container {
    padding: 0 18px;
    height: 56px;
  }
  .logo {
    font-size: 1.1rem;
  }
  .navbar {
    height: 56px;
  }
  .mobile-nav {
    top: 56px;
  }

  .menu-card {
    padding: 22px 18px;
  }
  .menu-dish {
    font-size: 0.95rem;
  }
  .menu-desc {
    font-size: 0.76rem;
  }
  .menu-price {
    font-size: 1rem;
  }
  .menu-course {
    margin-bottom: 44px;
  }

  .areas-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  .area-item {
    padding: 14px 10px;
    font-size: 0.8rem;
  }

  .package-card {
    padding: 24px 20px;
  }

  .contact-card {
    padding: 24px 20px;
  }
  .contact-areas {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 66px;
  }
  .mobile-bar {
    display: flex;
  }

  .footer {
    padding: 40px 18px 28px;
  }
  .footer-nav {
    gap: 18px;
  }
}
