/* ═══════════════════════════════════════════
   Warren Tavern — style.css
   ═══════════════════════════════════════════ */

/* ─── Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Tokens ─── */
:root {
  --navy:     #1A2238;
  --brown:    #4A3520;
  --gold:     #C8A951;
  --gold-lt:  #E8CA72;
  --parchment:#FAF7F2;
  --cream:    #F5EFE4;
  --text:     #2B2B2B;
  --muted:    #6B6B6B;
  --border:   #DDD3C0;
}

/* ─── Reset / Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--parchment);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}

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

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

/* ─── Section helpers ─── */
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title.light { color: #fff; }
.section-eyebrow.light { color: var(--gold-lt); }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 0 0 2rem;
}
.divider.center { margin: 0 auto 2rem; }

/* ═══ NAVBAR ═══════════════════════════════ */
.wt-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.wt-nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
  padding: 0.55rem 0;
}

.wt-nav .navbar-brand img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: height 0.3s;
}
.wt-nav.scrolled .navbar-brand img { height: 38px; }

.wt-nav .navbar-toggler {
  border-color: rgba(255,255,255,0.4);
  padding: 0.25rem 0.5rem;
}
.wt-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.wt-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem !important;
  transition: color 0.2s;
}
.wt-nav .nav-link:hover { color: var(--gold) !important; }

.wt-nav .nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: 4px;
  padding: 0.45rem 1.1rem !important;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.wt-nav .nav-cta:hover {
  background: var(--gold-lt);
  color: var(--navy) !important;
  transform: translateY(-1px);
}

/* ═══ HERO ══════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/exterior.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.45);
  transform: scale(1.03);
  transition: transform 8s ease-out;
}
#hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(26,34,56,0.75) 0%,
    rgba(74,53,32,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
}

.hero-year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.8rem;
  letter-spacing: 0.02em;
}

.hero-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.2rem;
  max-width: 480px;
  line-height: 1.7;
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-gold {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline-gold:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.hero-badge svg { color: var(--gold); }

/* ═══ ABOUT ══════════════════════════════════ */
#about {
  background: var(--parchment);
  padding: 6rem 0;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: 4px;
  width: 100%;
  height: 440px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.about-badge .badge-year {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.about-badge .badge-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

.about-body { padding-left: 1rem; }

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ═══ MENU ═══════════════════════════════════ */
#menu {
  background: var(--navy);
  padding: 6rem 0;
}

.menu-tabs .nav-link {
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.6rem 1.4rem;
  transition: color 0.2s;
}
.menu-tabs .nav-link:hover { color: #fff; }
.menu-tabs .nav-link.active {
  color: var(--gold);
  background: transparent;
  border-bottom-color: var(--gold);
}

.menu-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(200,169,81,0.3);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.menu-item:last-child { border-bottom: none; }

.menu-item-left { flex: 1; }
.menu-item-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}
.menu-item-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin-top: 0.1rem;
  line-height: 1.4;
}

.menu-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-section { margin-bottom: 2rem; }

/* ═══ GALLERY ════════════════════════════════ */
#gallery {
  background: var(--cream);
  padding: 6rem 0;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,34,56,0.85));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.5rem 0.75rem 0.6rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-item-label { transform: translateY(0); }

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
}

/* ═══ INTERIOR FEATURE ═══════════════════════ */
#interior-feature {
  padding: 6rem 0;
  background: var(--parchment);
}

.feature-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

.feature-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ═══ LOCATION ═══════════════════════════════ */
#location {
  background: var(--navy);
  padding: 6rem 0;
}

.hours-table { width: 100%; }
.hours-table td {
  padding: 0.45rem 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hours-table td:first-child { font-weight: 600; padding-right: 1rem; }
.hours-table td:last-child { text-align: right; color: var(--gold-lt); }
.hours-table tr:last-child td { border-bottom: none; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}
.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(200,169,81,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-text { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.5; }
.contact-text strong { color: #fff; display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }

.map-wrap {
  border-radius: 4px;
  overflow: hidden;
  height: 380px;
  border: 2px solid rgba(200,169,81,0.3);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) contrast(1.05);
}

.location-cta-strip {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ═══ FOOTER ══════════════════════════════════ */
footer.wt-footer {
  background: #0D1320;
  padding: 3rem 0 1.5rem;
}

.footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-tagline {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.social-icons {
  display: flex;
  gap: 0.75rem;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}
.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

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

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}
.powered-by:hover { color: var(--gold); }
.powered-by span { color: var(--gold); font-weight: 700; }

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .about-badge { right: 0; bottom: -1rem; }
  .about-body { padding-left: 0; padding-top: 3rem; }
}

@media (max-width: 767px) {
  #about, #menu, #gallery, #interior-feature, #location { padding: 4rem 0; }
  .about-img-wrap img { height: 300px; }
  .feature-img { height: 300px; }
  .map-wrap { height: 280px; }
  .hero-badges { gap: 1rem; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
}

@media (max-width: 480px) {
  .location-cta-strip { flex-direction: column; }
  .btn-gold, .btn-outline-gold { text-align: center; display: block; width: 100%; }
}
