/* =============== ENHANCED GLOBAL STYLES =============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --maxies-color-tmp: #2367a8;
  --maxies-color: #738cc3;
  --primary-color: #738cc3;
  --primary-light: #e9e0f7;
  --primary-dark: #0d477e;
  --secondary-color: #C5DFF8;
  --secondary-light: #e4f1fd;
  --secondary-dark: #a1c6e7;
  --accent-color: #738cc3;
  --accent-light: #fae3e1;
  --accent-dark: #e8a8a2;
  --text-color: #333;
  --light-text: #777;
  --lightest-text: #999;
  --light-bg: #f8f9fa;
  --dark-bg: #343a40;
  --white: #fff;
  --off-white: #f9f7ff;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  --hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
}

@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dancingscript/v24/If2cXTr6YS-zF4S-kcSWSVi_sxjsohD9F50Ruu7BMSo3Rep8hNP6.woff2) format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/playfairdisplay/v30/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvXDZbtPY_Q.woff2) format('woff2');
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto; /* Enable vertical scrolling */
  position: relative;
}

body.no-scroll {
  overflow: hidden;
}

/* =============== PRELOADER =============== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease;
}

.preloader.preloader-hidden {
  opacity: 0;
}

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

.preloader-logo {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  position: relative;
  margin-bottom: 20px;
}

.preloader-logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  animation: loading-line 2s infinite;
}

@keyframes loading-line {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; }
}

.preloader-spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(211, 194, 242, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: preloader-spin 1s ease-in-out infinite;
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

/* =============== ENHANCED TYPOGRAPHY =============== */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
}

h1 {
  font-size: 4rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.75rem;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
  color: var(--text-color);
}

h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

section:hover h2::after {
  width: 80px;
}

h3 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}

p {
  margin-bottom: 25px;
  color: var(--light-text);
  font-weight: 300;
  line-height: 1.8;
}

.accent-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  display: block;
}

.centered-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.emphasized {
  font-weight: 500;
  color: var(--text-color);
}

.highlight {
  background: linear-gradient(to right, rgba(211, 194, 242, 0.2), rgba(197, 223, 248, 0.2));
  padding: 2px 5px;
  border-radius: 3px;
}

/* =============== ENHANCED IMAGES =============== */
img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
  transition: var(--transition);
}

.image-frame {
  position: relative;
  padding: 10px;
  background: white;
  box-shadow: var(--box-shadow);
  border-radius: var(--radius);
  transition: var(--transition);
  overflow: hidden;
}

.image-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  pointer-events: none;
}

.image-frame:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.image-frame img {
  border-radius: calc(var(--radius) - 5px);
}

.polaroid {
  background: white;
  padding: 15px 15px 40px 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: rotate(var(--rotation, 0deg));
  transition: var(--transition);
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =============== ENHANCED LINKS & BUTTONS =============== */
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.btn-primary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
  border: none;
  padding: 16px 34px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(211, 194, 242, 0.2), rgba(197, 223, 248, 0.2));
  transition: var(--transition);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 1.5px solid var(--primary-color);
  padding: 14px 30px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--text-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* =============== ENHANCED SECTION CONTAINERS =============== */
.section-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  width: 100%;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-with-bg {
  background-color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.section-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at top right, rgba(211, 194, 242, 0.15), transparent 50%),
    radial-gradient(circle at bottom left, rgba(197, 223, 248, 0.15), transparent 50%);
  z-index: 0;
}

.section-with-bg .section-container {
  position: relative;
  z-index: 1;
}

/* Decorative elements */
.decorative-line {
  height: 2px;
  width: 80px;
  background: var(--primary-color);
  margin: 0 auto 40px;
  position: relative;
}

.decorative-line::before,
.decorative-line::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  top: -3px;
}

.decorative-line::before {
  left: -10px;
}

.decorative-line::after {
  right: -10px;
}

.section-divider {
  margin: 0;
  padding: 0;
  position: relative;
  height: 100px;
  overflow: hidden;
}

.divider-curve {
  position: absolute;
  width: 100%;
  height: 100px;
  bottom: 0;
  fill: var(--off-white);
}

/* =============== ENHANCED ANIMATIONS =============== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideLeft {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes scale {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes wheelScroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.1); }
  40% { transform: scale(1); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1.2s forwards;
}

.animate-slide-up {
  opacity: 0;
  animation: slideUp 1s forwards;
}

.animate-slide-down {
  opacity: 0;
  animation: slideDown 1s forwards;
}

.animate-slide-left {
  opacity: 0;
  animation: slideLeft 1s forwards;
}

.animate-slide-right {
  opacity: 0;
  animation: slideRight 1s forwards;
}

.animate-scale {
  opacity: 0;
  animation: scale 1s forwards;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-spin {
  animation: rotate 10s linear infinite;
}

.animate-heartbeat {
  animation: heartbeat 1.5s infinite;
}

/* Animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* =============== NEW ENHANCED HEADER / NAVIGATION (SMALLER) =============== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(10px);
  z-index: 999;
  transition: var(--transition);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 5px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.07);
}

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Logo in the center */
.header-logo-container {
  margin-bottom: 8px;
  text-align: center;
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.logo-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3px;
  position: relative;
  transition: var(--transition);
}

header.header-scrolled .logo-circle {
  width: 50px;
  height: 50px;
}

.logo-circle::after {
  content: '';
  position: absolute;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(211, 194, 242, 0.5);
  border-radius: 50%;
  transition: var(--transition);
}

header.header-scrolled .logo-circle::after {
  width: 58px;
  height: 58px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  transition: var(--transition);
}

header.header-scrolled .logo-text {
  font-size: 1.3rem;
}

.logo-amp {
  font-family: 'Dancing Script', cursive;
  color: var(--primary-color);
  font-size: 1.8rem;
  transition: var(--transition);
}

header.header-scrolled .logo-amp {
  font-size: 1.3rem;
}

.logo-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--primary-dark);
  letter-spacing: 1.5px;
  margin-top: 2px;
  transition: var(--transition);
}

header.header-scrolled .logo-subtitle {
  font-size: 0.7rem;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  top: 15px;
  right: 15px;
}

.bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Navigation menu below logo */
.main-navigation {
  width: 100%;
  display: flex;
  justify-content: center;
  transition: var(--transition);
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 3px 0;
  position: relative;
  text-transform: uppercase;
  color: var(--white);
  transition: var(--transition);
}

header.header-scrolled .nav-link {
  color: var(--light-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

header.header-scrolled .nav-link:hover, 
header.header-scrolled .nav-link.active {
  color: var(--text-color);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* =============== ENHANCED HERO SECTION =============== */
/* Update the hero section CSS to make the image visible on mobile */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  background: url('assets/img/MundM.jpg') center/cover no-repeat; /* Removed fixed attachment */
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 120px; /* Reduced padding for the smaller header */
}

/* Keep fixed background for desktop screens only */
@media (min-width: 992px) {
  .hero {
    background-attachment: fixed;
  }
}

/* Additional optimization for very small screens */
@media (max-width: 576px) {
  .hero {
    background-position: center center;
    background-size: cover;
  }
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.hero-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-text {
  margin-bottom: 50px;
  text-align: center;
  color: white;
}

.pre-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: white;
  opacity: 0;
  animation: fadeIn 1s forwards, slideDown 1s forwards;
  animation-delay: 0.5s;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  margin-bottom: 25px;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeIn 1s forwards, scale 1s forwards;
  animation-delay: 0.8s;
}

.ampersand {
  font-family: 'Dancing Script', cursive;
  font-size: 4.5rem;
  color: var(--accent-color);
  display: inline-block;
  animation: heartbeat 2s infinite;
  animation-delay: 3s;
}

.save-the-date {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0 35px;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 1.1s;
}

.save-the-date span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 5px;
  margin: 0 25px;
  text-transform: uppercase;
  font-weight: 300;
  color: white;
}

.save-the-date .line {
  height: 1px;
  width: 100px;
  background-color: rgba(255, 255, 255, 0.7);
}

.hero .date {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  letter-spacing: 3px;
  font-weight: 400;
  color: white;
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeIn 1s forwards, slideUp 1s forwards;
  animation-delay: 1.4s;
}

.btn-calendar {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 15px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 1.7s;
}

.btn-calendar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  z-index: -1;
}

.btn-calendar:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-calendar:hover::before {
  left: 0;
}

/* Floating hearts animation */
.floating-heart {
  position: absolute;
  z-index: 1;
  opacity: 0.6;
  border-radius: 50%;
  animation: floatingHeart 20s linear infinite;
}

.floating-heart::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.floating-heart::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
  transform: translateY(-50%) rotate(45deg);
}

@keyframes floatingHeart {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-1000px) rotate(360deg);
    opacity: 0;
  }
}

/* =============== ENHANCED COUNTDOWN SECTION =============== */
.countdown-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
}

.countdown-item {
  background: white;
  border-radius: var(--radius);
  padding: 10px;
  min-width: 140px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.countdown-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--hover-shadow);
}

.countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: var(--transition);
}

.countdown-item:hover::before {
  opacity: 1;
}

/* Flip animation for countdown */
.flip-card-container {
  position: relative;
  perspective: 1000px;
  height: 80px;
  margin-bottom: 10px;
}

.flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.flip {
  transform: rotateX(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-card-back {
  transform: rotateX(180deg);
}

.countdown-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--maxies-color);
  margin-bottom: 5px;
  font-family: 'Playfair Display', serif;
}

.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--light-text);
  font-weight: 300;
}

/* =============== ENHANCED DRESSCODE SECTION =============== */
.dresscode-colors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.dresscode-color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.dresscode-color {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dresscode-color::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: var(--transition);
}

.dresscode-color:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.dresscode-color:hover::after {
  opacity: 0.5;
  transform: scale(1.1);
}

.dresscode-color-item span {
  font-size: 0.9rem;
  color: var(--light-text);
  letter-spacing: 1px;
}

.dresscode-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.dresscode-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px 30px;
  width: 300px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dresscode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

.dresscode-card:hover::before {
  transform: scaleX(1);
}

.dresscode-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.dresscode-card:hover i {
  transform: scale(1.2);
  color: var(--primary-dark);
}

/* =============== ENHANCED WEDDING COLORS SECTION =============== */
.wedding-colors-container {
  max-width: 700px;
  margin: 60px auto;
  text-align: center;
  position: relative;
}

.wedding-colors-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--text-color);
  margin-bottom: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.wedding-colors-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 2px;
  background: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.wedding-colors-title::before {
  content: '❤';
  font-family: Arial, sans-serif;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--accent-color);
  opacity: 0.8;
}

.colors-row {
  position: relative;
  height: 120px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.color-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 0 10px;
  border: 5px solid white;
  position: relative;
  z-index: 1;
}


.color-circle::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.color-circle:hover {
  transform: scale(1.15) translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  z-index: 10;
}

.color-circle:hover::after {
  opacity: 1;
}

/* Remove the absolute positioning of color circles */
.colors-row:first-of-type .color-circle:nth-child(1),
.colors-row:first-of-type .color-circle:nth-child(2),
.colors-row:first-of-type .color-circle:nth-child(3),
.colors-row:first-of-type .color-circle:nth-child(4),
.colors-row:first-of-type .color-circle:nth-child(5),
.colors-row:nth-of-type(2) .color-circle:nth-child(1),
.colors-row:nth-of-type(2) .color-circle:nth-child(2),
.colors-row:nth-of-type(2) .color-circle:nth-child(3),
.colors-row:nth-of-type(2) .color-circle:nth-child(4),
.colors-row:nth-of-type(2) .color-circle:nth-child(5) {
  position: static; /* Override the absolute positioning */
  left: auto;
}


/* Color label tooltips */
.color-circle::before {
  content: attr(data-color);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: white;
  color: var(--text-color);
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.color-circle:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* =============== ENHANCED LOCATION SECTION =============== */
.location-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.location-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.location-card {
  background: white;
  border-radius: var(--radius);
  padding: 35px 30px;
  width: 300px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

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

.location-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.location-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.location-card:hover i {
  transform: scale(1.2);
  color: var(--secondary-dark);
}

.map {
  width: 100%;
  max-width: 650px;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
}

.map:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--hover-shadow);
}

.location-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.map:hover .location-image {
  transform: scale(1.05);
}

.map::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0));
  pointer-events: none;
}

/* Map container styling */
.map-container {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin: 30px auto;
  transition: var(--transition);
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

/* Map iframe styling */
.osm-map {
  width: 100%;
  height: 100%;
  border: none;
}

/* Location info box styling */
.location-info-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  transition: transform 0.3s ease;
}

.map-container:hover .location-info-box {
  transform: translateY(-5px);
}

.location-card {
  background: white;
  border-radius: var(--radius);
  padding: 15px 20px;
  width: 280px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.location-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.location-header i {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-right: 10px;
}

.location-header h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text-color);
}

.location-card p {
  margin: 0 0 15px 0;
  color: var(--light-text);
  font-size: 0.95rem;
}

.directions-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.directions-button i {
  margin-right: 6px;
}

.directions-button:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Media query for smaller screens */
@media (max-width: 576px) {
  .location-card {
    width: 220px;
    padding: 12px 15px;
  }
  
  .location-header h3 {
    font-size: 1rem;
  }
  
  .location-card p {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  
  .directions-button {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* =============== ENHANCED HINWEISE SECTION =============== */
.hinweise-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.hinweis-card {
  background: white;
  border-radius: var(--radius);
  padding: 35px 25px;
  width: 260px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hinweis-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, transparent 50%, rgba(211, 194, 242, 0.1) 50%);
  border-radius: 0 0 var(--radius) 0;
  transition: var(--transition);
}

.hinweis-card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: var(--hover-shadow);
}

.hinweis-card:hover::after {
  width: 100%;
  height: 100%;
}

.hinweis-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.hinweis-card:hover i {
  transform: scale(1.2) rotate(-5deg);
  color: var(--primary-dark);
}

/* =============== ENHANCED GESCHENKE SECTION =============== */
.geschenke-content {
  max-width: 750px;
  margin: 0 auto;
  padding: 50px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.geschenke-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.geschenke-content::before,
.geschenke-content::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 0;
  transition: var(--transition);
}

.geschenke-content::before {
  top: -75px;
  left: -75px;
}

.geschenke-content::after {
  bottom: -75px;
  right: -75px;
}

.geschenke-content:hover::before,
.geschenke-content:hover::after {
  transform: scale(1.2);
}

.geschenke-icon {
  font-size: 3.5rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.geschenke-content p {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  line-height: 1.9;
}

/* =============== ENHANCED TRAUZEUGEN SECTION =============== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  margin-top: 40px;
}

.testimonial {
  background: white;
  border-radius: var(--radius);
  padding: 40px 30px;
  width: 320px;
  box-shadow: var(--box-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  font-family: 'Playfair Display', serif;
  color: rgba(211, 194, 242, 0.1);
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-15px);
  box-shadow: var(--hover-shadow);
}

.testimonial-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 25px;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
}

.testimonial:hover .testimonial-img {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3));
  opacity: 0;
  transition: var(--transition);
}

.testimonial:hover .testimonial-img::after {
  opacity: 1;
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: var(--transition);
}

.testimonial:hover .testimonial-img img {
  transform: scale(1.1);
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =============== ENHANCED RSVP SECTION =============== */
.rsvp-form, .ride-form {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 40px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.rsvp-form:hover, .ride-form:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--text-color);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(211, 194, 242, 0.2);
}

.form-control.input-error {
  border-color: #ff6b6b;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.btn-rsvp-submit {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.btn-rsvp-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hidden {
  display: none;
}

#rsvp-confirmation {
  text-align: center;
  padding: 50px 30px;
}

#rsvp-confirmation i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  animation: heartbeat 1.5s infinite;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.contact-option {
  background: white;
  border-radius: var(--radius);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.contact-option:hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: var(--hover-shadow);
}

.contact-option i {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.contact-option:hover i {
  transform: scale(1.2);
  color: var(--primary-dark);
}

.contact-option p {
  margin: 0;
  font-weight: 400;
}

/* =============== ENHANCED FOOTER =============== */
footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}

.footer-wave .shape-fill {
  fill: var(--light-bg);
}

.footer-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.footer-logo span {
  font-family: 'Dancing Script', cursive;
  color: var(--primary-color);
  font-size: 2.2rem;
  margin: 0 3px;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto 20px;
}

footer .social-links {
  margin-top: 25px;
}

footer .social-links a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 45px;
  height: 45px;
  transition: var(--transition);
}

footer .social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

/* =============== NEW COMPONENTS =============== */

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  z-index: 2;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--white);
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  animation: wheelScroll 1.5s infinite;
}

.scroll-text {
  font-size: 12px;
  letter-spacing: 2px;
  margin-top: 5px;
  font-weight: 300;
}

@keyframes wheelScroll {
  0% { transform: translateY(0) translateX(-50%); opacity: 1; }
  100% { transform: translateY(8px) translateX(-50%); opacity: 0; }
}

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

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Music Player */
.music-player {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.music-player.visible {
  opacity: 1;
  transform: translateY(0);
}

.music-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: var(--transition);
}

.music-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.music-toggle.playing {
  background: var(--primary-light);
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: var(--primary-light);
}

/* Calendar options */
.calendar-options {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.calendar-options.visible {
  opacity: 1;
  visibility: visible;
}

.calendar-options-content {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.5s ease;
}

.calendar-options.visible .calendar-options-content {
  transform: scale(1);
}

.calendar-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.calendar-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.calendar-options-title {
  margin-bottom: 30px;
}

.calendar-options-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.calendar-option {
  background: #f8f8f8;
  padding: 15px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.calendar-option:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.calendar-option i {
  font-size: 1.5rem;
}

/* Photo Gallery - Polaroid Style */
.polaroid-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 50px auto;
  max-width: 1200px;
}

.polaroid-item {
  flex: 0 0 280px;
  transition: var(--transition);
}

.polaroid {
  background-color: white;
  padding: 15px 15px 40px 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  transition: all 0.35s ease;
  position: relative;
  transform: rotate(1deg);
}

.polaroid:hover {
  transform: scale(1.05) rotate(0);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.polaroid-image {
  overflow: hidden;
  height: 220px;
  background-color: #f5f5f5;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.polaroid:hover img {
  transform: scale(1.08);
}

.polaroid-caption {
  font-family: 'Dancing Script', cursive;
  text-align: center;
  margin-top: 15px;
  font-size: 1.2rem;
  color: #333;
}

/* Create variation in rotation for more natural look */
.polaroid-item:nth-child(odd) .polaroid {
  transform: rotate(-2deg);
}

.polaroid-item:nth-child(3n) .polaroid {
  transform: rotate(3deg);
}

.rotate-left {
  transform: rotate(-3deg) !important;
}

.rotate-right {
  transform: rotate(3deg) !important;
}

/* Gallery Quote */
.gallery-quote {
  text-align: center;
  max-width: 700px;
  margin: 60px auto 20px;
  color: var(--accent-color);
  font-style: italic;
}

.gallery-quote i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0 10px;
}

.gallery-quote p {
  display: inline-block;
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  margin: 10px 0;
}

/* Humor note styling update */
.humor-note {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 15px 25px;
  margin: 30px auto;
  max-width: 800px;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--accent-color);
}

.humor-note i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 15px;
}

.humor-text {
  margin: 0;
  font-style: italic;
}

/* Keep the existing Lightbox CSS from the original code */

/* Responsive adjustments */
@media (max-width: 768px) {
  .polaroid-gallery {
    gap: 25px;
  }
  
  .polaroid-item {
    flex: 0 0 250px;
  }
  
  .polaroid-image {
    height: 180px;
  }
  
  .gallery-quote p {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .polaroid-item {
    flex: 0 0 220px;
  }
  
  .polaroid-image {
    height: 160px;
  }
}

/* =============== NEW COMPONENT: Schedule Timeline =============== */
.schedule-timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.schedule-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--primary-light);
  transform: translateX(-50%);
}

.schedule-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
}

.schedule-item:nth-child(odd) {
  justify-content: flex-start;
}

.schedule-item:nth-child(even) {
  justify-content: flex-end;
}

.schedule-content {
  width: calc(50% - 40px);
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
}

.schedule-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.schedule-time {
  position: absolute;
  top: -15px;
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.schedule-item:nth-child(odd) .schedule-time {
  right: -15px;
}

.schedule-item:nth-child(even) .schedule-time {
  left: -15px;
}

.schedule-dot {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: var(--transition);
}

.schedule-item:hover .schedule-dot {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 0 5px rgba(211, 194, 242, 0.3);
}

/* =============== NEW COMPONENT: Info Cards =============== */
.info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 40px 0;
}

.info-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  width: 300px;
}

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

.info-card-img {
  height: 200px;
  overflow: hidden;
}

.info-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.info-card:hover .info-card-img img {
  transform: scale(1.1);
}

.info-card-content {
  padding: 25px;
}

.info-card-content h3 {
  margin-top: 0;
}

.info-card-footer {
  padding: 15px 25px;
  background: var(--primary-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-card-price {
  font-weight: 600;
  color: var(--primary-dark);
}

.info-card-link {
  color: var(--primary-dark);
  font-weight: 500;
  transition: var(--transition);
}

.info-card-link:hover {
  color: var(--text-color);
  text-decoration: underline;
}

/* =============== NEW COMPONENT: Traditions Cards =============== */
.traditions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin: 40px 0;
}

.tradition-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  width: 300px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.tradition-card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: var(--hover-shadow);
}

.tradition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.tradition-card:hover::before {
  transform: scaleX(1);
}

.tradition-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
}

.tradition-icon i {
  font-size: 3rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.tradition-card:hover .tradition-icon i {
  transform: scale(1.2);
  color: var(--primary-dark);
}

.tradition-content {
  padding: 25px;
}

/* =============== NEW COMPONENT: Ride Options =============== */
.ride-container {
  max-width: 900px;
  margin: 0 auto;
}

.ride-options {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin: 40px 0;
}

.ride-option {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  width: 250px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.ride-option:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.ride-option i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.ride-option:hover i {
  transform: scale(1.2);
  color: var(--primary-dark);
}

.ride-form-title {
  text-align: center;
  margin-bottom: 30px;
}

/* =============== WELCOME SECTION STYLES =============== */
#welcome-section {
  padding: 100px 0;
  position: relative;
  background: var(--light-bg);
}

.welcome-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.welcome-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

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

.welcome-card::before,
.welcome-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
}

.welcome-card::before {
  background: var(--primary-color);
  top: -100px;
  left: -100px;
}

.welcome-card::after {
  background: var(--accent-color);
  bottom: -100px;
  right: -100px;
}

.welcome-header {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.welcome-icon {
  margin-bottom: 20px;
}

.welcome-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
  background: var(--primary-light);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: pulse 2s infinite;
}

.welcome-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 0;
}

.welcome-title::after {
  display: none;
}

.welcome-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.welcome-divider-line {
  height: 1px;
  width: 100px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.welcome-divider-icon {
  margin: 0 20px;
}

.welcome-divider-icon i {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.welcome-content {
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.welcome-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-color);
}

.welcome-signature {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.signature-img {
  max-width: 200px;
  margin: 0 auto 10px;
  opacity: 0.9;
}

.signature-names {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .welcome-card {
    padding: 40px 30px;
  }
  
  .welcome-title {
    font-size: 2.2rem;
  }
  
  .welcome-content p {
    font-size: 1rem;
  }
  
  .signature-img {
    max-width: 150px;
  }
  
  .signature-names {
    font-size: 1.5rem;
  }
}



/* =============== SLIDER STYLES =============== */
.swiper {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin: 40px 0;
}

.swiper-slide {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(5px);
}

.swiper-slide-caption h3 {
  margin: 0 0 10px 0;
  color: var(--text-color);
}

.swiper-slide-caption p {
  margin: 0;
  color: var(--light-text);
  font-size: 0.9rem;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
}

/* =============== RESPONSIVE MEDIA QUERIES =============== */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  section {
    padding: 100px 0;
  }
  
  .hero-content {
    max-width: 700px;
  }
  
  .header-logo-container {
    margin-bottom: 8px;
  }
  
  .logo-circle {
    width: 60px;
    height: 60px;
  }
  
  .logo-circle::after {
    width: 68px;
    height: 68px;
  }
  
  .logo-text, .logo-amp {
    font-size: 1.6rem;
  }
  
  .schedule-timeline::before {
    left: 30px;
  }
  
  .schedule-item {
    justify-content: flex-start !important;
  }
  
  .schedule-content {
    width: calc(100% - 80px);
    margin-left: 60px;
  }
  
  .schedule-dot {
    left: 30px;
  }
  
  .schedule-item:nth-child(odd) .schedule-time,
  .schedule-item:nth-child(even) .schedule-time {
    left: -15px;
    right: auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  .hero .date {
    font-size: 1.8rem;
  }
  
  .save-the-date .line {
    width: 60px;
  }
  
  .logo-circle {
    width: 55px;
    height: 55px;
  }
  
  .logo-circle::after {
    width: 63px;
    height: 63px;
  }
  
  .logo-text, .logo-amp {
    font-size: 1.5rem;
  }
  
  .logo-subtitle {
    font-size: 0.7rem;
  }
  
  .nav-menu {
    gap: 10px;
  }
  
  .hamburger-menu {
    display: block;
  }
  
  .main-navigation {
    position: fixed;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: 0.3s;
    justify-content: center;
    align-items: center;
  }
  
  .main-navigation.active {
    left: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-link {
    margin: 15px 0;
    font-size: 1.2rem;
    color: var(--text-color) !important;
  }
  
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  section {
    padding: 80px 0;
  }
  
  .location-container, 
  .dresscode-info,
  .hinweise-container {
    gap: 25px;
  }
  
  .dresscode-card,
  .location-card,
  .hinweis-card {
    width: 100%;
    max-width: 400px;
  }
  
  .countdown-container {
    gap: 15px;
  }
  
  .map-container {
    height: 300px;
  }
  
  .rsvp-form, .ride-form {
    padding: 30px 20px;
  }
  
  .wedding-colors-container {
    max-width: 500px;
  }
  
  .color-circle {
    width: 80px;
    height: 80px;
  }
  
  .colors-row {
    height: 80px;
  }
  
  .swiper-slide {
    height: 400px;
  }

  .logo-text {
    font-size: 2rem;
  }
  
  .logo-amp {
    font-size: 2rem;
  }
  
  .schedule-timeline::before {
    left: 30px;
  }
  
  .schedule-item {
    justify-content: flex-start !important;
  }
  
  .schedule-content {
    width: calc(100% - 80px);
    margin-left: 60px;
  }
  
  .schedule-dot {
    left: 30px;
  }
  
  .schedule-item:nth-child(odd) .schedule-time,
  .schedule-item:nth-child(even) .schedule-time {
    left: -15px;
    right: auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  .hero .date {
    font-size: 1.8rem;
  }
  
  .save-the-date .line {
    width: 60px;
  }
  
  .logo-circle {
    width: 70px;
    height: 70px;
  }
  
  .logo-text, .logo-amp {
    font-size: 1.8rem;
  }
  
  .logo-subtitle {
    font-size: 0.8rem;
  }
  
  .nav-menu {
    gap: 15px;
  }
  
  .hamburger-menu {
    display: block;
  }
  
  .main-navigation {
    position: fixed;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: 0.3s;
    justify-content: center;
    align-items: center;
  }
  
  .main-navigation.active {
    left: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-link {
    margin: 15px 0;
    font-size: 1.2rem;
    color: var(--text-color) !important;
  }
  
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  section {
    padding: 80px 0;
  }
  
  .location-container, 
  .dresscode-info,
  .hinweise-container {
    gap: 25px;
  }
  
  .dresscode-card,
  .location-card,
  .hinweis-card {
    width: 100%;
    max-width: 400px;
  }
  
  .countdown-container {
    gap: 15px;
  }
  
  .map-container {
    height: 300px;
  }
  
  .rsvp-form, .ride-form {
    padding: 30px 20px;
  }
  
  .wedding-colors-container {
    max-width: 500px;
  }
  
  .color-circle {
    width: 80px;
    height: 80px;
  }
  
  .colors-row {
    height: 80px;
  }
  
  .swiper-slide {
    height: 400px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .hero .date {
    font-size: 1.6rem;
  }
  
  .pre-heading {
    font-size: 1rem;
  }
  
  .save-the-date .line {
    width: 40px;
  }
  
  .btn-calendar {
    padding: 12px 25px;
    font-size: 0.8rem;
  }
  
  .logo-circle {
    width: 60px;
    height: 60px;
  }
  
  .logo-circle::after {
    width: 66px;
    height: 66px;
  }
  
  .logo-text, .logo-amp {
    font-size: 1.5rem;
  }
  
  .countdown-item {
    min-width: 100px;
    padding: 15px;
  }
  
  .countdown-number {
    font-size: 2rem;
  }
  
  .countdown-label {
    font-size: 0.8rem;
  }
  
  .map-container {
    height: 250px;
  }
  
  .color-circle {
    width: 60px;
    height: 60px;
  }
  
  .colors-row {
    height: 60px;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .testimonial-img {
    width: 120px;
    height: 120px;
  }
  
  .geschenke-content {
    padding: 30px 20px;
  }
  
  .social-links a {
    width: 35px;
    height: 35px;
  }
  
  .music-player,
  .scroll-to-top {
    bottom: 20px;
  }
  
  .music-player {
    right: 20px;
  }
  
  .scroll-to-top {
    left: 20px;
  }
  
  .wedding-colors-title {
    font-size: 1.5rem;
  }
  
  .swiper-slide {
    height: 400px;
  }
}


/* Humor Note Styling */
.humor-note {
  background: linear-gradient(to right, var(--primary-light), var(--secondary-light));
  border-radius: var(--radius);
  padding: 20px;
  margin: 30px auto;
  max-width: 800px;
  display: flex;
  align-items: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.humor-note:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.humor-note i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-right: 20px;
  min-width: 40px;
  text-align: center;
}

.humor-text {
  margin: 0;
  color: var(--text-color);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Animations for the icons */
.fa-bounce {
  animation: icon-bounce 2s infinite;
}

.fa-flip {
  animation: icon-flip 2s infinite;
}

.fa-shake {
  animation: icon-shake 2s infinite;
}

.fa-spin {
  animation: icon-spin 8s linear infinite;
}

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

@keyframes icon-flip {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(-1); }
}

@keyframes icon-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
}

@keyframes icon-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .humor-note {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .humor-note i {
    margin-right: 0;
    margin-bottom: 15px;
    font-size: 2rem;
  }
  
  .humor-text {
    font-size: 1rem;
  }
}