@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600&family=Dancing+Script:wght@400;700&display=swap');

/* Color Variables - Mandarin Oriental Inspired Palette */
:root {
  --primary-warm: #d3cdc4; /* Warm beige - primary */
  --secondary-taupe: #a7a49c; /* Sophisticated taupe */
  --light-cream: #ece8e5; /* Soft cream */
  --deep-charcoal: #010101; /* Deep black */
  --accent-gold: #c9a96e; /* Subtle gold accent */
  --soft-white: #fefefe;
  --shadow-light: rgba(1, 1, 1, 0.08);
  --shadow-medium: rgba(1, 1, 1, 0.12);
  --shadow-strong: rgba(1, 1, 1, 0.25);
  /* Additional colors for consistency */
  --error-red: #ff6b6b;
  --muted-gray: #666666;
  --dark-gray: #3a3a3a;
}

/* Base Styles - Mandarin Oriental Elegance */
* {
  box-sizing: border-box;
}

html {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--soft-white);
  color: var(--deep-charcoal);
  line-height: 1.6;
}

.has-vertically-aligned-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 75vh;
}

/* Header & Navigation - Minimalist Luxury */
.header-wrapper {
  padding: 0;
  background: var(--soft-white);
  box-shadow: 0 1px 0 var(--light-cream);
}

.navbar-item {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--deep-charcoal);
  padding: 1rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 2px solid transparent;
}

.navbar-item:hover,
.navbar-item.is-active {
  color: var(--secondary-taupe);
  border-bottom-color: var(--accent-gold);
}

/* Hero Section - Sophisticated Elegance */
.hero {
  background:
    linear-gradient(rgba(211, 205, 196, 0.15), rgba(167, 164, 156, 0.25)),
    var(--deep-charcoal) url('../image/hero2.jpg') no-repeat center center;
  background-size: cover;
  background-position: 38% center;
  color: var(--soft-white);
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 1024px) and (hover: hover) {
  .hero {
    background-attachment: fixed;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(211, 205, 196, 0.1) 0%,
    rgba(167, 164, 156, 0.2) 50%,
    rgba(1, 1, 1, 0.3) 100%
  );
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero .title {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--soft-white);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 20px rgba(1, 1, 1, 0.3);
  transform: rotate(-1deg);
  will-change: transform;
}

.hero .subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--light-cream);
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.hero .venue-time {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--primary-warm);
  letter-spacing: 0.5px;
  margin-top: 5rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero .venue-time {
    margin-top: 1.5rem;
  }

  .hero {
    -webkit-overflow-scrolling: touch;
  }
}

/* Hero Footer Navigation */
.hero .hero-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--light-cream);
}

.hero .hero-foot .hero-foot--wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero .hero-foot .hero-menu-desktop ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.hero .hero-foot .hero-menu-desktop ul li a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--deep-charcoal);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.hero .hero-foot .hero-menu-desktop ul li a:hover,
.hero .hero-foot .hero-menu-desktop ul li.is-active a {
  color: var(--secondary-taupe);
  border-bottom-color: var(--accent-gold);
}

@media (max-width: 768px) {
  .hero .hero-foot {
    display: none;
  }
}

/* Main Content Sections */
.main-content {
  font-family: 'Inter', sans-serif;
  color: var(--deep-charcoal);
}

.section-light {
  background-color: var(--soft-white);
  padding: 5rem 2rem;
  position: relative;
}

.section-light.regular-section {
  background: linear-gradient(
    135deg,
    var(--soft-white) 0%,
    var(--light-cream) 100%
  );
}

.section-dark {
  background: linear-gradient(
    135deg,
    var(--light-cream) 0%,
    var(--primary-warm) 100%
  );
  padding: 5rem 2rem;
  color: var(--deep-charcoal);
}

.section-darker {
  background: linear-gradient(
    135deg,
    var(--primary-warm) 0%,
    var(--secondary-taupe) 100%
  );
  padding: 5rem 2rem;
  color: var(--soft-white);
}

/* Typography - Mandarin Oriental Style */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--deep-charcoal);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 1px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-gold),
    transparent
  );
}

.full-name {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--secondary-taupe);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.ampersand {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--accent-gold);
  display: inline-block;
  margin: 0 1rem;
  transform: rotate(-5deg);
}

.bodytext {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--deep-charcoal);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.event-time {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--secondary-taupe);
  text-align: center;
  margin: 1rem 0;
}

.date-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--accent-gold);
  text-align: center;
  line-height: 1;
  margin: 1rem 0;
}

.venue {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--deep-charcoal);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.5px;
}

/* Buttons - Elegant Mandarin Oriental Style */
.btn-cta {
  background: linear-gradient(
    135deg,
    var(--secondary-taupe),
    var(--primary-warm)
  );
  color: var(--soft-white);
  border: 2px solid var(--secondary-taupe);
  padding: 1rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(254, 254, 254, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover {
  background: linear-gradient(
    135deg,
    var(--accent-gold),
    var(--secondary-taupe)
  );
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

/* Scroll to Top Button */
#toTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--secondary-taupe),
    var(--accent-gold)
  );
  color: var(--soft-white);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px var(--shadow-medium);
}

#toTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--shadow-strong);
  background: linear-gradient(
    135deg,
    var(--accent-gold),
    var(--secondary-taupe)
  );
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  background-color: var(--light-cream);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--secondary-taupe),
    var(--primary-warm)
  );
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--accent-gold),
    var(--secondary-taupe)
  );
}

/* Preloader */
.preloader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-warm), var(--light-cream));
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader {
  width: 60px;
  height: 60px;
  border: 3px solid var(--light-cream);
  border-top: 3px solid var(--accent-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-light,
  .section-dark,
  .section-darker {
    padding: 3rem 1rem;
  }

  .hero .hero-content {
    padding: 1rem;
  }

  .photo-item {
    min-height: 20rem;
  }

  .btn-cta,
  .btn-whatsapp {
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Utility Classes */
.space24px {
  height: 24px;
}
.no-padding-top {
  padding-top: 0;
}
.tile {
  border-radius: 8px;
  overflow: hidden;
}

/* Color Utility Classes */
.primary-warm {
  color: var(--primary-warm);
}
.secondary-taupe {
  color: var(--secondary-taupe);
}
.light-cream {
  color: var(--light-cream);
}
.deep-charcoal {
  color: var(--deep-charcoal);
}
.accent-gold {
  color: var(--accent-gold);
}
.soft-white {
  color: var(--soft-white);
}

/* Instagram Link Styling */
.instagram {
  color: var(--secondary-taupe);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-warm);
  border-radius: 25px;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 1rem 0;
}

.instagram:hover {
  background: var(--primary-warm);
  color: var(--soft-white);
  transform: translateY(-2px);
}

/* Section Background Decorations */
.section-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-warm),
    transparent
  );
}

/* Enhanced Visual Hierarchy */
.section-color.inquiry {
  background: linear-gradient(
    135deg,
    var(--secondary-taupe) 0%,
    var(--deep-charcoal) 100%
  );
  color: var(--soft-white);
  padding: 5rem 2rem;
}

.section-color.inquiry .title,
.section-color.inquiry .subtitle {
  color: var(--soft-white);
}

.section-color.inquiry i {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 2rem;
}

#countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  flex-wrap: wrap;
  margin-top: -60px;
}

#countdown li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 15px;
  color: var(--soft-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#countdown li p {
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  font-weight: 600;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#countdown .separator {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 5px;
  align-self: flex-start;
  margin-top: 10px;
}

.countdown-finished {
  font-size: 1.5rem;
  color: var(--secondary-taupe);
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  #countdown li p {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }

  #countdown li {
    margin: 5px 8px;
  }

  #countdown .separator {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  #countdown {
    margin-top: -45px;
  }
}

.hero-body .container.has-text-centered {
  margin-top: -280px;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-body .container.has-text-centered {
    margin-top: -160px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-body .container.has-text-centered {
    margin-top: -50px;
  }
}

[data-aos] {
  will-change: transform, opacity;
}

.fade-up-smooth {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up-smooth.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos-delay] {
  transition-delay: calc(var(--aos-delay) * 1ms) !important;
}

@media (max-width: 768px) {
  [data-aos] {
    transition-duration: 0.6s !important;
  }

  .fade-up-smooth {
    transform: translateY(20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Smooth transitions for interactive elements */
.button,
a {
  transition: all 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-light);
}

.mandarin-logo {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .mandarin-logo {
    max-width: 100%;
    max-height: 150px;
  }
}

@media (max-width: 480px) {
  .mandarin-logo {
    max-width: 100%;
    max-height: 120px;
  }
}

/* Countdown animation enhancement */
#countdown li {
  transition: all 0.3s ease;
}

#countdown li:hover {
  transform: scale(1.05);
}

/* Preloader optimization */
.preloader-wrapper {
  transition: opacity 0.5s ease-out;
}

/* Hero content animation */
.hero-body > * {
  animation: fadeInUp 1s ease-out;
}

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

/* Stagger hero content animations */
.hero-body .subtitle:first-child {
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.hero-body .title {
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.hero-body .venue-time {
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

#countdown {
  animation-delay: 0.8s;
  animation-fill-mode: both;
}

/* RSVP Section Styling */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.rsvp-section {
  background: linear-gradient(
    135deg,
    var(--soft-white) 0%,
    var(--light-cream) 100%
  );
  border: 1px solid var(--primary-warm);
  border-radius: 0;
  box-shadow: 0 10px 30px var(--shadow-medium);
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.rsvp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent-gold);
}

/* Decorative Ornaments */
.corner-ornament {
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0.1;
}

/* Note: CSS variables cannot be used inside a URL-encoded SVG. 
 The fill color hex code has been updated to match --accent-gold. */
.corner-ornament.top-left {
  top: 20px;
  left: 20px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 L60 30 L80 30 L65 45 L70 65 L50 50 L30 65 L35 45 L20 30 L40 30 Z" fill="%23c9a96e"/></svg>');
}

.corner-ornament.bottom-right {
  bottom: 20px;
  right: 20px;
  transform: rotate(180deg);
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 L60 30 L80 30 L65 45 L70 65 L50 50 L30 65 L35 45 L20 30 L40 30 Z" fill="%23c9a96e"/></svg>');
}

/* Typography */
h1 {
  text-align: center;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 10px;
  color: var(--deep-charcoal);
}

.subtitle {
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 40px;
}

.divider {
  width: 100px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-gold),
    transparent
  );
  margin: 30px auto;
}

/* Buttons */
.rsvp-button {
  display: block;
  margin: 0 auto;
  padding: 15px 40px;
  background: var(--accent-gold);
  color: var(--soft-white);
  border: none;
  border-radius: 30px;
  font-size: 18px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rsvp-button:hover {
  background: var(--secondary-taupe);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(201, 169, 110, 0.3);
}

.form-container {
  display: none;
  margin-top: 40px;
  animation: fadeIn 0.5s ease;
}

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

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--deep-charcoal);
  font-weight: 500;
}

input[type='text'],
input[type='email'],
input[type='number'],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--soft-white);
  border: 2px solid var(--primary-warm);
  border-radius: 4px;
  color: var(--deep-charcoal);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
  background: var(--light-cream);
}

.radio-group,
.checkbox-group {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--deep-charcoal);
}

input[type='radio'],
input[type='checkbox'] {
  margin-right: 8px;
  accent-color: var(--accent-gold);
}

.dietary-section {
  background: var(--light-cream);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--primary-warm);
}

.dietary-section h3 {
  color: var(--deep-charcoal);
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
}

.dietary-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
}

.dietary-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dietary-item label {
  margin-bottom: 0;
  flex: 1;
  color: var(--deep-charcoal);
}

.dietary-item input[type='number'] {
  width: 80px;
}

.total-info {
  margin-top: 15px;
  padding: 15px;
  background: var(--soft-white);
  border-radius: 4px;
  border: 1px solid var(--primary-warm);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--secondary-taupe);
}

.total-count {
  color: var(--accent-gold);
  font-weight: bold;
}

.error-message {
  color: var(--error-red);
  font-size: 14px;
  margin-top: 8px;
  display: none;
}

.submit-button {
  width: 100%;
  padding: 16px;
  background: var(--accent-gold);
  color: var(--soft-white);
  border: none;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  margin-top: 30px;
  border-radius: 4px;
}

.submit-button:hover {
  background: var(--secondary-taupe);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px var(--shadow-medium);
}

.submit-button:disabled {
  background: var(--primary-warm);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Message Box */
.message {
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  background: var(--light-cream);
  border: 1px solid var(--accent-gold);
  color: var(--deep-charcoal);
  display: none;
  border-radius: 4px;
}

.message.success {
  background: linear-gradient(135deg, var(--light-cream), var(--primary-warm));
  border-color: var(--accent-gold);
}

.message.error {
  background: rgba(255, 107, 107, 0.1);
  border-color: var(--error-red);
  color: var(--error-red);
}

.message.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .rsvp-section {
    padding: 40px 20px;
  }

  h1 {
    font-size: 28px;
  }

  .dietary-inputs {
    grid-template-columns: 1fr;
  }

  .radio-group {
    flex-direction: column;
    gap: 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.invitation-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.mo-pattern {
  position: absolute;
  opacity: 0.05;
  z-index: 0;
}

.mo-pattern-left {
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 400px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200'%3E%3Cpath d='M50 20 Q20 50 50 80 Q80 50 50 20' fill='%23c9a96e' /%3E%3C/svg%3E")
    repeat-y;
}

.mo-pattern-right {
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 400px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200'%3E%3Cpath d='M50 20 Q20 50 50 80 Q80 50 50 20' fill='%23c9a96e' /%3E%3C/svg%3E")
    repeat-y;
}

.container {
  max-width: 900px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.mandarin-logo {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeIn 1s ease-out;
}

.mandarin-logo img {
  width: 180px;
  height: auto;
}

.invitation-text {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeIn 1s ease-out 0.3s both;
}

.invitation-text h1 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.invitation-text p {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 1px;
}

.couple-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 60px;
  animation: fadeIn 1s ease-out 0.6s both;
}

.groom-side,
.bride-side {
  flex: 1;
  text-align: center;
  position: relative;
}

.side-decoration {
  position: absolute;
  top: -20px;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent-gold),
    transparent
  );
}

.parent-names {
  font-size: 14px;
  color: var(--muted-gray);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.couple-name {
  margin: 20px 0;
}

.ampersand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: var(--accent-gold);
  font-weight: 300;
  animation: zoomIn 0.8s ease-out 0.9s both;
}

.divider img {
  width: 150px;
  opacity: 0.6;
}

.closing-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeIn 1s ease-out 1.5s both;
}

.closing-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted-gray);
  letter-spacing: 1px;
}

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

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 768px) {
  .couple-section {
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
    align-items: center;
    width: 100%;
  }

  .ampersand {
    position: sticky;
    transform: none;
    display: block;
    margin: 20px 0;
    text-align: center;
  }

  .invitation-text h1 {
    font-size: 24px;
    letter-spacing: 4px;
  }
}
