/* ═══════════════════════════════════════════════════════
   AFN WordPress Theme — Page-Specific & WooCommerce Styles
   ═══════════════════════════════════════════════════════ */

/* ── HOME HERO ───────────────────────────────────── */
.home-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 2.5rem;
  background: var(--gold-tint);
  overflow: hidden;
}
.home-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-logo-badge {
  position: relative; z-index: 2;
  width: 100px; height: 100px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold-mid);
  overflow: hidden;
  margin: 0 auto 2rem;
}
.hero-logo-badge img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.home-hero h1 span { color: var(--gold); }
.hero-year {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}

/* ── ABOUT GRID ──────────────────────────────────── */
.about-section { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-body { max-width: 480px; }
.about-body .sec-body + .sec-body { margin-top: 1rem; }
.about-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.75rem 0;
}
.meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.meta-row strong { color: var(--ink); font-weight: 600; }
.meta-dot {
  width: 6px; height: 6px;
  border-radius: var(--radius-full);
  background: var(--gold);
  flex-shrink: 0;
}

/* Pullquote */
.pullquote {
  background: var(--gold-tint);
  border-left: 3px solid var(--gold);
  padding: 2rem 2rem 2rem 2.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.5rem;
}
.pullquote blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-mid);
  margin-bottom: 0.9rem;
}
.pullquote cite {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* Stat cards */
.stat-grid { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.stat-card {
  flex: 1; min-width: 110px;
  border-top: 2px solid var(--gold);
  padding-top: 0.65rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700;
  color: var(--gold);
  display: block; line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-desc { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.45; }

/* ── VALUES / CATEGORIES ─────────────────────────── */
.values-section { background: var(--surface-alt); }
.values-header { text-align: center; margin-bottom: 3.5rem; }
.values-header .sec-body { max-width: 580px; margin: 0 auto; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-med), box-shadow var(--dur-med);
}
.value-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.value-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-md);
}
.value-card:hover::before { transform: scaleX(1); }
.value-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--gold-tint);
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.95rem; color: var(--gold);
}
.value-name {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 0.4rem;
}
.value-desc { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.55; }

/* ── FAQ LAYOUT ──────────────────────────────────── */
.faq-section { background: var(--gold-pale); }
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

/* ── REVEAL ANIMATION ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── PAGE CONTENT (WordPress editor) ─────────────── */
.page-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.85;
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 1rem;
}
.page-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.5rem 0 0.75rem;
}
.page-content p { margin-bottom: 1.25rem; }
.page-content ul, .page-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
  list-style: disc;
}
.page-content li { margin-bottom: 0.5rem; }
.page-content a { color: var(--gold); }
.page-content a:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════
   PAGE-SPECIFIC STYLES
   ═══════════════════════════════════════════════════════ */

/* ── VISION PAGE ─────────────────────────────────── */
.vision-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.vision-text p {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.vision-sidebar { position: sticky; top: 6rem; }
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.pillar-card-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--ink);
  margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.pillar-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.pillar-item:last-child { border-bottom: none; }
.pillar-icon {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: var(--gold-tint); border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.9rem; color: var(--gold);
}
.pillar-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.2rem; }
.pillar-desc { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.55; }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.mission-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  position: relative; overflow: hidden;
  transition: border-color var(--dur-med), box-shadow var(--dur-med), transform var(--dur-med);
}
.mission-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px; background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.35s var(--ease-out);
}
.mission-card:hover { border-color: var(--border-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mission-card:hover::before { transform: scaleY(1); }
.mission-card-num { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.mission-card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.mission-card-desc { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.55; }

.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.4rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.85rem; font-weight: 500; color: var(--ink-mid);
  transition: border-color var(--dur-med), color var(--dur-med), box-shadow var(--dur-med), transform var(--dur-med);
}
.pill:hover { border-color: var(--gold); color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-1px); }

/* ── CONTACT PAGE ────────────────────────────────── */
.contact-strip { background: var(--ink); padding: 2.5rem 2rem; }
.contact-methods {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.contact-method { text-align: center; padding: 1.25rem; }
.contact-method-icon { font-size: 1.4rem; margin-bottom: 0.6rem; }
.contact-method-label { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-mid); margin-bottom: 0.35rem; }
.contact-method-value { font-size: 0.85rem; color: rgba(253,250,244,.8); }
.contact-method-value a { color: rgba(253,250,244,.8); transition: color var(--dur-fast); }
.contact-method-value a:hover { color: var(--gold-light); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start;
}
.info-cards { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  background: var(--gold-pale); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.5rem;
}
.info-card-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.info-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.35rem; }
.info-card p { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.6; }
.info-card a { color: var(--gold); }
.info-card a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 2.5rem;
}

/* ── AWARDS PAGE ─────────────────────────────────── */
.awards-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.venue-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.venue-card-header { background: var(--ink); padding: 1.5rem 1.75rem; }
.venue-card-header h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--gold-light); margin-bottom: 0.2rem; }
.venue-card-header p { font-size: 0.78rem; color: rgba(253,250,244,.5); }
.venue-card-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.venue-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; color: var(--ink-muted); }
.venue-row strong { color: var(--ink); font-weight: 600; }
.venue-dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--gold); flex-shrink: 0; }

.nom-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .vision-grid, .mission-grid, .awards-grid, .nom-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .vision-sidebar { position: static; }
  .mission-cards { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .contact-methods { grid-template-columns: 1fr; }
}

/* ── INSTAGRAM GALLERY ───────────────────────────── */
.gallery-section { background: var(--surface); padding-bottom: 4rem; }
.gallery-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.insta-handle { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--ink-muted); }
.insta-handle .at { color: var(--gold); font-weight: 600; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.gallery-item { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(168,114,14,.15); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--dur-med); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); background: rgba(255,255,255,.9); padding: 0.3rem 0.7rem; border-radius: var(--radius-sm); }
.gallery-follow { text-align: center; margin-top: 2rem; }

/* ── ABOUT GRID (home) ───────────────────────────── */
.about-section { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-body { max-width: 480px; }
.about-meta { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.75rem 0; }
.meta-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--ink-muted); }
.meta-row strong { color: var(--ink); font-weight: 600; }
.meta-dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--gold); flex-shrink: 0; }
.pullquote { background: var(--gold-tint); border-left: 3px solid var(--gold); padding: 2rem 2rem 2rem 2.5rem; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin-bottom: 1.5rem; }
.pullquote blockquote { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; line-height: 1.65; color: var(--ink-mid); margin-bottom: 0.9rem; }
.pullquote cite { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-style: normal; }
.stat-grid { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.stat-card { flex: 1; min-width: 110px; border-top: 2px solid var(--gold); padding-top: 0.65rem; }
.stat-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--gold); display: block; line-height: 1; margin-bottom: 0.25rem; }
.stat-desc { font-size: 0.8rem; color: var(--ink-muted); line-height: 1.45; }

/* ── VALUES GRID ─────────────────────────────────── */
.values-section { background: var(--surface-alt); }
.values-header { text-align: center; margin-bottom: 3.5rem; }
.values-header .sec-body { max-width: 580px; margin: 0 auto; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }

/* ── FAQ LAYOUT ──────────────────────────────────── */
.faq-section { background: var(--gold-pale); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }

/* ── AWARDS GRID ─────────────────────────────────── */
.awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.nom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.venue-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.venue-card-header { background: var(--ink); padding: 1.5rem 1.75rem; }
.venue-card-header h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--gold-light); margin-bottom: 0.2rem; }
.venue-card-header p { font-size: 0.78rem; color: rgba(253,250,244,.5); }
.venue-card-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.venue-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; color: var(--ink-muted); }
.venue-row strong { color: var(--ink); font-weight: 600; }
.venue-dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--gold); flex-shrink: 0; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid, .faq-layout, .awards-grid, .nom-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
