/* =============================================
   JOEL'S RESTAURANT — styles.css
   ============================================= */

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

:root {
  --color-bg:        #0f0e0d;
  --color-bg-alt:    #1a1816;
  --color-surface:   #242220;
  --color-gold:      #c9a84c;
  --color-gold-lt:   #e5c97e;
  --color-text:      #f0ece4;
  --color-muted:     #9a9088;
  --color-border:    #2e2b28;
  --font-heading:    'Playfair Display', Georgia, serif;
  --font-body:       'Inter', system-ui, sans-serif;
  --max-width:       1100px;
  --radius:          8px;
  --transition:      0.25s ease;
}

html { scroll-behavior: smooth; }

/* Prevent text cursor on non-interactive content */
p, h1, h2, h3, h4, h5, h6, li, span, div, section,
header, footer, nav, main, article, aside, blockquote {
  cursor: default;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
}

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

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-gold);
  color: #0f0e0d;
  border-color: var(--color-gold);
}
.btn--primary:hover {
  background: var(--color-gold-lt);
  border-color: var(--color-gold-lt);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--full { width: 100%; text-align: center; }

/* --- Announcement Banner --- */
.site-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem 3rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  animation: bannerIn 0.35s ease;
}
.site-banner.hidden { display: none; }

@keyframes bannerIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes bannerOut {
  from { transform: translateY(0);     opacity: 1; }
  to   { transform: translateY(-100%); opacity: 0; }
}

.site-banner--dismissing {
  animation: bannerOut 0.35s ease forwards;
  pointer-events: none;
}

/* Banner type colours */
.site-banner--info    { background: #c9a84c; color: #0f0e0d; }
.site-banner--promo   { background: #2a7f7f; color: #e8f5f5; }
.site-banner--warning { background: #c47f1a; color: #fff8ed; }

.site-banner__text { flex: 1; }

.site-banner__close {
  position: absolute;
  right: 1rem;
  top: 50%; transform: translateY(-50%);
  background: none; border: none;
  font-size: 1.1rem; line-height: 1;
  cursor: pointer; opacity: 0.65;
  transition: opacity 0.2s;
  padding: 0.2rem 0.4rem;
  color: inherit;
}
.site-banner__close:hover { opacity: 1; }

/* Push nav down when banner is visible */
body.has-banner .nav { top: 2.5rem; }

/* --- Site Overlay (maintenance / coming soon) --- */
.site-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
}
.site-overlay.hidden { display: none; }
.site-overlay--in { animation: overlayIn 0.7s ease; }

/* Lock scroll on body when overlay is shown */
body.overlay-active { overflow: hidden; }

@keyframes overlayIn {
  from { opacity: 0; transform: scale(1.01); }
  to   { opacity: 1; transform: scale(1); }
}

/* Subtle radial glow behind content */
.site-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.site-overlay__content {
  max-width: min(92vw, 1060px);
  width: 100%;
  position: relative;
}

.site-overlay__logo {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
  opacity: 0.9;
  cursor: default;
  transition: opacity 0.35s ease, letter-spacing 0.4s ease;
}

.site-overlay__logo img {
  height: clamp(120px, 22vw, 200px);
  width: auto;
  display: block;
  margin: 0 auto;
}

.site-overlay__logo:hover {
  opacity: 1;
  letter-spacing: 0.26em;
}

/* Gold divider line under logo */
.site-overlay__logo::after {
  content: '';
  display: block;
  width: 12rem;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.4;
  margin: 0.9rem auto 0;
  transition: width 0.4s ease, opacity 0.4s ease;
}

.site-overlay__logo:hover::after {
  width: 18rem;
  opacity: 0.7;
}

.site-overlay__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: clamp(1rem, 2.5vh, 1.75rem);
  letter-spacing: -0.01em;
  cursor: default;
  transition: color 0.35s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.site-overlay__title:hover {
  color: var(--color-gold-lt);
  transform: translateY(-3px);
}

.site-overlay__message {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-muted);
  line-height: 1.75;
  max-width: min(90%, 700px);
  margin: 0 auto clamp(2rem, 5vh, 3.5rem);
  cursor: default;
  transition: color 0.35s ease;
}

.site-overlay__message:hover {
  color: var(--color-text);
}

/* Divider line above countdown */
.site-overlay__countdown {
  border-top: 1px solid var(--color-border);
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  margin-top: 0;
}
.site-overlay__countdown.hidden { display: none; }

.site-overlay__countdown-label {
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
}

.site-overlay__countdown-timer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.25rem, 1vw, 0.75rem);
}

.site-overlay__countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(3.5rem, 8vw, 6rem);
  cursor: default;
}

.site-overlay__countdown-unit span:first-child {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  transition: color 0.35s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-block;
}

.site-overlay__countdown-unit:hover span:first-child {
  color: var(--color-gold-lt);
  transform: translateY(-4px);
}

.site-overlay__countdown-unit small {
  font-size: clamp(0.6rem, 1vw, 0.72rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 0.45rem;
  transition: color 0.35s ease;
}

.site-overlay__countdown-unit:hover small {
  color: var(--color-gold);
}

.site-overlay__countdown-sep {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--color-gold);
  opacity: 0.45;
  align-self: flex-start;
  padding-top: 0.05em;
  line-height: 1;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  transition: background var(--transition), padding var(--transition), top 0.35s ease;
}

.nav.scrolled {
  background: rgba(15, 14, 13, 0.96);
  backdrop-filter: blur(10px);
  padding: 0.85rem 2rem;
  border-bottom: 1px solid var(--color-border);
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
}

.nav__logo img {
  height: 56px;
  width: auto;
  display: block;
  filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg) brightness(0.9);
}

.nav__links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--color-gold); }

.nav__cta {
  background: var(--color-gold);
  color: #0f0e0d !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav__cta:hover {
  background: var(--color-gold-lt) !important;
  color: #0f0e0d !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(8, 5, 3, 0.62), rgba(8, 5, 3, 0.62)),
    url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  overflow: hidden;
}

/* Decorative grain overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(15,14,13,0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
}

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

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero__title img {
  width: clamp(280px, 50vw, 560px);
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.5s ease;
  cursor: default;
}

.hero__title img:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 18px rgba(201, 168, 76, 0.55))
          drop-shadow(0 0 40px rgba(201, 168, 76, 0.2));
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(240, 236, 228, 0.75);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero__status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__status-badge--open {
  background: rgba(46, 204, 113, 0.15);
  color: #4ddb8a;
  border: 1px solid rgba(46, 204, 113, 0.35);
}
.hero__status-badge--open::before { content: '●'; margin-right: 0.4em; }
.hero__status-badge--closed {
  background: rgba(231, 76, 60, 0.12);
  color: #e87060;
  border: 1px solid rgba(231, 76, 60, 0.3);
}
.hero__status-badge--closed::before { content: '●'; margin-right: 0.4em; }
.hero__status-badge--soon {
  background: rgba(230, 162, 40, 0.15);
  color: #e6a228;
  border: 1px solid rgba(230, 162, 40, 0.35);
}
.hero__status-badge--soon::before { content: '●'; margin-right: 0.4em; }
.hero__status-badge--opening {
  background: rgba(52, 152, 219, 0.15);
  color: #5dade2;
  border: 1px solid rgba(52, 152, 219, 0.35);
}
.hero__status-badge--opening::before { content: '●'; margin-right: 0.4em; }
.hero__status-hours {
  font-size: 0.85rem;
  color: rgba(240, 236, 228, 0.55);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- About --- */
.about { background: var(--color-bg-alt); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text p {
  color: var(--color-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about__image-placeholder {
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.about__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* --- Menu --- */
.menu { background: var(--color-bg); }
.menu .container { text-align: center; }

.menu__tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.menu__tab {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: all var(--transition);
}

.menu__tab:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.menu__tab.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #0f0e0d;
  font-weight: 600;
}

.menu__panel { display: none; text-align: left; }
.menu__panel.active { display: block; }

.menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
}

.menu__item {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.menu__item:hover {
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.45),
              0 8px 32px rgba(201, 168, 76, 0.18),
              0 2px 10px rgba(0, 0, 0, 0.5);
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-3px);
}

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

.menu__item-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.menu__item--unavailable { pointer-events: none; }
.menu__item--unavailable .menu__item-info,
.menu__item--unavailable .menu__price {
  opacity: 0.3;
}
.menu__item--unavailable h3,
.menu__item--unavailable .menu__price {
  text-decoration: line-through;
  text-decoration-color: var(--color-muted);
}

.menu__unavailable-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 14, 13, 0.88);
  gap: 0.25rem;
  text-align: center;
  padding: 1rem;
}
.menu__unavailable-overlay span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}
.menu__unavailable-overlay small {
  font-size: 0.78rem;
  color: var(--color-muted);
  font-style: italic;
}

.menu__item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.menu__item p {
  font-size: 0.87rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.menu__price {
  flex-shrink: 0;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2px;
}

.menu__item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0 1.5rem 1rem;
}

.menu__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.45rem;
  border-radius: 3px;
}

.menu__tag--gf    { background: rgba(88,196,150,0.15); color: #6edbb0; }
.menu__tag--v     { background: rgba(88,196,88,0.15);  color: #6edb6e; }
.menu__tag--vg    { background: rgba(100,180,100,0.15);color: #78c878; }
.menu__tag--spicy { background: rgba(220,80,60,0.15);  color: #f0604a; }
.menu__tag--nuts  { background: rgba(200,150,60,0.15); color: #e0b050; }

/* --- Hours --- */
.hours { background: var(--color-bg-alt); }

.hours__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hours__table {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.hours__row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-border);
}
.hours__row:last-child { border-bottom: none; }
.hours__row:nth-child(odd) { background: var(--color-surface); }
.hours__row--today {
  background: rgba(201, 168, 76, 0.1) !important;
  border-left: 3px solid var(--color-gold);
  padding-left: calc(1.5rem - 3px);
  font-weight: 600;
  color: var(--color-gold-lt);
}

.hours__status-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.hours__status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hours__status-pill--open {
  background: rgba(46, 204, 113, 0.12);
  color: #4ddb8a;
  border: 1px solid rgba(46, 204, 113, 0.3);
}
.hours__status-pill--open::before { content: '●'; margin-right: 0.4em; }
.hours__status-pill--closed {
  background: rgba(231, 76, 60, 0.1);
  color: #e87060;
  border: 1px solid rgba(231, 76, 60, 0.25);
}
.hours__status-pill--closed::before { content: '●'; margin-right: 0.4em; }
.hours__status-pill--soon {
  background: rgba(230, 162, 40, 0.12);
  color: #e6a228;
  border: 1px solid rgba(230, 162, 40, 0.3);
}
.hours__status-pill--soon::before { content: '●'; margin-right: 0.4em; }
.hours__status-pill--opening {
  background: rgba(52, 152, 219, 0.12);
  color: #5dade2;
  border: 1px solid rgba(52, 152, 219, 0.3);
}
.hours__status-pill--opening::before { content: '●'; margin-right: 0.4em; }
#hoursStatusText {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hours__address {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.hours__map-embed {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}

/* --- Contact --- */
.contact { background: var(--color-bg); }

.contact__inner {
  max-width: 680px;
  text-align: center;
}

.contact__sub {
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

.contact__form {
  text-align: left;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form__group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

.form__group input,
.form__group select,
.form__group textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--color-gold);
}

.form__group select option { background: var(--color-surface); }
.form__group textarea { resize: vertical; }

.form__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  text-align: center;
}

/* Success message */
.form__success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--color-gold);
  font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0 1.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
  align-items: center;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-gold);
}

.footer__logo img {
  height: 140px;
  width: auto;
  display: block;
}

.footer__col-heading {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.footer__links,
.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a,
.footer__social a {
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: color var(--transition);
}
.footer__links a:hover,
.footer__social a:hover { color: var(--color-gold); }

.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav__links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 1.2rem;
    z-index: 99;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease;
  }
  .nav__links.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__toggle { display: flex; z-index: 101; }

  .about__grid,
  .hours__grid { grid-template-columns: 1fr; gap: 2rem; }

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

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

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

  .contact__form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .hero__title { font-size: 2.8rem; }
  .hero__actions { flex-direction: column; align-items: center; }
}

/* =============================================
   ANIMATIONS & TRANSITIONS
   ============================================= */

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  .hero__tagline, .hero__title, .hero__sub, .hero__actions { animation: none !important; opacity: 1 !important; transform: none !important; }
  .reveal { transition: none !important; }
  .menu__panel.active { animation: none !important; }
}

/* --- Hero entrance --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroFadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: none; }
}

.hero__tagline { animation: heroFadeDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s  both; }
.hero__title   { animation: heroFadeUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s  both; }
.hero__sub     { animation: heroFadeUp   0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both; }
.hero__actions { animation: heroFadeUp   0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both; }

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.from-left  { transform: translateX(-44px); }
.reveal.from-right { transform: translateX(44px); }
.reveal.from-scale { transform: translateY(16px) scale(0.95); }

.reveal.is-visible { opacity: 1; transform: none; }

.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }

/* --- Menu panel fade --- */
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.menu__panel.active { animation: panelIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* --- Nav: active section underline --- */
.nav__links a:not(.nav__cta) { position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:not(.nav__cta).active::after { transform: scaleX(1); }

/* --- Hamburger → X morph --- */
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   ABOUT PAGE
   ============================================= */

/* ── Page Hero ───────────────────────────────── */
.page-hero {
  background: var(--color-bg);
  padding: 10rem 0 5rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-hero .section__label { display: block; margin-bottom: 0.75rem; }
.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.page-hero__sub {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Overview Section ────────────────────────── */
.overview { background: var(--color-bg-alt); }
.overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.overview__text p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.overview__img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ── Team Section ────────────────────────────── */
.team { background: var(--color-bg); }
.team .section__title { text-align: center; }
.team .section__label { display: block; text-align: center; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.team__card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.team__card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
}
.team__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface);
}
.team__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.team__card:hover .team__img { transform: scale(1.04); }
.team__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 3rem;
}
.team__info { padding: 1.25rem 1.5rem 1.5rem; }
.team__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.team__role {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}
.team__blurb {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ── About Page Responsive ───────────────────── */
@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .overview__grid { grid-template-columns: 1fr; }
  .overview__img { height: 300px; }
}
@media (max-width: 480px) {
  .team__grid { grid-template-columns: 1fr; }
  .page-hero { padding: 8rem 0 4rem; }
}
