:root {
  --brand: #6B2D2A;
  --brand-dark: #4A1F1D;
  --brand-light: #8a3d39;
  --bg: #FAF7F2;
  --bg-alt: #F1EBE0;
  --surface: #ffffff;
  --text: #2A2120;
  --muted: #6b5e5b;
  --border: #e6dccd;
  --shadow: 0 6px 24px rgba(74, 31, 29, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  margin: 0 0 .5em;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.15rem; margin-bottom: .35em; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 .6rem;
}

.center { text-align: center; }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--brand); color: #fff;
  padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95rem 1.8rem; font-size: 1rem; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(107, 45, 42, .25);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.25rem;
  gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text); font-weight: 700;
}
.logo img { width: 42px; height: 42px; object-fit: contain; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav ul {
  list-style: none; display: flex; gap: 1.5rem;
  margin: 0; padding: 0;
}
.primary-nav a {
  color: var(--text); font-weight: 500; font-size: .95rem;
}
.primary-nav a:hover { color: var(--brand); }
.primary-nav .btn-primary,
.primary-nav .btn-primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: .4rem; gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--text);
  border-radius: 2px; transition: .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 80vh, 760px);
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(42,33,32,.7) 100%),
    url('assets/img/hero.jpg') center/cover no-repeat;
  z-index: -1;
}
.hero-content { padding: 6rem 1.25rem 5rem; max-width: 760px; }
.hero .eyebrow { color: #f0c8a8; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.92);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section.about { background: var(--surface); }
.section.gallery { background: var(--bg-alt); }
.section.contact { background: var(--surface); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.about-copy h2 { margin-bottom: 1rem; }
.features {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem;
  font-weight: 500;
}
.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

/* Gallery */
.gallery h2 { margin-top: .25rem; margin-bottom: 1.5rem; }
.gallery-sublabel {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 1rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }

/* Carousel */
.carousel-wrap { position: relative; display: flex; align-items: center; gap: .75rem; }
.carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel figure {
  margin: 0;
  flex: 0 0 calc(33.333% - .84rem);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
}
.carousel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carousel figure:hover img { transform: scale(1.05); }
.carousel-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--brand);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
  box-shadow: var(--shadow);
}
.carousel-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.carousel-btn:disabled { opacity: .35; cursor: default; }

/* Contact */
.contact h2 { margin-top: .25rem; margin-bottom: 2.5rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}
.contact-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.1rem;
}
.card h3 { color: var(--brand); margin-bottom: .5rem; }
.card p { margin: 0; color: var(--muted); }
.card a { font-weight: 600; }
.socials {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin: 0;
}
.socials a {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  width: 100%;
  margin-right: 0;
}
.socials a svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: 0; min-height: 360px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,.85);
  padding: 2rem 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; color: #fff;
  font-family: 'Playfair Display', serif;
}
.footer-meta { margin: 0; font-size: .9rem; }

/* ---------- Floating delivery (mobile) ---------- */
.floating-delivery {
  position: fixed;
  bottom: 1.25rem; right: 1.25rem;
  background: var(--brand);
  color: #fff;
  padding: .9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(107,45,42,.4);
  z-index: 60;
  display: none;
}
.floating-delivery:hover { background: var(--brand-dark); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img img { aspect-ratio: 16/10; max-height: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:nth-child(3) { grid-column: span 2; aspect-ratio: 16/9; }
  .carousel figure { flex: 0 0 calc(50% - .63rem); }
}

@media (max-width: 640px) {
  .carousel figure { flex: 0 0 82%; }
  .carousel-btn { display: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
    transform: translateY(-10px);
    opacity: 0; pointer-events: none;
    transition: .2s ease;
  }
  .primary-nav.is-open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .primary-nav ul {
    flex-direction: column; gap: 0;
  }
  .primary-nav li { border-bottom: 1px solid var(--border); }
  .primary-nav li a { display: block; padding: .9rem 0; }
  .nav-cta { margin-top: 1rem; align-self: stretch; text-align: center; }

  .section { padding: 3.5rem 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure:nth-child(3) { grid-column: auto; aspect-ratio: 4/5; }
  .contact-cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero-content { padding: 4rem 1.25rem 3.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }

  .floating-delivery { display: inline-flex; }
  .nav-cta { display: none; }
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
