/* ============================================
   WEDDING INVITATION - QUIET LUXURY PINK THEME
   Bích Trâm & Thành Nam | 04.06.2026
   ============================================ */

/* ---------- CSS VARIABLES / DESIGN TOKENS ---------- */
:root {
  /* Primary Palette - Quiet Luxury Pink */
  --color-primary: #B76E79;
  --color-primary-dark: #9B5A64;
  --color-primary-light: #D4949D;
  --color-blush: #F5E6E8;
  --color-blush-light: #FBF2F3;
  --color-cream: #FFF9F5;
  --color-cream-dark: #F7EDE6;
  --color-champagne: #C9A96E;
  --color-gold: #D4AF37;
  --color-gold-light: #E8D5A3;
  --color-rose-white: #FEFBF9;

  /* Text Colors */
  --text-dark: #2C1810;
  --text-medium: #5A4A42;
  --text-light: #8B7D75;
  --text-muted: #B5A9A3;
  --text-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-script: 'Great Vibes', cursive;

  /* Spacing */
  --section-padding: 100px 20px;
  --section-padding-mobile: 60px 16px;

  /* Borders & Shadows */
  --border-subtle: 1px solid rgba(183, 110, 121, 0.15);
  --shadow-soft: 0 4px 30px rgba(183, 110, 121, 0.1);
  --shadow-card: 0 8px 40px rgba(44, 24, 16, 0.08);
  --shadow-glass: 0 8px 32px rgba(183, 110, 121, 0.12);

  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: 12px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;

  /* Z-Index Scale */
  --z-petals: 1;
  --z-content: 10;
  --z-overlay: 20;
  --z-lang-toggle: 100;
}

/* ---------- CSS RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: scroll;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-dark);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 300;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- SECTION BASE ---------- */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- DECORATIVE DIVIDER ---------- */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto;
  width: fit-content;
}

.ornament-divider::before,
.ornament-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
}

.ornament-divider .ornament-icon {
  color: var(--color-primary-light);
  font-size: 0.7rem;
}

/* ============================================
   SECTION 1: HERO
   ============================================ */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(
    170deg,
    var(--color-blush-light) 0%,
    var(--color-cream) 40%,
    var(--color-blush) 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Global Petals Container */
.petals-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -40px;
  width: 15px;
  height: 15px;
  background: var(--color-primary-light);
  border-radius: 50% 0 50% 50%;
  opacity: 0.4;
  animation: petalFall linear infinite;
  transform-origin: center;
}

.petal:nth-child(odd) {
  background: var(--color-blush);
  opacity: 0.3;
}

@keyframes petalFall {
  0% {
    transform: translateY(-10vh) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(110vh) rotate(720deg) translateX(100px);
    opacity: 0;
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: var(--z-content);
  padding: 40px 20px;
}

.hero-invitation {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

.bride-name,
.groom-name {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 300;
  color: var(--text-dark);
  letter-spacing: 3px;
  line-height: 1.1;
}

.name-separator {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-primary);
  line-height: 1;
  margin: 5px 0;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  margin: 25px auto;
}

.hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-primary);
  margin-bottom: 25px;
}

.hero-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 15px;
}

.hero-date {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 6px;
}

.hero-lunar {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-location {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-medium);
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.hero-location i {
  color: var(--color-primary);
  margin-right: 6px;
  font-size: 0.85em;
}

/* Scroll Indicator */
.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: floatUpDown 2.5s ease-in-out infinite;
}

.scroll-down span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  font-size: 0.8rem;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ============================================
   SECTION 2: COUNTDOWN
   ============================================ */
.countdown-section {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-blush-light) 100%);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.countdown-item {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px 12px;
  text-align: center;
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
}

.countdown-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(183, 110, 121, 0.18);
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.countdown-label {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1.5vw, 0.8rem);
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============================================
   SECTION 3: INVITATION MESSAGE
   ============================================ */
.invitation-section {
  position: relative;
  background-image: url('../img/1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.invitation-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Subtle dark overlay so the white glass card pops */
  z-index: 1;
}

.invitation-section .section-content {
  position: relative;
  z-index: 2;
}

.invitation-section .section-title,
.invitation-section .section-subtitle {
  color: var(--text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.invitation-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 60px 50px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
}

.invitation-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--color-blush);
  position: absolute;
  top: 10px;
  left: 25px;
  line-height: 1;
}

.invitation-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 30px;
}

.invitation-message {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.9;
}


/* ============================================
   SECTION 5: CALENDAR
   ============================================ */
.calendar-section {
  background: var(--color-cream);
}

.calendar-wrapper {
  max-width: 420px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--shadow-card);
}

.calendar-header {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 500;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar-day-name {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
}

.calendar-day {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-medium);
  padding: 10px 4px;
  border-radius: 50%;
  transition: var(--transition-fast);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day.empty {
  visibility: hidden;
}

.calendar-day:not(.empty):not(.highlight):hover {
  background: var(--color-blush);
  color: var(--color-primary-dark);
}

/* Wedding Day Highlight */
.calendar-day.highlight {
  position: relative;
  color: var(--text-white);
  font-weight: 600;
  z-index: 1;
}

.calendar-day.highlight::before {
  content: '';
  position: absolute;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  border-radius: 50%;
  z-index: -1;
  animation: pulseHeart 2s ease-in-out infinite;
}

.calendar-day.highlight::after {
  content: '♥';
  position: absolute;
  top: -10px;
  right: -8px;
  font-size: 0.75rem;
  color: var(--color-primary);
  animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(183, 110, 121, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(183, 110, 121, 0); }
}

.calendar-note {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 300;
}

.calendar-note .calendar-note-highlight {
  color: var(--color-primary);
  font-weight: 500;
}

/* ============================================
   SECTION 6: EVENT DETAILS
   ============================================ */
.events-section {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-blush-light) 100%);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.event-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-champagne), var(--color-primary-light));
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(183, 110, 121, 0.15);
}

.event-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--color-primary);
}

.event-name {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.event-time {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.event-date-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 300;
}

.event-location {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 300;
  line-height: 1.6;
}

.event-location i {
  color: var(--color-primary);
  margin-right: 4px;
}

.event-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-primary);
  border: 1px solid var(--color-primary-light);
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.event-map-link:hover {
  background: var(--color-primary);
  color: var(--text-white);
  border-color: var(--color-primary);
}

/* ============================================
   SECTION 7: TRAVEL GUIDE
   ============================================ */
.travel-section {
  background: var(--color-rose-white);
}

.travel-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.travel-tab {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-medium);
  padding: 12px 28px;
  border: 1px solid var(--color-primary-light);
  border-radius: 30px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}

.travel-tab:hover,
.travel-tab.active {
  background: var(--color-primary);
  color: var(--text-white);
  border-color: var(--color-primary);
}

.travel-content {
  display: none;
  max-width: 800px;
  margin: 0 auto;
}

.travel-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.travel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.travel-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
}

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

/* Recommended Card */
.travel-card--recommended {
  border: 1.5px solid var(--color-champagne);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 24px rgba(201, 169, 110, 0.12);
}

.travel-card-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-champagne), var(--color-gold));
  color: white;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 0 0 10px 10px;
}

.travel-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.travel-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.travel-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.travel-card-body {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-medium);
  font-weight: 300;
  line-height: 1.8;
}

/* Pickup / Dropoff Info Groups */
.travel-info-group {
  margin-bottom: 14px;
}

.travel-info-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.travel-info-label i {
  font-size: 0.7rem;
  margin-right: 4px;
}

.travel-info-value {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 400;
  padding-left: 20px;
}

.travel-card-body ul {
  list-style: none;
  padding: 0;
}

.travel-card-body ul li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.travel-card-body ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
  font-size: 0.65rem;
  top: 7px;
}

.travel-card-body ul li a {
  color: var(--color-primary);
  font-weight: 400;
}

.travel-card-body ul li a i {
  font-size: 0.6rem;
  margin-left: 4px;
  opacity: 0.6;
}

.travel-card-body .highlight-text {
  color: var(--color-primary);
  font-weight: 400;
  margin-top: 10px;
}

/* Directions Button Wrapper */
.travel-directions-wrapper {
  text-align: center;
  margin-top: 28px;
}

.travel-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--text-white);
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(183, 110, 121, 0.3);
}

.travel-directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(183, 110, 121, 0.4);
  color: var(--text-white);
}

/* ============================================
   SECTION 8: VENUE MAP
   ============================================ */
.map-section {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-blush-light) 100%);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.map-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(183, 110, 121, 0.15);
}

.map-card-header {
  padding: 20px 24px;
  text-align: center;
  background: var(--color-blush-light);
}

.map-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.map-card-address {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 300;
}

.map-embed {
  width: 100%;
  height: 280px;
  border: none;
}

.map-card-footer {
  padding: 15px 24px;
  text-align: center;
}

.map-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.map-open-link:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   SECTION 9: WISHES GUESTBOOK
   ============================================ */
.wishes-guestbook-section {
  background: linear-gradient(180deg, var(--color-blush-light) 0%, var(--color-cream) 100%);
}

.wishes-form-card {
  max-width: 560px;
  margin: 0 auto 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: var(--shadow-card);
}

.wishes-form-row {
  margin-bottom: 20px;
}

.wishes-input,
.wishes-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-blush);
  border-radius: 12px;
  outline: none;
  transition: var(--transition-smooth);
  resize: none;
}

.wishes-input:focus,
.wishes-textarea:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
}

.wishes-input::placeholder,
.wishes-textarea::placeholder {
  color: var(--text-muted);
  font-weight: 300;
}

.wishes-textarea {
  min-height: 100px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
}

/* Font Selector */
.font-selector {
  margin-bottom: 24px;
}

.font-selector-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.font-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.font-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid var(--color-blush);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  min-width: 80px;
}

.font-option:hover {
  border-color: var(--color-primary-light);
  background: rgba(255, 255, 255, 0.8);
}

.font-option.active {
  border-color: var(--color-primary);
  background: var(--color-blush-light);
  box-shadow: 0 2px 12px rgba(183, 110, 121, 0.15);
}

.font-option-preview {
  font-size: 1.4rem;
  color: var(--text-dark);
  line-height: 1;
}

.font-option-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Submit Button */
.wish-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--text-white);
  border: none;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(183, 110, 121, 0.3);
}

.wish-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(183, 110, 121, 0.4);
}

.wish-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Recent Wishes Title */
.wishes-recent-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 30px;
}

/* Wishes Display Grid */
.wishes-display {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  max-width: 800px;
  margin: 0 auto;
}

.wish-card {
  padding: 24px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(44, 24, 16, 0.06);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.wish-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(183, 110, 121, 0.1);
  position: absolute;
  top: 4px;
  left: 12px;
  line-height: 1;
}

.wish-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(183, 110, 121, 0.12);
}

.wish-card-message {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.wish-card-author {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

/* ============================================
   SECTION 10: CLOSING
   ============================================ */
.wishes-section {
  background: var(--color-rose-white);
  text-align: center;
}

.wishes-content {
  max-width: 600px;
  margin: 0 auto;
}

.wishes-icon {
  font-size: 3rem;
  color: var(--color-primary-light);
  margin-bottom: 30px;
}

.wishes-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-medium);
  line-height: 2;
  margin-bottom: 30px;
}

.wishes-signature {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--color-primary);
}

.wishes-hearts {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.wishes-hearts i {
  color: var(--color-primary-light);
  font-size: 0.8rem;
  opacity: 0.5;
  animation: floatHeart 3s ease-in-out infinite;
}

.wishes-hearts i:nth-child(2) { animation-delay: 0.5s; }
.wishes-hearts i:nth-child(3) { animation-delay: 1s; }
.wishes-hearts i:nth-child(4) { animation-delay: 1.5s; }
.wishes-hearts i:nth-child(5) { animation-delay: 2s; }

/* ============================================
   SECTION 10: FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  padding: 50px 20px 30px;
  text-align: center;
}

.footer-names {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-primary-light);
  margin-bottom: 10px;
}

.footer-date {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-bottom: 25px;
}

.footer-divider {
  width: 50px;
  height: 1px;
  background: rgba(183, 110, 121, 0.3);
  margin: 0 auto 20px;
}

.footer-credit {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(181, 169, 163, 0.5);
  letter-spacing: 1px;
}

/* ============================================
   LANGUAGE TOGGLE BUTTON
   ============================================ */
.lang-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: var(--z-lang-toggle);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-medium);
  letter-spacing: 1px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.lang-toggle i {
  color: var(--color-primary);
  font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
  .section {
    padding: 40px 16px;
    min-height: 100dvh;
  }

  /* Section titles smaller */
  .section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 8px;
  }

  .section-subtitle {
    margin-bottom: 25px;
    font-size: 0.78rem;
  }

  /* Calendar */
  .calendar-wrapper {
    padding: 25px 18px;
  }

  /* Events - compact cards */
  .events-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .event-card {
    padding: 20px 18px;
  }

  .event-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .event-name {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .event-time {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .event-date-text {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }

  .event-location {
    font-size: 0.8rem;
  }

  .event-map-link {
    margin-top: 10px;
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  /* Travel */
  .travel-cards {
    grid-template-columns: 1fr;
  }

  /* Maps */
  .map-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .map-embed {
    height: 200px;
  }

  /* Gallery - horizontal layout with smaller photos */
  .gallery-container {
    flex-direction: row;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .polaroid {
    padding: 6px 6px 28px 6px;
  }

  .polaroid-image {
    width: 140px;
    height: 175px;
  }

  .polaroid-caption {
    font-size: 0.8rem;
    margin-top: 6px;
  }

  .polaroid:first-child {
    transform: rotate(-3deg);
  }

  .polaroid:last-child {
    transform: rotate(3deg);
  }

  .gallery-heart {
    font-size: 1.5rem;
  }

  /* Invitation */
  .invitation-card {
    padding: 30px 20px;
  }

  .invitation-card::before {
    font-size: 3.5rem;
    top: 5px;
    left: 12px;
  }

  .invitation-quote {
    font-size: 1.05rem;
    margin-bottom: 15px;
  }

  .invitation-message {
    font-size: 0.85rem;
  }

  /* Countdown */
  .countdown-grid {
    gap: 10px;
  }

  .countdown-item {
    padding: 18px 8px;
  }

  /* Wishes */
  .wishes-form-card {
    padding: 25px 18px;
  }

  .font-options {
    gap: 6px;
  }

  .font-option {
    padding: 8px 10px;
    min-width: 65px;
  }

  .wishes-display {
    grid-template-columns: 1fr;
  }

  /* Closing */
  .wishes-icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .wishes-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
  }

  .wishes-signature {
    font-size: 1.4rem;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .section {
    padding: 30px 14px;
  }

  .hero-names {
    gap: 2px;
  }

  .bride-name,
  .groom-name {
    font-size: 2.5rem;
  }

  .name-separator {
    font-size: 1.8rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  /* Gallery even smaller on tiny screens */
  .polaroid-image {
    width: 120px;
    height: 150px;
  }

  .polaroid-caption {
    font-size: 0.7rem;
  }

  .gallery-heart {
    font-size: 1.2rem;
  }

  /* Events even more compact */
  .event-card {
    padding: 16px 14px;
  }

  .event-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .event-name {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .event-time {
    font-size: 0.88rem;
  }

  .travel-tab {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .lang-toggle {
    top: 12px;
    right: 12px;
    padding: 8px 14px;
    font-size: 0.72rem;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .section {
    padding: 120px 40px;
  }

  .hero-section {
    padding: 0;
  }
}

/* ---------- UTILITY ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Smooth section transition on scroll */
.section[data-aos] {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ---------- MOBILE NATIVE SCROLL ---------- */
/* On mobile: pure native smooth scroll, no snap — AOS animations still work */
html.mobile-scroll {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Disable parallax fixed background on mobile (causes jank on iOS/Android) */
@media (max-width: 1024px) {
  .invitation-section {
    background-attachment: scroll;
  }
}

/* Print styles */
@media print {
  .lang-toggle,
  .petals-container,
  .scroll-down,
  .floating-hearts {
    display: none !important;
  }

  .section {
    min-height: auto;
    page-break-inside: avoid;
  }
}
