/* ==========================================================================
   The Spot Coffee Shop — static stylesheet
   ========================================================================== */

:root {
  --background: #faf6ef;
  --foreground: #3d2f26;
  --primary: #6b4a34;
  --primary-foreground: #faf6ef;
  --secondary: #ece3d3;
  --muted-foreground: #8a7466;
  --border: #e3d9c8;
  --gold: #c99a3f;
  --cream: #faf6ef;
  --coffee: #6b4a34;
  --espresso: #3d2f26;
  --radius: 0.625rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 72rem; margin: 0 auto; }
.container-narrow { max-width: 64rem; margin: 0 auto; }

.section-light { background: var(--background); }
.section-tinted { background: color-mix(in srgb, var(--secondary) 50%, transparent); }

section { padding: 6rem 1.5rem; }
@media (min-width: 640px) { section { padding: 8rem 1.5rem; } }

/* ---------- Shared bits ---------- */

.kicker {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}
@media (min-width: 640px) { .section-title { font-size: 3rem; } }

.section-head { text-align: center; margin-bottom: 4rem; }

.divider { width: 5rem; height: 1px; background: var(--gold); margin: 1rem auto 0; }

.body-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s;
  width: fit-content;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { transform: scale(1.05); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* ---------- Nav ---------- */

#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}
#nav.scrolled {
  background: rgba(250, 246, 239, 0.95);
  box-shadow: 0 4px 20px -8px rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
}

.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.nav-brand { display: flex; align-items: center; gap: 0.75rem; }

.nav-logo {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
  transition: box-shadow 0.3s;
}
#nav.scrolled .nav-logo { box-shadow: none; }

.nav-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  transition: color 0.3s;
}
#nav.scrolled .nav-title { color: var(--foreground); }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links > a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.nav-links > a:hover { color: var(--gold); }
#nav.scrolled .nav-links > a { color: var(--foreground); }
#nav.scrolled .nav-links > a:hover { color: var(--gold); }

.nav-ig {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  backdrop-filter: blur(4px);
}
.nav-ig:hover { background: rgba(255,255,255,0.25); }
#nav.scrolled .nav-ig {
  background: var(--primary);
  color: var(--primary-foreground) !important;
}
#nav.scrolled .nav-ig:hover { background: color-mix(in srgb, var(--primary) 90%, #000); }

.burger {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.25rem;
}
@media (min-width: 768px) { .burger { display: none; } }
.burger span {
  display: block;
  height: 2px;
  width: 1.5rem;
  background: #fff;
  transition: background 0.3s;
}
#nav.scrolled .burger span { background: var(--foreground); }

.mobile-menu {
  display: none;
  background: var(--background);
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--foreground);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mobile-ig { font-weight: 500; color: var(--primary); margin-top: 0.5rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: url("images/espresso.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(61,47,38,0.7), rgba(61,47,38,0.5), rgba(61,47,38,0.8));
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-logo {
  height: 8rem;
  width: 8rem;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.2), 0 25px 50px -12px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .hero-logo { height: 10rem; width: 10rem; } }

.hero-kicker {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) { .hero-kicker { font-size: 1rem; } }

.hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
  display: block;
  font-size: 1.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
}
@media (min-width: 640px) { .hero-subtitle { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero-subtitle { font-size: 3rem; } }

.hero-tagline {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
}
@media (min-width: 640px) { .hero-tagline { font-size: 1.25rem; } }
.hero-emoji { font-size: 1.5rem; }

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}
@media (min-width: 640px) { .scroll-indicator { display: block; } }
.scroll-mouse {
  height: 2.5rem;
  width: 1.5rem;
  display: flex;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  padding-top: 0.5rem;
}
.scroll-dot {
  height: 0.5rem;
  width: 0.25rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.6);
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.5rem); }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.slogan { margin-top: 2rem; display: flex; align-items: center; gap: 0.75rem; }
.slogan-line { height: 1px; width: 3rem; background: var(--gold); }
.slogan-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
  color: var(--coffee);
}

.about-img-wrap { position: relative; }
.about-img-frame {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
}
.about-img-frame img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.about-img-accent {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  height: 6rem;
  width: 6rem;
  border-radius: 1rem;
  background: rgba(201, 154, 63, 0.2);
  z-index: -1;
}

/* ---------- Menu ---------- */

.menu-grid {
  display: grid;
  gap: 2.5rem 3rem;
}
@media (min-width: 768px) { .menu-grid { grid-template-columns: 1fr 1fr; } }

.menu-section-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.menu-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--coffee);
}
.menu-section-sub { font-size: 0.875rem; color: var(--muted-foreground); }

.menu-item { margin-bottom: 0.75rem; }
.menu-row { display: flex; align-items: baseline; gap: 0.5rem; }
.menu-name { font-size: 0.875rem; color: var(--foreground); }
@media (min-width: 640px) { .menu-name { font-size: 1rem; } }
.menu-dots {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  margin-bottom: 0.25rem;
}
.menu-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
@media (min-width: 640px) { .menu-price { font-size: 1rem; } }
.menu-desc {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted-foreground);
}

.brunch { margin-top: 4rem; }
.brunch-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--coffee);
}
@media (min-width: 640px) { .brunch-title { font-size: 2.25rem; } }
.brunch-sub { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

.menu-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- Gallery ---------- */

.gallery-cols {
  columns: 2;
  column-gap: 1rem;
}
@media (min-width: 768px) { .gallery-cols { columns: 3; } }
@media (min-width: 1024px) { .gallery-cols { columns: 4; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}
.gallery-item:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15); }
.gallery-item img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Visit ---------- */

.visit-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .visit-grid { grid-template-columns: 1fr 1fr; } }

.visit-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.visit-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}
.visit-value { margin-top: 0.25rem; font-size: 1.125rem; color: var(--foreground); display: block; }
.visit-phone:hover { color: var(--primary); }
.visit-link {
  margin-top: 0.5rem;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}
.visit-link:hover { color: var(--gold); }

.visit-map {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
}
.visit-map iframe { display: block; width: 100%; }

/* ---------- Footer ---------- */

.footer { background: var(--espresso); padding: 3rem 1.5rem; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-logo {
  height: 4rem;
  width: 4rem;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
}
.footer-tagline { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(250,246,239,0.6); }
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: rgba(250,246,239,0.7);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a:hover { color: var(--cream); }
.footer-dot { color: rgba(250,246,239,0.3); }
.footer-copy { font-size: 0.75rem; color: rgba(250,246,239,0.4); }
