/* ==========================================================================
   Bull & Bush Pub — Design tokens
   Palette ricavata dal logo storico: nero, oro/ottone, rosso, verde bottiglia
   ========================================================================== */
:root {
  --black: #0e0c0a;
  --near-black: #17130f;
  --wood: #2a1c12;
  --wood-light: #4a3320;
  --gold: #d9a635;
  --gold-light: #f0c766;
  --red: #a9291c;
  --red-dark: #7c1d14;
  --bottle-green: #14352a;
  --cream: #f4ecda;
  --cream-dim: #cfc3a5;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --radius: 4px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--near-black);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 .5em;
  line-height: 1.15;
  color: var(--near-black);
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--red);
  margin-bottom: .6em;
}

.section-dark .eyebrow { color: var(--gold); }

.section-lead {
  max-width: 640px;
  color: #4a4238;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.section-dark .section-lead { color: var(--cream-dim); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .85em 1.7em;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }

.btn-primary {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244,236,218,.55);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline {
  background: transparent;
  color: var(--near-black);
  border-color: var(--near-black);
}
.btn-outline:hover { background: var(--near-black); color: var(--cream); }

.section-dark .btn-outline { color: var(--cream); border-color: rgba(244,236,218,.5); }
.section-dark .btn-outline:hover { background: var(--cream); color: var(--near-black); border-color: var(--cream); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 12, 10, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(217, 166, 53, .25);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-logo {
  height: 56px;
  width: auto;
  border-radius: 3px;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--cream-dim);
  font-weight: 500;
  font-size: 1.05rem;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--gold); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-phone {
  color: var(--cream-dim);
  font-size: .9rem;
  font-weight: 500;
}
.header-phone:hover { color: var(--gold); }

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
  min-height: 44px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: .5em 1em;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.whatsapp-btn:hover {
  background: #1ebe5b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,211,102,.4);
}
.whatsapp-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Selettore lingua */
.lang-switch { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  background: transparent;
  border: 1px solid rgba(217,166,53,.35);
  color: var(--cream-dim);
  padding: .5em .8em;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.lang-current .caret { width: 9px; height: 9px; transition: transform .2s ease; }

/* Bandierine: icone CSS/SVG invece di emoji (le emoji bandiera non si vedono su Windows) */
.flag {
  display: inline-block;
  width: 19px;
  height: 13px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2);
  vertical-align: middle;
  flex-shrink: 0;
}
.lang-option .flag { width: 22px; height: 15px; }
.flag-it { background-image: linear-gradient(90deg, #009246 0 33.34%, #fff 33.34% 66.66%, #ce2b37 66.66% 100%); }
.flag-de { background-image: linear-gradient(180deg, #000 0 33.34%, #DD0000 33.34% 66.66%, #FFCE00 66.66% 100%); }
.flag-gb { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'><rect width='60' height='30' fill='%2300247d'/><path d='M0,0L60,30M60,0L0,30' stroke='%23fff' stroke-width='6'/><path d='M0,0L60,30M60,0L0,30' stroke='%23cf142b' stroke-width='2'/><path d='M30,0V30M0,15H60' stroke='%23fff' stroke-width='10'/><path d='M30,0V30M0,15H60' stroke='%23cf142b' stroke-width='6'/></svg>"); }
.lang-current:hover, .lang-switch.open .lang-current { border-color: var(--gold); color: var(--gold); }
.lang-switch.open .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--near-black);
  border: 1px solid rgba(217,166,53,.25);
  border-radius: 8px;
  padding: 6px;
  min-width: 150px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
  z-index: 200;
}
.lang-switch.open .lang-menu { display: flex; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: .55em .7em;
  border-radius: 5px;
  color: var(--cream-dim);
  font-size: .88rem;
  font-weight: 500;
}
.lang-option:hover { background: rgba(217,166,53,.12); color: var(--gold); }
.lang-option .flag { font-size: 1.1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gold);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,12,10,.55) 0%, rgba(14,12,10,.55) 40%, rgba(14,12,10,.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--cream);
  padding: 0 24px 90px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.badge-1967 {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .75rem;
  padding: .4em 1em;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--cream);
  text-shadow: 0 4px 24px rgba(0,0,0,.5);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--cream-dim);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--gold);
  font-size: 1.4rem;
  animation: bob 2s infinite ease-in-out;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 96px 0;
}
.section-dark {
  background: var(--black);
  color: var(--cream);
}
.section-dark h2, .section-dark h3 { color: var(--cream); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-reverse .split-text { order: 2; }
.split-reverse .split-media { order: 1; }

.split-text p { color: var(--cream-dim); margin-bottom: 1.1em; }
.section:not(.section-dark) .split-text p { color: #4a4238; }

.split-media {
  position: relative;
}
.split-media img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.split-media-secondary {
  position: absolute;
  width: 46%;
  bottom: -36px;
  right: -30px;
  border: 5px solid var(--black);
}

.link-arrow {
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-top: .5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1.3rem;
}
.contact-list li { color: var(--cream-dim); }
.contact-list a { color: var(--gold); }
.contact-list a:hover { text-decoration: underline; }
.muted { color: rgba(207,195,165,.65); font-size: .92rem; }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.split-media iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(.2) contrast(1.05);
}

/* Menu — "polaroid" scatter, giocoso e volutamente non esaustivo */
.food-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 4px;
  padding: 20px 0 12px;
}
.polaroid {
  margin: 14px 10px;
  width: 190px;
  background: #fff;
  padding: 10px 10px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  border-radius: 2px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.polaroid:hover {
  transform: translateY(-6px) rotate(0deg) !important;
  box-shadow: 0 16px 30px rgba(0,0,0,.28);
  z-index: 2;
}
.polaroid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.polaroid figcaption {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--near-black);
  padding-top: 10px;
}
.p1 { transform: rotate(-4deg); }
.p2 { transform: rotate(3deg); }
.p3 { transform: rotate(-2deg); }
.p4 { transform: rotate(4deg); }
.p5 { transform: rotate(-3deg); }
.p6 { transform: rotate(2deg); }
.p7 { transform: rotate(-3deg); }
.p8 { transform: rotate(3deg); }
.p9 { transform: rotate(-2deg); }

.menu-outro {
  text-align: center;
  max-width: 520px;
  margin: 1.5rem auto 0;
  color: #4a4238;
  font-size: 1.02rem;
}
.menu-outro a { color: var(--red); font-weight: 700; border-bottom: 2px solid var(--red); }

/* Eventi */
.eventi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.evento-card {
  background: var(--near-black);
  border: 1px solid rgba(217,166,53,.18);
  border-radius: var(--radius);
  overflow: hidden;
}
.evento-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.evento-body { padding: 22px; }
.evento-body h3 { font-size: 1.2rem; margin-bottom: .4em; color: var(--gold-light); }
.evento-body p { color: var(--cream-dim); font-size: .95rem; margin: 0; }
.eventi-cta { margin-top: 2.5rem; text-align: center; }

/* Galleria */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 12px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-grid img:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid img:nth-child(6) { grid-column: span 2; }

/* ==========================================================================
   Pagina Eventi
   ========================================================================== */
.hero-sm {
  min-height: 56vh;
  min-height: 56svh;
  align-items: center;
}
.hero-sm .hero-content { padding-bottom: 0; text-align: center; margin: 0 auto; }
.hero-sm .hero-sub { margin-left: auto; margin-right: auto; }

/* A. Sport grid */
.sport-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sport-tile {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black);
}
.sport-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sport-tile.sport-badge {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.sport-tile.sport-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* B. Tag chips (musica) */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}
.tag {
  border: 1px solid rgba(217,166,53,.4);
  color: var(--gold-light);
  padding: .5em 1em;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
}

/* C. Vibe cards (altri giochi) */
.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vibe-card {
  text-align: center;
  padding: 34px 22px;
  border: 1px solid #e3d8bd;
  border-radius: var(--radius);
  background: #fff;
}
.vibe-icon {
  width: 52px;
  height: 52px;
  color: var(--red);
  margin-bottom: 1rem;
}
.vibe-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.vibe-card p { color: #4a4238; font-size: .93rem; margin: 0; }

/* CTA banner */
.cta-banner {
  background: var(--wood);
  padding: 64px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--cream); margin-bottom: .3em; font-size: 1.7rem; }
.cta-banner p { color: var(--cream-dim); margin: 0; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .sport-grid { grid-template-columns: repeat(2, 1fr); }
  .vibe-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { text-align: center; justify-content: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--wood);
  color: var(--cream-dim);
  padding-top: 56px;
}
.footer-inner {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(217,166,53,.2);
}
.footer-logo {
  height: 70px;
  width: auto;
  border-radius: 4px;
}
.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-cols h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .8em;
}
.footer-cols a:hover { color: var(--gold); }
.footer-cols p { margin: 0; }

.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(217,166,53,.3);
  color: var(--cream-dim);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.social-icons a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(217,166,53,.1);
}
.social-icons svg { width: 18px; height: 18px; }

.footer-bottom {
  text-align: center;
  padding: 22px 24px;
  font-size: .85rem;
  color: rgba(207,195,165,.55);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .whatsapp-btn span { display: none; }
  .whatsapp-btn { width: 44px; padding: 0; }
  .lang-current .lang-code, .lang-current .caret { display: none; }
  .lang-current { width: 44px; padding: 0; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .split-text, .split-reverse .split-media { order: unset; }
  .eventi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .split-media-secondary { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero-content { padding-bottom: 60px; }
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
  .polaroid { width: calc(50% - 6px); margin: 8px 0; }
}

/* Mobile nav (open state) */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--near-black);
  padding: 20px 24px;
  gap: 16px;
  border-bottom: 1px solid rgba(217,166,53,.25);
}
