/* ============================================
   Little Tony's Cafe and Bar — Styles
   Warm · Terracotta & Sand · Rounded
   ============================================ */

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

:root {
  --terra-400: #e8734a;
  --terra-500: #d95a2e;
  --terra-600: #c24422;
  --sand-50: #fefdfb;
  --sand-100: #fdf8ef;
  --sand-200: #f9edcf;
  --bark: #3d2217;
  --bark-light: #5a3326;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-soft: 0 4px 24px rgba(61, 34, 23, 0.08);
  --shadow-medium: 0 8px 40px rgba(61, 34, 23, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--sand-50);
  color: var(--bark);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-500);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--bark);
  margin-bottom: 20px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terra-500);
  color: #fff;
  border-color: var(--terra-500);
  box-shadow: 0 4px 16px rgba(217, 90, 46, 0.3);
}

.btn-primary:hover {
  background: var(--terra-600);
  border-color: var(--terra-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(217, 90, 46, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--bark);
  border-color: var(--bark);
}

.btn-outline:hover {
  background: var(--bark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--terra-600);
  border-color: #fff;
}

.btn-light:hover {
  background: var(--sand-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-ghost {
  background: transparent;
  color: var(--sand-200);
  border-color: var(--sand-200);
}

.btn-ghost:hover {
  background: var(--sand-200);
  color: var(--bark);
  transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 239, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(61, 34, 23, 0.08);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-soft);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bark);
}

.nav-brand-text {
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bark-light);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--terra-500);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terra-500);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--terra-500);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--terra-600) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--bark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.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: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO — Asymmetric Magazine Layout
   ============================================ */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--sand-100);
  overflow: hidden;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
}

.hero-image-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 3/4;
}

.hero-img-float {
  width: 65%;
  margin-left: auto;
  margin-top: -40px;
  aspect-ratio: 4/3;
  border: 6px solid var(--sand-100);
}

.hero-accent-circle {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--terra-200);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

.hero-text-col {
  padding: 20px 0;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-500);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--bark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--bark-light);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bark-light);
  background: rgba(253, 248, 239, 0.8);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(61, 34, 23, 0.1);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--sand-50);
}

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

.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--bark-light);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(61, 34, 23, 0.1);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--terra-500);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bark-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(61, 34, 23, 0.15);
}

.about-image-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  aspect-ratio: 8/10;
}

.about-img-float {
  width: 60%;
  margin-left: auto;
  margin-top: -32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 5px solid var(--sand-50);
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu {
  padding: 120px 0;
  background: var(--sand-100);
}

.menu-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.menu-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--bark-light);
}

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

.menu-tab {
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid rgba(61, 34, 23, 0.15);
  background: transparent;
  color: var(--bark-light);
  transition: all var(--transition);
}

.menu-tab:hover {
  border-color: var(--terra-400);
  color: var(--terra-600);
}

.menu-tab.active {
  background: var(--terra-500);
  border-color: var(--terra-500);
  color: #fff;
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.menu-item {
  background: #fff;
  padding: 28px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.menu-item-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 8px;
}

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

/* ============================================
   VIBE SECTION
   ============================================ */
.vibe {
  padding: 120px 0;
  background: var(--sand-50);
}

.vibe-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.vibe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.vibe-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  text-align: center;
}

.vibe-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.vibe-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra-50);
  border-radius: 16px;
}

.vibe-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 12px;
}

.vibe-card-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--bark-light);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 0 0 120px;
  background: var(--sand-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   VISIT SECTION
   ============================================ */
.visit {
  padding: 120px 0;
  background: var(--sand-100);
}

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

.visit-info {
  max-width: 480px;
}

.visit-details {
  list-style: none;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bark-light);
}

.visit-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail a {
  color: var(--terra-600);
  font-weight: 600;
  transition: color var(--transition);
}

.visit-detail a:hover {
  color: var(--terra-500);
}

.visit-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: 120px 0;
  background: var(--bark);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(232, 115, 74, 0.15);
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(232, 115, 74, 0.1);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-eyebrow {
  color: var(--terra-300) !important;
}

.cta-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(253, 248, 239, 0.7);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 64px 0 32px;
  background: #2a1710;
  color: rgba(253, 248, 239, 0.7);
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(253, 248, 239, 0.5);
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra-400);
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(253, 248, 239, 0.6);
  transition: color var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--terra-400);
  font-weight: 500;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--terra-300);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(253, 248, 239, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(253, 248, 239, 0.4);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }
  .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .vibe-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 239, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(61, 34, 23, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-image-col {
    order: -1;
  }

  .hero-img-float {
    width: 55%;
  }

  .hero-headline {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-content {
    max-width: 100%;
  }

  .about-img-float {
    width: 50%;
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}
