/*
Theme Name: Avenal Old Timers Day 2026 V2
Theme URI: https://avenaloldtimersday.com
Author: OpenAI
Description: Pixel-focused WordPress landing page theme for Avenal Old Timers Day 2026.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: avenal-old-timers-day
*/

:root{
  --cream:#f7f1e7;
  --cream-2:#efe5d3;
  --paper:#fffdfa;
  --ink:#3f3737;
  --muted:#5a504f;
  --muted-2:#6b625f;
  --brown:#4d4346;
  --red:#ff4a3a;
  --red-2:#c93f34;
  --teal:#00a7df;
  --green:#12b84c;
  --gold:#f2cc63;
  --gold-2:#f2b300;
  --line:rgba(77,67,70,.10);
  --shadow:0 18px 50px rgba(0,0,0,.10);
  --shadow-strong:0 24px 70px rgba(0,0,0,.22);
  --radius-xl:2rem;
  --radius-lg:1.5rem;
  --container:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.55;
}
img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
main{overflow:hidden}
.container{
  width:min(calc(100% - 2rem), var(--container));
  margin-inline:auto;
}
.section{padding:4.5rem 0}
.section-sm{padding:3.5rem 0}
.eyebrow{
  margin:0 0 .75rem;
  font-size:.85rem;
  font-weight:800;
  letter-spacing:.26em;
  text-transform:uppercase;
}
.h2{
  margin:0;
  font-size:clamp(2rem,4.2vw,3.5rem);
  line-height:1.04;
  font-weight:900;
  letter-spacing:-.03em;
}
.lead{
  margin:.9rem 0 0;
  color:var(--muted);
  font-size:1.06rem;
  line-height:1.8;
}
.btn-row{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2rem}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:.9rem 1.35rem;
  border-radius:1.05rem;
  font-weight:800;
  transition:transform .2s ease, opacity .2s ease;
}
.btn:hover{transform:translateY(-2px);opacity:.96}
.btn-red{background:var(--red);color:#fff;box-shadow:var(--shadow)}
.btn-teal{background:var(--teal);color:#fff;box-shadow:var(--shadow)}
.btn-light{
  background:#fff;
  color:var(--ink);
  border:2px solid rgba(77,67,70,.12);
  box-shadow:0 8px 18px rgba(0,0,0,.04);
}
.pill{
  display:inline-flex;
  align-items:center;
  padding:.5rem .95rem;
  border-radius:999px;
  background:rgba(255,255,255,.84);
  border:2px solid rgba(77,67,70,.12);
  font-size:.92rem;
  font-weight:700;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  box-shadow:0 12px 28px rgba(0,0,0,.05);
}
.hero{
  position:relative;
  overflow:hidden;
  border-bottom:4px solid var(--brown);
  background:linear-gradient(to bottom, #efe5d3 0%, #f8f3ea 46%, #f2e7d4 100%);
}
.hero:before{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(circle at top, rgba(236,191,67,.28), transparent 38%);
  pointer-events:none;
}
.hero:after{
  content:"";
  position:absolute;
  right:0; top:5rem;
  width:20rem; height:20rem;
  background:rgba(0,167,223,.10);
  border-radius:50%;
  filter:blur(60px);
}
.hero-orb{
  position:absolute;
  left:-4rem; top:2rem;
  width:12rem; height:12rem;
  background:rgba(242,204,99,.30);
  border-radius:50%;
  filter:blur(50px);
}
.hero-inner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.06fr .94fr;
  gap:2.5rem;
  align-items:center;
  padding:3rem 0 4.5rem;
}
.hero-copy h1{
  margin:0;
  font-size:clamp(2.85rem,6.1vw,5.2rem);
  line-height:.95;
  font-weight:900;
  letter-spacing:-.04em;
}
.hero-kicker{
  margin:1rem 0 0;
  font-size:clamp(1.25rem,2.4vw,2rem);
  font-weight:900;
  color:var(--red);
}
.hero-copy p{
  margin:1rem 0 0;
  max-width:44rem;
  color:var(--muted);
  font-size:1.06rem;
  line-height:1.9;
}
.hero-stats{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:1rem;
  margin-top:2rem;
  max-width:42rem;
}
.stat{
  background:rgba(255,255,255,.85);
  border:1px solid rgba(77,67,70,.10);
  border-radius:1.2rem;
  padding:1rem;
  box-shadow:0 10px 22px rgba(0,0,0,.05);
}
.stat strong{
  display:block;
  font-size:1.1rem;
  font-weight:900;
}
.hero-logo-card{
  border-radius:2rem;
  border:4px solid rgba(77,67,70,.10);
  background:rgba(255,255,255,.85);
  padding:1rem;
  box-shadow:var(--shadow-strong);
}
.hero-logo-inner{
  border-radius:1.5rem;
  background:linear-gradient(to bottom, var(--cream), var(--cream-2));
  padding:1rem;
}
.hero-logo-inner img{
  margin-inline:auto;
  width:min(100%, 480px);
  filter:drop-shadow(0 14px 30px rgba(0,0,0,.18));
}

.flyer-hero{
  position:relative;
  width:100%;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at center, rgba(242,204,99,.30), transparent 60%),
    linear-gradient(135deg, #4d4346 0%, #7a3a2f 52%, #2b2b2b 100%);
}
.flyer-inner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2.5rem;
  align-items:center;
  padding:4.75rem 0;
}
.flyer-title{
  margin:.75rem 0 0;
  font-size:clamp(3rem,7vw,6rem);
  line-height:.92;
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:-.06em;
  text-shadow:0 8px 0 rgba(114,25,15,.35), 0 18px 50px rgba(0,0,0,.35);
}
.flyer-sub{
  margin:.7rem 0 0;
  font-size:clamp(1.3rem,2.6vw,2.1rem);
  font-weight:900;
  color:var(--teal);
}
.flyer-copy p{
  margin:1rem 0 0;
  color:#f2e7d4;
  line-height:1.85;
}
.flyer-badges{
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
  margin-top:1.8rem;
}
.flyer-badge{
  padding:.85rem 1.1rem;
  border-radius:1rem;
  font-size:1rem;
  font-weight:900;
  box-shadow:var(--shadow);
}
.bg-red{background:var(--red)}
.bg-teal{background:var(--teal)}
.bg-green{background:var(--green)}
.flyer-art{
  position:relative;
  display:flex;
  justify-content:center;
}
.flyer-art:before{
  content:"";
  position:absolute;
  inset:auto 12% 10% 12%;
  height:58%;
  border-radius:999px;
  background:rgba(255,74,58,.30);
  filter:blur(70px);
}
.flyer-art img{
  position:relative;
  z-index:2;
  max-height:33rem;
  object-fit:contain;
  filter:drop-shadow(0 20px 60px rgba(0,0,0,.75));
}

.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.info-card{padding:1.75rem}
.bar{width:5rem;height:.5rem;border-radius:999px;margin-bottom:1rem}
.dark-band{
  border-top:4px solid var(--brown);
  border-bottom:4px solid var(--brown);
  background:var(--brown);
  color:#fff;
}
.dark-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}
.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.8rem}
.feature{background:rgba(255,255,255,.10);padding:1.2rem;border-radius:1.35rem}
.logo-gallery{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.10);
  padding:1.5rem;
  border-radius:2rem;
  box-shadow:var(--shadow-strong);
}
.logo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.logo-pair img{
  border-radius:1.35rem;
  background:rgba(255,255,255,.92);
  padding:1rem;
  width:100%;
  object-fit:contain;
}
.schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;margin-top:2.5rem}
.schedule-card{padding:1.5rem}
.schedule-day{
  border-radius:1.35rem;
  background:var(--cream);
  padding:1rem;
}
.schedule-item{
  margin-top:1rem;
  padding:1rem;
  border:1px solid var(--line);
  border-radius:1.25rem;
}
.schedule-time{
  color:var(--teal);
  text-transform:uppercase;
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.05em;
}
.vip-band{
  border-top:4px solid var(--brown);
  border-bottom:4px solid var(--brown);
  background:linear-gradient(135deg, var(--red) 0%, var(--red-2) 46%, var(--brown) 100%);
  color:#fff;
}
.vip-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
.vip-copy p{color:rgba(255,255,255,.92)}
.vip-list{list-style:none;padding:0;margin:1.5rem 0 0}
.vip-list li{margin:0 0 .7rem}
.form-card{padding:1.75rem;box-shadow:var(--shadow-strong)}
.form-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}
.price-box{
  background:#f8e08a;
  border-radius:1.15rem;
  padding:.85rem 1rem;
  text-align:right;
  min-width:6.75rem;
}
.field{margin-top:1rem}
.field label{display:block;margin-bottom:.5rem;font-weight:700;font-size:.95rem}
.field input,.field select,.field textarea{
  width:100%;
  border:1px solid #c9beb2;
  border-radius:1.1rem;
  padding:.9rem 1rem;
  font:inherit;
  color:var(--ink);
}
.field textarea{min-height:7.5rem;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(0,167,223,.13);
}
.two-col-card{
  padding:2rem;
}
.two-col-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.5rem;
  align-items:center;
}
.price-mini{
  min-height:9rem;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:var(--cream);
}
.presented-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.5rem}
.presented-box{
  min-height:7rem;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:1.35rem;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:1rem;
  font-weight:900;
}
.sponsor-tier-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:2rem}
.sponsor-tier{
  text-align:center;
  padding:1.5rem;
}
.sponsor-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
  margin-top:1.6rem;
}
.sponsor-logo{
  min-height:6.8rem;
  border:1px dashed rgba(77,67,70,.18);
  border-radius:1.4rem;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#746b68;
  font-weight:800;
  padding:1rem;
}
.notice{
  margin-top:2rem;
  padding:1.75rem;
  text-align:center;
}
.footer{
  border-top:4px solid var(--brown);
  background:var(--ink);
  color:#fff;
}
.footer-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  padding:1.6rem 0;
  font-size:.95rem;
}

@media (max-width:1100px){
  .hero-inner,.flyer-inner,.dark-grid,.vip-grid,.two-col-grid{grid-template-columns:1fr}
}
@media (max-width:860px){
  .grid-3,.hero-stats,.feature-grid,.schedule-grid,.presented-grid,.sponsor-tier-grid,.sponsor-strip,.logo-pair{grid-template-columns:1fr}
  .hero-inner{padding-bottom:3rem}
  .flyer-inner{padding:3.5rem 0}
  .hero-copy h1{font-size:clamp(2.8rem,13vw,4.2rem)}
  .flyer-title{font-size:clamp(3rem,16vw,4.7rem)}
  .section{padding:3.5rem 0}
}

.presented-box img {
  max-height: 80px;
  object-fit: contain;
}
.presented-box a img {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.presented-box a:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.btn-green{
  background:var(--green);
  color:#fff;
  box-shadow:var(--shadow);
}

.funrun-badges{
  margin-top:2rem;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1.5rem;
}

.funrun-badge{
  width:260px;
  min-height:260px;
  border-radius:999px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:2rem;
  box-shadow:0 18px 40px rgba(0,0,0,.14);
  border:4px solid rgba(255,255,255,.35);
  color:#fff;
  position:relative;
}

.funrun-badge.adult{
  background:linear-gradient(135deg, #ff4a3a 0%, #c93f34 100%);
}

.funrun-badge.youth{
  background:linear-gradient(135deg, #00a7df 0%, #007eaa 100%);
}

.funrun-icon{
  font-size:2.4rem;
  line-height:1;
  margin-bottom:.75rem;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.25));
}

.funrun-badge-title{
  font-size:1.25rem;
  font-weight:900;
  line-height:1.2;
}

.funrun-badge-sub{
  margin-top:.5rem;
  font-size:.95rem;
  line-height:1.4;
  color:rgba(255,255,255,.92);
}

.funrun-badge-price{
  margin-top:.9rem;
  font-size:1.5rem;
  font-weight:900;
  background:rgba(255,255,255,.16);
  padding:.45rem .9rem;
  border-radius:999px;
}

@media (max-width: 700px){
  .funrun-badge{
    width:220px;
    min-height:220px;
    padding:1.5rem;
  }

  .funrun-icon{
    font-size:2rem;
  }

  .funrun-badge-title{
    font-size:1.1rem;
  }

  .funrun-badge-price{
    font-size:1.3rem;
  }
}
.music-poster-wrap{
  margin: 2rem auto 3rem;
  text-align: center;
}

.music-poster-wrap img{
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  border: 4px solid rgba(77,67,70,.1);
}
.schedule-item a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.schedule-item a:hover {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
}
.band-icon.photo{
  object-fit:cover;
}

.band-icon.logo{
  object-fit:contain;
  padding:4px;
  background:#fff;
}
.schedule-item.featured {
  background: rgba(255,74,58,.06);
  border-left: 4px solid var(--red);
  padding-left: 10px;
}
.count-box{
  background:linear-gradient(180deg, #fff8f6, #ffffff);
  border:1px solid rgba(77,67,70,.10);
  border-radius:24px;
  padding:1.25rem 1rem;
  box-shadow:0 12px 28px rgba(0,0,0,.06);
}

.count-number{
  font-size:clamp(2rem,4vw,3rem);
  font-weight:900;
  color:var(--red);
  line-height:1;
}

.count-label{
  margin-top:.5rem;
  font-size:.9rem;
  font-weight:700;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.08em;
}

@media (max-width: 700px){
  #event-countdown{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
}