/* ==========================================
   SYSTEM DESIGN: MODERN ELEGANT
   ========================================== */

:root {
  /* Color Palette */
  --bg-primary: #0D0D0D;
  --bg-secondary: #151211;
  --surface-primary: #1B1817;
  --surface-secondary: #211D1B;
  --text-primary: #F7F0E6;
  --text-secondary: #C6B8A7;
  --color-gold: #C7A46B;
  --color-gold-dark: #E1C28A;
  --color-gold-light: #6E5B40;
  --color-gold-glow: rgba(199, 164, 107, 0.22);
  --color-burgundy: #9A2B3E;
  --color-burgundy-soft: #B76E79;
  --color-ink: #111111;
  
  /* Utilities */
  --card-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --glass-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  --glass-bg: rgba(27, 24, 23, 0.78);
  --glass-border: rgba(225, 194, 138, 0.28);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-cursive: 'Sacramento', cursive;
  
  /* Transition speed */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   BASE STYLES & RESET
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top left, rgba(154, 43, 62, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(199, 164, 107, 0.14), transparent 38%),
    var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.scroll-locked {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 0.95rem;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-light {
  font-weight: 300 !important;
}

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

.text-right {
  text-align: right;
}

.w-full {
  width: 100%;
}

.text-success {
  color: #2e7d32 !important;
}

/* Section Header Styling */
.section-header {
  margin-bottom: 60px;
}

.section-title-cursive {
  font-family: var(--font-cursive);
  font-size: 3.5rem;
  color: var(--color-burgundy);
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .section-title-cursive {
    font-size: 2.8rem;
  }
}

/* ==========================================
   BUTTONS & FORM INPUTS
   ========================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-burgundy), #A63B4A);
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(122, 30, 45, 0.24);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #641827, var(--color-burgundy));
  box-shadow: 0 14px 32px rgba(122, 30, 45, 0.32);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: transparent;
  color: var(--color-burgundy);
  border: 1px solid rgba(122, 30, 45, 0.34);
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--color-burgundy);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-text:hover {
  color: var(--color-gold);
}

/* ==========================================
   1. COVER / OVERLAY SCREEN
   ========================================== */
.cover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition:
    transform 1.2s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  overflow: hidden;
}

.cover-overlay.fade-out {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.cover-bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.42), rgba(17, 17, 17, 0.72)),
    linear-gradient(90deg, rgba(122, 30, 45, 0.26), transparent 42%),
    url('assets/gallery-1.jpg') no-repeat center 42%;
  background-size: cover;
  transform: scale(1.04);
  animation: hero-breath 16s ease-in-out infinite alternate;
  z-index: 1;
}

.cover-content {
  position: relative;
  z-index: 2;
  color: #FAF8F5;
  max-width: 500px;
  width: 90%;
  padding: 40px 20px;
}

.cover-subtitle {
  font-size: 0.9rem;
  letter-spacing: 4px;
  color: var(--color-gold-light);
  margin-bottom: 10px;
}

.cover-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 400;
  color: #F3DFC1;
  margin-bottom: 5px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.cover-date {
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--color-gold-light);
  margin-bottom: 40px;
}

.guest-card {
  background: rgba(17, 17, 17, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(247, 240, 230, 0.08);
  border-radius: var(--radius-sm);
  padding: 30px 20px;
  margin-bottom: 40px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.to-text {
  font-size: 0.85rem;
  color: var(--color-gold-light);
  margin-bottom: 10px;
}

.guest-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 12px;
  font-weight: 500;
}

.msg-text {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.8);
}

.btn-open {
  animation: pulse-glow 2s infinite alternate;
}

/* ==========================================
   FLOATING MUSIC CONTROLLER & TOAST
   ========================================== */
.audio-control {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  transition: var(--transition-smooth);
}

.audio-control.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.audio-control button {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--color-gold-dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.audio-control button:hover {
  transform: scale(1.1);
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.toast {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-primary);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-dark);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  letter-spacing: 1px;
  z-index: 110;
  box-shadow: 0 10px 30px rgba(154, 43, 62, 0.35);
  transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  top: 30px;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 43%;
  filter: contrast(98%) brightness(95%) saturate(92%);
  animation: hero-breath 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.26) 48%, rgba(17, 17, 17, 0.68) 100%),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.18) 0%, rgba(17, 17, 17, 0.48) 70%, rgba(17, 17, 17, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 720px;
  padding: 0 20px;
  animation: soft-rise 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-subtitle {
  font-size: 0.95rem;
  letter-spacing: 6px;
  color: #F3DFC1;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-names {
  font-family: var(--font-serif);
  font-size: 4.8rem;
  font-weight: 400;
  margin-bottom: 15px;
  color: #F3DFC1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

.hero-date {
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.7);
}

.scroll-indicator i {
  animation: bounce 2s infinite;
}

@media (max-width: 768px) {
  .hero-section {
    align-items: flex-end;
    padding-bottom: 120px;
  }
  .hero-bg {
    background-position: center 34%;
  }
  .hero-names {
    font-size: 3rem; /* slightly smaller to fit screen better */
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
  }
  .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 4px;
  }
  .hero-date {
    font-size: 1rem;
  }
}

/* ==========================================
   3. QUOTE SECTION
   ========================================== */
.quote-section {
  background:
    linear-gradient(180deg, #FFFFFF, var(--bg-secondary));
}

.quote-box {
  max-width: 700px;
  margin: 0 auto;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.quote-icon {
  font-size: 2.2rem;
  color: var(--color-burgundy);
  opacity: 0.4;
  margin-bottom: 25px;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.quote-source {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-burgundy);
}

/* ==========================================
   4. COUPLE SECTION (Mempelai)
   ========================================== */
.couple-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.couple-card {
  flex: 1;
  max-width: 380px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-gold-light);
  border-radius: var(--radius-sm);
  padding: 40px 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.couple-card::before {
  content: '';
  position: absolute;
  right: -10px;
  top: -8px;
  width: 138px;
  height: 138px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%235A0E1A'/%3E%3Cstop offset='50%25' stop-color='%23800F2F'/%3E%3Cstop offset='100%25' stop-color='%23A01A37'/%3E%3C/linearGradient%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%239E7C45'/%3E%3Cstop offset='50%25' stop-color='%23C7A46B'/%3E%3Cstop offset='100%25' stop-color='%23E9D3B0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M20,120 Q50,90 100,50 T130,20' fill='none' stroke='%23C7A46B' stroke-width='2' opacity='0.7'/%3E%3Cpath d='M40,90 Q90,90 110,110' fill='none' stroke='%23C7A46B' stroke-width='1.5' opacity='0.5'/%3E%3Cpath d='M105,30 Q115,20 125,25 Q115,35 105,30 Z' fill='url(%23g)'/%3E%3Cpath d='M80,45 Q75,30 85,25 Q90,38 80,45 Z' fill='url(%23g)'/%3E%3Cpath d='M35,95 Q25,85 30,75 Q40,85 35,95 Z' fill='url(%23g)'/%3E%3Cpath d='M50,110 Q40,115 45,125 Q55,120 50,110 Z' fill='url(%23g)'/%3E%3Cg transform='translate(95, 45) scale(0.9)'%3E%3Ccircle cx='0' cy='0' r='28' fill='%233a040b' opacity='0.35'/%3E%3Cpath d='M-25,-10 C-30,-25 -15,-30 0,-25 C15,-30 30,-25 25,-10 C30,10 15,25 0,22 C-15,25 -30,10 -25,-10 Z' fill='url(%23r)'/%3E%3Cpath d='M-18,-8 C-22,-18 -10,-22 0,-18 C10,-22 22,-18 18,-8 C22,8 10,18 0,15 C-10,18 -22,8 -18,-8 Z' fill='%23640D14'/%3E%3Cpath d='M-12,-5 C-15,-12 -5,-15 0,-12 C5,-15 15,-12 12,-5 C15,5 5,12 0,10 C-5,12 -15,5 -12,-5 Z' fill='url(%23r)'/%3E%3Cpath d='M-6,-3 C-8,-8 -2,-10 0,-8 C2,-10 8,-8 6,-3 C8,3 2,8 0,6 C-2,8 -8,3 -6,-3 Z' fill='%23A01A37'/%3E%3Cpath d='M-3,-1 C-4,-4 -1,-5 0,-4 C1,-5 4,-4 3,-1 C4,1 1,4 0,3 C-1,4 -4,1 -3,-1 Z' fill='%23E9D3B0'/%3E%3C/g%3E%3Cg transform='translate(50, 80) scale(0.7) rotate(-30)'%3E%3Ccircle cx='0' cy='0' r='28' fill='%233a040b' opacity='0.3'/%3E%3Cpath d='M-25,-10 C-30,-25 -15,-30 0,-25 C15,-30 30,-25 25,-10 C30,10 15,25 0,22 C-15,25 -30,10 -25,-10 Z' fill='url(%23r)'/%3E%3Cpath d='M-18,-8 C-22,-18 -10,-22 0,-18 C10,-22 22,-18 18,-8 C22,8 10,18 0,15 C-10,18 -22,8 -18,-8 Z' fill='%235A0E1A'/%3E%3Cpath d='M-12,-5 C-15,-12 -5,-15 0,-12 C5,-15 15,-12 12,-5 C15,5 5,12 0,10 C-5,12 -15,5 -12,-5 Z' fill='url(%23r)'/%3E%3Cpath d='M-6,-3 C-8,-8 -2,-10 0,-8 C2,-10 8,-8 6,-3 C8,3 2,8 0,6 C-2,8 -8,3 -6,-3 Z' fill='%23A01A37'/%3E%3Cpath d='M-3,-1 C-4,-4 -1,-5 0,-4 C1,-5 4,-4 3,-1 C4,1 1,4 0,3 C-1,4 -4,1 -3,-1 Z' fill='%23E9D3B0'/%3E%3C/g%3E%3Cg transform='translate(90, 95) scale(0.55) rotate(45)'%3E%3Ccircle cx='0' cy='0' r='28' fill='%233a040b' opacity='0.3'/%3E%3Cpath d='M-25,-10 C-30,-25 -15,-30 0,-25 C15,-30 30,-25 25,-10 C30,10 15,25 0,22 C-15,25 -30,10 -25,-10 Z' fill='url(%23r)'/%3E%3Cpath d='M-18,-8 C-22,-18 -10,-22 0,-18 C10,-22 22,-18 18,-8 C22,8 10,18 0,15 C-10,18 -22,8 -18,-8 Z' fill='%235A0E1A'/%3E%3Cpath d='M-12,-5 C-15,-12 -5,-15 0,-12 C5,-15 15,-12 12,-5 C15,5 5,12 0,10 C-5,12 -15,5 -12,-5 Z' fill='url(%23r)'/%3E%3Cpath d='M-6,-3 C-8,-8 -2,-10 0,-8 C2,-10 8,-8 6,-3 C8,3 2,8 0,6 C-2,8 -8,3 -6,-3 Z' fill='%23A01A37'/%3E%3Cpath d='M-3,-1 C-4,-4 -1,-5 0,-4 C1,-5 4,-4 3,-1 C4,1 1,4 0,3 C-1,4 -4,1 -3,-1 Z' fill='%23E9D3B0'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  opacity: 0.95;
}

.couple-card::after {
  content: '';
  position: absolute;
  left: -12px;
  bottom: -14px;
  width: 116px;
  height: 116px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%235A0E1A'/%3E%3Cstop offset='50%25' stop-color='%23800F2F'/%3E%3Cstop offset='100%25' stop-color='%23A01A37'/%3E%3C/linearGradient%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%239E7C45'/%3E%3Cstop offset='50%25' stop-color='%23C7A46B'/%3E%3Cstop offset='100%25' stop-color='%23E9D3B0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M20,120 Q50,90 100,50 T130,20' fill='none' stroke='%23C7A46B' stroke-width='2' opacity='0.7'/%3E%3Cpath d='M40,90 Q90,90 110,110' fill='none' stroke='%23C7A46B' stroke-width='1.5' opacity='0.5'/%3E%3Cpath d='M105,30 Q115,20 125,25 Q115,35 105,30 Z' fill='url(%23g)'/%3E%3Cpath d='M80,45 Q75,30 85,25 Q90,38 80,45 Z' fill='url(%23g)'/%3E%3Cpath d='M35,95 Q25,85 30,75 Q40,85 35,95 Z' fill='url(%23g)'/%3E%3Cpath d='M50,110 Q40,115 45,125 Q55,120 50,110 Z' fill='url(%23g)'/%3E%3Cg transform='translate(95, 45) scale(0.9)'%3E%3Ccircle cx='0' cy='0' r='28' fill='%233a040b' opacity='0.35'/%3E%3Cpath d='M-25,-10 C-30,-25 -15,-30 0,-25 C15,-30 30,-25 25,-10 C30,10 15,25 0,22 C-15,25 -30,10 -25,-10 Z' fill='url(%23r)'/%3E%3Cpath d='M-18,-8 C-22,-18 -10,-22 0,-18 C10,-22 22,-18 18,-8 C22,8 10,18 0,15 C-10,18 -22,8 -18,-8 Z' fill='%23640D14'/%3E%3Cpath d='M-12,-5 C-15,-12 -5,-15 0,-12 C5,-15 15,-12 12,-5 C15,5 5,12 0,10 C-5,12 -15,5 -12,-5 Z' fill='url(%23r)'/%3E%3Cpath d='M-6,-3 C-8,-8 -2,-10 0,-8 C2,-10 8,-8 6,-3 C8,3 2,8 0,6 C-2,8 -8,3 -6,-3 Z' fill='%23A01A37'/%3E%3Cpath d='M-3,-1 C-4,-4 -1,-5 0,-4 C1,-5 4,-4 3,-1 C4,1 1,4 0,3 C-1,4 -4,1 -3,-1 Z' fill='%23E9D3B0'/%3E%3C/g%3E%3Cg transform='translate(50, 80) scale(0.7) rotate(-30)'%3E%3Ccircle cx='0' cy='0' r='28' fill='%233a040b' opacity='0.3'/%3E%3Cpath d='M-25,-10 C-30,-25 -15,-30 0,-25 C15,-30 30,-25 25,-10 C30,10 15,25 0,22 C-15,25 -30,10 -25,-10 Z' fill='url(%23r)'/%3E%3Cpath d='M-18,-8 C-22,-18 -10,-22 0,-18 C10,-22 22,-18 18,-8 C22,8 10,18 0,15 C-10,18 -22,8 -18,-8 Z' fill='%235A0E1A'/%3E%3Cpath d='M-12,-5 C-15,-12 -5,-15 0,-12 C5,-15 15,-12 12,-5 C15,5 5,12 0,10 C-5,12 -15,5 -12,-5 Z' fill='url(%23r)'/%3E%3Cpath d='M-6,-3 C-8,-8 -2,-10 0,-8 C2,-10 8,-8 6,-3 C8,3 2,8 0,6 C-2,8 -8,3 -6,-3 Z' fill='%23A01A37'/%3E%3Cpath d='M-3,-1 C-4,-4 -1,-5 0,-4 C1,-5 4,-4 3,-1 C4,1 1,4 0,3 C-1,4 -4,1 -3,-1 Z' fill='%23E9D3B0'/%3E%3C/g%3E%3Cg transform='translate(90, 95) scale(0.55) rotate(45)'%3E%3Ccircle cx='0' cy='0' r='28' fill='%233a040b' opacity='0.3'/%3E%3Cpath d='M-25,-10 C-30,-25 -15,-30 0,-25 C15,-30 30,-25 25,-10 C30,10 15,25 0,22 C-15,25 -30,10 -25,-10 Z' fill='url(%23r)'/%3E%3Cpath d='M-18,-8 C-22,-18 -10,-22 0,-18 C10,-22 22,-18 18,-8 C22,8 10,18 0,15 C-10,18 -22,8 -18,-8 Z' fill='%235A0E1A'/%3E%3Cpath d='M-12,-5 C-15,-12 -5,-15 0,-12 C5,-15 15,-12 12,-5 C15,5 5,12 0,10 C-5,12 -15,5 -12,-5 Z' fill='url(%23r)'/%3E%3Cpath d='M-6,-3 C-8,-8 -2,-10 0,-8 C2,-10 8,-8 6,-3 C8,3 2,8 0,6 C-2,8 -8,3 -6,-3 Z' fill='%23A01A37'/%3E%3Cpath d='M-3,-1 C-4,-4 -1,-5 0,-4 C1,-5 4,-4 3,-1 C4,1 1,4 0,3 C-1,4 -4,1 -3,-1 Z' fill='%23E9D3B0'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  opacity: 0.85;
  transform: rotate(180deg);
}

.couple-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(122, 30, 45, 0.26);
  box-shadow: 0 24px 52px rgba(122, 30, 45, 0.14);
}

.avatar-wrapper {
  width: min(250px, 78vw);
  height: 320px;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 120px 120px 8px 8px;
  border: 5px solid #FFFFFF;
  box-shadow: var(--card-shadow);
}

.couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.28);
  transition: transform 0.8s ease;
}

.bride-card .couple-img {
  object-position: center 34%;
  transform: scale(1.24);
}

.couple-card:hover .couple-img {
  transform: scale(1.38);
}

.bride-card:hover .couple-img {
  transform: scale(1.34);
}

.couple-name {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.couple-info {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-burgundy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  color: var(--text-primary);
}

.couple-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ampersand {
  font-family: var(--font-cursive);
  font-size: 4.5rem;
  color: var(--color-gold);
}

@media (max-width: 992px) {
  .couple-grid {
    flex-direction: column;
    gap: 30px;
  }
  
  .couple-divider {
    transform: rotate(90deg);
    margin: 10px 0;
  }
}

/* ==========================================
   5. COUNTDOWN SECTION
   ========================================== */
.countdown-section {
  background:
    linear-gradient(rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.88)),
    url('assets/gallery-2.jpg') no-repeat center 42%;
  background-size: cover;
  background-attachment: fixed;
  color: #FFFFFF;
}

.countdown-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.countdown-subtitle {
  color: var(--color-gold-light);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.timer-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.timer-box {
  background: rgba(250, 248, 245, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 100px;
  padding: 24px 15px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.timer-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: #FFFFFF;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 6px;
}

.timer-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

@media (max-width: 576px) {
  .timer-container {
    gap: 12px;
  }
  .timer-box {
    min-width: 80px;
    padding: 16px 10px;
  }
  .timer-number {
    font-size: 2rem;
  }
}

/* ==========================================
   6. EVENT DETAILS SECTION
   ========================================== */
.events-section {
  background:
    linear-gradient(180deg, var(--bg-primary), #FFFFFF 48%, var(--bg-secondary));
}

.events-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.event-card {
  flex: 1;
  max-width: 480px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-gold-light);
  border-radius: var(--radius-sm);
  padding: 50px 40px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-burgundy), var(--color-gold), var(--color-burgundy-soft));
}

.event-card::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(199, 164, 107, 0.18);
  pointer-events: none;
}

.event-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(122, 30, 45, 0.26);
  box-shadow: 0 24px 52px rgba(122, 30, 45, 0.14);
}

.event-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(122, 30, 45, 0.08);
  color: var(--color-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 25px;
}

.event-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 15px;
}

.event-divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-gold-light);
  margin: 0 auto 30px;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 35px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.detail-item i {
  color: var(--color-burgundy);
  font-size: 1.25rem;
  margin-top: 3px;
}

.detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.detail-val {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.detail-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.event-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.event-map {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-gold-light);
  box-shadow: 0 4px 12px rgba(44, 41, 37, 0.03);
  margin-top: 10px;
  filter: grayscale(30%) contrast(95%);
  transition: var(--transition-smooth);
}

.event-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.event-map:hover {
  filter: grayscale(0%) contrast(100%);
  border-color: var(--color-burgundy-soft);
}

@media (max-width: 992px) {
  .events-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .event-card {
    width: 100%;
    padding: 40px 24px;
  }
}

/* ==========================================
   7. LOVE STORY SECTION
   ========================================== */
.story-section {
  background:
    linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.story-timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
  padding: 20px 0;
}

.story-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: var(--color-gold-light);
  transform: translateX(-50%);
}

.story-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
}

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

.story-dot {
  position: absolute;
  left: 50%;
  top: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-burgundy), var(--color-gold));
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: var(--card-shadow);
}

.story-panel {
  position: relative;
  width: 44%;
  background-color: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 30px;
  border: 1px solid var(--color-gold-light);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.story-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 30, 45, 0.26);
  box-shadow: 0 18px 42px rgba(122, 30, 45, 0.13);
}

/* Push alternating panel to the right */
.story-item:nth-child(even) .story-panel {
  margin-left: 56%;
}

/* Float standard panels to the left */
.story-item:nth-child(odd) .story-panel {
  margin-left: 0;
}

.story-date {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-burgundy);
  margin-bottom: 6px;
  font-weight: 500;
}

.story-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.story-body p {
  font-size: 0.88rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .story-timeline::before {
    left: 20px;
  }
  
  .story-dot {
    left: 20px;
    transform: none;
  }
  
  .story-panel {
    width: calc(100% - 50px);
    margin-left: 50px !important;
  }
  
  .story-item {
    margin-bottom: 40px;
  }
}

/* ==========================================
   8. GALLERY SECTION
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 1.1fr;
  gap: 24px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--card-shadow);
  aspect-ratio: 4/5.35;
  cursor: pointer;
  border: 1px solid rgba(199, 164, 107, 0.28);
}

.gallery-item:nth-child(2) {
  transform: translateY(28px);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(122, 30, 45, 0.42));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.6rem;
  opacity: 0;
  transition: var(--transition-smooth);
  backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-item:nth-child(2) {
    transform: none;
  }
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1001;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(44, 41, 37, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  animation: zoom-in 0.3s ease;
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  text-align: center;
  color: #FAF8F5;
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #FAF8F5;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
  }
}

/* ==========================================
   9. RSVP & GUEST PASS (Advanced Feature)
   ========================================== */
.rsvp-section {
  background-color: var(--bg-secondary);
}

.rsvp-container {
  max-width: 500px;
  margin: 0 auto;
}

.rsvp-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-gold-light);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.rsvp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(192, 154, 103, 0.15);
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1px solid var(--color-gold-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-glow);
}

/* ADVANCED TICKET (GUEST PASS) DESIGN */
.ticket-card {
  background-color: #FFFFFF;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  position: relative;
  animation: zoom-in 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition: var(--transition-smooth);
}

.ticket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(192, 154, 103, 0.15);
}

.ticket-card.hidden {
  display: none !important;
}

/* Ticket punch hole effect on sides */
.ticket-card::before,
.ticket-card::after {
  content: '';
  position: absolute;
  top: 100px;
  width: 24px;
  height: 24px;
  background-color: var(--bg-secondary); /* Matches section background */
  border-radius: 50%;
  z-index: 10;
  border: 2px solid var(--color-gold);
}
.ticket-card::before {
  left: -13px;
}
.ticket-card::after {
  right: -13px;
}

.ticket-header {
  background-color: var(--color-gold-glow);
  padding: 30px 20px;
  text-align: center;
  border-bottom: 2px dashed var(--color-gold-light);
}

.ticket-header h3 {
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--color-gold-dark);
}

.ticket-header p {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticket-body {
  padding: 40px 30px 30px;
}

.ticket-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.ticket-info {
  margin-bottom: 15px;
}

.ticket-label {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.ticket-val {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ticket-qr-wrapper {
  margin-top: 30px;
  text-align: center;
  border-top: 1px solid var(--color-gold-light);
  padding-top: 25px;
}

.qr-description {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.qr-code-box {
  width: 150px;
  height: 150px;
  margin: 0 auto 15px;
  border: 1px solid var(--color-gold-light);
  padding: 8px;
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
}

.qr-code-box img {
  width: 100%;
  height: 100%;
}

.ticket-id {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-gold-dark);
}

.ticket-footer {
  padding: 0 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25d366;
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
  transition: var(--transition-smooth);
}

.btn-wa:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
}

.btn-reset {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.btn-reset:hover {
  color: var(--color-gold-dark);
}

/* ==========================================
   10. GUEST BOOK (Scrolling wishes feed)
   ========================================== */
.guestbook-container {
  max-width: 650px;
  margin: 60px auto 0;
}

.guestbook-title {
  font-size: 1.4rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.guestbook-feed {
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 10px;
  border-radius: var(--radius-md);
}

/* Custom Scrollbar for wishes feed */
.guestbook-feed::-webkit-scrollbar {
  width: 6px;
}

.guestbook-feed::-webkit-scrollbar-track {
  background: transparent;
}

.guestbook-feed::-webkit-scrollbar-thumb {
  background: var(--color-gold-light);
  border-radius: 3px;
}

.guestbook-feed::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

.guestbook-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--color-gold-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  box-shadow: var(--card-shadow);
  animation: fade-in-up 0.5s ease;
}

.guest-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-gold-glow);
  color: var(--color-gold-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.guest-msg-content {
  flex-grow: 1;
}

.guest-msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.guest-msg-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
}

.guest-msg-status {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 500;
}

.status-hadir {
  background-color: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
}

.status-tidak {
  background-color: rgba(94, 88, 81, 0.1);
  color: var(--text-secondary);
}

.guest-msg-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================
   11. DIGITAL ENVELOPE (Kado Digital)
   ========================================== */
.gift-section {
  background-color: var(--bg-primary);
}

.gift-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.gift-card {
  flex: 1;
  max-width: 380px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-gold-light);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.gift-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-gold);
  box-shadow: 0 20px 40px rgba(192, 154, 103, 0.2);
}

.bank-icon {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.bank-logo-wrapper {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 38px;
}

.bank-logo-svg {
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 82, 156, 0.15));
}

.dana-logo {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 auto 12px;
  filter: drop-shadow(0 8px 18px rgba(17, 142, 234, 0.16));
}

/* Dark editorial theme refinement */
.quote-section,
.events-section,
.story-section,
.rsvp-section,
.gift-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(154, 43, 62, 0.12), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(199, 164, 107, 0.1), transparent 30%),
    var(--bg-primary);
}

.section-subtitle,
.detail-label,
.ticket-label {
  color: rgba(247, 240, 230, 0.62);
}

.quote-box,
.couple-card,
.event-card,
.story-panel,
.rsvp-card,
.ticket-card,
.guestbook-container,
.gift-card {
  background: linear-gradient(180deg, rgba(33, 29, 27, 0.96), rgba(18, 17, 16, 0.96));
  border-color: rgba(225, 194, 138, 0.22);
  box-shadow: var(--card-shadow);
}

.quote-text,
.detail-val,
.ticket-val,
.guest-msg-name,
.account-number,
.bank-name,
.story-title,
.event-title,
.couple-name,
.guestbook-title,
.countdown-title {
  color: var(--text-primary);
}

.quote-source,
.story-date,
.social-links a,
.detail-item i,
.event-badge,
.address-icon {
  color: var(--color-gold-dark);
}

.couple-info,
.story-body p,
.detail-sub,
.account-holder,
.qris-sub,
.guest-msg-text,
.footer-msg,
.rsvp-card label {
  color: var(--text-secondary);
}

.avatar-wrapper {
  border-color: rgba(247, 240, 230, 0.08);
  background: #0B0B0B;
}

.event-badge {
  background-color: rgba(225, 194, 138, 0.1);
}

.event-map {
  border-color: rgba(225, 194, 138, 0.22);
  filter: grayscale(20%) contrast(96%) brightness(0.86);
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  background-color: rgba(247, 240, 230, 0.06);
  border-color: rgba(225, 194, 138, 0.22);
  color: var(--text-primary);
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: rgba(247, 240, 230, 0.46);
}

.guestbook-feed,
.guestbook-item,
.qr-code-box {
  background-color: rgba(247, 240, 230, 0.05);
  border-color: rgba(225, 194, 138, 0.18);
}

.guestbook-empty {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 44px 18px;
  border: 1px dashed rgba(225, 194, 138, 0.22);
  border-radius: var(--radius-sm);
  background-color: rgba(247, 240, 230, 0.035);
}

.btn-secondary {
  border-color: rgba(225, 194, 138, 0.42);
  color: var(--color-gold-dark);
}

.btn-secondary:hover {
  background-color: var(--color-gold-dark);
  color: #14110F;
}

.quote-section p,
.events-section p,
.story-section p,
.gallery-section p,
.rsvp-section p,
.gift-section p,
.guestbook-container p,
.ticket-card p {
  color: var(--text-secondary);
}

.quote-section h2,
.quote-section h3,
.events-section h2,
.events-section h3,
.story-section h2,
.story-section h3,
.gallery-section h2,
.gallery-section h3,
.rsvp-section h2,
.rsvp-section h3,
.gift-section h2,
.gift-section h3,
.ticket-card h3,
.guestbook-container h3 {
  color: var(--text-primary);
}

.section-title-cursive {
  color: #B93B52;
}

.detail-val,
.account-number,
.ticket-val,
.guest-msg-name,
.story-title,
.event-title,
.couple-name,
.countdown-title {
  color: var(--text-primary) !important;
}

.detail-label,
.detail-sub,
.section-subtitle,
.account-holder,
.ticket-label,
.qr-description,
.guest-msg-text,
.ticket-header p,
.form-group label {
  color: var(--text-secondary) !important;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea,
.rsvp-form option {
  background-color: #141211;
  color: var(--text-primary);
}

.rsvp-form select option {
  color: #171615;
  background-color: #F7F0E6;
}

.text-success,
.status-hadir {
  color: #78D08B !important;
}

.status-tidak {
  color: #F1A0A8 !important;
}

.qr-code-box {
  background-color: #FFFFFF;
}

.bank-name {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.account-number {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.account-holder {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.btn-copy {
  font-size: 0.8rem;
  padding: 8px 16px;
}

@media (max-width: 768px) {
  .gift-grid {
    flex-direction: column;
    align-items: center;
  }
  .gift-card {
    width: 100%;
  }
}

/* ==========================================
   12. FOOTER SECTION
   ========================================== */
.footer {
  background:
    linear-gradient(rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.94)),
    url('assets/gallery-3.jpg') no-repeat center 42%;
  background-size: cover;
  background-attachment: fixed;
  color: #FFFFFF;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: #F3DFC1;
  margin-bottom: 20px;
}

.footer-msg {
  max-width: 600px;
  margin: 0 auto 20px;
  color: var(--color-gold-light);
  font-size: 0.95rem;
}

.footer-closing {
  font-family: var(--font-cursive);
  font-size: 3rem;
  color: #F3DFC1;
  margin-bottom: 40px;
}

.footer-divider {
  width: 100px;
  height: 1px;
  background-color: rgba(255,255,255,0.15);
  margin: 0 auto 30px;
}

.footer-credit {
  font-size: 0.75rem;
  color: rgba(250, 248, 245, 0.4);
}

.credit-link {
  color: rgba(250, 248, 245, 0.6);
  text-decoration: none;
}

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

/* ==========================================
   ANIMATION RULES & SCROLL TRIGGERING
   ========================================== */

/* IntersectionObserver dynamic animation target utility classes */
.scroll-animate {
  opacity: 0;
  transition: var(--transition-smooth);
}

.scroll-animate[data-animation="fade-in-up"] {
  transform: translateY(30px);
}

.scroll-animate[data-animation="zoom-in"] {
  transform: scale(0.9);
}

.scroll-animate[data-animation="slide-left"] {
  transform: translateX(-40px);
}

.scroll-animate[data-animation="slide-right"] {
  transform: translateX(40px);
}

/* Animated active state applied by JavaScript */
.scroll-animate.show {
  opacity: 1;
  transform: none;
}

/* Pre-defined Keyframe CSS Animations */
@keyframes zoom-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 4px 15px rgba(181, 154, 87, 0.3);
  }
  100% {
    box-shadow: 0 4px 25px rgba(181, 154, 87, 0.6);
  }
}

@keyframes hero-breath {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1) translateY(-10px);
  }
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Extra Cover specific entry animations */
.animate-zoom-in {
  animation: zoom-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.animate-fade-in-up {
  animation: fade-in-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  opacity: 0;
}

.animate-bounce {
  animation: bounce 2s infinite, pulse-glow 1.5s infinite alternate;
}

/* 3D Floating Leaves / Particles */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
  perspective: 1000px;
}

.floating-leaf {
  position: absolute;
  bottom: -50px;
  width: 25px;
  height: 25px;
  opacity: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  animation: float3d 12s linear infinite;
}

@keyframes float3d {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translate3d(var(--drift-x), -105vh, var(--drift-z)) rotateX(360deg) rotateY(720deg) rotateZ(360deg);
    opacity: 0;
  }
}
