/* Sade ama iddialı davetiyeler: tek şablon, üç renk teması (t-beyaz, t-bej, t-adacayi) */
:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #26221e;
  --soft: #6f6a63;
  --accent: #8a7a62;
  --line: #dcd6cc;
  --tile: #f6f3ee;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --names: "Cormorant Garamond", Georgia, serif;
}
.t-bej {
  --bg: #efe8dd;
  --paper: #fbf8f2;
  --ink: #3b3127;
  --soft: #7c6f60;
  --accent: #a3845a;
  --line: #ddd0bd;
  --tile: #f3ece1;
  --names: "Parisienne", cursive;
}
.t-adacayi {
  --bg: #e8ece5;
  --paper: #e8ece5;
  --ink: #2e3a2f;
  --soft: #66705f;
  --accent: #6f8068;
  --line: #c5cebf;
  --tile: #dfe5da;
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }

.page { position: relative; width: min(560px, 100%); margin: 0 auto; padding: 0 0 48px; text-align: center; background: var(--paper); overflow: hidden; }
.t-bej .page { border: 1px solid var(--line); }
@media (min-width: 620px) { .t-bej .page { margin: 32px auto; box-shadow: 0 30px 60px -40px rgba(60, 45, 30, .45); } }
.block { padding: 0 26px; margin-top: 64px; }

.caps { margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--soft); }

/* ---------- giriş ---------- */
.hero { position: relative; }
.hero-photo { position: relative; height: 74vh; height: 74svh; min-height: 440px; max-height: 760px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; animation: zoom 14s ease-out both; }
@keyframes zoom { from { transform: scale(1.12); } }
/* fotoğrafın altı zemine erir */
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--paper) 55%, transparent) 75%, var(--paper) 100%); }
.t-bej .hero-photo::before {
  /* basılı kart gibi iç çerçeve fotoğrafın üstünden geçer */
  content: ""; position: absolute; z-index: 1; inset: 12px 12px -40px; border: 1px solid rgba(255, 255, 255, .7); pointer-events: none;
}
.hero-text { position: relative; margin-top: -150px; padding: 0 20px; }
.hero-text .caps { color: var(--ink); animation: rise 1.2s .3s ease both; }
.names { margin: 8px 0 10px; font-family: var(--names); font-weight: 500; font-size: clamp(58px, 16vw, 84px); line-height: 1; color: var(--ink); }
.names span, .names i { display: block; animation: rise 1.3s cubic-bezier(.2, .7, .2, 1) both; }
.names span:first-child { animation-delay: .5s; }
.names i { animation-delay: .75s; font-style: italic; font-size: .48em; color: var(--accent); margin: .08em 0; }
.names span:last-child { animation-delay: 1s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); letter-spacing: .08em; } }
.t-bej .names { font-weight: 400; font-size: clamp(70px, 19vw, 100px); }
.t-adacayi .names { font-family: var(--serif); font-size: clamp(44px, 12.5vw, 62px); letter-spacing: .16em; text-transform: uppercase; }
.t-adacayi .names i { font-size: .62em; letter-spacing: 0; text-transform: none; }
.t-adacayi .names span { padding-left: .16em; }
.date { margin: 0; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); animation: rise 1.2s 1.25s ease both; }

/* ---------- süs ve mühürler ---------- */
.sprig { display: block; width: 190px; height: 38px; margin: 0 auto 26px; color: var(--accent); }
.mono {
  width: 64px; height: 64px; flex: none; display: grid; place-items: center; position: relative;
  border: 1px solid var(--accent); border-radius: 50%; font-family: var(--names); font-size: 22px; color: var(--accent);
}
.mono::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--line); border-radius: 50%; }
.mono span { position: absolute; line-height: 1; }
.mono span:first-child { transform: translate(-9px, -5px); }
.mono span:last-child { transform: translate(9px, 6px); }
.mono::after { content: ""; position: absolute; width: 1px; height: 30px; background: var(--accent); transform: rotate(35deg); opacity: .6; }
.seal { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 96px; height: 96px; margin-bottom: 14px; border-radius: 50%; border: 1px solid var(--accent); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--line); font-family: var(--names); font-size: 34px; color: var(--ink); }
.seal i { font-size: 18px; color: var(--accent); }
.t-adacayi .seal { font-size: 26px; letter-spacing: .1em; }

/* ---------- metinler ---------- */
.quote { margin: 0; font-style: italic; font-size: 25px; line-height: 1.45; }
.quote small { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--soft); }
.text { margin: 0 auto; max-width: 30ch; font-size: 21px; }
.families { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 30px; }
.families small { display: block; font-size: 18px; color: var(--soft); line-height: 1.35; }
.families strong { display: block; margin-top: 4px; font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.musahip { margin: 28px 0 0; font-size: 19px; }
.musahip span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--soft); }

/* ---------- fotoğraf şeridi ---------- */
.strip { display: flex; justify-content: center; align-items: center; margin-top: 64px; padding: 10px 0; }
.strip { padding-left: 14px; padding-right: 14px; }
.strip img { width: 33%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; border: 6px solid #fff; box-shadow: 0 16px 30px -18px rgba(40, 30, 20, .55); }
.strip img:nth-child(1) { transform: rotate(-6deg) translateX(14px); }
.strip img:nth-child(2) { position: relative; z-index: 1; width: 38%; transform: translateY(-10px); }
.strip img:nth-child(3) { transform: rotate(6deg) translateX(-14px); }
/* iki fotoğraflı şerit: hafif zıt eğimle üst üste binen iki kare */
.strip.iki img { width: 44%; }
.strip.iki img:nth-child(1) { transform: rotate(-5deg) translateX(10px); }
.strip.iki img:nth-child(2) { width: 44%; transform: rotate(5deg) translate(-10px, -8px); }
.t-adacayi .strip img { border-radius: 10px; border-color: var(--tile); }
.t-bej .strip img { border-color: var(--paper); }

/* ---------- tarih ve yer ---------- */
.when { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.when span { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.when span:first-child { text-align: right; }
.when span:last-child { text-align: left; }
.when b { display: block; padding: 0 20px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-weight: 500; font-size: 64px; line-height: 1; }
.when b small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12px; letter-spacing: .3em; color: var(--soft); }
.venue { margin: 30px 0 0; }
.venue h2 { margin: 0 0 6px; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.venue p { margin: 0; font-size: 19px; color: var(--soft); }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.btn {
  min-width: 170px; padding: 15px 22px; border: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn.solid { background: var(--ink); color: var(--paper); }
.btn:hover { background: var(--ink); color: var(--paper); }
.t-bej .btn, .t-adacayi .btn { border-radius: 999px; }

/* ---------- geri sayım ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 400px; margin: 18px auto 0; }
.countdown div { padding: 16px 4px 12px; background: var(--tile); border: 1px solid var(--line); }
.t-bej .countdown div { border-radius: 999px 999px 10px 10px; }
.t-adacayi .countdown div { border-radius: 12px; }
.countdown b { display: block; font-weight: 500; font-size: 38px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.countdown small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.count { margin: 14px 0 0; font-size: 22px; }

.foot-block { margin-top: 70px; }
.foot { margin: 0; font-family: var(--names); font-size: 38px; line-height: 1.2; }
.t-adacayi .foot { font-size: 22px; letter-spacing: .16em; text-transform: uppercase; }
.foot + .caps { margin-top: 6px; }

/* kaydırınca hafifçe belirme */
.js .block, .js .strip { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s ease; }
.js .block.in, .js .strip.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .block, .js .strip { opacity: 1; transform: none; }
}
