/* ========================================
   STOR Café – French-inspired light design
   Soft, feminine, elegant
======================================== */

:root {
  --cream: #F9F5F0;
  --cream-dark: #F0E9E0;
  --beige: #E8DFD3;
  --warm-white: #FFFCFA;
  --soft-brown: #8B7355;
  --taupe: #A89F91;
  --text: #3D3429;
  --text-light: #6B5E4F;
  --accent: #C4A484;
  --accent-soft: #D4B896;
  --border: rgba(139, 115, 85, 0.15);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Josefin Sans', 'Helvetica Neue', sans-serif;
  
  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 20px rgba(61, 52, 41, 0.06);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
}

.logo span {
  font-weight: 300;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--soft-brown);
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.menu-toggle span:first-child { top: 4px; }
.menu-toggle span:last-child { bottom: 4px; }

.menu-toggle.active span:first-child {
  top: 9px;
  transform: rotate(45deg);
}
.menu-toggle.active span:last-child {
  bottom: 9px;
  transform: rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(249, 245, 240, 0.25) 0%,
    rgba(249, 245, 240, 0.55) 50%,
    rgba(249, 245, 240, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 24px;
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-brown);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--soft-brown);
  border: 1px solid var(--soft-brown);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn:hover {
  background: transparent;
  color: var(--soft-brown);
}

.btn-light {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(255, 252, 250, 0.6);
}

.btn-light:hover {
  background: var(--warm-white);
  color: var(--text);
  border-color: var(--warm-white);
}

/* ========== About ========== */
.about {
  padding: 120px 0;
  background: var(--cream);
}

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

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 400;
}

.about h2,
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 28px;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 300;
}

.about-text em {
  font-style: italic;
  color: var(--soft-brown);
}

.about-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text);
  margin-top: 32px !important;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(61, 52, 41, 0.1);
}

/* ========== Menu ========== */
.menu {
  padding: 120px 0;
  background: var(--warm-white);
}

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

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 300;
}

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

.menu-card {
  background: var(--cream);
  padding: 40px 32px;
  border-radius: 2px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(61, 52, 41, 0.08);
}

.menu-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.menu-list {
  list-style: none;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-light);
}

.menu-list li:last-child {
  border-bottom: none;
}

.menu-list li span:first-child {
  font-weight: 300;
}

.menu-list li span:last-child {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--soft-brown);
  font-weight: 500;
}

.menu-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--taupe);
  font-style: italic;
}

/* ========== Gallery ========== */
.gallery {
  padding: 120px 0;
  background: var(--cream);
}

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

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

/* ========== Locations ========== */
.locations {
  padding: 120px 0;
  background: var(--warm-white);
}

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

.location-card {
  background: var(--cream);
  padding: 48px 40px;
  border-radius: 2px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(61, 52, 41, 0.08);
}

.location-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.location-card h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.location-address {
  font-size: 0.95rem;
  color: var(--soft-brown);
  margin-bottom: 20px;
  line-height: 1.6;
}

.location-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.location-hours {
  font-size: 0.9rem;
  color: var(--text);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.location-hours p {
  margin-bottom: 4px;
}

/* ========== CTA ========== */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #8B7355 0%, #A08B6E 100%);
  text-align: center;
  color: var(--warm-white);
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 36px;
}

/* ========== Footer ========== */
.footer {
  padding: 48px 0;
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 8px;
  font-weight: 300;
}

.footer-info {
  text-align: right;
  font-size: 0.8rem;
  color: var(--taupe);
}

.footer-info p {
  margin-bottom: 4px;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

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

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

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

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

@media (max-width: 700px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--warm-white);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 28px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
    transition: right var(--transition);
  }

  .nav.open {
    right: 0;
  }

  .menu-toggle {
    display: block;
    z-index: 110;
  }

  .hero {
    min-height: 520px;
  }

  .about, .menu, .gallery, .locations {
    padding: 80px 0;
  }

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

  .footer-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

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

  .location-card {
    padding: 36px 28px;
  }
}
