/* =========================================================
   EVENTCORE website — shared styles (every page)
   Page specific styles live in /css/pages/*.css
   ========================================================= */

:root{
  --green:#346b4d;
  --green2:#244f39;
  --dark:#071a14;
  --dark2:#0e2f23;
  --cream:#f6f1e8;
  --cream2:#fbf8f2;
  --ink:#17231d;
  --muted:#69756f;
  --line:rgba(20,40,30,.12);
  --gold:#b58a46;
  --shadow:0 28px 70px rgba(12,34,25,.12);
  --shadow-soft:0 16px 40px rgba(12,34,25,.07);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--cream2);
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5,.serif{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.045em}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{max-width:1220px}
.text-green{color:var(--green)!important}
.handwritten{font-family:"Segoe Print","Bradley Hand",cursive}

/* ---------- Buttons ---------- */
.btn-ec{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;border-radius:999px;padding:.92rem 1.45rem;
  background:linear-gradient(135deg,var(--green),var(--green2));
  color:#fff;font-weight:700;
  box-shadow:0 12px 30px rgba(52,107,77,.2);
  transition:.25s ease;
}
.btn-ec:hover{color:#fff;transform:translateY(-2px)}

.btn-glass{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:.92rem 1.55rem;
  color:#fff;font-weight:700;background:rgba(255,255,255,.05);
  backdrop-filter:blur(8px);transition:.25s ease;
}
.btn-glass:hover{background:rgba(255,255,255,.12);color:#fff}

.btn-outline-ec{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid rgba(20,33,26,.18);border-radius:999px;padding:.92rem 1.45rem;
  color:var(--green);font-weight:700;background:#fff;transition:.25s ease;
}
.btn-outline-ec:hover{background:var(--green);color:#fff;border-color:var(--green)}

/* ---------- App store badges ---------- */
.store-buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}
.store-badge{display:inline-flex;align-items:center;gap:10px;padding:.9rem 1.15rem;border-radius:14px;background:#0a0f0d;border:1px solid rgba(255,255,255,.16);color:#fff;font-weight:700;transition:.25s ease}
.store-badge:hover{color:#fff;border-color:rgba(255,255,255,.4);transform:translateY(-1px)}
.store-badge.is-soon{opacity:.6;cursor:default}
.store-badge.is-soon:hover{transform:none;border-color:rgba(255,255,255,.16)}
.store-badge small{font-size:.66rem;font-weight:600;opacity:.8;text-transform:uppercase;letter-spacing:.06em}

/* ---------- Header (same on every page, sits over the page hero) ---------- */
.site-header{position:absolute;left:0;right:0;top:0;z-index:30}
.site-nav{padding:22px 0;display:flex;align-items:center;gap:24px}
.brand-logo{width:120px;height:70px;object-fit:contain;mix-blend-mode:screen;margin-left:-10px}
.nav-links{display:flex;gap:30px;margin-left:auto;align-items:center}
.nav-links a{color:rgba(255,255,255,.84);font-size:.93rem;position:relative;padding:8px 0}
.nav-links a.active,.nav-links a:hover{color:#fff}
.nav-links a.active::after,.nav-links a:hover::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#fff;
}
.nav-actions{display:flex;gap:10px;margin-left:10px}
.nav-pill{
  border-radius:999px;padding:.74rem 1.15rem;border:1px solid rgba(255,255,255,.3);
  color:#fff;background:rgba(255,255,255,.03);font-weight:700;font-size:.88rem;transition:.25s ease;
}
.nav-pill:hover{color:#fff;background:rgba(255,255,255,.12)}
.nav-pill.solid{background:#fff;color:var(--dark);border-color:#fff}
.nav-pill.solid:hover{background:#efe9dd;color:var(--dark)}
.mobile-toggle{
  display:none;margin-left:auto;width:42px;height:42px;border-radius:50%;
  border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.04);color:#fff;
}

/* ---------- Footer ---------- */
.footer{color:#fff;background:linear-gradient(90deg,#0a241b,#113328 48%,#0d2b21);padding:42px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.2fr .75fr .75fr 1fr;gap:28px}
.footer-logo{width:145px;height:112px;object-fit:contain;mix-blend-mode:screen;margin:-24px 0 -16px -14px}
.footer h6{font-size:.82rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:16px}
.footer small,.footer p,.footer a{color:rgba(255,255,255,.78)}
.footer-links{display:grid;gap:8px}
.footer-links a:hover{color:#fff}
.newsletter{
  display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);
}
.newsletter input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:#fff}
.newsletter input::placeholder{color:rgba(255,255,255,.58)}
.newsletter .btn-ec{width:38px;height:38px;padding:0;flex:0 0 auto}
.newsletter-message{margin:10px 0 0;font-size:.85rem}
.newsletter-message.error{color:#f3c6b8!important}
.socials{display:flex;gap:10px;margin-top:14px}
.socials a{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;transition:.2s ease}
.socials a:hover{color:#fff;border-color:rgba(255,255,255,.45)}
.footer-bottom{
  margin-top:26px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center;
}
.footer-credit{
  margin-left:10px;padding-left:10px;border-left:1px solid rgba(255,255,255,.22);
  color:rgba(255,255,255,.70);white-space:nowrap;
}
.footer-credit strong{color:#fff;font-weight:700}
.footer-note{font-family:"Segoe Print","Bradley Hand",cursive;color:rgba(208,220,205,.86);font-size:1.15rem}

/* ---------- Scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media (max-width:1199.98px){
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:991.98px){
  .nav-links,.nav-actions{display:none}
  .mobile-toggle{display:grid;place-items:center}
  .site-nav.open{
    flex-wrap:wrap;margin:10px -12px 0;padding:12px;border-radius:20px;
    background:rgba(7,26,20,.94);backdrop-filter:blur(10px);
  }
  .site-nav.open .nav-links{
    display:flex;order:3;width:100%;flex-direction:column;align-items:flex-start;
    gap:6px;margin-left:0;padding-top:12px;
  }
  .site-nav.open .nav-actions{display:flex;order:4;width:100%;margin-left:0;padding-bottom:6px}
}
@media (max-width:767.98px){
  .footer-grid{grid-template-columns:1fr}
  .footer-logo{width:132px;height:102px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .footer-credit{display:block;margin-left:0;padding-left:0;border-left:0;margin-top:6px;white-space:normal}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none}
}
