/* ============================================================
   DELMELA — style.css  (compact hero + tab menu, light beige)
   ============================================================ */

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

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

:root {
  --primary:   #8A6A52;
  --secondary: #E0B890;
  --accent:    #F4C28A;
  --dark:      #6B4F3A;
  --cream:     #FDF9F4;
  --text:      #3A3A3A;
  --muted:     #9A8878;
  --border:    #EFE3D6;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --transition:   0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:       10px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}
.divider {
  width: 36px; height: 2px;
  background: var(--accent);
  margin: 1rem 0 1.8rem;
  border-radius: 2px;
}

/* ======== NAV ======== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: transform 0.35s ease, background 0.35s ease, padding 0.35s ease;
  transform: translateY(0);
}
nav.nav-hidden {
  transform: translateY(-110%);
}
nav.scrolled {
  background: rgba(107, 79, 58, 0.96);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-size: 1.45rem; font-style: italic; color: #fff; }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--dark) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-weight: 500 !important;
}
.nav-cta:hover { opacity: 0.88; }
.nav-ig { letter-spacing: 0 !important; font-size: 0.9rem !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; }
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--dark); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.8rem; font-style: italic; color: rgba(255,255,255,0.9); }
.mobile-menu a:hover { color: var(--accent); }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.8rem; color: #fff; cursor: pointer; background: none; border: none; }

/* ======== HERO — left-aligned, compact ======== */
#hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;        /* content sits near the bottom */
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: #2a1e14; }
.hero-bg img {
  opacity: 0.48;
  object-fit: cover;
  object-position: center center;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(30,18,10,0.82) 0%,
    rgba(30,18,10,0.55) 55%,
    rgba(30,18,10,0.1)  100%
  );
}
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 4.5rem;
}
.hero-content {
  max-width: 580px;
  animation: fadeUp 0.85s ease both;
}
.hero-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  font-weight: 400;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
  letter-spacing: 0.04em;
}
.hero-hours-dot {
  width: 7px; height: 7px;
  background: #6fcf74;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px #6fcf74;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 0.6rem;
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.hero-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  margin-bottom: 2rem;
  min-height: 0;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 500;
  border-radius: 50px;
  border: none; cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-phone {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.btn-phone:hover { background: rgba(255,255,255,0.25); }
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ======== MENU — tab style ======== */
#menu {
  padding: 5rem 0 4rem;
  background: var(--cream);
}
.menu-header {
  margin-bottom: 2rem;
}

.menu-tabs-wrap {
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu-tabs-wrap::-webkit-scrollbar { display: none; }

.menu-tabs {
  display: flex;
  gap: 0;
  min-width: max-content;
}
.menu-tab {
  padding: 0.9rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  user-select: none;
}
.menu-tab:hover { color: var(--primary); }
.menu-tab.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
  font-weight: 500;
}

.menu-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 2rem 2.2rem;
  min-height: 320px;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  animation: fadeIn 0.25s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.menu-item {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.055);
}
.menu-item:last-child { border-bottom: none; }
.item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.12rem;
}
.item-desc { font-size: 0.78rem; color: var(--muted); font-weight: 300; }

/* ======== ABOUT ======== */
#about {
  padding: 5.5rem 0;
  background: #f5ede3;  /* slightly warmer than cream for contrast */
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.about-image {
  position: relative;
  height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(107,79,58,0.15);
}
.about-content {}
.about-content .section-label { color: var(--primary); }
.about-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #5a4a3a;
  font-weight: 300;
  margin-bottom: 2rem;
  white-space: pre-line;
}
.about-stats { display: flex; gap: 2rem; margin-bottom: 0.5rem; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }
.about-ig-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.8rem; color: var(--primary);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--border); padding-bottom: 2px;
  transition: border-color var(--transition);
}
.about-ig-link:hover { border-color: var(--primary); }

/* ======== CONTACT ======== */
#contact { padding: 5.5rem 0; background: var(--cream); }
.contact-header { margin-bottom: 2.5rem; }

.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.location-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.location-card:hover { box-shadow: 0 8px 28px rgba(107,79,58,0.1); }
.location-card-header {
  background: var(--primary);
  padding: 1rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
}
.location-card-name { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: #fff; }
.location-tag {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dark); background: var(--accent); padding: 0.18rem 0.65rem; border-radius: 50px;
}
.location-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.location-detail { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; }
.location-detail-icon { font-size: 0.95rem; margin-top: 2px; flex-shrink: 0; }
.location-detail-label { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.1rem; }
.location-detail-value { color: var(--text); }
.location-maps-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.4rem; padding: 0.7rem;
  background: var(--cream); border: 1px solid var(--border); border-radius: 8px;
  color: var(--primary); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  transition: var(--transition);
}
.location-maps-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.delivery-section {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 1.8rem 2rem; margin-top: 1.2rem;
}
.delivery-section-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; font-style: italic; color: var(--dark); margin-bottom: 0.3rem; }
.delivery-section-sub { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.2rem; }
.delivery-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.delivery-btn {
  flex: 1; min-width: 180px;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.86rem; color: var(--text); transition: var(--transition);
}
.delivery-btn:hover { border-color: var(--primary); background: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.delivery-emoji { font-size: 1.2rem; }
.delivery-arrow { margin-left: auto; color: var(--muted); }

.hours-strip {
  text-align: center; padding: 1rem;
  background: var(--primary); border-radius: var(--radius);
  color: rgba(255,255,255,0.75); font-size: 0.83rem;
  margin-bottom: 1.2rem;
}
.hours-strip strong { color: #fff; font-weight: 500; }

/* ======== FOOTER ======== */
footer {
  background: var(--dark); padding: 1.8rem 0;
  text-align: center; color: rgba(255,255,255,0.35);
  font-size: 0.75rem; letter-spacing: 0.04em;
}
footer strong { color: rgba(255,255,255,0.6); font-weight: 400; font-style: italic; font-family: var(--font-display); }
footer a { color: var(--accent); }

/* ======== Animations ======== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ======== Responsive ======== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { height: 300px; }
  .locations-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo-img { height: 64px; }

  /* Hero image: show subject on mobile */
  .hero-bg img {
    object-position: center center;
  }
  #hero { height: 92vh; align-items: flex-end; }
  #menu, #about, #contact { padding: 4rem 0; }
  .nav-logo-img { height: 62px; }
  .hero-title { font-size: 3.2rem; }
  .delivery-buttons { flex-direction: column; }
  .about-stats { gap: 1.5rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: 2.8rem; }
  .menu-panel { padding: 1.4rem 1rem; }
}

/* ---- Menu cover photo ---- */
/* Desktop: fill full width, fixed height, slight crop OK for food photos */
.menu-cover-wrap {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #f0ebe4;
  position: relative;
}
.menu-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;  /* show the food subject (middle of image) */
  display: block;
  transition: transform 0.45s ease;
}
.menu-cover-img:hover { transform: scale(1.02); }

.menu-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.2rem 1.4rem 0.8rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
.panel-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--dark);
}
.panel-count { font-size: 0.75rem; color: var(--muted); }

/* Panel full radius on desktop (cover is narrower), flush on mobile */
.menu-panel { border-radius: var(--radius); }

/* ---- Google Maps embed ---- */
.location-map-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--border);
}
.location-map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ======== MOBILE MENU IMPROVEMENTS ======== */

/* Mobile nav arrows overlay on cover image */
.menu-nav-arrows {
  display: none;
  position: absolute;
  bottom: 0.75rem;      /* sit at bottom of image */
  right: 0.75rem;
  left: auto;
  width: auto;
  gap: 0.4rem;
  pointer-events: none;
  z-index: 3;
}
.menu-arrow {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--dark);
  pointer-events: all;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background var(--transition);
}
.menu-arrow:hover { background: #fff; }
.menu-arrow:disabled { opacity: 0.3; pointer-events: none; }

/* Category indicator dots */
.menu-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  padding: 0.75rem 0 0.25rem;
}
.menu-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--transition), transform var(--transition);
}
.menu-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  /* Tabs become a scrollable chip row */
  .menu-tabs-wrap {
    border-bottom: none;
    padding: 0 0 0.75rem;
    gap: 0.5rem;
    display: flex;
  }
  .menu-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.25rem 0;
    min-width: max-content;
  }
  .menu-tab {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 0.45rem 1rem;
    font-size: 0.72rem;
    margin-bottom: 0;
    border-bottom: 1.5px solid var(--border);
    white-space: nowrap;
    transition: all var(--transition);
  }
  .menu-tab.active {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
  }


  /* Mobile cover: contain so full image always visible */
  .menu-cover-wrap {
    height: auto;
    min-height: 220px;
    background: #f0ebe4;
  }
  .menu-cover-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;      /* full image, no crop on mobile */
    object-position: center;
  }

  /* Panel flush with cover on mobile */
  .menu-panel { border-radius: 0 0 var(--radius) var(--radius); }

  /* Show nav arrows on cover */
  .menu-nav-arrows { display: flex; }

  /* Show dots */
  .menu-dots { display: flex; }

  /* Panel padding tighter */
  .menu-panel {
    padding: 0;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
  .menu-panel-header { padding: 1rem 1rem 0.7rem; }
  .menu-items { padding: 0 1rem; }
  .menu-item { padding: 0.8rem 0; }

  /* Single column items on mobile */
  .menu-items {
    grid-template-columns: 1fr;
  }
}


/* ---- Logo image ---- */
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 90px;          /* much bigger */
  width: auto;
  object-fit: contain;
  filter: invert(1) brightness(2);   /* black logo → white on dark bg */
  transition: opacity var(--transition);
}
.nav-logo-img:hover { opacity: 0.8; }
nav.scrolled .nav-logo-img { filter: invert(1) brightness(2); }

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: invert(1) brightness(1.8);
  opacity: 0.75;
  margin-bottom: 0.6rem;
}

.mobile-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: invert(1) brightness(2);
  margin-bottom: 1.2rem;
  opacity: 0.9;
}
