/* =========================================================
   SURGICON 2027 — pages/home.css
   Styles used only on the homepage.
   ========================================================= */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) clamp(6rem, 5rem + 3vw, 8rem);
  background:
    url("../../images/patterns/waves.svg") right -120px top -40px / 900px auto no-repeat,
    linear-gradient(180deg, var(--white) 0%, var(--white) 60%, var(--primary-50) 100%);
}

/* Two thin parallel orange swoosh lines (signature poster motif) */
.hero__swoosh {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 52px;
  width: 104%;
  height: 120px;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; }
}

.hero__content { position: relative; z-index: 2; }
.hero__lockup { width: min(100%, 580px); margin-bottom: var(--space-5); }
.hero__lead {
  font-size: var(--fs-lg);
  color: var(--ink-soft);
  margin-bottom: var(--space-6);
  max-width: 54ch;
}

/* Angled "Save the Date" panel, adapted from the poster */
.date-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-4) var(--space-6) var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 14px 26px 14px 26px;
  transform: rotate(-2deg);
  box-shadow: 0 14px 30px rgba(130, 36, 44, 0.28);
}
.date-badge > * { transform: rotate(2deg); }
.date-badge::before {         /* orange corner tab */
  content: "";
  position: absolute;
  top: -6px; right: 22px;
  width: 46px; height: 12px;
  border-radius: 6px;
  background: var(--orange-500);
}
.date-badge__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}
.date-badge__date {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
  line-height: 1.1;
}
.date-badge__venue {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--fs-sm);
}
.date-badge__venue svg { width: 16px; height: 16px; color: var(--orange-500); }

.hero__countdown { margin-top: var(--space-6); }
.hero__countdown-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}

/* Visual: one clean circle with a maroon ring (poster style) */
.hero__visual {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  aspect-ratio: 1;
}
.hero__circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 12px solid var(--primary-500);
  outline: 2px dashed var(--orange-500);
  outline-offset: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--primary-50) 100%);
  box-shadow: var(--shadow-lg);
}
.hero__circle img {          /* whole mosque, sitting on the bottom of the circle */
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 165%;
  max-width: none;
  height: auto;
  transform: translateX(-60%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
}

@media (max-width: 1023px) {
  .hero__content { text-align: center; }
  .hero__lockup { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero .btn-row, .hero .countdown { justify-content: center; }
  .hero__visual { width: min(78%, 380px); margin-top: var(--space-4); }
}
@media (max-width: 520px) {
  .hero .btn-row .btn { width: 100%; }
  .countdown__unit { min-width: 0; flex: 1; }
  .date-badge { padding-inline: var(--space-4); }
  .leader-card { padding: var(--space-4); gap: var(--space-4); }
  .leader-card__name { font-size: 1.05rem; }
}

/* ---------- LEADERSHIP STRIP (overlaps hero) ---------- */
.leaders {
  position: relative;
  z-index: 3;
  margin-top: -4.5rem;
}
.leaders__grid { display: grid; gap: var(--space-4); }
@media (min-width: 800px) {
  .leaders__grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}

/* ---------- ABOUT ---------- */
.about__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) {
  .about__grid { grid-template-columns: 0.9fr 1.1fr; }
}

.facts {
  display: grid;
  gap: var(--space-4);
  margin-block: var(--space-6);
}
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--surface);
  border-radius: var(--radius);
}
.fact svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; color: var(--primary-500); }
.fact dt { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.fact dd { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-sm); }

/* ---------- VENUE ---------- */
.venue__grid { display: grid; gap: var(--space-6); align-items: stretch; }
@media (min-width: 960px) { .venue__grid { grid-template-columns: 0.85fr 1.15fr; } }

.venue-card { display: flex; flex-direction: column; }
.venue-card h3 { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.venue-card__address { display: flex; gap: var(--space-2); color: var(--ink-soft); margin-bottom: var(--space-5); }
.venue-card__address svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--orange-500); margin-top: 3px; }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-sm); }
.checklist li + li { margin-top: var(--space-3); }
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--primary-500); margin-top: 2px; }
.venue-card .btn-row { margin-top: auto; padding-top: var(--space-6); }

/* Programme tabs centred on the homepage */
.programme .tabs { text-align: center; }
.programme .tabs__panel { text-align: left; }
