/* ═══════════════════════════════════════════════════════
   New Orleans All Car Club Picnic — allcarclubpicnic.com
   Shared Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS (loaded in each page <head>) ── */
/* IM Fell English Italic = title only            */
/* Inter = all body text                          */

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: #1a1a6e; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── TOKENS ──────────────────────────────────── */
:root {
  --navy:   #1a1a6e;
  --gold:   #ffd700;
  --red:    #cc0000;
  --white:  #ffffff;
  --gray:   #f8f8fc;
  --border: #e0e0ee;
  --text:   #1a1a2e;
  --muted:  #666;
  --fb:     #1877F2;
  --ig:     #C13584;
  --green:  #16a34a;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* ── TYPOGRAPHY ──────────────────────────────── */
.title-font {
  font-family: 'IM Fell English', Georgia, 'Times New Roman', serif;
  font-style: italic;
  letter-spacing: .5px;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; color: var(--navy); }
h3 { font-size: 1.1rem; font-weight: 600; color: var(--navy); }
p  { color: var(--muted); }

/* ── LAYOUT ──────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
section:nth-child(even) { background: var(--gray); }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { max-width: 560px; margin: 0 auto; }
.pill {
  display: inline-block;
  background: #ededf8; color: var(--navy);
  font-size: .7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px;
  margin-bottom: 10px;
}
hr.gold {
  border: none; border-top: 2px solid var(--gold);
  width: 50px; margin: 14px auto;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; min-height: 58px;
}
.nav-brand {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  color: var(--gold); font-size: 1.1rem;
}
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  color: rgba(255,255,255,.82); font-size: .82rem;
  font-weight: 500; letter-spacing: .5px;
  text-transform: uppercase;
  padding: 6px 10px; border-radius: 4px;
  transition: background .18s, color .18s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,215,0,.15);
  color: var(--gold); text-decoration: none;
}
/* hamburger */
.nav-toggle {
  display: none; background: none; border: none;
  color: #fff; font-size: 1.4rem; cursor: pointer;
  padding: 4px 8px;
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; width: 100%;
    flex-direction: column; gap: 2px;
    padding-bottom: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; }
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 24px; border-radius: 6px;
  font-size: .9rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all .18s;
  border: none; text-decoration: none !important;
  white-space: nowrap;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #2d2d8e; color: #fff; }
.btn-gold { background: var(--gold); color: #1a1a2e; }
.btn-gold:hover { background: #e6c200; color: #1a1a2e; }
.btn-fb { background: var(--fb); color: #fff; }
.btn-fb:hover { background: #0d6efd; color: #fff; }
.btn-ig { background: var(--ig); color: #fff; }
.btn-ig:hover { background: #a02d70; color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #15803d; color: #fff; }
.btn-group {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 28px;
}

/* ── CARDS ───────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-2px); }
.card-icon { font-size: 2.2rem; margin-bottom: 12px; }

/* ── FORMS ───────────────────────────────────── */
.form-wrap { background: var(--gray); border-radius: var(--radius); padding: 32px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: #555; margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: .95rem;
  background: #fff; color: var(--text);
  transition: border-color .18s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--navy); }
.form-group textarea { height: 90px; resize: vertical; }
.form-submit {
  width: 100%; padding: 13px;
  background: var(--navy); color: #fff;
  border: none; border-radius: 6px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: background .18s;
}
.form-submit:hover { background: #2d2d8e; }
.form-success {
  display: none; text-align: center; padding: 24px;
  color: var(--green); font-weight: 600; font-size: 1rem;
}

/* ── GALLERY GRID ────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.gallery-item {
  border-radius: 8px; overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer; position: relative;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff; font-size: .78rem;
  padding: 24px 10px 8px;
  opacity: 0; transition: opacity .25s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ── LIGHTBOX ────────────────────────────────── */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center; flex-direction: column;
}
#lightbox.active { display: flex; }
#lb-img {
  max-width: 90vw; max-height: 84vh;
  border-radius: 4px; object-fit: contain;
}
#lb-prev, #lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15); border: none;
  color: #fff; font-size: 2rem; padding: 10px 16px;
  cursor: pointer; border-radius: 4px;
  transition: background .18s;
}
#lb-prev { left: 12px; }
#lb-next { right: 12px; }
#lb-prev:hover, #lb-next:hover { background: rgba(255,255,255,.3); }
#lb-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer; opacity: .8;
}
#lb-close:hover { opacity: 1; }
#lb-caption {
  color: rgba(255,255,255,.8); font-size: .85rem;
  margin-top: 14px; text-align: center;
}

/* ── SPONSOR LOGOS ───────────────────────────── */
.sponsor-grid {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 36px; margin-top: 36px;
}
.sponsor-item { text-align: center; max-width: 120px; }
.sponsor-item img {
  height: 90px; width: auto; max-width: 120px;
  object-fit: contain; margin: 0 auto 8px;
  filter: grayscale(15%); transition: filter .2s, transform .2s;
}
.sponsor-item:hover img { filter: grayscale(0%); transform: scale(1.05); }
.sponsor-item span { font-size: .72rem; color: #666; font-weight: 500; line-height: 1.3; display: block; }

/* ── CONNECT / SOCIAL BAND ───────────────────── */
.connect-band {
  background: var(--navy); padding: 52px 0; text-align: center;
}
.connect-band h2 { color: #fff; margin-bottom: 8px; }
.connect-band p { color: rgba(255,255,255,.7); margin-bottom: 0; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: #111; color: rgba(255,255,255,.55);
  text-align: center; padding: 28px 20px;
  font-size: .8rem; line-height: 1.8;
}
footer a { color: var(--gold); }
footer a:hover { text-decoration: underline; }

/* ── PAGE HERO (shared) ──────────────────────── */
.page-hero {
  background: var(--navy); padding: 52px 0 44px;
  text-align: center; color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto; }

/* ── CONTACT INFO ROWS ───────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-row { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #888; }
.contact-val { font-size: 1rem; font-weight: 600; color: var(--text); margin-top: 2px; }
.contact-sub { font-size: .85rem; color: var(--muted); margin-top: 2px; }

/* ── ABOUT ───────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.tony-card {
  display: flex; gap: 24px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.tony-card img { width: 90px; height: 116px; object-fit: cover; border-radius: 6px; filter: grayscale(100%); flex-shrink: 0; }
@media (max-width: 500px) { .tony-card { flex-direction: column; } .tony-card img { width: 80px; height: 104px; } }

/* ── MENU ITEMS ──────────────────────────────── */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 28px; }
.menu-item {
  background: var(--navy); color: #fff;
  border-radius: 8px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; font-weight: 500;
}
.menu-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── INFO CARDS GRID ─────────────────────────── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }

/* ── RESPONSIVE UTILS ────────────────────────── */
@media (max-width: 600px) {
  section { padding: 44px 0; }
  .btn { padding: 10px 18px; font-size: .85rem; }
}
