/* Samrah — static site (lightweight) */

:root {
  --velvet: #0c0609;
  --wine-deep: #1a0810;
  --champagne: #e8d5b5;
  --champagne-bright: #faf4ea;
  --rose-gold: #c9a87c;
  --burgundy: #6b1835;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--champagne);
  background: var(--velvet);
  overflow-x: hidden;
}

h1,
h2,
h3,
.eyebrow,
.btn {
  font-family: "Cinzel", Georgia, serif;
}

.script {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, transparent, var(--rose-gold), var(--champagne));
  pointer-events: none;
}

.section {
  padding: 4rem 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.section--wide {
  max-width: 1100px;
}

.section--full {
  max-width: none;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.bg-velvet {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(74, 14, 31, 0.45) 0%, transparent 55%),
    linear-gradient(180deg, var(--velvet) 0%, var(--wine-deep) 50%, var(--velvet) 100%);
}

.bg-soft {
  background: radial-gradient(ellipse 60% 50% at 50% 0%, #2a1520 0%, var(--wine-deep) 40%, var(--velvet) 100%);
}

.bg-champagne-band {
  background: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(201, 168, 124, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--wine-deep) 0%, #12060c 100%);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #f5e6c8 0%, #c9a87c 45%, #e8d5b5 70%, #fff8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1rem;
}

.ornament {
  display: block;
  width: 120px;
  height: 1px;
  margin: 1.5rem auto;
  background: linear-gradient(90deg, transparent, var(--rose-gold), transparent);
}

.ornament-diamond::before {
  content: "◆";
  display: block;
  text-align: center;
  font-size: 0.5rem;
  color: var(--rose-gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5em;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem 6rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  max-width: 14ch;
  margin: 0 auto;
}

.hero .quote {
  font-style: italic;
  max-width: 28rem;
  margin: 2rem auto 0;
  color: rgba(232, 213, 181, 0.88);
  font-size: 1.15rem;
}

.hero-sub {
  max-width: 32rem;
  color: rgba(232, 213, 181, 0.72);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Hasssan ♥ Samrah — display typography (Italiana) */
.couple-names-wrap {
  width: 100%;
  max-width: 100%;
  margin: 2.75rem auto 2rem;
  padding: 1.75rem 1rem 2rem;
  position: relative;
  text-align: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.couple-names-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(92%, 28rem);
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(201, 168, 124, 0.14) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.couple-names {
  position: relative;
  z-index: 1;
  font-family: "Italiana", "Cinzel", Georgia, serif;
  font-size: clamp(1.85rem, 7.5vw, 4.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  text-align: center;
  white-space: nowrap;
  margin: 0 auto;
}

.couple-names__him,
.couple-names__her {
  background: linear-gradient(145deg, #fff8f0 0%, #f5e6c8 35%, #c9a87c 70%, #e8d5b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.couple-names__her {
  letter-spacing: 0.1em;
}

.couple-names__heart {
  display: inline-block;
  font-size: 0.52em;
  line-height: 1;
  flex-shrink: 0;
  color: #ffb4c0;
  text-shadow:
    0 0 12px rgba(255, 140, 170, 0.95),
    0 0 28px rgba(255, 100, 140, 0.75),
    0 0 48px rgba(196, 122, 138, 0.55);
  animation: heart-glow 2.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes heart-glow {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
    filter: brightness(1.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .couple-names__heart {
    animation: none;
  }
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--velvet);
  background: linear-gradient(135deg, #f5e6c8 0%, #c9a87c 50%, #e8d5b5 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(201, 168, 124, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 124, 0.45);
}

.center {
  text-align: center;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
}

.poetry {
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(245, 230, 200, 0.92);
  line-height: 1.9;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 213, 181, 0.15);
  border-radius: 2px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.card .icon {
  font-size: 1.5rem;
  color: var(--rose-gold);
  display: block;
  margin-bottom: 1rem;
}

.card .title {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--champagne-bright);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  line-height: 1.35;
}

.card .hint {
  font-style: italic;
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(245, 230, 200, 0.9);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}

.card:hover .hint,
.card:focus-within .hint {
  max-height: 6rem;
  opacity: 1;
}

.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(232, 213, 181, 0.1);
  border-bottom: 1px solid rgba(232, 213, 181, 0.1);
  background: rgba(26, 8, 16, 0.85);
  padding: 1rem 0;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    gap: 0.75rem;
    text-align: center;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee span {
  flex-shrink: 0;
  padding: 0 2.5rem;
  font-style: italic;
  color: rgba(232, 213, 181, 0.78);
  white-space: nowrap;
}

.marquee .sep {
  color: rgba(201, 168, 124, 0.45);
}

.poem {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 213, 181, 0.12);
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
  border-radius: 2px;
  text-align: center;
}

.poem h3 {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.poem .by {
  margin-top: 2rem;
  font-family: "Great Vibes", cursive;
  font-size: 1.75rem;
  color: rgba(232, 213, 181, 0.45);
}

.vow-list {
  list-style: none;
  max-width: 36rem;
  margin: 2rem auto 0;
  text-align: left;
}

.vow-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.vow-list .num {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.75rem;
  color: var(--rose-gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.vow-list p {
  font-style: italic;
  color: rgba(245, 230, 200, 0.9);
}

.memories {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .memories {
    grid-template-columns: repeat(3, 1fr);
  }
}

.memory {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 213, 181, 0.1);
  border-radius: 2px;
}

.memory .emoji {
  font-size: 1.5rem;
  color: var(--rose-gold);
  margin-bottom: 0.75rem;
}

.memory h3 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne-bright);
  margin-bottom: 0.5rem;
}

.memory p {
  font-style: italic;
  font-size: 1rem;
  color: rgba(232, 213, 181, 0.75);
}

.letter {
  background: linear-gradient(145deg, #fffef8 0%, #faf6f0 50%, #f5efe6 100%);
  color: #4a2838;
  border: 1px solid rgba(201, 168, 124, 0.25);
  padding: 2.5rem 2rem;
  max-width: 36rem;
  margin: 2rem auto;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.letter .salutation {
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  color: #8b2942;
  margin-bottom: 1.5rem;
}

.letter p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.75;
}

.letter .close {
  margin-top: 2rem;
  text-align: right;
  font-family: "Great Vibes", cursive;
  font-size: 1.5rem;
  color: #6b2035;
}

.moon {
  text-align: center;
  padding: 5rem 1.25rem;
}

.moon blockquote {
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: #f5e6c8;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.5;
}

.moon .sign {
  margin-top: 2rem;
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
}

.moon .tag {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(232, 213, 181, 0.5);
}

.final {
  text-align: center;
  padding: 6rem 1rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.final h2.script {
  font-size: clamp(3rem, 10vw, 5rem);
  margin-bottom: 1.5rem;
}

.final .lead {
  font-style: italic;
  max-width: 28rem;
  color: rgba(232, 213, 181, 0.82);
  margin-bottom: 2rem;
}

.final-message {
  display: none;
}

.final-message.visible {
  display: block;
}

.final-message .big {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  font-family: "Cinzel", Georgia, serif;
}
