/* iDetchoudé Media — static rebuild
   Recreates the look and feel of the original builder site:
   Montserrat headings, Inter body, dark #1d1e20 footer, pill buttons. */

:root {
  --ink: #1d1e20;
  --body-text: rgb(86, 88, 94);
  --muted: #727586;
  --line: #e6e6e9;
  --purple-1: #4b0082;
  --purple-2: rgb(143, 17, 168);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body-text);
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3, h4, h5 {
  font-family: "Montserrat", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.25;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo img { height: 46px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 32px; }
.main-nav a {
  text-decoration: none; font-weight: 500; color: var(--ink); font-size: 16px;
}
.main-nav a:hover { text-decoration: underline; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--ink); padding: 6px;
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .main-nav li { padding: 8px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 28px;
  border: 1px solid #0d141a; color: #0d141a; background: transparent;
  font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 16px;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: #0d141a; color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: #0d141a; }
.btn-solid { background: #0d141a; color: #fff; }
.btn-solid:hover { background: transparent; color: #0d141a; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
  background: #0d141a;
}
.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(13, 20, 26, 0.45); z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding: 96px 24px; max-width: 820px; }
.hero-title {
  font-family: "Montserrat", sans-serif; font-weight: 600;
  font-size: clamp(38px, 6vw, 64px); line-height: 1.15; color: #fff;
}
.hero-sub { margin-top: 18px; font-size: clamp(17px, 2.4vw, 22px); color: #fff; }
.hero-stars { margin-top: 14px; font-size: 22px; letter-spacing: 6px; color: #fff; }
.hero .btn { margin-top: 34px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: #f7f7f8; }
.section h3 { font-size: clamp(28px, 4vw, 36px); font-weight: 600; text-align: center; }
.section .lead {
  text-align: center; max-width: 640px; margin: 16px auto 0; font-size: 17px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.split img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; aspect-ratio: 4 / 4.6; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.gallery img { width: 100%; object-fit: cover; border-radius: 6px; aspect-ratio: 16 / 8.5; }
.gallery img.wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.gallery img.tall { aspect-ratio: 4 / 4.3; }
.single-img { margin-top: 44px; }
.single-img img { width: 100%; object-fit: cover; border-radius: 6px; aspect-ratio: 16 / 8; }
@media (max-width: 760px) {
  .split, .gallery { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.card img { width: 100%; aspect-ratio: 4 / 2.9; object-fit: cover; border-radius: 6px; }
.card h5 { font-size: 19px; font-weight: 600; margin-top: 18px; }
.card p { margin-top: 8px; font-size: 15px; }
.card .arrow { display: block; margin-top: 12px; font-size: 20px; color: var(--ink); }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.center-cta { text-align: center; margin-top: 56px; }

/* ---------- Page hero (blog / donate) ---------- */
.page-hero {
  position: relative; color: #fff; text-align: center;
  padding: 110px 24px; overflow: hidden; background: var(--ink);
}
.page-hero .bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(75, 0, 130, 0.82), rgba(143, 17, 168, 0.72));
}
.page-hero .inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 48px); font-weight: 600; }
.page-hero p { margin-top: 16px; color: #fff; font-size: 18px; }

/* ---------- Blog listing ---------- */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 8px; }
.post-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.post-card a { text-decoration: none; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card .pad { padding: 24px; }
.post-card h4 { font-size: 21px; font-weight: 600; }
.post-card .meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.post-card .excerpt { margin-top: 12px; font-size: 15px; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 72px 24px 88px; }
.article h1 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 600; }
.article figure { margin: 36px 0; }
.article figure img { width: 100%; border-radius: 6px; }
.article .body-text { font-size: 18px; margin-top: 8px; }
.article .meta { margin-top: 32px; font-size: 15px; color: var(--muted); }
.article .closing { margin-top: 20px; font-size: 18px; color: var(--ink); }

/* ---------- Contact / forms ---------- */
.contact-section { position: relative; padding: 88px 0; overflow: hidden; }
.contact-section .bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.contact-section::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.94); z-index: 1; }
.contact-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; padding: 0 24px; }
.contact-inner h3 { font-size: clamp(26px, 4vw, 34px); font-weight: 600; text-align: center; }
.contact-inner .lead { text-align: center; margin-top: 14px; }
form.site-form { margin-top: 36px; }
form.site-form label { display: block; font-weight: 500; color: var(--ink); margin: 18px 0 6px; }
form.site-form input[type="text"],
form.site-form input[type="email"],
form.site-form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid #c9c9cf; border-radius: 6px;
  font: inherit; color: var(--ink); background: #fff;
}
form.site-form textarea { min-height: 140px; resize: vertical; }
form.site-form .btn { margin-top: 24px; width: 100%; }
.form-status { margin-top: 18px; text-align: center; font-weight: 500; display: none; }
.form-status.success { display: block; color: #146c2e; }
.form-status.error { display: block; color: #b3261e; }

/* ---------- Donate ---------- */
.donate-main { max-width: 860px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.donate-main h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 600; }
.donate-main .lead { margin: 18px auto 0; max-width: 620px; font-size: 18px; }
.donate-main figure { margin: 44px 0 8px; }
.donate-main figure img { width: 100%; border-radius: 6px; }
.donate-main .btn { margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d7d7da; padding: 72px 0 36px; }
.footer-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 44px;
}
.site-footer h5 { color: #fff; font-size: 20px; font-weight: 600; }
.site-footer p { margin-top: 12px; font-size: 15px; color: #d7d7da; }
.social-links { display: flex; gap: 14px; margin-top: 16px; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
}
.social-links a:hover { background: rgba(255,255,255,0.12); }
.social-links svg { width: 19px; height: 19px; fill: #fff; }
.subscribe-form label { display: block; font-weight: 500; color: #fff; margin-bottom: 10px; }
.subscribe-form .row { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-form input[type="email"] {
  flex: 1 1 220px; padding: 13px 15px; border-radius: 28px; border: 1px solid rgba(255,255,255,0.35);
  background: transparent; color: #fff; font: inherit;
}
.subscribe-form input[type="email"]::placeholder { color: #a9a9b0; }
.subscribe-form .btn { border-color: #fff; color: #fff; padding: 13px 26px; }
.subscribe-form .btn:hover { background: #fff; color: #0d141a; }
.subscribe-form .form-status.success { color: #7ddb92; }
.subscribe-form .form-status.error { color: #ff9d97; }
.footer-bottom {
  max-width: var(--max); margin: 52px auto 0; padding: 22px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.14); font-size: 14px; color: #a9a9b0;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
