/*
Theme Name: West End PB
Description: One-page site for West End PB — neighborhood dive & sports bar, Pacific Beach, San Diego. Sign-at-sunset design: black wood, sign yellow, cream, coral, dusk blue.
Version: 1.0.0
Text Domain: west-end-pb
*/

/* ============================================================
   West End PB — design tokens
   ============================================================ */
:root {
  --wood: #120f0c;
  --wood-mid: #25211b;
  --cream: #f4eee0;
  --amber: #f2d935;
  --pink: #fc7756;
  --teal: #5497d9;
  --cream-70: rgba(244, 238, 224, 0.72);
  --cream-40: rgba(244, 238, 224, 0.4);
  --cream-15: rgba(244, 238, 224, 0.15);
  --wood-10: rgba(18, 15, 12, 0.1);
  --font-display: "Oswald", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;
  --font-body: "Karla", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--cream-15); }

html { scroll-behavior: smooth; }

body {
  background: var(--wood);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Typography helpers */
.font-display { font-family: var(--font-display); }
.font-hand { font-family: var(--font-hand); }

.kicker {
  font-family: var(--font-hand);
  font-size: clamp(1.6rem, 3vw, 1.9rem);
  transform: rotate(-1.5deg);
  display: inline-block;
}
.kicker-pink { color: var(--pink); text-shadow: 0 0 8px rgba(252, 119, 86, 0.55), 0 0 22px rgba(252, 119, 86, 0.3); }
.kicker-amber { color: var(--amber); text-shadow: 0 0 8px rgba(242, 217, 53, 0.55), 0 0 20px rgba(242, 217, 53, 0.28); }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(2.6rem, 6vw, 3.75rem);
}

.section-sub { max-width: 38ch; font-size: 1rem; }

/* Buttons */
.btn {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--wood); box-shadow: inset 0 0 0 1px var(--amber); }
.btn-outline { color: var(--cream); box-shadow: inset 0 0 0 1px var(--cream-40); padding-inline: 1.5rem; font-weight: 500; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--wood);
}
.grain {
  background-image:
    radial-gradient(120% 80% at 50% 0%, rgba(252, 119, 86, 0.22) 0%, transparent 60%),
    radial-gradient(90% 70% at 85% 10%, rgba(242, 217, 53, 0.12) 0%, transparent 65%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.glow-pink { top: -6rem; left: -4rem; width: 18rem; height: 18rem; background: rgba(252, 119, 86, 0.25); }
.glow-amber { top: -4rem; right: -2.5rem; width: 18rem; height: 18rem; background: rgba(242, 217, 53, 0.15); }
.glow-teal { bottom: 0; left: 33%; width: 16rem; height: 16rem; background: rgba(84, 151, 217, 0.15); }

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-top: clamp(4rem, 10vw, 7rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}
@media (min-width: 64rem) {
  .hero-inner { flex-direction: row; align-items: center; }
  .hero-copy { width: 58%; }
  .hero-media-wrap { width: 42%; }
}

.hero-kicker { font-size: clamp(1.7rem, 3vw, 1.9rem); transform: rotate(-2deg); }

.hero-title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.95;
  font-size: clamp(3.5rem, 9vw, 6.5rem);
}
.hero-title .overline {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.3em;
  color: var(--cream-70);
}
.hero-title .yellow { color: var(--amber); }

.hero-blurb { margin-top: 1.5rem; max-width: 42ch; color: var(--cream-70); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--wood-mid);
  box-shadow: inset 0 0 0 1px var(--cream-15);
}
.hero-media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: rgba(244, 238, 224, 0.6);
}

/* ============================================================
   HOURS STRIP
   ============================================================ */
.strip-amber { background: var(--amber); color: var(--wood); }
.strip-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 64rem) {
  .strip-inner { flex-direction: row; align-items: center; }
  .hours-col { width: 55%; }
  .late-col { width: 45%; }
}

.hours-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 40rem) { .hours-grid { grid-template-columns: repeat(3, 1fr); } }

.hours-card {
  background: rgba(244, 238, 224, 0.7);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: inset 0 0 0 1px var(--wood-10);
}
.hours-card .days {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}
.hours-card .time { font-weight: 600; font-size: 1.125rem; margin-top: 0.25rem; }

.late-card {
  background: var(--wood);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: inset 0 0 0 1px var(--wood-10);
}
.late-card .hand { font-family: var(--font-hand); font-size: 1.5rem; color: var(--amber); text-shadow: 0 0 8px rgba(242, 217, 53, 0.55), 0 0 20px rgba(242, 217, 53, 0.28); }
.late-time { margin-top: 0.75rem; display: flex; align-items: flex-end; gap: 0.75rem; }
.late-time .big { font-family: var(--font-display); font-weight: 600; font-size: 3rem; line-height: 1; text-transform: uppercase; }
.late-time .big .pink { color: var(--pink); }
.late-time .small { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; text-transform: uppercase; color: var(--cream-70); }
.late-note { margin-top: 0.75rem; font-size: 0.875rem; color: var(--cream-70); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section-cream { background: var(--cream); color: var(--wood); }
.section-wood { background: var(--wood); color: var(--cream); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 64rem) {
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.section-cream .section-sub { color: rgba(18, 15, 12, 0.7); }
.section-wood .section-sub { color: var(--cream-70); }

.cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 40rem) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
}

.card-wood {
  background: var(--wood);
  color: var(--cream);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: inset 0 0 0 1px var(--wood-10);
}
.card-wood .title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: 1.5rem;
}
.card-wood .note { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(244, 238, 224, 0.7); }

.event-card {
  background: var(--wood-mid);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(244, 238, 224, 0.1);
}
.badge {
  font-family: var(--font-display);
  display: inline-block;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wood);
}
.badge-amber { background: var(--amber); }
.badge-teal { background: var(--teal); }
.event-card .title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: 1.5rem;
}
.event-card .note { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(244, 238, 224, 0.7); }

/* ============================================================
   OUR HISTORY
   ============================================================ */
.history-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
@media (min-width: 64rem) { .history-grid { grid-template-columns: repeat(2, 1fr); } }

.history-img {
  min-height: 20rem;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(244, 238, 224, 0.15);
}

.history-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
  color: var(--wood);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: inset 0 0 0 1px var(--wood-10);
}
.history-card .h2 { margin-top: 0; font-size: clamp(2.2rem, 4vw, 3rem); }
.history-text {
  margin-top: 1.25rem;
  line-height: 1.7;
  color: rgba(34, 26, 20, 0.85);
}

/* ============================================================
   LOCATION + FOOTER
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
@media (min-width: 64rem) { .location-grid { grid-template-columns: repeat(2, 1fr); } }

.location-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--wood);
  color: var(--cream);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: inset 0 0 0 1px var(--wood-10);
}
.location-card .h2 { margin-top: 0.25rem; font-size: clamp(2.2rem, 4vw, 3rem); }
.location-lines { margin-top: 1.5rem; color: rgba(244, 238, 224, 0.8); }
.location-lines + .location-lines { margin-top: 1.5rem; }
.location-lines a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-underline-offset: 4px;
}
.location-lines a:hover { color: var(--cream); }
.location-card .btn { margin-top: 2rem; align-self: flex-start; }

.location-img {
  min-height: 20rem;
  width: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
}

.footer-row {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--wood-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 40rem) { .footer-row { flex-direction: row; } }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.125rem;
}
.footer-fine { font-size: 0.875rem; color: rgba(18, 15, 12, 0.6); }

/* Shield logo */
.hero-shield {
  width: clamp(5rem, 9vw, 7rem);
  height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}
.footer-shield { width: 3.25rem; height: auto; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }

.section-pad { padding-top: 5rem; padding-bottom: 5rem; }
