:root {
  --bg: #0b0c12;
  --bg-2: #12141d;
  --bg-3: #1a1d2a;
  --card: #171a25;
  --card-2: #1e2230;
  --border: #2a2f3f;
  --text: #ece7d8;
  --text-dim: #b6b1a3;
  --text-faint: #857f72;
  --accent: #f0a13a;   /* amber / beer */
  --accent-2: #e0812a;
  --gold: #e6c37a;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--accent); }

/* ===== Hero / header ===== */
.hero {
  position: relative;
  height: 82vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,12,18,.55) 0%, rgba(11,12,18,.25) 40%, rgba(11,12,18,.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: 0 4px 24px rgba(0,0,0,.8);
}
.hero-subtitle {
  margin-top: .4rem;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.btn {
  display: inline-block;
  margin-top: 1.6rem;
  padding: .8rem 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1106;
  font-weight: 700;
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(224,129,42,.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(224,129,42,.55); color: #1a1106; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(11,12,18,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar.scrolled { background: rgba(11,12,18,.94); }
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: .7rem 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--text); }
.brand:hover { color: var(--accent); }
.brand-logo { height: 30px; width: 30px; object-fit: contain; filter: invert(1); }
.nav-links { list-style: none; display: flex; gap: 1.4rem; }
.nav-links a { color: var(--text-dim); font-weight: 500; font-size: .98rem; transition: color .15s; }
.nav-links a:hover { color: var(--accent); }

/* ===== Sections ===== */
.section { max-width: 1180px; margin: 0 auto; padding: 4.5rem 20px 1rem; }
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .5rem;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}
.section-note { color: var(--text-faint); margin-bottom: 1.4rem; }

/* ===== About ===== */
.about-card {
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow);
}
.about-card p { margin-bottom: 1rem; color: var(--text-dim); font-size: 1.06rem; }
.about-card p:last-child { margin-bottom: 0; }

/* ===== Tabs ===== */
.tabs { display: flex; gap: .6rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.tab {
  cursor: pointer;
  padding: .6rem 1.4rem;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 600;
  transition: all .15s ease;
}
.tab:hover { border-color: var(--accent); color: var(--text); }
.tab.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a1106; border-color: transparent; }

/* ===== Beer cards ===== */
.beers-container { display: flex; flex-direction: column; gap: 2.4rem; }
.style-group h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.style-group h3 .count {
  font-size: .8rem;
  color: var(--text-faint);
  font-weight: 400;
}
.beer-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.4rem;
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: border-color .15s ease, transform .15s ease;
}
.beer-card:hover { border-color: #3a4156; transform: translateY(-2px); }
.beer-photo {
  width: 150px; height: 150px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.beer-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.beer-photo .placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .4rem;
  color: var(--accent);
  font-size: 2.4rem;
  text-align: center;
  padding: .4rem;
}
.beer-photo .placeholder small { color: var(--text-faint); font-size: .72rem; line-height: 1.2; }

.beer-info { display: flex; flex-direction: column; }
.beer-info h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: .2rem; }
.beer-style { color: var(--accent); font-size: .9rem; margin-bottom: .7rem; }
.beer-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .4rem 1.2rem;
  margin-bottom: .8rem;
}
.beer-meta .m { font-size: .92rem; color: var(--text-dim); }
.beer-meta .m b { color: var(--text); font-weight: 600; }
.beer-meta .m span { color: var(--text-faint); }
.beer-desc { color: var(--text-dim); font-size: .97rem; }

/* ===== Carousel ===== */
.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  background: #000;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .6s ease;
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11,12,18,.55);
  color: #fff;
  border: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.carousel-arrow:hover { background: rgba(240,161,58,.85); color: #1a1106; }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  display: flex; justify-content: center; gap: .5rem;
}
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  border: none;
  transition: background .2s, transform .2s;
}
.carousel-dot.active { background: var(--accent); transform: scale(1.3); }

/* ===== Contacts ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.5rem;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin: 1rem 0 .3rem;
}
.contact-card h3:first-child { margin-top: 0; }
.contact-card p { color: var(--text-dim); font-size: 1.02rem; }
.contact-card a { font-weight: 700; }
.map-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
  background: var(--bg-3);
}
.map-frame { display: block; border: 0; min-height: 360px; filter: invert(0.92) hue-rotate(180deg) saturate(0.6) brightness(0.92); }

/* ===== Footer ===== */
.footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  text-align: center;
  padding: 1.6rem 20px;
  color: var(--text-faint);
  font-size: .9rem;
}

@media (max-width: 720px) {
  .nav-links { gap: .9rem; }
  .nav-links a { font-size: .88rem; }
  .beer-card { grid-template-columns: 1fr; }
  .beer-photo { width: 100%; height: 200px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 320px; }
}

/* ===== Age gate ===== */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 6, 10, .95);
  backdrop-filter: blur(6px);
}
.age-gate.hidden { display: none; }
.age-gate-box {
  max-width: 460px;
  width: 100%;
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 18px;
  padding: 2.4rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.age-gate-emoji { font-size: 3rem; margin-bottom: .5rem; }
.age-gate-title { font-size: 1.5rem; font-weight: 800; margin-bottom: .4rem; }
.age-gate-note { color: var(--text-faint); font-size: .9rem; margin-bottom: 1.6rem; }
.age-gate-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.age-gate-actions .btn { margin-top: 0; }
.age-no {
  padding: .8rem 2.2rem;
  border-radius: 40px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s ease;
}
.age-no:hover { border-color: #c0504a; color: #e58a82; }

/* ===== Denied page ===== */
.deny-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.deny { text-align: center; max-width: 640px; }
.deny-emoji { font-size: 4rem; margin-bottom: 1.2rem; }
.deny h1 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; line-height: 1.45; color: var(--text); }
