/* ============================================================
   Galleria Riverside — Shared Foundation
   Nav · Footer · Tokens · Ticker · Reveals
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Josefin+Sans:wght@300;400&family=Great+Vibes&display=swap');

/* ── Tokens ── */
:root {
  --ivory:      #FAF7F0;
  --white:      #FFFFFF;
  --cognac:     #7C4A28;
  --cognac-dk:  #5e3519;
  --gold:       #C9A055;
  --gold-lt:    #e8d090;
  --champagne:  #EDE0C4;
  --teal:       #2D6E63;
  --ink:        #100C0A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Josefin Sans', sans-serif;
  --font-script:  'Great Vibes', cursive;

  --nav-h: 72px;
  --radius: 2px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-nav.scrolled {
  background: rgba(250, 247, 240, 0.96);
  box-shadow: 0 1px 0 rgba(201, 160, 85, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.nav-wordmark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active { color: var(--cognac); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 910;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

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

.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

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

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 240, 0.7);
  padding: 4rem clamp(1.5rem, 6vw, 6rem) 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201, 160, 85, 0.2);
}

.footer-brand img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

.footer-brand address {
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.footer-brand a {
  color: var(--gold);
  transition: opacity 0.2s;
}

.footer-brand a:hover { opacity: 0.75; }

.footer-hours h4,
.footer-nav h4 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-hours table {
  border-collapse: collapse;
  font-size: 0.8rem;
}

.footer-hours td {
  padding: 0.25rem 0;
  line-height: 1.7;
}

.footer-hours td:first-child {
  padding-right: 1.5rem;
  color: rgba(250, 247, 240, 0.5);
}

.footer-nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}

.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 1.75rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--ivory); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 160, 85, 0.3);
  border-radius: 50%;
  color: rgba(250, 247, 240, 0.55);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 160, 85, 0.08);
}

.footer-credit {
  color: rgba(250, 247, 240, 0.35);
}

.footer-credit a {
  color: rgba(201, 160, 85, 0.6);
  transition: color 0.2s;
}

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

/* ── Brand Ticker ── */
.brand-ticker {
  background: var(--champagne);
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(201, 160, 85, 0.25);
  border-bottom: 1px solid rgba(201, 160, 85, 0.25);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cognac);
}

.ticker-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Reviews Ticker ── */
.reviews-ticker {
  background: var(--champagne);
  overflow: hidden;
  padding: 2.5rem 0;
}

.reviews-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
  gap: 2rem;
}

.review-card {
  background: var(--white);
  border: 1px solid rgba(201, 160, 85, 0.3);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  width: 320px;
  flex-shrink: 0;
}

.review-stars {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.review-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 1rem;
}

.review-author {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cognac);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.from-left  { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.visible    { opacity: 1; transform: none; }

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }
.reveal.d6 { transition-delay: 0.6s; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.btn-cognac {
  background: var(--cognac);
  color: var(--ivory);
  border: 1.5px solid var(--cognac);
}

.btn-cognac:hover {
  background: var(--cognac-dk);
  border-color: var(--cognac-dk);
  transform: scale(1.02);
}

.btn-outline-gold {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.02);
}

.btn-white {
  background: var(--white);
  color: var(--cognac);
  border: 1.5px solid var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: scale(1.02);
}

/* ── Page Header (category pages) ── */
.page-header {
  padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 6vw, 6rem) 3rem;
  background: var(--ivory);
  max-width: 900px;
}

.page-header .eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.page-header p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(16, 12, 10, 0.65);
  max-width: 600px;
}

/* ── Section Wrapper ── */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 2rem;
}

/* ── Brand Pills ── */
.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.brand-pill {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 100px;
  color: var(--cognac);
  background: transparent;
  transition: all 0.25s;
}

.brand-pill:hover {
  background: var(--cognac);
  border-color: var(--cognac);
  color: var(--ivory);
}

/* ── Visit Banner ── */
.visit-banner {
  background: var(--teal);
  color: var(--white);
  padding: 4rem clamp(1.5rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.visit-banner .big-phone {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: opacity 0.2s;
}

.visit-banner .big-phone:hover { opacity: 0.8; }

.hours-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.4rem 1.5rem;
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
}

.hours-day { color: rgba(255,255,255,0.6); font-size: 0.72rem; letter-spacing: 0.08em; }
.hours-time { font-weight: 400; }

.visit-address {
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

.directions-link {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.directions-link:hover { border-color: var(--white); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-wordmark { font-size: 0.6rem; letter-spacing: 0.15em; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .visit-banner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .visit-banner .big-phone { font-size: clamp(1.8rem, 7vw, 2.5rem); }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .reviews-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
