/* ==========================================================================
   FLIP UP PRODUCTIONS — Style Sheet
   Light theme · Sky blue & golden yellow from brand logo
   ========================================================================== */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────────────────── */
:root {
  --bg-base: #faf8f4;
  --bg-surface: #f0ede6;
  --bg-raised: #ffffff;
  --bg-hero: #1a1a1a;

  --text-primary: #1a1a1a;
  --text-secondary: #4a4640;
  --text-muted: #7a756d;
  --text-on-dark: #faf8f4;

  /* Brand colors from logo */
  --blue: #3ba4d9;
  --blue-light: #6bc0e8;
  --blue-dim: #2880ad;
  --gold: #e8a820;
  --gold-light: #f0c04a;
  --gold-dim: #c08a10;
  --green: #4a8c3a;

  --border: #ddd8ce;
  --border-light: #ece8e0;

  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  /* Spacing */
  --section-pad: clamp(3rem, 8vw, 6rem);
  --inner-max: 1080px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 8px 30px rgba(26, 26, 26, 0.1);
}

/* ── RESET & BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-base);
}

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

a {
  color: var(--blue-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--blue); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-hero);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  color: var(--bg-hero);
}

.btn-outline {
  background: transparent;
  color: var(--blue-dim);
  border-color: var(--blue-dim);
}
.btn-outline:hover {
  background: var(--blue-dim);
  color: var(--text-on-dark);
}

/* Hero button variants */
.hero .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}
.hero .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.hero .btn-outline {
  color: var(--blue-light);
  border-color: var(--blue-light);
}
.hero .btn-outline:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ── HERO ──────────────────────────────────────────────────────────────── */
.hero {
  background: var(--bg-hero);
  color: var(--text-on-dark);
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(59, 164, 217, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 45%, rgba(232, 168, 32, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-logo {
  max-width: 360px;
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 0 40px rgba(59, 164, 217, 0.35))
          drop-shadow(0 0 80px rgba(232, 168, 32, 0.2))
          drop-shadow(0 0 12px rgba(59, 164, 217, 0.4));
  animation: logo-glow 4s ease-in-out infinite alternate;
}

@keyframes logo-glow {
  0%   { filter: drop-shadow(0 0 40px rgba(59, 164, 217, 0.35))
                 drop-shadow(0 0 80px rgba(232, 168, 32, 0.2))
                 drop-shadow(0 0 12px rgba(59, 164, 217, 0.4)); }
  100% { filter: drop-shadow(0 0 50px rgba(232, 168, 32, 0.35))
                 drop-shadow(0 0 90px rgba(59, 164, 217, 0.2))
                 drop-shadow(0 0 12px rgba(232, 168, 32, 0.4)); }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(250, 248, 244, 0.7);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.hero-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── SECTIONS ──────────────────────────────────────────────────────────── */
.section { padding: var(--section-pad) 1.5rem; }

.section-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}
.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Alternating backgrounds */
.section--about { background: var(--bg-surface); }
.section--events { background: var(--bg-base); }
.section--past { background: var(--bg-surface); }

.section--contact {
  background: var(--bg-hero);
  color: var(--text-on-dark);
}
.section--contact .section-heading { color: var(--text-on-dark); }
.section--contact .section-heading::after { background: var(--blue); }
.section--contact .section-lead { color: rgba(250, 248, 244, 0.65); }
.section--contact a { color: var(--blue-light); }
.section--contact a:hover { color: var(--gold-light); }

/* ── ABOUT GRID ────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}
.about-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.about-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── EVENT CARDS ───────────────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.event-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.event-card--upcoming {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}

.event-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-surface);
}
.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-body { padding: 1.5rem; }

.event-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.event-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.event-card-body p:not(.event-meta) {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}
.event-card-body .btn { margin-top: 1.25rem; }

/* ── CONTACT ───────────────────────────────────────────────────────────── */
.contact-grid { max-width: 500px; }

.contact-info p {
  color: rgba(250, 248, 244, 0.8);
  margin-bottom: 0.5rem;
}
.contact-info strong {
  color: var(--text-on-dark);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── FOOTER ────────────────────────────────────────────────────────────── */
.site-footer {
  background: #111;
  color: rgba(250, 248, 244, 0.45);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}
.footer-inner p { margin-bottom: 0.25rem; }

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(250, 248, 244, 0.25);
}

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 3rem 1.25rem; }
  .hero-logo { max-width: 260px; }
  .hero-nav { flex-direction: column; align-items: center; }
  .hero-nav .btn { width: 100%; max-width: 280px; text-align: center; }
  .events-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-logo { max-width: 200px; }
  .about-grid { grid-template-columns: 1fr; }
  .btn { font-size: 1rem; padding: 0.65rem 1.5rem; }
}
