/* =============================================
   The Square Café — Style Sheet
   Palette: Warm Cream · Deep Charcoal · Rich Gold · Forest Green
   Fonts: Cormorant Garamond (display) + Jost (body)
   ============================================= */

:root {
  --cream:       #f8f4ee;
  --cream-dark:  #efe9df;
  --charcoal:    #1c1917;
  --charcoal-mid:#2e2a25;
  --gold:        #c8a96e;
  --gold-dark:   #a8843e;
  --green:       #2d4a3e;
  --text:        #2c2822;
  --text-muted:  #6b5f52;
  --border:      rgba(200,169,110,0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
}

/* =============================================
   NAVBAR
   ============================================= */
#mainNav {
  background-color: rgba(28, 25, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,169,110,0.15);
  padding: 0.75rem 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#mainNav.scrolled {
  background-color: rgba(28, 25, 23, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem !important;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
}

.btn-nav-reserve {
  background: transparent;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  transition: background 0.2s, color 0.2s;
}

.btn-nav-reserve:hover {
  background: var(--gold);
  color: var(--charcoal) !important;
}

.navbar-toggler {
  border: none;
  background: transparent;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('img/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  max-width: 720px;
  width: 90%;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.4rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

.btn-hero-primary {
  background: var(--gold);
  color: var(--charcoal);
  border: 2px solid var(--gold);
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.7rem 2rem;
  transition: all 0.2s;
}

.btn-hero-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-hero-outline {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.7rem 2rem;
  transition: all 0.2s;
}

.btn-hero-outline:hover {
  color: #fff;
  border-color: #fff;
}

/* =============================================
   SECTION HELPERS
   ============================================= */
.section-cream {
  background-color: var(--cream);
  padding: 6rem 0;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}

.section-label-light { color: var(--gold); }

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-heading-light { color: #fff; }

.section-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* =============================================
   ABOUT
   ============================================= */
.about-photo-stack {
  position: relative;
  padding-bottom: 2rem;
  padding-right: 2rem;
}

.about-main-img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-accent-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 5px solid var(--cream);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.about-tagline-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--green);
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.about-stats {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--gold-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =============================================
   HIGHLIGHTS STRIP
   ============================================= */
.highlights-section {
  background-color: var(--green);
  padding: 0;
}

.highlight-cell {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.highlight-cell:last-child { border-right: none; }

.highlight-cell:hover { background: rgba(255,255,255,0.05); }

.highlight-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.highlight-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}

.highlight-body {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 0;
}

/* =============================================
   MENU
   ============================================= */
.menu-section {
  background-color: #fff;
  padding: 6rem 0;
}

.menu-tabs {
  gap: 0.25rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.menu-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.7rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.menu-tab-btn:hover {
  color: var(--text);
}

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

.menu-note {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}

.menu-category-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.menu-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(200,169,110,0.12);
}

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

.menu-item-addon { padding: 0.75rem 0; }

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.menu-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.menu-item-price {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.menu-gf {
  font-size: 0.6rem;
  font-weight: 400;
  font-family: 'Jost', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(45,74,62,0.1);
  border-radius: 2px;
  padding: 1px 5px;
  vertical-align: middle;
  margin-left: 4px;
}

/* Sides grid */
.side-item {
  background: var(--cream);
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text);
  border-left: 2px solid var(--border);
}

.side-price {
  float: right;
  color: var(--gold-dark);
  font-weight: 500;
}

/* Dessert cards */
.dessert-card {
  background: var(--cream);
  padding: 1.8rem;
  text-align: center;
  border-top: 3px solid var(--gold);
  height: 100%;
}

.dessert-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

.dessert-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.dessert-price {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-dark);
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-section {
  background-color: var(--charcoal);
  padding: 6rem 0;
}

.gallery-cell {
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

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

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

/* =============================================
   LOCATIONS
   ============================================= */
.location-card {
  background: #fff;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border-top: 3px solid var(--gold);
  height: 100%;
}

.location-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.location-since {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.location-detail i {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.location-detail a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.location-detail a:hover { color: var(--gold-dark); }

.map-container {
  border-radius: 0;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 240px;
  border: none;
}

.res-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.btn-location-cta {
  background: var(--charcoal);
  color: #fff;
  border: 2px solid var(--charcoal);
  border-radius: 0;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.8rem;
  transition: all 0.2s;
}

.btn-location-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.btn-location-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
  border-radius: 0;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.8rem;
  transition: all 0.2s;
}

.btn-location-outline:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background-color: var(--charcoal-mid);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2.5rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}

.footer-social a {
  color: rgba(255,255,255,0.55);
  font-size: 1.3rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-heading {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.footer-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.25rem;
}

.footer-link {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2.5rem 0 1.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-powered {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.powered-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.powered-link:hover { text-decoration: underline; }

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(28,25,23,0.97);
    padding: 1rem;
    margin-top: 0.5rem;
  }

  .btn-nav-reserve {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
    display: block;
  }

  .about-photo-stack {
    padding-bottom: 3.5rem;
    padding-right: 3.5rem;
  }

  .highlight-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .menu-tab-btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 767.98px) {
  .about-photo-stack {
    padding-bottom: 2.5rem;
    padding-right: 2.5rem;
  }

  .about-accent-img {
    width: 48%;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .location-card {
    padding: 1.75rem;
  }

  .menu-tab-btn {
    letter-spacing: 0.06em;
  }

  .menu-tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 575.98px) {
  .hero-content {
    padding: 2rem 1.25rem;
  }

  .about-accent-img {
    display: none;
  }

  .about-photo-stack {
    padding: 0;
  }

  .section-cream {
    padding: 4rem 0;
  }

  .gallery-section,
  .menu-section {
    padding: 4rem 0;
  }
}
