/* ============================================
   BONNIE CAFE CENTRALIA — Stylesheet
   Premium Dark Luxury | Forest Green + Gold
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a1410;
  --bg-dark-2: #0f1f16;
  --bg-dark-3: #14241a;
  --bg-card: #111f17;
  --green-deep: #1a3a2a;
  --green-mid: #2d5a3f;
  --green-light: #3d7a55;
  --gold: #c9a84c;
  --gold-light: #dfc06e;
  --gold-dim: #a08535;
  --cream: #f4f1e8;
  --cream-2: #e8e4d8;
  --cream-dim: #b8b4a8;
  --text-light: #f0ede4;
  --text-muted: #9a9688;
  --text-dark: #1a1a16;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 24px;
}

.title-accent {
  color: var(--gold);
  font-style: italic;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(201, 168, 76, 0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(10, 20, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream);
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--cream-dim);
  transition: var(--transition);
  position: relative;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--text-dark) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
  display: block;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 16, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.nav-overlay-link {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  transition: var(--transition);
}

.nav-overlay-link:hover {
  color: var(--gold);
}

.nav-overlay-cta {
  margin-top: 16px;
  background: var(--gold);
  color: var(--text-dark);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/302902/pexels-photo-302902.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  opacity: 0.35;
  filter: brightness(0.6);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 16, 0.7) 0%,
    rgba(10, 20, 16, 0.4) 50%,
    rgba(10, 20, 16, 0.9) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 28px;
}

.headline-line {
  display: block;
}

.headline-accent {
  color: var(--gold);
  font-style: italic;
}

.headline-script {
  font-style: italic;
  color: var(--gold-light);
  opacity: 0.9;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--cream-dim);
  max-width: 480px;
  margin-bottom: 36px;
}

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

.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--cream-dim);
}

.hero-meta-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.hero-image-col {
  position: relative;
  height: 600px;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

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

.hero-img-float {
  position: absolute;
  bottom: -30px;
  left: -40px;
  width: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(201, 168, 76, 0.3);
}

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

.hero-img-float-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(10, 20, 16, 0.9), transparent);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Marquee --- */
.marquee {
  background: var(--green-deep);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 24px;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream-dim);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.marquee-dot {
  color: var(--gold);
  font-size: 0.6rem;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

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

.about-image-col {
  position: relative;
}

.about-img-primary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.about-img-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(201, 168, 76, 0.25);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cream-dim);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  background: rgba(201, 168, 76, 0.3);
  align-self: stretch;
}

/* --- Menu --- */
.menu {
  padding: 120px 0;
  background: var(--bg-dark-2);
}

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

.menu-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--cream-dim);
}

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

.menu-tab {
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream-dim);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50px;
  transition: var(--transition);
}

.menu-tab:hover {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.5);
}

.menu-tab.active {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.menu-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.menu-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 8px;
}

.menu-card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--cream-dim);
}

.menu-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

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

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 16, 0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

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

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

.gallery-item--large {
  grid-column: 1 / 8;
  grid-row: 1 / 2;
  min-height: 400px;
}

.gallery-item:not(.gallery-item--large) {
  min-height: 190px;
}

.gallery-item--tall {
  grid-column: 8 / 13;
  grid-row: 1 / 3;
  min-height: 400px;
}

/* --- Quote --- */
.quote-section {
  padding: 100px 0;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.quote-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 24px;
}

.quote-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--cream);
  margin-bottom: 24px;
}

.quote-attribution {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- Visit --- */
.visit {
  padding: 120px 0;
  background: var(--bg-dark);
}

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

.visit-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.visit-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.visit-detail h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 4px;
}

.visit-detail p {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.6;
}

.visit-detail a {
  color: var(--gold);
  transition: var(--transition);
}

.visit-detail a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.btn-directions {
  margin-top: 12px;
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark-2);
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.65;
  max-width: 280px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--cream-dim);
  transition: var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.6;
}

.footer-contact a {
  color: var(--gold);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

  .hero-image-col {
    height: 450px;
    max-width: 500px;
  }

  .about-grid {
    gap: 60px;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-grid {
    padding: 100px 24px 60px;
  }

  .hero-image-col {
    display: none;
  }

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

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

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

  .about-img-secondary {
    width: 160px;
    bottom: -20px;
    right: -10px;
  }

  .about-stats {
    gap: 20px;
  }

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

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

  .gallery-item--large {
    grid-column: 1 / -1;
    min-height: 260px;
  }

  .gallery-item--tall {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }

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

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

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

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

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

  .menu-tabs {
    flex-direction: column;
    align-items: center;
  }

  .menu-tab {
    width: 100%;
    text-align: center;
  }

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

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

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-scroll {
    animation: none;
  }

  .marquee-track {
    animation: none;
  }
}
