/* keralasyrianmatrimony.com — modern homepage stylesheet (2026 redesign).
 * Loads before css/site-extras.css, which supplies the brand tokens
 * (--brand-primary, --cm-aqua, …), the Uncut Sans font-face and the shared
 * footer / cookie-consent styling. Fallback values below match the same
 * brand token sheet. */

:root {
  --ink: #1f2123;
  --ink-soft: #4a4d52;
  --ink-faint: #6f7378;
  --purple: #851f82;
  --purple-deep: #5c1259;
  --aqua: #8adee1;
  --paper: #ffffff;
  --paper-tint: #f6f3f6;
  --line: #e6e7e9;
  --radius: 16px;
  --shadow-soft: 0 6px 24px rgba(23, 4, 22, 0.08);
  --shadow-lift: 0 14px 40px rgba(23, 4, 22, 0.14);
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
:where(a) { color: var(--purple); }
.wrap {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--purple);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 3000;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 6px 18px rgba(133, 31, 130, 0.35);
}
.btn-solid:hover { filter: brightness(1.12); box-shadow: 0 10px 26px rgba(133, 31, 130, 0.4); }
.btn-aqua {
  background: var(--aqua);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(20, 90, 92, 0.25);
}
.btn-aqua:hover { filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline:hover { background: var(--purple); color: #fff; }

/* ------------------------------------------------------------------ header */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-head.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(23, 4, 22, 0.07);
}
.site-head-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
  margin-right: auto;
}
.brand strong {
  color: var(--purple);
  font-size: 21px;
  letter-spacing: 0.2px;
}
.brand span {
  color: var(--ink-soft);
  font-size: 12.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { background: var(--paper-tint); color: var(--purple); }
.site-nav .nav-cta a {
  background: var(--purple);
  color: #fff;
  margin-left: 8px;
}
.site-nav .nav-cta a:hover { filter: brightness(1.12); }
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  cursor: pointer;
  /* Bars are drawn in CSS (middle bar = background, outer bars = pseudo
     elements) so an HTML formatter cannot strip them as empty markup. */
  background: linear-gradient(var(--ink), var(--ink)) center / 24px 2.5px no-repeat;
  border-radius: 10px;
  transition: background-size 0.2s ease;
}
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease;
}
.nav-toggle::before { transform: translate(-50%, -50%) translateY(-7.5px); }
.nav-toggle::after { transform: translate(-50%, -50%) translateY(7.5px); }
.nav-toggle[aria-expanded="true"] { background-size: 0 2.5px; }
.nav-toggle[aria-expanded="true"]::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(23, 4, 22, 0.12);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 2px;
  }
  .site-nav a { display: block; padding: 12px 14px; border-radius: 10px; }
  .site-nav .nav-cta a { text-align: center; margin: 8px 0 0; }
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 150px;
  color: #fff;
  /* Light purple overlay: keeps the photo clearly visible while darkening
     the left side just enough for the white headline to stay readable. */
  background:
    linear-gradient(100deg, rgba(40, 5, 38, 0.62) 0%, rgba(70, 10, 68, 0.38) 42%, rgba(133, 31, 130, 0.1) 78%, rgba(133, 31, 130, 0.03) 100%),
    url("../images/01.png") center 40% / cover no-repeat;
}
.hero h1,
.hero p {
  text-shadow: 0 2px 14px rgba(20, 2, 19, 0.55);
}
.hero-inner { max-width: 720px; }
.hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  color: var(--aqua);
}
.hero p {
  margin: 0 0 32px;
  max-width: 560px;
  font-size: 18.5px;
  color: rgba(255, 255, 255, 0.92);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 640px) {
  .hero { padding-bottom: 120px; }
}

/* Partner band overlapping the hero */
.partner-band {
  position: relative;
  z-index: 5;
  margin-top: -64px;
}
.partner-band h2 { margin: 0; font-size: inherit; }
.partner-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 28px 32px;
  text-align: center;
  text-decoration: none;
  color: var(--purple);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: -0.2px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.partner-card:hover { transform: translateY(-3px); }
.partner-card img { flex: none; width: 56px; height: auto; }

/* ---------------------------------------------------------------- sections */
.section { padding: 92px 0 0; }
.section:last-of-type { padding-bottom: 92px; }
.section-head { max-width: 680px; margin: 0 0 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker {
  display: inline-block;
  color: var(--purple);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(27px, 3.6vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.section-head p { margin: 0; color: var(--ink-soft); }

/* Long-form copy */
.prose {
  max-width: 860px;
  margin: 0 auto;
  color: var(--ink-soft);
}
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--purple); font-weight: 600; }
.section .section-head.center + .prose { text-align: left; }
.section.tint { background: linear-gradient(180deg, #fff 0%, var(--paper-tint) 120px); padding-bottom: 92px; }

/* Brides / grooms match cards */
.match-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.match-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.2px;
  box-shadow: var(--shadow-lift);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.match-card:hover { transform: translateY(-3px); filter: brightness(1.08); }
.match-card.brides { background: linear-gradient(135deg, var(--purple), var(--purple-deep)); }
.match-card.grooms { background: linear-gradient(135deg, #2e8f93, #14595c); }
.match-links {
  margin: 26px 0 0;
  text-align: center;
}
.match-links a { color: var(--purple); font-weight: 700; }
@media (max-width: 640px) {
  .match-grid { grid-template-columns: 1fr; }
}

/* App store buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.store-btn:hover { transform: translateY(-2px); filter: brightness(1.25); }
.store-btn svg { width: 22px; height: 22px; flex: none; }

/* Ritual / feature cards */
.ritual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ritual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ritual-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.ritual-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--purple);
}
.ritual-card p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) {
  .ritual-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- animations */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .partner-card, .match-card, .store-btn, .ritual-card { transition: none; }
}
