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

:root {
  --ddcol: #0b81a4;
  --ddcol-light: #3fa9d6;
  --warm-white: #ebe8e0;
  --white: #ffffff;
  --off-white: #f0f0f0;
  --cream: #eeebe4;
  --sand: #E8DFD0;
  --text-dark: #086a88;
  --text-mid: #5C5248;
  --text-muted: #9C8E84;
  --black: #000000;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 2vw 6vw;
  justify-content: space-between;
}

.nav-logo {
  max-width: 350px;
  height: auto;
  flex-shrink: 0;
}

.nav-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-logo span { color: var(--black); font-style: italic; }

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--sand); }
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-links a.active {
  border-bottom: 2px solid var(--ddcol);
  padding-bottom: 2px;
}

.nav-cta {
  background: var(--ddcol);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  transition: background 0.2s !important;
  border-bottom: none !important;
}

.nav-cta:hover { background: var(--ddcol-light) !important; color: white !important; }

/* ── PAGE SECTIONS ── */
.page { display: none; }
.page.active { display: block; }

/* ── HOME: HERO ── */
.hero {
  min-height: 60vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 6vw;
  background: var(--white);
}

.hero-tag {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ddcol);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  color: var(--ddcol);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--black);
}

.hero-body {
  font-size: 1.25rem;
  color: var(--text-mid);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.btn-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--ddcol);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--ddcol-light); transform: translateY(-1px); }

.btn-ghost {
  color: var(--ddcol);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--ddcol);
  padding-bottom: 1px;
  transition: gap 0.2s;
}

.btn-ghost:hover { gap: 0.7rem; }

.hero-image {
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.hero-image img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 0.75rem;
  padding: 0;
  text-align: center;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-placeholder p { font-size: 0.85rem; }

/* ── FEATURED STRIP ── */
.strip {
  background: var(--ddcol);
  padding: 1rem 0;
  overflow: hidden;
}

.strip-track {
  display: flex;
  gap: 3.7rem;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 5vw;
}

.strip-item[aria-hidden="true"] { display: none; }

.strip-item {
  color: white;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* ── PHOTO GRID ── */
.photo-section {
  padding: 5rem 5vw;
}

.section-header {
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ddcol);
  letter-spacing: -0.02em;
}

.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 400px 360px;
  gap: 12px;
}

.photo-cell {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-cell:hover img { transform: scale(1.04); }

.photo-cell.span-col { grid-column: span 1; grid-row: span 2; }

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  background: var(--white);
  transition: background 0.2s;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-cell:hover .photo-placeholder { background: var(--sand); }
.photo-placeholder-icon { font-size: 1.75rem; opacity: 0.4; }

.upload-hint {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── MENU PAGE ── */
.menu-hero {
  background: var(--ddcol);
  padding: 4rem 5vw 3rem;
  color: white;
}

.menu-hero .section-label { color: var(--black); opacity: 0.9; }

.menu-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.menu-hero p {
  opacity: 0.7;
  font-size: 1rem;
  max-width: 500px;
}

.menu-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--sand);
  padding: 0 5vw;
  background: white;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* subtle fade hints on both edges when overflowing */
  -webkit-overflow-scrolling: touch;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  padding: 1.1rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  background: #ffffff;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: 'DM Sans', sans-serif;
}

.menu-tab.active { color: var(--ddcol); border-bottom-color: var(--ddcol); }
.menu-tab:hover { color: var(--ddcol-light); }

.menu-body { padding: 3rem 5vw; 
  background: #f4efef;
  min-height: 50vh;
}

.menu-category { display: none; }
.menu-category.active { display: block; }

.menu-subsection { margin-bottom: 1.25rem; }
.menu-subsection-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--ddcol);
  margin-bottom: 0.4rem;
}
.menu-subsection-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  max-width: 600px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  background: #f4efef;
  margin-bottom: 2rem;
}

.menu-card {
  background: #ffffff;
  border: 1px solid var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.menu-card:hover {
  border-color: var(--ddcol-light);
  box-shadow: 0 4px 20px rgba(26, 58, 143, 0.08);
}

.menu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.menu-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--ddcol);
}

.menu-item-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ddcol);
  white-space: nowrap;
  margin-left: 1rem;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.menu-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ddcol);
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  margin-top: 0.75rem;
  font-weight: 500;
}

.menu-badge.black {
  background: #FEF3E0;
  color: var(--black);
}

/* ── LOCATION PAGE ── */
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}

.location-info {
  padding: 4rem 4rem 5rem 6vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.location-info .section-title { margin-bottom: 0.5rem; }

.location-tagline {
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.info-block { margin-bottom: 2rem; }

.info-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.info-value {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.info-value a { color: var(--ddcol); text-decoration: none; }
.info-value a:hover { text-decoration: underline; }

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1.5rem;
  font-size: 0.9rem;
}

.hours-day { color: var(--text-mid); }
.hours-time { color: var(--text-dark); font-weight: 500; }

.location-map {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 500px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--cream);
  color: var(--text-muted);
  padding: 3rem;
  text-align: center;
}

.map-placeholder-icon { font-size: 3rem; opacity: 0.4; }
.map-placeholder p { font-size: 0.9rem; }
.map-placeholder a {
  color: var(--ddcol);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: inline-block;
}

/* ── FOOTER ── */
footer {
  background: var(--cream);
  padding: 2rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  max-width: 160px;
  height: auto;
  flex-shrink: 0;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--ddcol);
  opacity: 0.8;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-links a:hover { opacity: 1; }


/* carousel + strip helpers — hidden on desktop */
.photo-carousel { display: none; }
.strip-item[aria-hidden="true"] { display: none; }

/* ════════════════════════════════════════
   MOBILE  ≤ 768px
   ════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── COLOUR RESET ──
     The CSS variables --warm-white (#ebe8e0) and --cream (#F2EDE3) are tan.
     On mobile we want actual white and neutral grey, so we override explicitly. */
  body        { background: #ffffff; }
  nav         { background: #ffffff; border-bottom-color: #e0e0e0; }
  .hero-text  { background: #ffffff; }
  .photo-section { background: #f5f5f5; } /* light grey section break */
  .menu-tabs  { background: #ffffff; border-bottom-color: #e0e0e0; }
  .menu-body  { background: #f5f5f5; }
  .menu-card  { background: #ffffff; border-color: #e8e8e8; }
  footer      { background: #ffffff; border-top: 1px solid #e0e0e0; }

  /* ── NAV: hamburger drawer ── */
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    list-style: none;
  }
  .nav-links.open { max-height: 300px; padding: 0.5rem 0 1rem; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 5vw;
    font-size: 1rem;
    border-bottom: none !important;
    letter-spacing: 0.04em;
    color: var(--text-mid);
  }
  .nav-links a.active {
    color: var(--ddcol);
    background: rgba(11, 129, 164, 0.06);
    border-bottom: none !important;
    padding-bottom: 0.85rem;
  }
  .nav-links li:last-child { padding: 0.5rem 5vw 0; }
  .nav-cta { display: inline-block; padding: 0.5rem 1.5rem !important; }

  /* ── HERO ── */
  .hero { grid-template-columns: 1fr; min-height: unset; }
  .hero-image { display: none; }
  .hero-text { padding: 2.5rem 5vw 2rem; }
  .hero-tag { font-size: 0.78rem; margin-bottom: 0.75rem; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); margin-bottom: 1rem; }
  .hero-body { font-size: 1rem; margin-bottom: 1.75rem; }
  .btn-row { gap: 0.75rem; }
  .btn-primary { padding: 0.75rem 1.5rem; font-size: 0.875rem; }

  /* ── STRIP: marquee. 38s = comfortable reading speed ── */
  .strip { overflow: hidden; padding: 0.9rem 0; }
  .strip-track {
    display: flex;
    justify-content: flex-start;
    padding: 0;
    gap: 2.5rem;
    width: max-content;
    animation: marquee 38s linear infinite;
  }
  .strip:hover .strip-track { animation-play-state: paused; }
  .strip-item[aria-hidden="true"] { display: flex; }
  .strip-item { font-size: 0.8rem; }

  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ── PHOTOS: hide grid, show carousel ── */
  .photo-section { padding: 2rem 0 0; }
  .section-header { padding: 0 5vw; margin-bottom: 1.5rem; }
  .photo-grid { display: none; }

  /* Carousel outer: overflow visible so dots aren't clipped */
  .photo-carousel {
    display: block;
    width: 100%;
    padding-bottom: 2.5rem; /* room for dots */
  }

  /* Clip wrapper: only the slide strip gets overflow:hidden */
  .carousel-clip {
    overflow: hidden;
    width: 100%;
  }

  /* Track: JS moves it with translateX, clip wrapper hides off-screen slides */
  .carousel-track {
    display: flex;
    gap: 0;
  }

  /* Each slide is exactly the clip wrapper width */
  .carousel-slide {
    flex: 0 0 100%;
    height: 72vw;
    max-height: 300px;
    padding: 0 5vw;
    box-sizing: border-box;
    background: transparent;
  }
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
  }

  /* Dots */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
  }
  .carousel-dot.active {
    background: var(--ddcol);
    transform: scale(1.35);
  }

  /* ── MENU TABS: pill grid, all visible ── */
  .menu-hero { padding: 2.5rem 5vw 2rem; }
  .menu-hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); margin-bottom: 0.5rem; }
  .menu-hero p  { font-size: 0.9rem; }

  .menu-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1rem 5vw;
    overflow: visible;
    border-bottom: 1px solid #e0e0e0;
  }
  .menu-tab {
    padding: 0.55rem 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    border-radius: 2rem;
    border: 1.5px solid #ddd;
    text-align: center;
    margin-bottom: 0;
    white-space: normal;
    line-height: 1.3;
    color: var(--text-mid);
    background: #f5f5f5;
  }
  .menu-tab.active {
    background: var(--ddcol);
    color: #ffffff;
    border-color: var(--ddcol);
  }
  .menu-tab:hover:not(.active) {
    border-color: var(--ddcol-light);
    color: var(--ddcol);
  }

  .menu-body { padding: 1.75rem 5vw; }
  .menu-grid { grid-template-columns: 1fr; gap: 1rem; }
  .menu-card { padding: 1.25rem; }
  .menu-subsection { margin-bottom: 1rem; }
  .menu-subsection-title { font-size: 1.2rem; }

  /* ── LOCATION ── */
  .location-layout { grid-template-columns: 1fr; min-height: unset; }
  .location-map { order: -1; height: 55vw; min-height: 220px; max-height: 360px; }
  .location-map iframe { min-height: unset; height: 100%; }
  .location-info { padding: 2.5rem 5vw 3rem; justify-content: flex-start; background: #ffffff; }
  .location-tagline { margin-bottom: 1.75rem; }
  .info-block { margin-bottom: 1.5rem; }

  /* ── FOOTER ── */
  footer { flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; padding: 2rem 5vw; }
  .nav-logo { max-width: 220px; }
  .footer-links { gap: 1.25rem; }
  .footer-links a { font-size: 0.9rem; }
  .footer-note { font-size: 0.78rem; color: #888; }
}
/* ── MOBILE: override tan backgrounds with white/grey ── */
@media (max-width: 768px) {
  body           { background: #ffffff; }
  nav            { background: #ffffff; border-bottom-color: #e0e0e0; }
  .hero-text     { background: #ffffff; }
  .photo-section { background: #f0f0f0; padding: 2rem 0 0; }
  .section-header { padding: 0 5vw; }
  .menu-tabs     { background: #ffffff; border-bottom-color: #e0e0e0; }
  .menu-body     { background: #f0f0f0; }
  .menu-card     { background: #ffffff; border-color: #e8e8e8; }
  footer         { background: #ffffff; border-top: 1px solid #e0e0e0; }
  .location-info { background: #ffffff; }
  /* drawer stays white when opened */
  .nav-links     { background: #ffffff !important; }
  /* tapping hamburger on mobile leaves a sticky hover — override to grey */
  .nav-hamburger:hover { background: #f0f0f0; }
}

/* ── DESKTOP: photo cells white so images look clean ── */
.photo-cell        { background: #ffffff; }
.photo-placeholder { background: #ffffff; }


/* ════════════════════════════════════════
   SMALL PHONES  ≤ 480px
   ════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.7rem, 8.5vw, 2.2rem); }
  .hero-body  { font-size: 0.95rem; }
  .carousel-slide { height: 78vw; }
  .menu-tabs { grid-template-columns: repeat(2, 1fr); }
  .location-map { height: 65vw; max-height: 300px; }
  
}
