/*
Theme Name: Mocho Avo Fest Festival Theme
Theme URI: https://www.mochoavofest.com/
Author: OpenAI
Description: A custom WordPress festival theme for Mocho Avo Fest inspired by modern event festival layouts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mocho-avo-fest
*/

:root {
  --green: #204d2b;
  --green-2: #2d6a3d;
  --gold: #dcb457;
  --cream: #f8f3e7;
  --dark: #121212;
  --muted: #6b6b6b;
  --white: #ffffff;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 20px 40px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.site-wrap { overflow-x: hidden; }
.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}
.topbar {
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.topbar-social a { margin-left: 14px; color: var(--gold); font-weight: 700; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}
.brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}
.brand small { display: block; color: var(--muted); font-weight: 600; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-menu a { font-weight: 700; }
.nav-cta {
  background: var(--green);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(rgba(10,20,11,.52), rgba(10,20,11,.62)),
    radial-gradient(circle at top right, rgba(220,180,87,.35), transparent 35%),
    linear-gradient(135deg, #315f3e, #18351e);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-texture.svg');
  opacity: .16;
}
.hero-inner {
  position: relative;
  padding: 92px 0 84px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.02;
  margin: 0 0 16px;
}
.hero p {
  font-size: 1.08rem;
  max-width: 700px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.92);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: .2s ease;
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.34);
}
.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin-top: 0; font-size: 1.35rem; }
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.count-box {
  background: rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
}
.count-box strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.count-box span {
  font-size: .78rem;
  text-transform: uppercase;
  opacity: .9;
  letter-spacing: .05em;
}
.section { padding: 78px 0; }
.section-alt { background: var(--cream); }
.section-head {
  text-align: center;
  margin-bottom: 34px;
}
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.8vw, 3rem);
}
.section-head p {
  margin: 0 auto;
  max-width: 780px;
  color: var(--muted);
}
.about-grid,
.location-grid,
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: center;
}
.feature-panel {
  background: linear-gradient(135deg, var(--green), #16331d);
  color: var(--white);
  border-radius: 28px;
  padding: 36px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}
.feature-panel h3 { font-size: 2rem; margin-bottom: 12px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.check-list li { margin: 10px 0; padding-left: 24px; position: relative; }
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.05);
}
.card .tag {
  display: inline-block;
  font-size: .8rem;
  text-transform: uppercase;
  color: var(--green-2);
  letter-spacing: .04em;
  font-weight: 800;
  margin-bottom: 10px;
}
.card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.card p { margin: 0 0 14px; color: var(--muted); }
.event-meta {
  color: var(--green-2);
  font-weight: 700;
  font-size: .95rem;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.logo-box {
  background: #fff;
  border-radius: 18px;
  min-height: 110px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(0,0,0,.15);
  color: var(--muted);
  font-weight: 700;
}
.ticket-band {
  background: linear-gradient(135deg, var(--gold), #f6db9a);
  border-radius: 28px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
}
.ticket-band h3 { margin: 0 0 8px; font-size: 1.9rem; }
.ticket-band p { margin: 0; max-width: 760px; }
.newsletter {
  background: var(--dark);
  color: var(--white);
  border-radius: 28px;
  padding: 34px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1 1 280px;
  min-height: 50px;
  border-radius: 999px;
  border: none;
  padding: 0 18px;
}
.footer {
  background: #101010;
  color: #fff;
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer h4 { margin-top: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 10px 0; color: rgba(255,255,255,.82); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
}
.mobile-toggle { display: none; }

@media (max-width: 980px) {
  .hero-inner,
  .about-grid,
  .location-grid,
  .cta-grid,
  .ticket-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cards { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; }
  .mobile-toggle {
    display: inline-flex;
    background: var(--green);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
  }
  .nav-menu.is-open {
    display: flex;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    flex-direction: column;
    background: #fff;
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 640px) {
  .countdown,
  .cards,
  .logo-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 2.3rem; }
  .section { padding: 58px 0; }
  .feature-panel,
  .card,
  .newsletter,
  .ticket-band { padding: 24px; }
}
