/* ===== Sjoerd & Charan wedding website - shared styles ===== */

* { box-sizing: border-box; }

:root {
  --red: #b5172a;
  --red-dark: #8f1120;
  --gold: #c9892b;
  --cream: #faf6f2;
  --ink: #2d2420;
  --muted: #6b5c53;
  --line: #f0e8e2;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
}

a { color: var(--red); }

/* ---------- Navigation ---------- */
nav {
  background: #fff;
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
}

nav a {
  text-decoration: none;
  color: #4a3b32;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

nav a:hover { color: var(--red); }
nav a.active { color: var(--red); border-bottom-color: var(--red); }

/* ---------- Hero (home page) ---------- */
.hero {
  background:
    linear-gradient(rgba(20,10,10,0.35), rgba(20,10,10,0.6)),
    url('images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
}

.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 1rem;
  margin: 0 0 10px;
  opacity: 0.9;
}

.hero h1 {
  font-size: 4.2rem;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero .date {
  font-size: 1.3rem;
  margin: 14px 0 28px;
  letter-spacing: 1px;
}

/* ---------- Page header (sub pages) ---------- */
.page-header {
  background: linear-gradient(135deg, #b5172a, #c9892b);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.page-header h1 { margin: 0 0 8px; font-size: 2.6rem; line-height: 1.2; }
.page-header p { margin: 0; font-size: 1.15rem; opacity: 0.95; }

/* ---------- Sections ---------- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 24px;
}

.section.narrow { max-width: 820px; }

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 28px;
  color: #3a2d26;
}

.section > p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn:hover { background: var(--red-dark); }
.btn.small { padding: 9px 20px; font-size: 0.9rem; }

/* ---------- Grids and cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: #fff;
  padding: 28px 24px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.card.left { text-align: left; }
.card h3 { margin: 8px 0 10px; color: #3a2d26; }
.card p { color: var(--muted); font-size: 0.95rem; }

.tag {
  display: inline-block;
  background: #fbeaec;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
}

/* Home page step cards */
.step-card {
  background: #fff;
  padding: 30px 24px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.step-card .num {
  display: inline-block;
  width: 46px;
  height: 46px;
  line-height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
}

.step-card h3 { margin: 12px 0 6px; }
.step-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 10px; }
.step-card .more { color: var(--red); font-weight: 600; }

/* ---------- Detail lists ---------- */
ul.details {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  text-align: left;
  font-size: 0.95rem;
}

ul.details li { padding: 3px 0; border-bottom: 1px dashed var(--line); }

/* ---------- Key facts strip ---------- */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.facts > div {
  background: #fff;
  border-radius: 14px;
  padding: 14px 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  text-align: center;
  flex: 1 1 200px;
}

.facts .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.facts .value { display: block; font-weight: 700; color: #3a2d26; }

/* ---------- Callouts ---------- */
.callout {
  background: #fff;
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 22px 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  margin: 22px 0 0;
}

.callout.highlight { border-left-color: var(--red); }
.callout h3 { margin: 0 0 10px; }
.callout p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Numbered steps ---------- */
ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }

ol.steps li {
  background: #fff;
  border-radius: 16px;
  padding: 22px 26px 22px 80px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  position: relative;
  counter-increment: step;
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
}

ol.steps h3 { margin: 0 0 6px; font-size: 1.15rem; }
ol.steps p { margin: 0; color: var(--muted); }

/* ---------- Tips ---------- */
ul.tips { padding-left: 22px; color: var(--muted); }
ul.tips li { margin-bottom: 8px; }

/* ---------- Event schedule ---------- */
.events { display: flex; flex-direction: column; gap: 18px; }

.event {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.event-date {
  flex: 0 0 74px;
  text-align: center;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  padding: 10px 4px;
  align-self: flex-start;
}

.event-date .day { display: block; font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.event-date .month { display: block; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.event-date .dow { display: block; font-size: 0.75rem; opacity: 0.85; }

.event-body { flex: 1; }
.event-body h3 { margin: 0 0 6px; }
.event-body p { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fbeaec;
  color: var(--red);
  padding: 2px 10px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ---------- Placeholders ---------- */
.placeholder,
.placeholder-title {
  background: #fff8e6;
  border: 1px dashed var(--gold);
  border-radius: 6px;
  padding: 2px 8px;
}

li.placeholder { list-style: none; margin-left: -22px; }

/* ---------- Plain text boxes ---------- */
.textbox {
  background: #fff;
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.textbox h3 { margin: 0 0 10px; color: #3a2d26; }
.textbox p { margin: 0 0 12px; color: var(--ink); }
.textbox p:last-child { margin-bottom: 0; }

/* ---------- Next step ---------- */
.nextstep { text-align: center; padding-top: 10px; }
.nextstep span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 40px 20px;
  color: #8a7b70;
  font-size: 0.9rem;
  border-top: 1px solid #ece2db;
  margin-top: 30px;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .hero h1 { font-size: 2.8rem; }
  .page-header h1 { font-size: 2rem; }
  .event { flex-direction: column; }
  .event-date { flex: none; width: 90px; }
  ol.steps li { padding-left: 70px; }
}
