/* ===== Variables ===== */
:root {
  color-scheme: only light;
  --cream: #f5f0e8;
  --cream-dark: #ebe4d8;
  --pink: #e8c4c4;
  --pink-light: #f2dede;
  --pink-dark: #d4a5a5;
  --rose-gold: #c9958a;
  --brown: #3d2b1f;
  --brown-light: #4a3728;
  --white: #ffffff;
  --text-dark: #2c2c2c;
  --green: #8fa87a;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  color-scheme: only light;
  background-color: #3d2b1f;
}

body {
  font-family: var(--font-sans);
  background: var(--brown);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

body.envelope-locked {
  overflow: hidden;
  height: 100%;
  position: fixed;
  width: 100%;
}

/* ===== Envelope Screen (full-screen) ===== */
.envelope-screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 1000;
  overflow: hidden;
  background: #e5c2ba;
  transition: opacity 0.9s ease;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.envelope-screen.fading {
  opacity: 0;
  pointer-events: none;
}

.envelope {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  perspective: 1600px;
  perspective-origin: 50% 0%;
}

/* Full-screen textured paper base */
.env-base {
  position: absolute;
  inset: 0;
  background-color: #e5c2ba;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120,80,70,0.05) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #efd4cc 0%, #e5c2ba 45%, #ddb5ab 100%);
  z-index: 1;
}

/* Fold crease lines overlay */
.env-creases {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Dark inner lining */
.env-interior {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, #5a4034 0%, #3a2820 60%, #2b1d17 100%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}

.envelope.opened .env-interior {
  opacity: 1;
}

/* Letter — fully hidden until envelope opens */
.env-letter {
  position: absolute;
  left: 3%;
  width: 94%;
  top: 8%;
  height: 86%;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transform: translateY(120%);
  transition:
    transform 1.15s cubic-bezier(0.22, 0.9, 0.28, 1) 0.85s,
    opacity 0.4s ease 0.85s,
    visibility 0s linear 0.85s;
}

.envelope.opened .env-letter {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    transform 1.15s cubic-bezier(0.22, 0.9, 0.28, 1) 0.85s,
    opacity 0.5s ease 0.9s,
    visibility 0s linear 0s;
}

.env-letter-paper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ===== Davetiye Kartı (zarf + hero ortak) ===== */
.invitation-card {
  position: relative;
  background: #F8F5EE;
  color: var(--text-dark);
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5dfd3;
}

.invitation-card--envelope {
  box-shadow: 0 -6px 28px rgba(0,0,0,0.28);
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  padding: 2.5rem 1.25rem 2.75rem;
  min-height: 100%;
}

.invitation-card--hero {
  width: 100%;
  min-height: auto;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding: 2.5rem 1.25rem 2.75rem;
  align-items: center;
  justify-content: flex-start;
}

.invitation-floral {
  position: absolute;
  width: auto;
  max-width: 46%;
  height: auto;
  max-height: 38%;
  display: block;
  opacity: 1;
  pointer-events: none;
  background: transparent;
  mix-blend-mode: normal;
  object-fit: contain;
}

.invitation-floral-top {
  top: 0;
  left: 0;
}

.invitation-floral-bottom {
  right: 0;
  bottom: 0;
  max-width: 42%;
  max-height: 34%;
}

.invitation-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.invitation-subtitle {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: #5a5a5a;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 1.25rem;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 0.5rem;
}

.invitation-names {
  width: auto;
  max-width: 100%;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 auto;
  text-transform: uppercase;
  white-space: nowrap;
}

.invitation-names .amp {
  font-family: var(--font-script);
  font-size: 1.35em;
  font-weight: 400;
  color: var(--rose-gold);
  line-height: 1;
  transform: translateY(-0.05em);
  text-transform: none;
}

.invitation-divider {
  display: block;
  width: 70%;
  height: 1px;
  margin: 1rem auto 1.15rem;
  background: linear-gradient(
    to right,
    transparent,
    rgba(168, 126, 107, 0.75),
    transparent
  );
}

.invitation-welcome {
  font-family: var(--font-script);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--rose-gold);
  margin: 0 auto 0.85rem;
  text-align: center;
}

.invitation-date {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 auto 0.15rem;
  text-transform: uppercase;
  text-align: center;
}

.invitation-date--secondary {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-top: 0.85rem;
  margin-bottom: 0.15rem;
  opacity: 0.85;
}

.invitation-time {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  margin: 0.1rem auto 0;
  text-align: center;
  color: #5a5a5a;
}

.invitation-time--last {
  margin-bottom: 0.75rem;
}

@media (min-width: 400px) {
  .invitation-names {
    font-size: 1.85rem;
  }

  .invitation-welcome {
    font-size: 2.25rem;
  }
}

/* Bottom cover — blocks letter peeking before open */
.env-bottom-cover {
  position: absolute;
  inset: 0;
  z-index: 12;
  background-color: #ecd0c8;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120,80,70,0.045) 0 1px, transparent 1px 3px);
  clip-path: polygon(0 44%, 100% 44%, 100% 100%, 0 100%);
  pointer-events: none;
  transition: opacity 0.5s ease 0.3s;
}

.envelope.opened .env-bottom-cover {
  opacity: 0;
}

/* Top flap — opens upward */
.env-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 56%;
  z-index: 20;
  transform-origin: top center;
  transform-style: preserve-3d;
  will-change: transform;
}

.envelope.opened .env-flap {
  animation: flapOpen 1.15s cubic-bezier(0.55, 0.05, 0.3, 1) 0.15s forwards;
}

@keyframes flapOpen {
  0%   { transform: rotateX(0deg); }
  100% { transform: rotateX(174deg); }
}

.env-flap-face {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.env-flap-front {
  background-color: #e9c8c0;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.35), rgba(150,100,90,0.1)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120,80,70,0.045) 0 1px, transparent 1px 3px);
}

.env-flap-back {
  background-color: #d8b3aa;
  background-image: linear-gradient(180deg, rgba(90,55,45,0.28), rgba(255,255,255,0.12));
  transform: rotateX(180deg);
}

/* Wax seal — large, centered */
.wax-seal {
  position: absolute;
  top: 56%;
  left: 50%;
  width: clamp(112px, 28vmin, 148px);
  height: clamp(112px, 28vmin, 148px);
  transform: translate(-50%, -50%);
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 30;
  background:
    radial-gradient(circle at 34% 30%, #f0d2c8 0%, #dcaea2 42%, #c8907f 72%, #b57f6f 100%);
  box-shadow:
    0 12px 28px rgba(90,55,45,0.35),
    inset 0 3px 6px rgba(255,255,255,0.55),
    inset 0 -4px 8px rgba(120,70,55,0.45);
  animation: sealPulse 2.4s ease-in-out infinite;
  transition: transform 0.35s ease, opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.seal-text {
  position: relative;
  z-index: 2;
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(0.58rem, 2.6vmin, 0.72rem);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
  color: rgba(110, 65, 52, 0.82);
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
  padding: 0 0.75rem;
  pointer-events: none;
}

.wax-seal::before {
  content: '';
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  box-shadow:
    inset 0 2px 5px rgba(120,70,55,0.4),
    inset 0 -3px 5px rgba(255,255,255,0.4);
  background: radial-gradient(circle at 40% 35%, #e7c3b8, #cf9c8d 80%);
}

.wax-seal::after {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 3px rgba(120,70,55,0.2);
}

.wax-seal:active {
  transform: translate(-50%, -50%) scale(0.94);
}

.envelope.opened .wax-seal {
  animation: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  pointer-events: none;
}

@keyframes sealPulse {
  0%, 100% {
    box-shadow: 0 10px 24px rgba(90,55,45,0.32), inset 0 2px 5px rgba(255,255,255,0.55), inset 0 -3px 7px rgba(120,70,55,0.45);
  }
  50% {
    box-shadow: 0 14px 34px rgba(90,55,45,0.42), inset 0 2px 5px rgba(255,255,255,0.55), inset 0 -3px 7px rgba(120,70,55,0.45);
  }
}

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

/* ===== Main Content ===== */
.main-content {
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.main-content.revealed {
  opacity: 1;
}

/* ===== Hero (davetiye kartı alias) ===== */
.hero {
  color: var(--text-dark);
  text-align: center;
  position: relative;
}

.hero.invitation-card--hero .btn-confirm {
  margin-top: 0.5rem;
}

.btn-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  min-width: 175px;
  min-height: 40px;
  padding: 0.55rem 1rem;
  border: 1px solid #a87e6b;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
}

.btn-confirm--static {
  pointer-events: none;
  cursor: default;
}

.btn-confirm:hover {
  color: #ffffff;
  background-color: #a87e6b;
}

/* ===== Dark Sections Shared ===== */
.countdown-section {
  background: var(--brown);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.story-section,
.location-section,
.timeline-section,
.faq-section,
.rsvp-section,
.family-section {
  background: var(--brown);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

/* ===== Family ===== */
.family-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 1rem;
  max-width: 400px;
  margin: 1.25rem auto 0;
}

.family-col {
  text-align: center;
}

.family-names {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.family-note {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  opacity: 0.65;
  margin-top: 0.45rem;
  text-transform: uppercase;
}

.family-ornament {
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.family-ornament svg {
  width: 28px;
  height: 28px;
}

.venue-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.2rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.section-divider {
  width: 60%;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin: 2rem auto 0;
}

.countdown-section .section-divider {
  width: 70%;
  background: rgba(255, 255, 255, 0.35);
}

/* ===== Countdown ===== */
.countdown-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.countdown-block--nikah {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.countdown-unit {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

.countdown-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  margin: 0 0.25rem;
}

/* ===== RSVP button (WhatsApp) ===== */
.btn-reminder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  text-decoration: none;
  padding: 0.95rem 2rem;
  background: var(--white);
  color: var(--brown);
  border: none;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.3s, transform 0.2s;
}

.btn-reminder:hover {
  opacity: 0.92;
}

.btn-reminder:active {
  transform: scale(0.98);
}

/* ===== Story ===== */
.photo-gallery {
  overflow: hidden;
  width: 100%;
  margin: 1.5rem 0 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.photo-gallery-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  padding: 0 0.75rem;
  animation: galleryScroll 28s linear infinite;
  will-change: transform;
}

.photo-gallery-track img {
  width: min(68vw, 240px);
  aspect-ratio: 3/4;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border-radius: 2px;
}

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

@media (prefers-reduced-motion: reduce) {
  .photo-gallery-track {
    animation: none;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 0.5rem;
  }
}

/* ===== Location ===== */
.location-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.location-icon svg {
  width: 22px;
  height: 22px;
}

.venue-name {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.venue-time {
  font-family: var(--font-serif);
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.venue-address {
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.venue-image {
  margin-bottom: 1rem;
}

.venue-image-placeholder {
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
}

.venue-image-placeholder svg {
  width: 36px;
  height: 36px;
}

.map-container {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%) brightness(0.85);
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.location-directions {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 0.25rem;
}

.location-directions .btn-directions {
  min-width: 200px;
  padding: 0.85rem 2rem;
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  border-radius: 2px;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ===== Timeline ===== */
.timeline {
  max-width: 380px;
  margin: 1.5rem auto 0;
  position: relative;
  text-align: left;
  padding: 0 0.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.25);
}

.timeline-item {
  display: grid;
  grid-template-columns: 36px 62px 1fr;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown);
  z-index: 1;
}

.timeline-icon svg {
  width: 16px;
  height: 16px;
}

.timeline-time {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.3rem 0.5rem;
  text-align: center;
  white-space: nowrap;
}

.timeline-label {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 1.45;
  padding-top: 0.35rem;
}

/* ===== FAQ ===== */
.bouquet-icon {
  margin-bottom: 1rem;
}

.bouquet-icon svg {
  width: 60px;
  height: 75px;
}

.faq-item {
  margin-bottom: 1.5rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item h3 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.faq-item p {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  opacity: 0.75;
  line-height: 1.5;
}

/* ===== RSVP ===== */
.rsvp-message {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.85;
  max-width: 320px;
  margin: 1rem auto 1.5rem;
}

.btn-rsvp {
  margin: 0.5rem auto 1.25rem;
  min-width: 220px;
}

.rsvp-section {
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.7);
}

.form-group input[type="number"] {
  width: 80px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  accent-color: var(--rose-gold);
  width: 16px;
  height: 16px;
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--white);
  color: var(--brown);
  border: none;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  opacity: 0.9;
}

.btn-submit:active {
  transform: scale(0.98);
}

.rsvp-success {
  padding: 2rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.rsvp-success p {
  opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
  background: var(--brown);
  padding: 2rem 1.5rem 5rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer p {
  font-family: var(--font-script);
  font-size: 1.5rem;
}

.footer-date {
  font-family: var(--font-serif) !important;
  font-size: 0.9rem !important;
  opacity: 0.6;
  margin-top: 0.25rem;
}

/* ===== Responsive ===== */
@media (min-width: 481px) {
  body {
    background: #1a1209;
  }

  .main-content {
    box-shadow: 0 0 60px rgba(0,0,0,0.4);
  }
}

/* Karanlık modda da açık moddaki renkler aynen kalsın (tarayıcı karartmasını engelle) */
@media (prefers-color-scheme: dark) {
  html,
  body {
    background-color: #3d2b1f !important;
    color: #ffffff !important;
  }

  .main-content {
    background-color: transparent !important;
  }

  .hero,
  .invitation-card--envelope {
    background-color: #F8F5EE !important;
    color: #2c2c2c !important;
  }

  .invitation-subtitle,
  .invitation-names,
  .invitation-date,
  .btn-confirm {
    color: #2c2c2c !important;
  }

  .invitation-names .amp,
  .invitation-welcome {
    color: #c9958a !important;
  }

  .countdown-section,
  .story-section,
  .location-section,
  .timeline-section,
  .faq-section,
  .rsvp-section,
  .family-section,
  .footer {
    background-color: #3d2b1f !important;
    color: #ffffff !important;
  }

  .section-title,
  .countdown-num,
  .countdown-label,
  .countdown-unit,
  .venue-name,
  .venue-time,
  .venue-address,
  .timeline-label,
  .timeline-time,
  .rsvp-message,
  .footer p {
    color: #ffffff !important;
  }

  .btn-reminder {
    background-color: #ffffff !important;
    color: #3d2b1f !important;
  }

  .btn-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
  }

  .timeline-icon {
    background-color: #3d2b1f !important;
  }

  img,
  iframe,
  svg,
  .map-container iframe {
    filter: none !important;
    -webkit-filter: none !important;
  }
}
