/* ---------- Offline Helvetica-equivalent font ---------- */
/* Liberation Sans is metric-compatible with Helvetica/Arial */
@font-face {
  font-family: "Helvetica";
  src: url("fonts/LiberationSans-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Helvetica";
  src: url("fonts/LiberationSans-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  font-family: "Helvetica", Arial, sans-serif;
  color: #ffffff;
  background: #0a0604;
  -webkit-font-smoothing: antialiased;
  line-height: 1.3;
}

/* ---------- Page: full viewport, real party photo ---------- */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;          /* small viewport: visible area WITH address bar */
  background:
    linear-gradient(180deg, rgba(10,6,4,0.15) 0%, rgba(10,6,4,0.55) 45%, rgba(8,5,3,0.95) 100%),
    url("images/party-bg.jpg") center top / cover no-repeat,
    #0a0604;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- Hero: everything centred to fit one screen ---------- */
.hero {
  width: 100%;
  max-width: 1100px;
  min-height: 100svh;
  padding: clamp(16px, 2.5vh, 40px) clamp(20px, 4vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vh, 32px);
}

/* Real wordmark logo — horizontal on desktop, sized big but height-capped */
.logo { display: block; max-width: 100%; }
.logo img {
  display: block;
  width: min(900px, 92%);
  max-height: 34vh;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.45));
}

/* ---------- Event list: side by side ---------- */
.events {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 64px);
  width: 100%;
}
.event {
  flex: 1 1 300px;
  max-width: 460px;
  background: rgba(15, 8, 5, 0.42);
  border: 1px solid rgba(255, 180, 90, 0.18);
  border-radius: 14px;
  padding: clamp(16px, 2.4vh, 32px) clamp(18px, 2.6vw, 34px);
  backdrop-filter: blur(2px);
}
.event-tag {
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 20px);
  letter-spacing: 0.12em;
  margin-bottom: clamp(8px, 1.2vh, 14px);
  color: #ffd9a8;
}
.event-date {
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 40px);
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.event-detail {
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 23px);
  margin-top: clamp(4px, 0.8vh, 8px);
  color: #f0e6dc;
}
.event-dj {
  font-size: clamp(15px, 1.5vw, 21px);
  margin-top: clamp(4px, 0.8vh, 8px);
  color: #ffd9a8;
}
.event-dj a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
.event-dj a:hover { color: #ffb255; border-color: #ffb255; }
.event-poster {
  display: inline-block;
  margin-top: clamp(12px, 1.8vh, 20px);
  font-size: clamp(13px, 1.3vw, 16px);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  padding: 8px 20px;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.event-poster:hover {
  color: #ffb255; border-color: #ffb255; background: rgba(255,178,85,0.08);
}

/* ---------- Location (Google Maps) ---------- */
.location {
  font-size: clamp(16px, 1.7vw, 23px);
  color: #f4ece4;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 3px;
  transition: color .15s ease, border-color .15s ease;
}
.location:hover { color: #ffb255; border-color: #ffb255; }

/* ---------- Instagram: prominent call-to-action ---------- */
.instagram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 22px);
  color: #ffffff;
  padding: clamp(11px, 1.6vh, 16px) clamp(22px, 2.6vw, 34px);
  border-radius: 999px;
  background: linear-gradient(95deg, #feda75, #fa7e1e 28%, #d62976 58%, #962fbf 80%, #4f5bd5);
  box-shadow: 0 8px 26px rgba(214, 41, 118, 0.45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(214, 41, 118, 0.6);
}
.ig-icon {
  width: clamp(22px, 2.2vw, 28px);
  height: clamp(22px, 2.2vw, 28px);
  fill: #ffffff;
  flex: 0 0 auto;
}

/* ---------- Secondary links ---------- */
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}
.links a {
  color: #e9ded4;
  text-decoration: none;
  font-size: clamp(14px, 1.4vw, 18px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.links a:hover { color: #ffb255; border-color: #ffb255; }

/* ---------- Mobile / short screens: stack but still fit ---------- */
@media (max-width: 760px) {
  .events { flex-direction: column; align-items: center; gap: 12px; }
  .event { flex: 1 1 auto; width: 100%; max-width: 420px;
           padding: 14px 22px; }
  .event-poster { margin-top: 10px; }
  .logo img { width: min(86vw, 460px); max-height: 30vh; }
  .hero { gap: 14px; justify-content: center; }
}

/* Short portrait phones — fit even while the browser address bar is visible */
@media (max-width: 760px) and (max-height: 740px) {
  .hero { gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .logo img { max-height: 22vh; }
  .event { padding: 11px 20px; }
  .event-tag { margin-bottom: 6px; font-size: 13px; }
  .event-date { font-size: 23px; }
  .event-detail { font-size: 15px; margin-top: 3px; }
  .event-dj { font-size: 14px; margin-top: 3px; }
  .event-poster { margin-top: 8px; padding: 6px 16px; font-size: 13px; }
  .events { gap: 10px; }
  .instagram { padding: 11px 24px; }
}

/* very short landscape phones */
@media (max-height: 520px) {
  .logo img { max-height: 26vh; width: auto; }
  .event-poster { margin-top: 8px; padding: 6px 16px; }
}
