@import url("../shared/infikre-base.css");

:root {
  --paper: #0b1719;
  --surface: #122522;
  --ink: #f4ecd8;
  --muted: #b9b5a4;
  --line: rgba(244,236,216,.2);
  --accent: #cda55d;
  --opening-bg: #0b1719;
  --opening-ink: #f4ecd8;
  --font-display: "Noto Serif Tamil", Latha, Georgia, "Times New Roman", serif;
}
body { background: var(--paper); color: var(--ink); }
.opening-screen { background: radial-gradient(circle at 50% 25%, #23433a 0, var(--opening-bg) 56%); }
.opening-inner .eyebrow, .film-label { color: var(--accent); }
.royal-crest { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 26px; color: var(--accent); font: 400 1.3rem/1 Georgia, serif; letter-spacing: .3em; }
.royal-crest span { font-size: .9rem; }
.opening-names b { color: var(--accent); font-weight: 400; }
.royal-hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; padding: 120px 0 72px; color: var(--ink); }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,10,10,.5), rgba(4,10,10,.94) 88%), linear-gradient(90deg, rgba(4,10,10,.45), transparent 60%); }
.royal-hero .topbar { color: var(--ink); }
.royal-hero-content { position: relative; z-index: 1; width: min(var(--content-width), calc(100% - 36px)); }
.royal-hero-content h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 25px; max-width: 920px; margin: 22px 0; font: 400 clamp(4.5rem, 18vw, 12rem)/.76 var(--font-display); letter-spacing: -.1em; }
.royal-hero-content h1 i { color: var(--accent); font-size: .52em; font-style: normal; }
.royal-hero-content > p:not(.eyebrow):not(.hero-date) { max-width: 510px; color: #d5d1c2; font: 400 1.02rem/1.6 var(--font-display); }
.hero-date { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.royal-countdown { background: #0f201d; }
.royal-countdown .countdown-block { display: grid; gap: 32px; }
.royal-countdown .section-heading p:last-child { color: var(--muted); }
.royal-countdown .countdown-cell { border-color: rgba(205,165,93,.38); background: rgba(205,165,93,.04); }
.royal-countdown .countdown-label { color: var(--muted); }
.royal-couple { background: #0b1719; }
.royal-couple .section-heading p:last-child { color: var(--muted); }
.royal-couple-grid { display: grid; gap: 22px; max-width: 960px; margin-inline: auto; }
.royal-profile { padding: 18px; border: 1px solid rgba(205,165,93,.3); background: #122522; }
.royal-profile--offset { margin-top: 45px; }
.royal-photo { overflow: hidden; aspect-ratio: .84; border: 1px solid var(--accent); }
.royal-photo img { height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.05); }
.royal-profile .eyebrow { margin: 20px 0 7px; color: var(--accent); }
.royal-profile h3 { margin: 0; font: 400 3.6rem/.86 var(--font-display); letter-spacing: -.08em; }
.royal-profile p:last-child { margin: 15px 0 0; color: var(--muted); font: 400 .9rem/1.55 var(--font-display); }
.royal-couple .couple-note { color: var(--muted); }
.royal-events { background: #10221f; }
.royal-events .section-heading p:last-child { color: var(--muted); }
.royal-events .event-card { border-color: rgba(205,165,93,.38); background: linear-gradient(145deg, #1b3932, #10221f); box-shadow: inset 0 0 0 1px rgba(255,255,255,.03); }
.royal-events .event-index { color: var(--accent); }
.royal-events .event-card h3 { color: var(--ink); }
.royal-events .event-meta, .royal-events .event-description { color: var(--muted); }
.royal-events .event-meta strong { color: var(--ink); }
.royal-gallery-section { background: #0b1719; }
.royal-gallery-section .section-heading p:last-child { color: var(--muted); }
.gallery-controls { display: flex; gap: 8px; margin-bottom: 16px; }
.gallery-controls button { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--accent); border-radius: 50%; background: transparent; color: var(--accent); cursor: pointer; }
.royal-gallery { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.royal-gallery .gallery-item { flex: 0 0 min(78vw, 430px); height: 540px; scroll-snap-align: start; border: 1px solid rgba(205,165,93,.42); }
.royal-gallery .gallery-item img { height: 100%; object-fit: cover; }
.royal-gallery .gallery-item figcaption { padding: 10px; color: #f4ecd8; }
.royal-venue { background: #122522; }
.royal-venue-panel { display: grid; gap: 30px; padding: 38px 26px; border: 1px solid var(--accent); background: radial-gradient(circle at 80% 10%, rgba(205,165,93,.14), transparent 33%); }
.royal-venue-panel h2 { max-width: 720px; margin: 0 0 22px; font: 400 clamp(2.8rem, 10vw, 7rem)/.86 var(--font-display); letter-spacing: -.08em; }
.royal-venue-panel .venue-name { margin: 0; color: var(--accent); font: 400 1.2rem/1.2 var(--font-display); }
.royal-venue-panel .venue-address { color: var(--muted); }
.royal-venue-panel .map-button { margin-top: 22px; }
.royal-family { background: #0b1719; }
.royal-family .section-heading p:last-child, .royal-family .family-card p, .royal-family .family-card ul { color: var(--muted); }
.royal-family .family-card { border-color: rgba(205,165,93,.3); background: #122522; }
.royal-family .family-card h3 { color: var(--ink); }
.royal-rsvp { background: #10221f; }
.royal-rsvp .section-heading p:last-child { color: var(--muted); }
.royal-rsvp .rsvp-button { background: var(--accent); color: #0b1719; }
.royal-final { min-height: 88vh; background: radial-gradient(circle at 50% 0, #27483e, #0b1719 58%); }
.royal-final h2 { color: var(--ink); }
.royal-final p { color: var(--muted); }

@media (min-width: 650px) {
  .royal-hero-content { width: min(var(--content-width), calc(100% - 72px)); }
  .royal-countdown .countdown-block { grid-template-columns: .85fr 1.15fr; align-items: end; }
  .royal-couple-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .royal-venue-panel { grid-template-columns: 1fr auto; align-items: end; padding: 58px 56px; }
  .royal-venue-panel .map-button { margin-bottom: 4px; }
}
