:root {
  --bg: #3B0F12;
  --fg: #F8F6F2;
  --beige: #EDE6D9;
  --muted: rgba(255,255,255,0.65);
  --card: #2A0B0D;
  --header-h: 72px; /* added for hero alignment */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; border-radius: 16px; }

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(0deg, transparent, rgba(0,0,0,.45));
  backdrop-filter: saturate(1.2) blur(8px);
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 800;
  letter-spacing: .12em;
}

.brand img {
  width: 40px; /* slightly larger logo */
  height: 40px;
  object-fit: contain;
  border-radius: 0;
}

nav { display: flex; gap: 18px; }
nav a {
  color: var(--beige);
  text-decoration: none;
  font-weight: 600;
  opacity: .9;
}
nav a:hover { opacity: 1; text-decoration: underline; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--beige);
  color: var(--beige);
  padding: 6px 10px;
  border-radius: 10px;
}

/* --- HERO SECTION: perfectly centered --- */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 0 40px;
  background: radial-gradient(1200px 400px at 80% -100px, #5a1a1e, transparent) no-repeat;
  text-align: center;
}

.hero-inner {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
}

.hero-logo img {
  width: 320px;
  height: auto;
  display: block;
  margin: 0 auto 18px;
  border-radius: 0;
}

.hero p {
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  justify-content: center;
}

/* --- Buttons --- */
.btn {
  appearance: none;
  border: none;
  background: var(--beige);
  color: #1b0a1b;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--beige);
  color: var(--beige);
}
.btn-disabled {
  background: #6b5b53;
  color: #2a211d;
  cursor: not-allowed;
  border: 0;
}

/* --- Sections & Layout --- */
.section { padding: 60px 0; }
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 20px;
  color: var(--beige);
}

.event-card {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 20px;
  background: var(--card);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  align-items: start;
}

/* ✅ DESKTOP: make the popup/event image smaller (laptop only) */
@media (min-width: 901px) {
  .event-card { align-items: center; }

  /* Target the big image inside the event/popup card */
  .event-card > img,
  .event-card img,
  .hero .event-card img {
    max-width: 320px !important; /* smaller than before */
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }
}

.event-copy h3 { margin-top: 0; font-size: 24px; }
.event-date, .event-loc { font-weight: 700; color: var(--beige); }

.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.menu h3 { margin: 20px 0 8px; color: var(--beige); }
.menu ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.08); }
.menu li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
}

/* ==== SHOP LAYOUT (centered, equal columns) ==== */
.shop-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap:24px;
  align-items:stretch;
  justify-content:center;
}

.product{
  background:var(--card);
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  height:100%;
  text-align:center; /* optional: center text below logo */
}

/* ▼▼ CHANGED: smaller, centered, crisp logos ▼▼ */
.product img{
  display:block;
  margin:0 auto 12px;   /* center horizontally */
  width:65%;            /* responsive smaller size */
  max-width:220px;      /* don’t grow too large on desktop */
  height:auto;          /* keep natural ratio */
  object-fit:contain;   /* never crop the logo */
  image-rendering:-webkit-optimize-contrast; /* sharper on Safari */
  border-radius:0;      /* logos usually square/flat edges */
}
/* ▲▲ CHANGED ▲▲ */

.product h3{ margin:12px 0 6px; }
.product p{ margin:0 0 12px; color:var(--muted); }
.product .btn{ margin-top:auto; align-self:center; } /* button sits nicely under logo/text */

.social-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.card {
  background: var(--card);
  padding: 18px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--fg);
  border: 1px solid rgba(255,255,255,.08);
}
.card:hover { transform: translateY(-2px); }

.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.small { color: var(--muted); }

/* --- Menu image and note --- */
.menu-img {
  margin-top: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}
.menu-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 8px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .event-card { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  nav { display: none; }
  .nav-toggle { display: block; }
  .social-grid { grid-template-columns: 1fr; }
}

/* About page */
.about-card { padding: 22px; }
.lead { max-width: 70ch; font-size: 1.05rem; color: var(--muted); }

.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

/* Optional: founders sentence spans full width above names */
.founders-sub {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  color: var(--muted);
}

.founder {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px 16px;
  font-weight: 700;
}
.founder.left { text-align: left; }
.founder.right { text-align: right; }

@media (max-width: 640px) {
  .founders { grid-template-columns: 1fr; }
  .founder.right { text-align: left; }
}
