:root {
  --font-heading: "Playfair Display", serif;
  --font-body: "Source Sans 3", sans-serif;

  --color-primary: #3b1a12;
  --color-secondary: #c25734;
  --color-accent: #f2b24a;
  --color-accent-strong: #e07a24;

  --neutral-900: #17130f;
  --neutral-800: #231c16;
  --neutral-700: #3b3228;
  --neutral-600: #5b5044;
  --neutral-500: #786b5f;
  --neutral-400: #9b8f82;
  --neutral-300: #c2b7aa;
  --neutral-200: #e2d9cd;
  --neutral-100: #f2ece3;
  --neutral-50: #fbf8f4;

  --surface-1: var(--neutral-50);
  --surface-2: #f6efe6;
  --surface-3: #ffffff;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 6px 16px rgba(23, 19, 15, 0.08);
  --shadow-md: 0 16px 40px rgba(23, 19, 15, 0.14);
  --shadow-lg: 0 24px 60px rgba(23, 19, 15, 0.2);

  --container-max: 1180px;
  --section-pad: clamp(3rem, 4.5vw, 5rem);
  --section-pad-sm: clamp(2.5rem, 4vw, 3.5rem);

  --hero-overlay: linear-gradient(90deg, rgba(16, 12, 8, 0.85), rgba(16, 12, 8, 0.35));
  --hero-min-height: 70vh;
  --hero-min-height-sm: 58vh;

  --focus-ring: 0 0 0 0.2rem rgba(212, 162, 89, 0.35);

  --bs-body-font-family: var(--font-body);
  --bs-font-sans-serif: var(--font-body);
  --bs-body-bg: var(--surface-1);
  --bs-body-color: var(--neutral-900);
  --bs-primary: var(--color-primary);
  --bs-secondary: var(--neutral-600);
  --bs-success: #1f7a4d;
  --bs-warning: #d88f2f;
  --bs-danger: #c4473c;
  --bs-light: var(--surface-2);
  --bs-dark: var(--neutral-900);
  --bs-link-color: var(--color-primary);
  --bs-link-hover-color: var(--color-accent-strong);
  --bs-border-color: var(--neutral-200);
  --bs-border-radius: 12px;
  --bs-border-radius-sm: 10px;
  --bs-border-radius-lg: 16px;
  --bs-border-radius-xl: 22px;
  --bs-border-radius-xxl: 28px;
  --bs-box-shadow-sm: var(--shadow-sm);
  --bs-box-shadow: var(--shadow-md);
  --bs-box-shadow-lg: var(--shadow-lg);
}

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

body {
  font-family: var(--font-body);
  color: var(--neutral-900);
  line-height: 1.65;
  letter-spacing: 0.005em;
  background: radial-gradient(circle at top, #fff0dc 0%, #f7ead7 40%, #f1dec6 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-4,
.display-5 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--neutral-900);
}

.display-4 {
  font-size: clamp(2.6rem, 4.8vw, 3.7rem);
}

.display-5 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
}

h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

h4 {
  font-size: 1.3rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 0.95rem;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
}

p {
  color: var(--neutral-700);
}

a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  scroll-margin-top: 90px;
}

.container {
  max-width: var(--container-max);
}

.bg-light {
  background-color: var(--surface-2) !important;
}

.text-secondary {
  color: var(--neutral-600) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.72) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.card {
  border-radius: var(--radius-lg);
  border-color: var(--neutral-200);
  background: var(--surface-3);
}

.badge {
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge.text-bg-dark {
  background-color: var(--color-primary) !important;
}

.badge.text-bg-light {
  background-color: var(--surface-2) !important;
  color: var(--neutral-800) !important;
}

.btn {
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.35rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-sm {
  padding: 0.38rem 0.95rem;
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
}

.btn-dark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 26px rgba(23, 19, 15, 0.2);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background-color: #2a140c;
  border-color: #2a140c;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-dark {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn-link {
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

.btn-link:hover {
  color: var(--color-accent-strong);
  text-decoration: underline;
}

.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
.gallery-item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.navbar {
  background-color: rgba(255, 245, 234, 0.92);
  border-color: var(--neutral-200) !important;
  backdrop-filter: blur(8px);
  padding-block: 0.65rem;
}

.navbar-brand {
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  color: var(--neutral-900);
}

.navbar .nav-link {
  font-weight: 600;
  color: var(--neutral-700);
  position: relative;
  padding-inline: 0.6rem;
}

.navbar .nav-link:hover {
  color: var(--color-primary);
}

.navbar .nav-link.active {
  color: var(--color-primary);
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
}

.form-control,
.form-select,
.input-group-text {
  border-radius: var(--radius-md);
  border-color: var(--neutral-200);
  background-color: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-accent);
  box-shadow: var(--focus-ring);
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.table > :not(caption) > * > * {
  border-color: var(--neutral-200);
}

.table thead th {
  color: var(--neutral-700);
  font-weight: 600;
}

.accordion-item {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.accordion-button {
  font-weight: 600;
  background: var(--surface-3);
}

.accordion-button:not(.collapsed) {
  background: var(--surface-2);
  color: var(--color-primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: var(--focus-ring);
}

footer {
  background: var(--surface-2);
  border-color: var(--neutral-200) !important;
}

.footer .link-secondary,
footer .link-secondary {
  color: var(--neutral-600) !important;
}

/* Small accessibility helper */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  padding: 10px 12px;
  background: var(--color-primary);
  color: #fff;
  z-index: 9999;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* Brand mark (simple circle placeholder) */
.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  display: inline-block;
}

/* HERO */
.hero-section {
  min-height: var(--hero-min-height);
  background: url("https://static.photos/food/1200x630/11.webp") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-section .container,
.menu-header .container,
.reservation-header .container,
.gallery-header .container,
.contact-header .container,
.about-header .container,
.faq-header .container {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.hero-section .lead {
  max-width: 36rem;
}

.hero-section .text-uppercase,
.menu-header .text-uppercase,
.reservation-header .text-uppercase,
.gallery-header .text-uppercase,
.contact-header .text-uppercase,
.about-header .text-uppercase,
.faq-header .text-uppercase {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  letter-spacing: 0.2em;
}

.hero-section .btn-light {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #1b150f;
}

.hero-section .btn-light:hover,
.hero-section .btn-light:focus-visible {
  background-color: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  color: #1b150f;
}

.hero-section .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero-section .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Icons */
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(242, 178, 74, 0.22);
  border: 1px solid rgba(242, 178, 74, 0.45);
  color: var(--color-primary);
  font-size: 20px;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(120deg, #ffffff 0%, #f5ede1 100%);
  border: 1px solid var(--neutral-200);
}

/* Gallery hover */
.gallery-tile img {
  transition: transform 220ms ease;
}
.gallery-tile:hover img {
  transform: scale(1.03);
}

/* Avatar circle for testimonials */
.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

/* Improve carousel indicators spacing */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
/* MENU HEADER */
.menu-header {
  background: url("https://static.photos/food/1200x630/12.webp") center/cover no-repeat;
  min-height: 44vh;
  display: grid;
  align-items: center;
}
.menu-header-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

/* Menu cards */
.menu-card img {
  height: 190px;
  object-fit: cover;
}
/* RESERVATION HEADER */
.reservation-header {
  background: url("https://static.photos/food/1200x630/13.webp") center/cover no-repeat;
  min-height: 44vh;
  display: grid;
  align-items: center;
}
.reservation-header-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
/* GALLERY HEADER */
.gallery-header {
  background: url("https://static.photos/food/1200x630/14.webp") center/cover no-repeat;
  min-height: 44vh;
  display: grid;
  align-items: center;
}
.gallery-header-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

/* Gallery tile button reset + hover effects */
.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.72));
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}

/* Responsive height */
@media (max-width: 576px) {
  .gallery-item img {
    height: 170px;
  }
}
/* CONTACT HEADER */
.contact-header {
  background: url("https://static.photos/food/1200x630/4.webp") center/cover no-repeat;
  min-height: 44vh;
  display: grid;
  align-items: center;
}
.contact-header-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
/* ABOUT HEADER */
.about-header {
  background: url("https://static.photos/food/1200x630/16.webp") center/cover no-repeat;
  min-height: 44vh;
  display: grid;
  align-items: center;
}
.about-header-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

/* Story photo grid */
.about-photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 12px;
}
.about-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo-grid img:nth-child(1) {
  grid-row: 1 / span 2;
}

/* Team cards */
.team-card img {
  height: 200px;
  object-fit: cover;
}

@media (max-width: 576px) {
  .about-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 140px;
  }
  .about-photo-grid img:nth-child(1) {
    grid-row: auto;
  }
}
/* FAQ HEADER */
.faq-header {
  background: url("https://static.photos/food/1200x630/17.webp") center/cover no-repeat;
  min-height: 44vh;
  display: grid;
  align-items: center;
}
.faq-header-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

@media (max-width: 991px) {
  .navbar .nav-link.active::after {
    display: none;
  }

  section {
    padding-top: var(--section-pad-sm);
    padding-bottom: var(--section-pad-sm);
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: var(--hero-min-height-sm);
  }

  .menu-header,
  .reservation-header,
  .gallery-header,
  .contact-header,
  .about-header,
  .faq-header {
    min-height: 34vh;
  }

  .btn-lg {
    width: 100%;
  }
}
