/* ─────────────────────────────────────────────
   Deliche — Cafés & Bars · Glendale, CA
   Custom styles (beyond Tailwind utility classes)
──────────────────────────────────────────── */

/* ── Reset / Base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── Utility ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 6rem 0;
}
.section--alt {
  background: #fceceef0;
}
.section-header {
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8344e;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #3a1219;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #7B2D3B;
  opacity: 0.8;
}
.text-center { text-align: center; }
.text-burgundy-700 { color: #8a2840; }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  border-radius: 9999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: #7B2D3B;
  color: #FDF2F0;
  border-color: #7B2D3B;
}
.btn-primary:hover {
  background: #8a2840;
  border-color: #8a2840;
  box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}
.btn-secondary {
  background: transparent;
  color: #FDF2F0;
  border-color: rgba(253, 242, 240, 0.6);
}
.btn-secondary:hover {
  background: rgba(253, 242, 240, 0.12);
  border-color: #FDF2F0;
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ─────────────────────────────────────────────
   NAVIGATION
──────────────────────────────────────────── */
.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 242, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(123, 45, 59, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.625rem;
  font-weight: 700;
  font-style: italic;
  color: #7B2D3B;
  letter-spacing: -0.01em;
}
.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #5c1f2b;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #a8344e;
  border-radius: 2px;
  transition: width 0.25s;
}
.nav-menu a:hover { color: #a8344e; }
.nav-menu a:hover::after { width: 100%; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #7B2D3B;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────────────────────
   HERO — SPLIT
──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #7B2D3B 0%, #5c1f2b 50%, #3a1219 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 50%, rgba(244, 180, 170, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(123, 45, 59, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.hero-scene {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content { color: #FDF2F0; }
.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3c5cc;
  background: rgba(253, 242, 240, 0.1);
  border: 1px solid rgba(253, 242, 240, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #FDF2F0;
}
.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(253, 242, 240, 0.8);
  max-width: 480px;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-accent {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(253, 242, 240, 0.15);
  pointer-events: none;
}
.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #fce0d5, #f3c5cc, #fce0d5);
}

/* ─────────────────────────────────────────────
   ABOUT
──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-images {
  position: relative;
  height: 580px;
}
.about-img {
  position: absolute;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(123, 45, 59, 0.15);
}
.about-img--primary {
  width: 70%;
  height: 85%;
  top: 0;
  left: 0;
  z-index: 1;
}
.about-img--secondary {
  width: 55%;
  height: 55%;
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 5px solid #FDF2F0;
}
.about-text { max-width: 520px; }
.about-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #5c1f2b;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(123, 45, 59, 0.12);
}
.stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #7B2D3B;
  line-height: 1;
  margin-bottom: 0.375rem;
}
.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #7B2D3B;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────────
   MENU
──────────────────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 1rem;
}
.menu-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(123, 45, 59, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(123, 45, 59, 0.14);
}
.menu-card-img-wrap {
  overflow: hidden;
  aspect-ratio: 480 / 320;
}
.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.menu-card:hover .menu-card-img { transform: scale(1.05); }
.menu-card-body {
  padding: 1.75rem;
}
.menu-card-cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8344e;
  background: #fdf2f4;
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.875rem;
}
.menu-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #3a1219;
  margin-bottom: 0.625rem;
}
.menu-card-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #5c1f2b;
  opacity: 0.75;
}
.mt-12 { margin-top: 3rem; }

/* ─────────────────────────────────────────────
   GALLERY
──────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(123, 45, 59, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(123, 45, 59, 0.18);
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 560 / 420;
}

/* ─────────────────────────────────────────────
   VISIT
──────────────────────────────────────────── */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.visit-info { max-width: 480px; }
.visit-details {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.visit-details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.visit-details strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7B2D3B;
  margin-bottom: 0.25rem;
}
.visit-details span {
  font-size: 1rem;
  line-height: 1.65;
  color: #5c1f2b;
  opacity: 0.8;
}
.visit-details a {
  color: #7B2D3B;
  border-bottom: 1px solid rgba(123, 45, 59, 0.25);
  transition: color 0.2s, border-color 0.2s;
}
.visit-details a:hover {
  color: #a8344e;
  border-color: #a8344e;
}
.visit-cta { margin-top: 0.5rem; }
.visit-map-frame {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(123, 45, 59, 0.12);
}

/* ─────────────────────────────────────────────
   CONTACT
──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-text { max-width: 460px; }
.contact-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #5c1f2b;
  opacity: 0.8;
  margin-top: 1rem;
}
.contact-text a {
  color: #7B2D3B;
  border-bottom: 1px solid rgba(123, 45, 59, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
.contact-text a:hover { color: #a8344e; border-color: #a8344e; }

.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(123, 45, 59, 0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7B2D3B;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: #3a1219;
  background: #fdf8f6;
  border: 1.5px solid #f3c5cc;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #a8344e;
  box-shadow: 0 0 0 3px rgba(168, 52, 78, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #c24a68;
  opacity: 0.5;
}
.form-note {
  font-size: 0.8125rem;
  color: #7B2D3B;
  opacity: 0.55;
  text-align: center;
  margin-top: 1rem;
}
.form-success {
  text-align: center;
  padding: 2rem;
}
.form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: #7B2D3B;
}
.form-success-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3a1219;
  margin-bottom: 0.5rem;
}
.form-success p {
  font-size: 1rem;
  color: #5c1f2b;
  opacity: 0.75;
}

/* ── Icons ────────────────────────────────── */
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: #a8344e;
}
.icon-sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.1875rem;
  color: #c24a68;
  margin-right: 0.5rem;
}

/* ─────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
.footer {
  background: #3a1219;
  color: rgba(253, 242, 240, 0.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  font-style: italic;
  color: #FDF2F0;
}
.footer-tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f3c5cc;
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 300px;
}
.footer-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #FDF2F0;
  margin-bottom: 1rem;
}
.footer-nav ul,
.footer-info ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-nav a,
.footer-info a {
  font-size: 0.9375rem;
  color: rgba(253, 242, 240, 0.65);
  transition: color 0.2s;
}
.footer-nav a:hover,
.footer-info a:hover { color: #f3c5cc; }
.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(253, 242, 240, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(253, 242, 240, 0.4);
}

/* ─────────────────────────────────────────────
   SCROLL REVEAL (progressive enhancement)
──────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal:not(.revealed) {
    opacity: 1;
    transform: translateY(24px);
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-scene { gap: 2rem; }
  .about-grid,
  .visit-grid,
  .contact-grid { gap: 2.5rem; }
}

@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #FDF2F0;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 1.125rem; }
  .nav-toggle { display: flex; }

  .hero-scene {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    text-align: center;
  }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-image-wrap { max-width: 480px; margin: 0 auto; }

  .about-grid { grid-template-columns: 1fr; }
  .about-images { height: 420px; order: -1; }
  .about-text { max-width: 100%; }

  .visit-grid { grid-template-columns: 1fr; }
  .visit-map-frame { min-height: 320px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.125rem; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-images { height: 320px; }
  .about-stats { flex-direction: column; gap: 1.25rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
