/* ==========================================================================
   Wedding page theme override — light, warm, documentary-romantic
   Loaded after ../assets/css/style.css. Redefines shared design tokens so
   every plain-page component (buttons, cards, forms, footer) inherits the
   new palette and type automatically.

   The hero and lightbox are exceptions on purpose: they sit on top of dark
   video/gradient imagery, so their text stays light regardless of the page
   theme — same as it would on a fully dark site. Those get explicit,
   scoped overrides below rather than picking up the new light tokens.
   Scoped to this page only; the commercial site is untouched.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Warm, romantic-leaning light palette — cream base, ink text, terracotta
     + dusty rose accents. A hint of "wedding white" without going full
     pastel; still grounded by the same warm neutrals as the dark version. */
  --bg: #faf6ef;
  --bg-elevated: #ffffff;
  --bg-elevated-2: #f2ebe0;
  --fg: #2b241c;
  --fg-muted: #5c5040;
  --fg-faint: #6f6151;
  --primary: #9c5f30;
  --primary-hover: #84501f;
  --primary-fg: #fbf7ef;
  --accent: #9c5049;
  --accent-fg: #fbf7ef;
  --border: rgba(43, 36, 28, 0.1);
  --border-strong: rgba(43, 36, 28, 0.2);
  --card: #ffffff;
  --overlay-scrim: rgba(250, 246, 239, 0.85);

  --font-display: "Heebo", sans-serif;
}

/* Softer weight + real letterforms instead of heavy uppercase display type —
   documentary tone reads as a personal journal, not a movie poster. Small
   overline labels (.eyebrow, tags, stat captions) keep their uppercase
   treatment; only the large headline elements change here. */
h1,
h2,
h3,
h4,
.font-display {
  font-weight: 600;
  letter-spacing: 0;
}

.hero-title,
.section-head h2,
.card-info h3,
.lightbox-info h3,
.contact-info h2 {
  text-transform: none;
}

/* The brand wordmark is set in English regardless of page language, so it
   keeps the original Frank Ruhl Libre pairing rather than following
   --font-display (Hebrew headings only, and Alef doesn't carry the same
   weight in Latin as it does in Hebrew). */
.brand,
.preloader-word {
  font-family: "Frank Ruhl Libre", serif;
}

/* Brand lockup — "By Your Side" in the same heavy serif as before, a thin
   divider, then a small two-line tagline: kept deliberately quiet (small,
   light weight, muted color) so it supports the name instead of competing
   with it. direction:ltr since it's English content in an RTL page — makes
   the row order and each line's own text-align behave as "left" instead of
   resolving to the right the way they would under the page's own RTL
   direction. */
.brand {
  direction: ltr;
  gap: 10px;
}
/* Matches the high-contrast italic serif ("IT'S CALLED") from the Speedo X
   Swell reference PDF Matan pointed at — Fraunces italic is the closest
   widely-available match to that look (dramatic thick/thin contrast, ball
   terminals), not a scan of the exact font (no metadata to confirm it). */
.brand-name {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.brand-divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
  flex-shrink: 0;
}
.brand-tagline {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  color: var(--fg-faint);
  line-height: 1.5;
  text-align: left;
  text-transform: uppercase;
}

/* Same two-line lockup on the loading screen, so the full name + signature
   tagline is what people see first, not just the name on its own. Centered
   (rather than left-aligned like the header/footer) since it's a standalone
   splash on the page, not sitting next to a logo dot in a row. */
.preloader-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  direction: ltr;
}
.preloader-name {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.preloader-tagline {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(0.65rem, 1.6vw, 0.8rem);
  letter-spacing: 0.08em;
  margin-top: 8px;
  color: var(--fg-faint);
  text-transform: uppercase;
}

.hero-title {
  line-height: 1.15;
}

/* Fix a couple of spots in the shared stylesheet that hardcode the
   commercial site's coral/chartreuse instead of using the color tokens —
   harmless there, but needs a matching hardcoded value here too. */
.brand .brand-dot {
  box-shadow: 0 0 0 4px rgba(156, 95, 48, 0.18);
}

.service-card.is-featured {
  background: linear-gradient(120deg, rgba(156, 95, 48, 0.08), transparent 60%);
}

.form-status {
  background: rgba(156, 80, 73, 0.08);
}

/* Error/required-field color: the shared stylesheet reuses --primary for
   these, which would now read as terracotta (too close to the CTA color to
   register as "something's wrong") — a clear brick red keeps it warm but
   distinct. */
.field .required,
.field-error {
  color: #b8402f;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #b8402f;
}

/* ==========================================================================
   Header — light text while transparent over the dark hero, switching to
   dark-on-cream once scrolled onto the light page body.
   ========================================================================== */

.site-header .brand,
.site-header .nav-burger span {
  color: #f4ead9;
}

.site-header .nav-burger span {
  background: #f4ead9;
}

.site-header .nav-links a {
  color: rgba(244, 234, 217, 0.75);
}

.site-header .nav-links a:hover {
  color: #f4ead9;
}

.site-header .nav-link-accent {
  color: #e8c88a !important;
  border-color: rgba(232, 200, 138, 0.4);
}

.site-header .nav-link-accent:hover {
  border-color: #e8c88a;
  background: rgba(232, 200, 138, 0.1);
}

.site-header.is-scrolled {
  background: rgba(250, 246, 239, 0.88);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav-burger span {
  color: var(--fg);
}

.site-header.is-scrolled .nav-burger span {
  background: var(--fg);
}

.site-header.is-scrolled .nav-links a {
  color: var(--fg-muted);
}

.site-header.is-scrolled .nav-links a:hover {
  color: var(--fg);
}

.site-header.is-scrolled .nav-link-accent {
  color: var(--accent) !important;
  border-color: rgba(156, 80, 73, 0.35);
}

.site-header.is-scrolled .nav-link-accent:hover {
  border-color: var(--accent);
  background: rgba(156, 80, 73, 0.08);
}

/* ==========================================================================
   Hero — stays a dark cinematic moment (video + scrim) regardless of the
   light body theme below it, so all its text is hardcoded light rather
   than inheriting the new dark-ink --fg.
   ========================================================================== */

/* Hero background and the about-portrait panel read as dark "screen"
   surfaces regardless of the light page theme (same idea as the portfolio
   card tiles) — hardcoded dark end-stops, not tied to --bg, since the
   shared stylesheet's version fades into var(--bg) which is now cream. */
.hero-bg {
  background: radial-gradient(120% 90% at 18% 0%, #2e1c10 0%, #171310 55%),
    linear-gradient(180deg, #1c140d 0%, #171310 100%);
}

.about-portrait {
  background: linear-gradient(160deg, #2e1a12, #171310 70%);
}

.hero {
  color: #f4ead9;
}

.hero .eyebrow {
  color: rgba(244, 234, 217, 0.75);
}

.hero-scroll-cue span {
  color: rgba(244, 234, 217, 0.6);
}

.hero-scroll-cue .scroll-line {
  background: linear-gradient(rgba(244, 234, 217, 0.6), transparent);
}

.hero-scroll-cue .scroll-line::after {
  background: linear-gradient(#e8c88a, transparent);
}

.hero-title .line span {
  color: #f4ead9;
}

.hero-title .line.accent-line span {
  color: var(--primary);
}

.hero-sub {
  border-top-color: rgba(244, 234, 217, 0.15);
}

.hero-sub .lead {
  color: rgba(244, 234, 217, 0.8);
}

.hero-meta div {
  color: rgba(244, 234, 217, 0.55);
}

.hero-meta strong {
  color: #f4ead9;
}

.hero .btn-outline {
  color: #f4ead9;
  border-color: rgba(244, 234, 217, 0.35);
}

.hero .btn-outline:hover {
  color: #f4ead9;
  border-color: #f4ead9;
  background: rgba(244, 234, 217, 0.08);
}

.hero-wedding-link {
  color: rgba(244, 234, 217, 0.75);
}

.hero-wedding-link:hover {
  color: #e8c88a;
}

.hero-media-toggle {
  color: #f4ead9;
  border-color: rgba(244, 234, 217, 0.3);
}

.hero-media-toggle:hover {
  border-color: #e8c88a;
}

/* ==========================================================================
   Text overlaid on dark card/lightbox imagery — same reasoning as the
   hero: stays light regardless of the page's light theme.
   ========================================================================== */

.card-info h3,
.about-badge strong {
  color: #f4ead9;
}

/* Card titles that split into a kicker + headline (see main.js) each set
   their own color, which otherwise wins over the rule above — give them
   the same light-on-dark treatment individually. */
.card-title-kicker {
  color: rgba(244, 234, 217, 0.75);
}

.card-title-main {
  color: #f4ead9;
}

.card-info .tag,
.about-badge span {
  color: #e8c88a;
}

.lightbox-close {
  color: #f4ead9;
  border-color: rgba(244, 234, 217, 0.3);
}

.lightbox-close:hover {
  background: #f4ead9;
  color: #2b241c;
}

.lightbox-info h3 {
  color: #f4ead9;
}

.lightbox-info .text-accent {
  color: #e8c88a;
}

.lightbox-note {
  color: rgba(244, 234, 217, 0.7);
}

.lightbox-note .text-accent {
  color: #e8c88a;
}

/* ==========================================================================
   Package video examples (Classic / My Style) — these sit on plain light
   service cards, so the page's normal light-theme tokens apply correctly.
   ========================================================================== */

.package-example {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}

.package-example:hover,
.package-example:focus-visible {
  border-color: var(--accent);
  background: rgba(156, 80, 73, 0.05);
}

.package-example .icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.package-example .icon-wrap svg {
  width: 14px;
  height: 14px;
  margin-inline-start: 2px;
}

[dir="rtl"] .package-example .icon-wrap svg {
  margin-inline-start: 0;
  margin-inline-end: 2px;
  transform: scaleX(-1);
}

.package-example span {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--fg);
}
