/* ========================================
   CRUSTE&CO — STYLE SHEET
   French Café Patisserie, Colombo 07
   ======================================== */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  --color-primary: #583A16;
  --color-secondary: #F5E7D3;
  --color-accent: #CDA875;
  --color-dark: #583A16;
  --color-cream: #F5E7D3;
  --color-white: #F5E7D3;
  --color-text: #583A16;
  --color-text-light: #583A16;
  --color-border: #CDA875;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm: 0 2px 8px rgba(88, 58, 22, 0.06);
  --shadow-md: 0 4px 20px rgba(88, 58, 22, 0.08);
  --shadow-lg: 0 8px 32px rgba(88, 58, 22, 0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-dark);
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 48px;
  text-align: center;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: #583A16;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #CDA875;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-full {
  width: 100%;
}

/* ---------- SECTION DIVIDER ---------- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

.croissant-icon {
  opacity: 0.5;
}

/* ---------- FADE-IN ANIMATION ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
  background: #F5E7D3;
}

.navbar.scrolled {
  background: #F5E7D3;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 0;
  box-shadow: 0 2px 16px rgba(88, 58, 22, 0.12);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s ease;
}

.navbar.scrolled .nav-logo-img {
  height: 80px;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background: url('https://images.unsplash.com/photo-1555507036-ab1f4038808a?w=1600&q=80') center/cover no-repeat;
  background-color: #583A16; /* fallback while image loads */
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(88, 58, 22, 0.55);
  z-index: 1;
}

/* Grain texture overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 0 24px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-cream);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-subheading {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(245, 231, 211, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-primary {
  background: transparent;
  border: 1.5px solid #F5E7D3;
  color: #F5E7D3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 16px 40px;
}

.hero .btn-primary:hover {
  background: #CDA875;
  color: #FFFFFF;
  border-color: #CDA875;
}

/* ========================================
   MENU SECTION
   ======================================== */
.menu-section {
  padding: 96px 0;
  background-color: var(--color-white);
}

.menu-page {
  padding-top: 140px;
}

.menu-section .section-title {
  text-align: center;
}

.menu-section .section-label {
  text-align: center;
}

/* Tabs */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.menu-tab {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 10px 28px;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  background: transparent;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition);
}

.menu-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.menu-tab.active {
  background: #583A16;
  border-color: #583A16;
  color: #FFFFFF;
}

/* Panels */
.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
  animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Cards */
.menu-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 16px;
}

.menu-item-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark);
}

.menu-item-price {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
  white-space: nowrap;
}

.menu-item-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
  padding: 96px 0;
  background-color: var(--color-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.about-signature {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem !important;
  color: var(--color-primary) !important;
}

.about-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  color: #583A16;
  text-align: center;
  margin: 28px 0 40px;
  line-height: 1.3;
}

.about-pivot {
  font-style: italic;
  font-size: 1.08rem;
}

.about-hook {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.35rem !important;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 28px !important;
}

.about-signoff {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem !important;
  text-align: center;
  color: var(--color-primary);
  margin-top: 40px !important;
  margin-bottom: 0 !important;
}

.about-image-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* REPLACE WITH about.jpg:
     Replace the gradient below with:
     background: url('about.jpg') center/cover no-repeat;
  */
  background: linear-gradient(
    160deg,
    #583A16 0%,
    #CDA875 30%,
    #CDA875 60%,
    #583A16 100%
  );
}

.about-image-placeholder span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   LOCATION SECTION
   ======================================== */
.location-section {
  padding: 96px 0;
  background-color: var(--color-white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.location-block {
  margin-bottom: 36px;
}

.location-block:last-child {
  margin-bottom: 0;
}

.location-block h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.location-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
}

.location-block a {
  color: var(--color-primary);
}

.location-block a:hover {
  color: var(--color-accent);
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 360px;
}

.hours-day {
  font-size: 0.95rem;
  color: var(--color-text);
}

.hours-time {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.map-embed {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  padding: 96px 0;
  background-color: var(--color-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.contact-detail a {
  font-size: 0.95rem;
  color: var(--color-primary);
}

.contact-detail a:hover {
  color: var(--color-accent);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Form */
.contact-form-wrapper {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(205, 168, 117, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  margin-top: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-dark);
  color: rgba(245, 231, 211, 0.7);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: rgba(245, 231, 211, 0.5);
}

.footer-nav h4,
.footer-social h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(245, 231, 211, 0.7);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-cream);
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(245, 231, 211, 0.7);
  transition: color var(--transition);
}

.footer-instagram:hover {
  color: var(--color-cream);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 231, 211, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245, 231, 211, 0.4);
}

/* ========================================
   MENU PAGE (menu.html)
   ======================================== */

/* Active nav link (used on menu.html) */
.nav-links .nav-link-active {
  color: var(--color-accent);
}

.nav-links .nav-link-active::after {
  width: 100%;
}

/* Page header */
.menu-page-header {
  text-align: center;
  padding: 180px 24px 56px;
  background-color: var(--color-secondary);
}

.menu-page-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.menu-page-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Layout grid */
.menu-page-wrapper {
  display: grid;
  grid-template-columns: 220px 1fr;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Sidebar */
.menu-sidebar {
  position: sticky;
  top: 140px;
  height: fit-content;
  padding: 48px 24px 48px 0;
  border-right: 1px solid var(--color-border);
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-light);
  padding: 9px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.sidebar-link:hover {
  color: var(--color-primary);
  background: rgba(88, 58, 22, 0.05);
}

.sidebar-link.active {
  color: var(--color-primary);
  background: rgba(205, 168, 117, 0.12);
  font-weight: 700;
}

/* Main content area */
.menu-content {
  padding: 48px 0 96px 52px;
}

/* Search */
.menu-search-wrapper {
  position: relative;
  margin-bottom: 56px;
}

.menu-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  pointer-events: none;
}

.menu-search {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 20px 14px 50px;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-white);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.menu-search:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(205, 168, 117, 0.15);
}

.menu-search::placeholder {
  color: var(--color-text-light);
  opacity: 0.7;
}

/* No results message */
.menu-no-results {
  display: none;
  text-align: center;
  padding: 48px 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-text-light);
}

.menu-no-results.visible {
  display: block;
}

/* Category sections */
.menu-category {
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--color-border);
}

.menu-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.category-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 36px;
}

/* Sub-categories */
.menu-subcategory {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(205, 168, 117, 0.5);
}

.menu-subcategory:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.subcategory-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

/* Item list */
.item-list {
  list-style: none;
  columns: 3;
  column-gap: 32px;
}

.menu-item {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--color-dark);
  line-height: 1.6;
  padding: 5px 0;
  break-inside: avoid;
}

/* Drinks add-ons footnote */
.drinks-addons {
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-style: italic;
  padding: 12px 18px;
  background: rgba(205, 168, 117, 0.06);
  border-left: 2px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.7;
}

/* ========================================
   FEATURED ITEMS / CAROUSEL
   ======================================== */
.featured-section {
  padding: 96px 0;
  background-color: var(--color-cream);
}

.featured-section .section-title {
  text-align: center;
}

.featured-section .section-label {
  text-align: center;
}

.featured-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-top: -32px;
  margin-bottom: 48px;
}

/* Carousel layout */
.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
  /* prevent vertical scroll jank during horizontal swipe */
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

/* Cards */
.featured-card {
  flex-shrink: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.featured-card-image {
  aspect-ratio: 4 / 3;
  background-color: #F5E7D3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-card-image span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #CDA875;
  letter-spacing: 0.04em;
}

.featured-card-body {
  padding: 20px 24px 24px;
}

.featured-card-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.featured-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 14px;
}

.featured-card-price {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Mobile CTA card — hidden on desktop, shown on mobile by JS */
.featured-card-cta {
  display: none;
  flex-shrink: 0;
  background: #583A16;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
}

.featured-card-cta a {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-secondary);
  line-height: 1.4;
}

.featured-card-cta a:hover {
  color: var(--color-cream);
}

/* Arrow buttons */
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.carousel-btn:hover:not(:disabled) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot.active {
  background: #CDA875;
  transform: scale(1.35);
}

/* Below-carousel CTA */
.featured-cta {
  text-align: center;
  margin-top: 48px;
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (max-width: 900px) {
  .about-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-tagline {
    font-size: 1.3rem;
    margin: 20px 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .menu-page-wrapper {
    grid-template-columns: 180px 1fr;
  }

  .item-list {
    columns: 2;
  }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-secondary);
    box-shadow: 0 4px 0 0 var(--color-accent);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.4s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: var(--color-primary) !important;
  }

  .nav-links a:hover {
    color: var(--color-accent) !important;
  }

  .hamburger.active .hamburger-line {
    background: var(--color-primary) !important;
  }

  .featured-section,
  .menu-section,
  .about-section,
  .location-section,
  .contact-section {
    padding: 72px 0;
  }

  .map-embed {
    height: 280px;
  }

  /* Menu page mobile layout */
  .menu-page-header {
    padding: 120px 24px 40px;
  }

  .menu-page-wrapper {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .menu-sidebar {
    position: sticky;
    top: 96px;
    z-index: 50;
    background: var(--color-white);
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .menu-sidebar::-webkit-scrollbar {
    display: none;
  }

  .sidebar-nav {
    flex-direction: row;
    padding: 10px 16px;
    gap: 6px;
    width: max-content;
  }

  .sidebar-link {
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 100px;
    border: 1.5px solid var(--color-border);
    font-size: 0.8rem;
  }

  .sidebar-link.active {
    background: var(--color-primary);
    color: var(--color-cream);
    border-color: var(--color-primary);
  }

  .menu-content {
    padding: 32px 24px 72px;
  }

  .menu-search-wrapper {
    margin-bottom: 40px;
  }

  .menu-category {
    padding-bottom: 48px;
    margin-bottom: 48px;
  }

  .item-list {
    columns: 1;
  }

  .carousel-btn {
    display: none;
  }

  .featured-card-cta {
    display: flex;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-tabs {
    gap: 6px;
  }

  .menu-tab {
    font-size: 0.78rem;
    padding: 8px 18px;
  }

  .about-image-placeholder {
    aspect-ratio: 3 / 2;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-nav ul {
    align-items: center;
  }

  .footer-instagram {
    justify-content: center;
  }

  .hours-row {
    max-width: 100%;
  }

  .hero-headline {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}

@media (max-width: 480px) {
  .menu-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-tab {
    text-align: center;
  }
}
