/* ============================================
   Wedding Saif & Ouma — CSS
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --ivory: #faf7f2;
  --cream: #f0e9dc;
  --sage-dark: #5a6358;
  --sage-light: #778a6e;
  --gold: #c5a46d;
  --gold-soft: #b89a5f;
  --carbon: #3b2613;
  --font-display: "sweet-fancy-script", cursive;
  --font-body: "arek-armenian", serif;
  --shadow-soft: 0 2px 15px -3px rgba(59, 38, 19, .1), 0 4px 6px -2px rgba(59, 38, 19, .05);
  --shadow-elegant: 0 10px 40px -10px rgba(59, 38, 19, .15), 0 4px 15px -3px rgba(59, 38, 19, .08);
  --transition-smooth: all .4s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light only;
}

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--sage-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-blend-mode: overlay;
  background-size: 200px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea {
  font-family: var(--font-body);
}

/* ---- Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================ INTRO SPLASH ================ */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  cursor: pointer;
  background: #fff;
  transition: opacity 0.8s ease-in-out;
}

.intro-splash.fading {
  opacity: 0;
  pointer-events: none;
}

.intro-splash.hidden {
  display: none;
}

.intro-poster,
.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-video {
  opacity: 0;
  transition: opacity 50ms ease-out;
}

.intro-video.playing {
  opacity: 1;
}

.intro-poster.hidden-poster {
  opacity: 0;
}

/* ================ MAIN CONTENT ================ */
.main-content {
  min-height: 100vh;
}

/* ---- Language Switcher ---- */
.lang-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(90, 99, 88, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  border-radius: 9999px;
  padding: 4px;
}

.lang-btn {
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sage-dark);
  transition: var(--transition-smooth);
}

.lang-btn.active {
  background: var(--sage-dark);
  color: #fff;
}

.lang-btn:hover:not(.active) {
  background: rgba(90, 99, 88, 0.1);
}

/* ---- Audio Toggle ---- */
.audio-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(90, 99, 88, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  transition: var(--transition-smooth);
}

.audio-toggle:hover {
  background: #fff;
  box-shadow: var(--shadow-elegant);
}

/* ---- Watermark ---- */
.watermark-container {
  position: fixed;
  top: 50%;
  left: 75%;
  transform: translate(-50%, -50%);
  z-index: 50;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

.watermark-glow {
  position: absolute;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  filter: blur(40px);
}

.watermark-img {
  position: relative;
  width: 840px;
}

@keyframes float {

  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-12px);
  }
}

/* ================ HERO SECTION ================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.hero-name1,
.hero-name2 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  color: #fff;
  font-weight: 400;
  line-height: 0.9;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .15);
}

.hero-ampersand {
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.5rem 0;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.divider-line {
  width: 6rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.divider-star {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.hero-date {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: #fff;
  letter-spacing: 0.15em;
  font-weight: 400;
}

.hero-rsvp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.hero-rsvp-link:hover {
  color: #fff;
}

.hero-rsvp-link svg {
  animation: float 2s ease-in-out infinite;
}

/* ================ COUNTDOWN ================ */
.countdown-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--cream);
}

.section-title-script {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--sage-dark);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.countdown-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-dark);
  opacity: 0.6;
  margin-bottom: 2rem;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.countdown-box {
  text-align: center;
}

.countdown-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold);
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-dark);
  opacity: 0.5;
}

.countdown-divider-vertical {
  width: 1px;
  height: 60px;
  background: rgba(90, 99, 88, 0.2);
}

/* ================ WELCOME ================ */
.welcome-section {
  padding: 5rem 1.5rem 0;
  text-align: center;
  background: var(--ivory);
}

.welcome-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--sage-dark);
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-style: italic;
}

/* ---- Gallery Marquee ---- */
.gallery-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0 3rem;
}

.gallery-marquee-wrapper.bottom {
  padding: 0 0 3rem;
  background: var(--ivory);
}

.gallery-marquee {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.gallery-marquee:hover {
  animation-play-state: paused;
}

.gallery-item {
  flex-shrink: 0;
  width: 240px;
  height: 340px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s;
  filter: sepia(0.15);
  border-radius: 12px;
}

.gallery-item img:hover {
  filter: sepia(0);
}

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

  100% {
    transform: translateX(-50%);
  }
}

/* ---- Section Dividers ---- */
.section-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0;
  background: var(--ivory);
}

.divider-line-h {
  width: 6rem;
  height: 1px;
  background: rgba(90, 99, 88, 0.15);
  margin-bottom: 2rem;
}

.divider-illustration {
  width: 128px;
  height: auto;
  opacity: 0.8;
}

.divider-illustration.small {
  width: 64px;
}

@media (min-width: 768px) {
  .divider-illustration {
    width: 160px;
  }

  .divider-illustration.small {
    width: 80px;
  }
}

/* ================ VENUE ================ */
.venue-section {
  background: linear-gradient(180deg, var(--gold) 60%, var(--ivory) 60%);
  padding: 0 1.5rem 5rem;
}

.venue-header {
  text-align: center;
  padding-bottom: 2.5rem;
}

.venue-header-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(59, 38, 19, 0.15);
  margin-bottom: 0.75rem;
}

.venue-header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.venue-header-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(249, 247, 242, 0.75);
  font-weight: 500;
}

.venue-card {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}

.venue-illustration-wrapper {
  position: relative;
  padding: 3rem 2rem;
  text-align: center;
  overflow: hidden;
}

.venue-bg-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.venue-title {
  position: relative;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.venue-name {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--sage-dark);
}

.venue-photo {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 1.5rem auto 0;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.venue-details {
  padding: 2rem;
  text-align: center;
}

.venue-info-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.venue-time-sep {
  opacity: 0.5;
}

.venue-time {
  font-style: italic;
}

.venue-line {
  width: 60px;
  height: 1px;
  background: var(--sage-dark);
  opacity: 0.2;
  margin: 0 auto 1.5rem;
}

.venue-address {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sage-dark);
}

.venue-region {
  font-size: 0.85rem;
  color: var(--sage-dark);
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.venue-map {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.venue-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.venue-map-btn:hover {
  opacity: 1;
}

/* ================ PROGRAMME ================ */
.programme-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--ivory);
}

.timeline {
  max-width: 600px;
  margin: 3rem auto 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* The central vertical line */
.timeline::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(197, 164, 109, 0.4);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  display: flex;
  margin-bottom: 3.5rem;
  z-index: 1;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item.right {
  align-self: flex-end;
  justify-content: flex-start;
  padding-left: 2rem;
}

.timeline-item.left {
  align-self: flex-start;
  justify-content: flex-end;
  padding-right: 2rem;
  text-align: right;
}

/* The horizontal tick mark */
.timeline-item::before {
  content: '';
  position: absolute;
  top: 14px;
  width: 15px;
  height: 1px;
  background: rgba(197, 164, 109, 0.4);
}

.timeline-item.right::before {
  left: 0;
}

.timeline-item.left::before {
  right: 0;
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.timeline-item.left .timeline-content {
  align-items: flex-end;
}

.timeline-item.right .timeline-content {
  align-items: flex-start;
}

.timeline-time {
  font-family: var(--font-body);
  /* In image time is not script font */
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.timeline-event {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

/* Mobile responsive timeline */
@media (max-width: 600px) {
  .timeline {
    max-width: 320px;
  }

  .timeline::after {
    left: 20px;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    align-self: flex-start !important;
    justify-content: flex-start !important;
    padding-left: 3rem !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-item::before {
    left: 20px !important;
    right: auto !important;
    width: 15px;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    align-items: flex-start;
  }
}

/* ================ DRESS CODE ================ */
.dresscode-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background-image: url('venue-2.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.dresscode-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 247, 242, 0.3);
}

.dresscode-card-single {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: var(--shadow-elegant);
  z-index: 1;
}

.dresscode-title {
  margin-bottom: 3rem;
  /* section-title-script already sets font-family, font-size, color */
}

.dresscode-subtitle {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.dresscode-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--gold-soft);
  margin-bottom: 2rem;
}

.dresscode-text:last-child {
  margin-bottom: 0;
}

.dresscode-divider {
  width: 80px;
  height: 1px;
  background: rgba(197, 164, 109, 0.4);
  margin: 0 auto 2rem;
}

/* ================ PRE-WEDDING ================ */
.prewedding-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--ivory);
}

.prewedding-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 600px;
  margin: 2rem auto 0;
}

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

.prewedding-card {
  padding: 2rem;
  border: 1px solid rgba(197, 164, 109, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
}

.prewedding-card:hover {
  box-shadow: var(--shadow-elegant);
  transform: translateY(-2px);
}

.prewedding-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--sage-dark);
  margin-bottom: 0.25rem;
}

.prewedding-day {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.prewedding-desc {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ================ LOCATION ================ */
.location-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--ivory);
}

.location-subtitle {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 2rem;
}

.travel-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.travel-card {
  padding: 1.5rem 2rem;
  border: 1px solid rgba(197, 164, 109, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  min-width: 150px;
  transition: var(--transition-smooth);
}

.travel-card:hover {
  box-shadow: var(--shadow-elegant);
  transform: translateY(-2px);
}

.travel-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.travel-card h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.travel-card p {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ================ ACCOMMODATION ================ */
.accommodation-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--ivory);
}

.accommodation-subtitle {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 2rem;
}

.hotel-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.hotel-card {
  padding: 2rem;
  border: 1px solid rgba(197, 164, 109, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
}

.hotel-card:hover {
  box-shadow: var(--shadow-elegant);
  transform: translateY(-2px);
}

.hotel-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hotel-desc {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.promo-code {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(197, 164, 109, 0.1);
  border: 1px solid rgba(197, 164, 109, 0.3);
  border-radius: 6px;
  font-size: 0.8rem;
}

.promo-code strong {
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ================ GIFTS ================ */
.gifts-section {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.gifts-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}

.gifts-card {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.gifts-card .section-title-script {
  color: var(--sage-dark);
}

.gifts-text {
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 1rem 0 2rem;
  line-height: 1.8;
}

.bank-card {
  background: rgba(250, 247, 242, 0.9);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

.bank-card h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
}

.bank-card p {
  font-size: 0.82rem;
  color: var(--sage-dark);
  opacity: 0.7;
  line-height: 1.6;
}

/* ================ RSVP ================ */
.rsvp-section {
  padding: 5rem 1.5rem;
  background: var(--gold);
}

.rsvp-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.rsvp-title {
  color: #fff !important;
}

.rsvp-subtitle {
  color: #f9f7f2;
  font-weight: 500;
  letter-spacing: 0.025em;
  margin-bottom: 2rem;
}

.rsvp-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

@media (min-width: 768px) {
  .rsvp-form-card {
    padding: 2.5rem;
  }
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group-sm {
  margin-top: 0.75rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
}

.form-label-sm {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
}

.form-label-xs {
  display: block;
  font-size: 0.8rem;
  color: var(--sage-dark);
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(197, 164, 109, 0.3);
  border-radius: 6px;
  background: var(--ivory);
  color: var(--sage-dark);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  margin-bottom: 0.5rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
}

.form-input::placeholder {
  color: rgba(90, 99, 88, 0.4);
}

.form-textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(197, 164, 109, 0.3);
  border-radius: 6px;
  background: var(--ivory);
  color: var(--sage-dark);
  font-size: 0.9rem;
  resize: vertical;
  transition: border-color 0.3s;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-textarea::placeholder {
  color: rgba(90, 99, 88, 0.4);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--sage-dark);
}

.radio-option input[type="radio"] {
  accent-color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.guest-count-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.counter-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.counter-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(197, 164, 109, 0.3);
  border-radius: 6px;
  font-size: 1.2rem;
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.counter-btn:hover {
  background: rgba(197, 164, 109, 0.1);
}

.counter-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.counter-value {
  width: 40px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--sage-dark);
}

.guest-detail-card {
  padding: 1rem;
  background: rgba(197, 164, 109, 0.05);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.rsvp-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.rsvp-submit-btn:hover {
  background: var(--gold-soft);
}

.rsvp-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ================ RSVP CONFIRMATION ================ */
.rsvp-confirmation {
  min-height: 100vh;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.confirm-inner {
  text-align: center;
  max-width: 600px;
  animation: fadeUp 0.8s ease forwards;
}

.confirm-inner p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================ FOOTER ================ */
.footer-section {
  padding: 4rem 1.5rem;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  color: var(--sage-dark);
  line-height: 1.1;
}

.footer-ampersand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--sage-dark);
  font-style: italic;
  margin: 0.25rem 0;
}

.footer-date {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.025em;
  margin-top: 0.5rem;
}

.footer-credit {
  font-size: 0.82rem;
  color: var(--sage-dark);
  opacity: 0.6;
  margin-top: 3rem;
  font-weight: 500;
}

.footer-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-credit a:hover {
  color: var(--gold);
}

/* ================ RESPONSIVE ================ */
@media (min-width: 768px) {
  .countdown-section {
    padding: 6rem 3rem;
  }

  .welcome-section {
    padding: 6rem 3rem 0;
  }

  .programme-section,
  .dresscode-section,
  .prewedding-section,
  .location-section,
  .accommodation-section {
    padding: 6rem 3rem;
  }

  .rsvp-section {
    padding: 6rem 3rem;
  }

  .venue-section {
    padding: 0 3rem 6rem;
  }
}

/* ---- Hide on mobile ---- */
@media (max-width: 767px) {
  .watermark-container {
    display: none;
  }
}

/* ================ RTL / Arabic Support ================ */
body.rtl {
  direction: rtl;
  font-family: 'Noto Kufi Arabic', var(--font-body);
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6 {
  font-family: 'Noto Kufi Arabic', var(--font-display);
}

body.rtl .section-title-script {
  font-family: 'Noto Kufi Arabic', var(--font-display);
}

body.rtl .hero-name1,
body.rtl .hero-name2 {
  font-family: 'Noto Kufi Arabic', var(--font-display);
}

body.rtl .footer-name {
  font-family: 'Noto Kufi Arabic', var(--font-display);
}

/* RTL text alignment */
body.rtl .form-group,
body.rtl .bank-card {
  text-align: right;
}

/* RTL timeline flip */
body.rtl .timeline-item {
  flex-direction: row-reverse;
}

body.rtl .timeline-content {
  flex-direction: row-reverse;
}

body.rtl .timeline-line {
  margin-left: 0;
  margin-right: 5px;
}

body.rtl .timeline-time {
  text-align: right;
}

/* RTL guest count + radio */
body.rtl .guest-count-header {
  flex-direction: row-reverse;
}

body.rtl .radio-option {
  flex-direction: row-reverse;
}

/* RTL venue */
body.rtl .venue-map-btn {
  flex-direction: row-reverse;
}

/* RTL hero RSVP link */
body.rtl .hero-rsvp-link {
  flex-direction: row-reverse;
}

/* RTL lang switcher stays right in LTR but left in RTL */
body.rtl .lang-switcher {
  right: auto;
  left: 16px;
}

/* RTL audio toggle mirror */
body.rtl .audio-toggle {
  right: auto;
  left: 24px;
}

/* RTL hero divider */
body.rtl .hero-divider {
  flex-direction: row-reverse;
}

/* RTL counter control */
body.rtl .counter-control {
  flex-direction: row-reverse;
}

/* RTL rsvp submit icon */
body.rtl .rsvp-submit-btn {
  flex-direction: row-reverse;
}