/* ══════════════════════════════════════════════
   HERIZON — Shared Stylesheet
   ══════════════════════════════════════════════ */

/* ── Reset & Variables ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
  --navy: #1a1f3d;
  --plum: #3d1c4f;
  --warm-gold: #c9a84c;
  --ivory: #faf8f5;
  --text: #2c2c2c;
  --text-light: rgba(255,255,255,0.85);
  --section-pad: 100px 8%;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
}

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; color: var(--warm-gold);
  letter-spacing: 3px; text-decoration: none;
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links li { list-style: none; }
.nav-links a {
  color: var(--text-light); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--warm-gold); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: #fff; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 8% 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--plum) 100%);
  color: #fff;
}
.hero-badge {
  display: inline-block; padding: 10px 30px; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px; font-size: 0.8rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-light); margin-bottom: 40px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic; color: var(--warm-gold);
}
.hero p {
  max-width: 720px; font-size: 1.1rem; color: var(--text-light);
  margin: 0 auto 48px; line-height: 1.8; text-align: center;
}
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }

/* ── Buttons ── */
.btn-primary {
  padding: 16px 40px; background: var(--warm-gold); color: var(--navy);
  border: none; font-size: 0.85rem; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600; cursor: pointer;
  transition: all 0.3s; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: #b89640; transform: translateY(-2px); }
.btn-outline {
  padding: 16px 40px; background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.4); font-size: 0.85rem;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: var(--warm-gold); color: var(--warm-gold); }

/* ── Section defaults ── */
.section { padding: var(--section-pad); }
.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--plum) 100%);
  color: #fff;
}
.section-label {
  display: inline-block; font-size: 0.75rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--warm-gold); margin-bottom: 16px;
}
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; margin-bottom: 24px;
}
.section-dark h2 { color: #fff; }
.section p.lead {
  max-width: 720px; font-size: 1.05rem; line-height: 1.8;
  color: rgba(255,255,255,0.8);
}

/* ── Page Header (for interior pages) ── */
.page-header {
  padding: 140px 8% 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--plum) 100%);
  color: #fff; text-align: center;
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; margin-bottom: 16px;
}
.page-header p {
  max-width: 600px; margin: 0 auto;
  font-size: 1.05rem; color: var(--text-light); line-height: 1.8;
}

/* ── Pillars / Cards Grid ── */
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px; margin-top: 48px;
}
.pillar {
  background: #fff; padding: 40px 32px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.pillar-icon { font-size: 2rem; margin-bottom: 16px; }
.pillar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; margin-bottom: 12px; color: var(--navy);
}
.pillar p { font-size: 0.95rem; color: #555; line-height: 1.7; }

/* ── Conference sub-tabs ── */
.conf-tabs {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin: 40px 0 32px;
}
.conf-tab {
  padding: 10px 24px; border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50px; background: transparent; cursor: pointer;
  font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase;
  font-family: 'Inter', sans-serif; transition: all 0.3s; color: var(--text);
}
.conf-tab.active, .conf-tab:hover {
  background: var(--warm-gold); color: var(--navy); border-color: var(--warm-gold);
}
.conf-panel { display: none; animation: fadeIn 0.4s ease; }
.conf-panel.active { display: block; }
@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ── Session / Schedule Grid ── */
.schedule-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 32px;
}
.schedule-card {
  background: #fff; padding: 32px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.schedule-card:hover { transform: translateY(-3px); }
.schedule-card .time {
  font-size: 0.8rem; color: var(--warm-gold); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 8px;
}
.schedule-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--navy); margin-bottom: 8px;
}
.schedule-card p { font-size: 0.9rem; color: #666; }

/* ── Speaker Grid ── */
.speakers-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px; margin-top: 32px;
}
.speaker-card {
  text-align: center; background: #fff; padding: 40px 24px;
  border-radius: 12px; border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.speaker-card:hover { transform: translateY(-4px); }
.speaker-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--plum));
  margin: 0 auto 20px; display: flex; align-items: center;
  justify-content: center; font-size: 2rem; color: var(--warm-gold);
}
.speaker-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--navy); margin-bottom: 4px;
}
.speaker-card .speaker-title { font-size: 0.85rem; color: var(--warm-gold); margin-bottom: 8px; }
.speaker-card p { font-size: 0.88rem; color: #666; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 32px auto 0; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08); padding: 20px 0;
}
.faq-q {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q .toggle { color: var(--warm-gold); font-size: 1.3rem; transition: transform 0.3s; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.95rem; color: #555; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 12px; }
.faq-item.open .toggle { transform: rotate(45deg); }

/* ── Sponsors ── */
.sponsors-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px; margin-top: 32px;
}
.sponsor-card {
  background: #fff; padding: 40px 24px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06); text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.sponsor-card .sponsor-level {
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--warm-gold); margin-bottom: 12px;
}
.sponsor-card h4 {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--navy);
}

/* ── Resource filters & cards ── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 32px 0; justify-content: center;
}
.resource-tab, .disc-cat {
  padding: 8px 22px; border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50px; background: transparent; cursor: pointer;
  font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase;
  font-family: 'Inter', sans-serif; transition: all 0.3s;
}
.resource-tab.active, .resource-tab:hover,
.disc-cat.active, .disc-cat:hover {
  background: var(--warm-gold); color: var(--navy); border-color: var(--warm-gold);
}
.resource-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px; margin-top: 16px;
}
.resource-card {
  background: #fff; padding: 32px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.07); }
.resource-card .resource-type {
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--warm-gold); margin-bottom: 10px;
}
.resource-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--navy); margin-bottom: 6px;
}
.resource-card .resource-author { font-size: 0.85rem; color: #888; margin-bottom: 10px; }
.resource-card p { font-size: 0.9rem; color: #555; }

/* ── Discussion Board ── */
.disc-grid { margin-top: 16px; display: flex; flex-direction: column; gap: 20px; }
.disc-card {
  background: #fff; padding: 28px 32px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
}
.disc-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.disc-card-cat {
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--warm-gold);
}
.disc-card-date { font-size: 0.8rem; color: #aaa; }
.disc-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--navy); margin-bottom: 8px;
}
.disc-card p { font-size: 0.92rem; color: #555; line-height: 1.7; }
.disc-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.disc-author { font-size: 0.85rem; color: #888; }
.like-btn {
  background: none; border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50px; padding: 6px 16px; cursor: pointer;
  font-size: 0.85rem; display: flex; align-items: center; gap: 6px;
  transition: all 0.3s;
}
.like-btn:hover, .like-btn.liked { border-color: var(--warm-gold); color: var(--warm-gold); }

/* ── Post Form ── */
.post-form {
  background: #fff; padding: 32px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06); margin-bottom: 32px;
}
.post-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--navy); margin-bottom: 20px;
}
.post-form input, .post-form select, .post-form textarea {
  width: 100%; padding: 12px 16px; margin-bottom: 14px;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 0.92rem;
  background: var(--ivory);
}
.post-form textarea { min-height: 120px; resize: vertical; }

/* ── Connect / Subscribe ── */
.connect-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start; margin-top: 40px;
}
.subscribe-form input, .subscribe-form select {
  width: 100%; padding: 14px 18px; margin-bottom: 14px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; color: #fff; font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.4); }
.connect-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; margin-bottom: 16px;
}
.social-links { display: flex; gap: 14px; margin-top: 20px; }
.social-link {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; text-decoration: none;
  font-size: 0.8rem; transition: all 0.3s;
}
.social-link:hover { border-color: var(--warm-gold); color: var(--warm-gold); }

/* ── Register Form (Conference) ── */
.register-form {
  max-width: 600px; margin: 32px auto 0;
  background: #fff; padding: 40px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
}
.register-form input, .register-form select {
  width: 100%; padding: 14px 18px; margin-bottom: 14px;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 0.92rem;
  background: var(--ivory);
}

/* ── Team Page ── */
.team-founder {
  display: flex; gap: 40px; align-items: center;
  margin-top: 32px; flex-wrap: wrap;
}
.team-photo-placeholder {
  width: 200px; height: 240px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--plum));
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 0.9rem; flex-shrink: 0;
}
.team-founder-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--navy); margin-bottom: 4px;
}
.team-role {
  font-size: 0.85rem; color: var(--warm-gold); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 12px;
}
.team-bio { font-size: 0.95rem; color: #555; line-height: 1.7; max-width: 500px; }
.pillar-icon-circle {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--plum));
  display: flex; align-items: center; justify-content: center;
  color: var(--warm-gold); font-size: 1.1rem; font-weight: 600;
  margin-bottom: 16px;
}

/* ── Footer ── */
footer {
  text-align: center; padding: 40px 8%;
  background: var(--navy); color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--warm-gold);
  letter-spacing: 3px; margin-bottom: 10px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--navy); flex-direction: column;
    padding: 80px 32px; gap: 24px; transition: right 0.3s;
  }
  .nav-links.open { right: 0; }
  .hero h1 { font-size: 2.2rem; }
  .connect-grid { grid-template-columns: 1fr; }
  .conf-tabs { gap: 8px; }
}
