/* ============================================
   THE LITTLE STORE — Styles
   Palette: Plum (#4A235A) + Amber (#F5C518)
   Fonts: Playfair Display + DM Sans
============================================ */

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

:root {
  --plum: #4A235A;
  --plum-dark: #351A44;
  --plum-light: #6B3A7D;
  --plum-muted: #F3EDF7;
  --amber: #F5C518;
  --amber-dark: #D4A800;
  --amber-light: #FFF3CD;
  --neutral-900: #1A1A2E;
  --neutral-700: #3D3D56;
  --neutral-500: #6B6B80;
  --neutral-300: #B8B8C8;
  --neutral-100: #F0F0F5;
  --neutral-50: #FAFAFC;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(74, 35, 90, 0.08);
  --shadow-md: 0 4px 20px rgba(74, 35, 90, 0.12);
  --shadow-lg: 0 8px 40px rgba(74, 35, 90, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--neutral-700);
  background: var(--neutral-50);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--neutral-900);
  line-height: 1.2;
}

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

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

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

/* ============================================
   HEADER
============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74, 35, 90, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--plum);
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--plum);
  color: var(--amber);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
}

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

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: color var(--transition);
  position: relative;
}

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

.main-nav a:not(.nav-cta):hover {
  color: var(--plum);
}

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

.nav-cta {
  background: var(--plum);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--plum-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ============================================
   HERO
============================================ */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(160deg, var(--neutral-50) 0%, var(--plum-muted) 50%, var(--neutral-50) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(74, 35, 90, 0.12);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-headline .accent {
  color: var(--plum);
  position: relative;
}

.hero-headline .accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--amber);
  opacity: 0.4;
  border-radius: 3px;
  z-index: -1;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--neutral-500);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(74, 35, 90, 0.3);
}

.btn-primary:hover {
  background: var(--plum-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(74, 35, 90, 0.4);
}

.btn-outline {
  background: var(--white);
  color: var(--plum);
  border: 2px solid var(--plum);
}

.btn-outline:hover {
  background: var(--plum);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-card-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.8), transparent);
  color: var(--white);
}

.card-overlay-label {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.card-overlay-sub {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Stat Cards */
.stat-cards {
  position: absolute;
  bottom: -40px;
  left: -30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: var(--white);
  min-width: 180px;
}

.stat-card--amber {
  background: var(--amber);
  color: var(--neutral-900);
}

.stat-card--plum {
  background: var(--plum);
  color: var(--white);
}

.stat-icon {
  flex-shrink: 0;
  opacity: 0.8;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
  line-height: 1.3;
}

.stat-card--wide {
  flex: 1;
  min-width: 200px;
}

/* ============================================
   SECTION COMMON
============================================ */
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--plum-muted);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--neutral-500);
  max-width: 520px;
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 56px;
}

/* ============================================
   ABOUT
============================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -30px;
  right: -20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-img-float img {
  width: 280px;
  height: 220px;
  object-fit: cover;
}

.about-accent-bar {
  position: absolute;
  top: -20px;
  left: -16px;
  background: var(--amber);
  color: var(--neutral-900);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.about-content {
  padding-left: 8px;
}

.about-body {
  font-size: 1.02rem;
  color: var(--neutral-500);
  margin-bottom: 18px;
  line-height: 1.75;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--neutral-700);
}

.feature-item svg {
  color: var(--amber-dark);
  flex-shrink: 0;
}

/* ============================================
   MENU
============================================ */
.menu {
  padding: 100px 0;
  background: var(--neutral-50);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.menu-card-img {
  overflow: hidden;
  height: 200px;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.05);
}

.menu-card-body {
  padding: 24px 28px 28px;
}

.menu-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--plum-muted);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.menu-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.menu-card-desc {
  font-size: 0.92rem;
  color: var(--neutral-500);
  line-height: 1.65;
}

/* ============================================
   GALLERY
============================================ */
.gallery {
  padding: 100px 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 6;
}

/* ============================================
   VISIT
============================================ */
.visit {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--plum) 0%, var(--plum-dark) 100%);
  color: var(--white);
}

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

.visit .section-tag {
  background: rgba(245, 197, 24, 0.2);
  color: var(--amber);
}

.visit .section-title {
  color: var(--white);
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 36px 0;
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(245, 197, 24, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}

.visit-detail strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
  font-weight: 600;
}

.visit-detail p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.visit-detail a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

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

.btn-map {
  background: var(--amber);
  color: var(--neutral-900);
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.3);
}

.btn-map:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 197, 24, 0.4);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--neutral-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-brand .logo-mark {
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
}

.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-copy {
  font-size: 0.82rem;
  opacity: 0.5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  width: 100%;
  text-align: center;
}

/* ============================================
   SCROLL ANIMATIONS
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   MOBILE NAV
============================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }

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

  .main-nav a {
    font-size: 1rem;
  }

  .hero {
    padding: 100px 0 60px;
  }

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

  .hero-visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .stat-cards {
    position: relative;
    bottom: auto;
    left: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
  }

  .stat-card {
    flex: 1;
    min-width: 140px;
  }

  .stat-card--wide {
    flex: 100%;
  }

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

  .about-images {
    max-width: 480px;
  }

  .about-img-main img {
    height: 380px;
  }

  .about-img-float {
    right: 10px;
    bottom: -20px;
  }

  .about-accent-bar {
    top: -14px;
    left: -10px;
  }

  .about-content {
    padding-left: 0;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-item--tall {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .visit-map {
    min-height: 300px;
  }
}

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

  .hero-headline {
    font-size: 2rem;
  }

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

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

  .about-features {
    grid-template-columns: 1fr;
  }

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

  .gallery-item--tall,
  .gallery-item--wide {
    grid-column: span 1;
  }

  .stat-cards {
    flex-direction: column;
  }

  .stat-card,
  .stat-card--wide {
    min-width: unset;
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}
