/* ============================================================
   Chef Traiteur — Global Styles
   Color palette: Deep charcoal + warm gold + cream
   Fonts: Playfair Display (headings) + DM Sans (body)
   ============================================================ */

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

:root {
  --gold: #C9922A;
  --gold-light: #E8B84B;
  --gold-dim: rgba(201, 146, 42, 0.15);
  --charcoal: #1A1914;
  --charcoal-mid: #2A2820;
  --charcoal-light: #3D3A2E;
  --cream: #FAF7F0;
  --cream-mid: #F0EBE0;
  --text-primary: #1A1914;
  --text-secondary: #5C5645;
  --text-muted: #9C9480;
  --white: #FFFFFF;
  --border: rgba(201, 146, 42, 0.2);
  --shadow-gold: 0 4px 24px rgba(201, 146, 42, 0.18);
  --shadow-dark: 0 8px 40px rgba(26, 25, 20, 0.12);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.7; }

a { text-decoration: none; color: inherit; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 247, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(26, 25, 20, 0.08);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

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

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: transform var(--transition), opacity var(--transition);
}

/* ─── SECTIONS COMMON ─── */
.section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

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

.section-title {
  margin-bottom: 1rem;
  color: var(--charcoal);
}

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

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 146, 42, 0.3);
}

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

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}

.btn-light:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ─── DIVIDER ─── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem 0 2rem;
}

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-dark);
  transform: translateY(-4px);
}

/* ─── BADGE ─── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.badge-gold {
  background: var(--gold-dim);
  color: var(--gold);
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

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

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
}

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1140px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 10rem 2rem 5rem;
  background: var(--charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 146, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  justify-content: center;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

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

/* ─── USP STRIP ─── */
.usp-strip {
  background: var(--charcoal-mid);
  padding: 1.2rem 2rem;
}

.usp-strip-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.usp-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-in {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(26,25,20,0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .nav-links .nav-cta {
    margin: 0.5rem 2rem;
    text-align: center;
    border-radius: 2px;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }
}
