/* Color Palette Variables */
:root {
  /* Primary color scheme - Cream & Tan */
  --primary-color: #f0bb78; /* Tan/Caramel as main color */
  --primary-light: #fff0dc; /* Cream as lighter version */
  --primary-dark: #543a14; /* Dark Brown as darker version */
  --secondary-color: #543a14; /* Dark Brown as secondary color */
  --secondary-light: #6a4b1f; /* Lighter version of dark brown */
  --secondary-dark: #131010; /* Almost black as darker version */

  /* Background colors */
  --bg-light: #fff0dc; /* Cream for light background */
  --bg-medium: #f0bb78; /* Tan/Caramel for medium background */
  --bg-dark: #543a14; /* Dark Brown for dark background */

  /* Text colors */
  --text-dark: #131010; /* Almost black for main text */
  --text-medium: #543a14; /* Dark Brown for regular text */
  --text-light: #fff0dc; /* Cream for light text */

  /* Accent colors */
  --accent-1: #f0bb78; /* Tan/Caramel as accent */
  --accent-2: #543a14; /* Dark Brown as accent */
  --accent-3: #fff0dc; /* Cream as accent */

  /* Fonts - kept same */
  --font-primary: "Playfair Display", serif;
  --font-secondary: "Poppins", sans-serif;
  --font-script: "Dancing Script", cursive;

  /* Transitions - kept same */
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-medium: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);

  /* Shadows - adjusted for new color scheme */
  --shadow-small: 0 2px 10px rgba(84, 58, 20, 0.1);
  --shadow-medium: 0 5px 20px rgba(84, 58, 20, 0.15);
  --shadow-large: 0 10px 30px rgba(84, 58, 20, 0.2);

  /* Border radius - kept same */
  --radius-small: 5px;
  --radius-medium: 10px;
  --radius-large: 20px;
  --radius-full: 50%;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-medium);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@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 zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes zoomOut {
  from {
    transform: scale(1.2);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes particleAnimation {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    transform: translate(var(--x), var(--y));
    opacity: 1;
  }
  75% {
    opacity: 0.5;
  }
  100% {
    transform: translate(calc(var(--x) * 2), calc(var(--y) * 2));
    opacity: 0;
  }
}

@keyframes rotateCard {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(180deg);
  }
}

@keyframes dash {
  from {
    stroke-dashoffset: 283;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
  text-align: center;
}

.preloader-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--secondary-color);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 20px;
}

.preloader-text {
  color: var(--text-light);
  font-size: 1.8rem;
  letter-spacing: 2px;
}

/* Opening Animation */
.opening-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color),
    var(--primary-light)
  );
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  perspective: 1000px;
  overflow: hidden;
}

.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particles {
  position: relative;
  width: 100%;
  height: 100%;
}

.particles::before,
.particles::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}

.particles::before {
  background-image: radial-gradient(
    circle,
    var(--secondary-light) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  opacity: 0.3;
}

.particles::after {
  background-image: radial-gradient(
    circle,
    var(--secondary-color) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  opacity: 0.2;
  animation: spin 120s linear infinite;
}

.opening-card {
  width: 85%;
  max-width: 500px;
  height: 600px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform var(--transition-slow);
}

.opening-card.flipped {
  transform: rotateY(180deg);
}

.opening-card-front,
.opening-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-large);
}

.opening-card-front {
  background-color: var(--bg-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(218, 165, 32, 0.1)" stroke-width="1"/></svg>');
  background-size: 20px 20px;
}

.opening-card-back {
  background-color: var(--primary-color);
  transform: rotateY(180deg);
}

.opening-ornaments {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.opening-ornament {
  position: absolute;
  width: 100px;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
}

.opening-ornament.top-left {
  top: 20px;
  left: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 Q30,30 50,50 T90,50" fill="none" stroke="rgba(218, 165, 32, 0.5)" stroke-width="2"/><path d="M50,10 Q30,30 50,50 T50,90" fill="none" stroke="rgba(218, 165, 32, 0.5)" stroke-width="2"/></svg>');
  transform: rotate(-45deg);
}

.opening-ornament.top-right {
  top: 20px;
  right: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 Q30,30 50,50 T90,50" fill="none" stroke="rgba(218, 165, 32, 0.5)" stroke-width="2"/><path d="M50,10 Q30,30 50,50 T50,90" fill="none" stroke="rgba(218, 165, 32, 0.5)" stroke-width="2"/></svg>');
  transform: rotate(45deg);
}

.opening-ornament.bottom-left {
  bottom: 20px;
  left: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 Q30,30 50,50 T90,50" fill="none" stroke="rgba(218, 165, 32, 0.5)" stroke-width="2"/><path d="M50,10 Q30,30 50,50 T50,90" fill="none" stroke="rgba(218, 165, 32, 0.5)" stroke-width="2"/></svg>');
  transform: rotate(-135deg);
}

.opening-ornament.bottom-right {
  bottom: 20px;
  right: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 Q30,30 50,50 T90,50" fill="none" stroke="rgba(218, 165, 32, 0.5)" stroke-width="2"/><path d="M50,10 Q30,30 50,50 T50,90" fill="none" stroke="rgba(218, 165, 32, 0.5)" stroke-width="2"/></svg>');
  transform: rotate(135deg);
}

.opening-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.opening-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-color);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.5s;
}

.opening-title {
  font-family: var(--font-script);
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  opacity: 0;
  animation: zoomIn 1s ease forwards 1s;
}

.opening-date {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 300;
  color: var(--secondary-dark);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}

.opening-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 30px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--text-light);
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
  opacity: 0;
  animation: fadeIn 1s ease forwards 2s;
  overflow: hidden;
  position: relative;
}

.opening-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s;
}

.opening-button:hover::before {
  left: 100%;
}

.opening-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-large);
  background: linear-gradient(
    to right,
    var(--primary-dark),
    var(--primary-color)
  );
}

.button-text {
  margin-right: 10px;
}

.button-icon {
  font-size: 2rem;
}

/* Main Content */
.main-content {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

/* Audio Control */
.audio-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.audio-toggle {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
}

.audio-toggle:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.audio-icon {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.audio-wave {
  width: 4px;
  height: 10px;
  background-color: var(--text-light);
  border-radius: 2px;
  animation: wave 1s infinite;
}

.audio-wave:nth-child(2) {
  animation-delay: 0.2s;
  height: 16px;
}

.audio-wave:nth-child(3) {
  animation-delay: 0.4s;
  height: 12px;
}

.audio-toggle.paused .audio-wave {
  animation-play-state: paused;
  height: 4px;
}

/* Navigation */
.navigation {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 90%;
  max-width: 500px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 10px;
  box-shadow: var(--shadow-medium);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-item:hover {
  transform: translateY(-5px);
}

.nav-item.active {
  color: var(--primary-color);
}

.nav-icon {
  font-size: 2rem;
  margin-bottom: 5px;
}

.nav-label {
  font-size: 1.2rem;
  font-weight: 500;
}

/* Section Common Styles */
section {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: var(--bg-light);
}

.section-title-container {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 4rem;
  color: var(--text-medium);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--secondary-color),
    var(--secondary-light)
  );
}

.section-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  color: var(--text-medium);
  font-weight: 300;
}

/* Title Section */
.title-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://source.unsplash.com/random/1920x1080?wedding,elegant");
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
  z-index: -1;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-element {
  position: absolute;
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
}

.f1 {
  top: 15%;
  left: 10%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,10 A40,40 0 1,1 50,90 A40,40 0 1,1 50,10 Z" fill="none" stroke="rgba(218, 165, 32, 0.7)" stroke-width="2"/></svg>');
  animation: float 10s ease-in-out infinite;
}

.f2 {
  top: 25%;
  right: 15%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,10 L90,50 L50,90 L10,50 Z" fill="none" stroke="rgba(218, 165, 32, 0.7)" stroke-width="2"/></svg>');
  animation: float 12s ease-in-out infinite 1s;
}

.f3 {
  bottom: 20%;
  left: 20%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30,10 Q50,0 70,10 Q100,30 90,60 Q80,90 50,90 Q20,90 10,60 Q0,30 30,10" fill="none" stroke="rgba(218, 165, 32, 0.7)" stroke-width="2"/></svg>');
  animation: float 15s ease-in-out infinite 2s;
}

.f4 {
  top: 40%;
  left: 30%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,10 L60,40 L90,50 L60,60 L50,90 L40,60 L10,50 L40,40 Z" fill="none" stroke="rgba(218, 165, 32, 0.7)" stroke-width="2"/></svg>');
  animation: float 8s ease-in-out infinite 1.5s;
}

.f5 {
  bottom: 30%;
  right: 25%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 Q30,30 50,50 T90,50" fill="none" stroke="rgba(218, 165, 32, 0.7)" stroke-width="2"/><path d="M50,10 Q30,30 50,50 T50,90" fill="none" stroke="rgba(218, 165, 32, 0.7)" stroke-width="2"/></svg>');
  animation: float 9s ease-in-out infinite 0.5s;
}

.f6 {
  top: 60%;
  right: 10%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(218, 165, 32, 0.7)" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(218, 165, 32, 0.7)" stroke-width="2"/></svg>');
  animation: float 11s ease-in-out infinite 3s;
}

.title-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-large);
  text-align: center;
  transform: translateY(50px);
  opacity: 0;
  animation: slideUp 1s ease forwards;
}

.title-header {
  margin-bottom: 40px;
}

.bismillah {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.ornament-line {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--secondary-color),
    transparent
  );
  flex-grow: 1;
  max-width: 100px;
}

.ornament-symbol {
  margin: 0 15px;
  font-size: 2.4rem;
  color: var(--secondary-color);
}

.title-intro {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 40px;
}

.title-names {
  margin: 40px 0;
  display: flex;
  flex-flow: column;
}

.title-name {
  font-family: var(--font-script);
  font-size: 5rem;
  color: var(--primary-color);
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.title-name::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--secondary-color),
    transparent
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-medium);
}

.title-name:hover::before {
  transform: scaleX(1);
}

.title-ampersand {
  font-family: var(--font-script);
  font-size: 5rem;
  color: var(--secondary-color);
  margin: 0 20px;
  display: inline-block;
  animation: pulse 3s infinite;
}

.title-date {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.date-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--secondary-color));
  width: 50px;
}

.date-text {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  color: var(--text-medium);
  margin: 0 20px;
  font-weight: 500;
}

.date-line:last-child {
  background: linear-gradient(to right, var(--secondary-color), transparent);
}

.scroll-indicator {
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-medium);
  font-size: 1.4rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards 2.5s, pulse 2s infinite 3.5s;
}

.scroll-arrow {
  font-size: 2rem;
  margin-top: 10px;
}

/* Couple Section */
.couple-section {
  background-color: var(--bg-light);
}

.couple-section .section-bg {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(26, 94, 99, 0.05)" stroke-width="1"/></svg>');
  background-size: 20px 20px;
  opacity: 0.5;
}

.couple-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.couple-card {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background-color: white;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  transition: transform var(--transition-medium);
  opacity: 0;
}

.couple-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-large);
}

.bride-card {
  animation: slideRight 1s ease forwards;
}

.groom-card {
  animation: slideLeft 1s ease forwards;
}

.couple-photo-container {
  position: relative;
  padding: 20px;
}

.couple-photo-frame {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.couple-photo {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  transition: transform var(--transition-medium);
}

.couple-photo-frame:hover .couple-photo {
  transform: scale(1.1);
}

.bride-photo {
  background-image: url("./assets/images/ainnayah.jpg");
}

.groom-photo {
  background-image: url("./assets/images/ihzha.jpg");
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 30%,
    rgba(26, 94, 99, 0.2)
  );
}

.couple-photo-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.couple-photo-decoration::before,
.couple-photo-decoration::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2px solid var(--secondary-color);
  opacity: 0.5;
}

.couple-photo-decoration::before {
  top: 10px;
  left: 50%;
  border-right: none;
  border-bottom: none;
  transform: translateX(-80px);
}

.couple-photo-decoration::after {
  bottom: 10px;
  right: 50%;
  border-left: none;
  border-top: none;
  transform: translateX(80px);
}

.couple-info {
  padding: 30px;
  text-align: center;
}

.couple-name {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.couple-desc {
  font-size: 1.6rem;
  color: var(--text-medium);
  margin-bottom: 10px;
}

.couple-parents {
  font-size: 1.6rem;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.couple-parents > div:nth-child(2) {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin: 5px 0;
}

.couple-social {
  margin-top: 20px;
}

.social-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: #f9f9f9;
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 1.4rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
}

.couple-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.couple-divider-line {
  width: 2px;
  height: 50px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--secondary-color),
    transparent
  );
}

.couple-divider-heart {
  width: 50px;
  height: 50px;
  margin: 20px 0;
  animation: heartbeat 2s infinite;
}

.couple-divider-heart svg {
  width: 100%;
  height: 100%;
  fill: var(--secondary-color);
}

/* Timeline Section */
.timeline-section {
  background-color: var(--bg-medium);
}

.timeline-bg {
  background-image: linear-gradient(
      45deg,
      var(--bg-light) 25%,
      transparent 25%,
      transparent 75%,
      var(--bg-light) 75%,
      var(--bg-light)
    ),
    linear-gradient(
      45deg,
      var(--bg-light) 25%,
      transparent 25%,
      transparent 75%,
      var(--bg-light) 75%,
      var(--bg-light)
    );
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.5;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-track {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--primary-dark);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--secondary-color);
  transition: height 1s ease;
}

.timeline-item {
  position: relative;
  margin-bottom: 100px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border: 4px solid white;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-small);
  margin-bottom: 10px;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-medium);
}

.timeline-dot.active {
  opacity: 1;
  transform: scale(1);
}

.timeline-year {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  padding: 5px 15px;
  background-color: white;
  border-radius: 20px;
  box-shadow: var(--shadow-small);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-medium);
}

.timeline-year.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content {
  width: 45%;
  margin-left: auto;
  opacity: 0;
  transform: translateX(50px);
  transition: all var(--transition-medium);
}

.timeline-content.active {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
  transform: translateX(-50px);
}

.timeline-card {
  background-color: white;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.timeline-photo {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-image: var(--bg-image);
  position: relative;
}

.timeline-photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5));
}

.timeline-text {
  padding: 30px;
}

.timeline-text h3 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.timeline-text p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-medium);
}

/* Gallery Section */
.gallery-section {
  background-color: var(--bg-light);
}

.gallery-bg {
  background-image: radial-gradient(var(--bg-medium) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  opacity: 0;
  transform: scale(0.8) rotate(var(--rotate));
  transition: all var(--transition-medium);
  transition-delay: var(--delay);
}

.gallery-item:nth-child(3n) {
  grid-row: span 2;
}

.gallery-item:nth-child(5n) {
  grid-column: span 2;
}

.gallery-item.in-view {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.gallery-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: white;
  padding: 10px;
  box-shadow: var(--shadow-medium);
  border-radius: var(--radius-small);
  overflow: hidden;
  transition: transform var(--transition-medium);
}

.gallery-frame:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-large);
}

.gallery-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: calc(var(--radius-small) - 5px);
  transition: transform var(--transition-medium);
}

.gallery-frame:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 94, 99, 0);
  transition: background var(--transition-medium);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  border-radius: calc(var(--radius-small) - 5px);
}

.gallery-frame:hover .gallery-overlay {
  background: rgba(26, 94, 99, 0.3);
  opacity: 1;
}

.gallery-overlay::after {
  content: "🔍";
  font-size: 3rem;
  color: white;
  transform: scale(0);
  transition: transform var(--transition-medium);
}

.gallery-frame:hover .gallery-overlay::after {
  transform: scale(1);
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.8);
  transition: transform var(--transition-medium);
}

.gallery-modal.active .gallery-modal-content {
  transform: scale(1);
}

.gallery-modal-image {
  max-width: 100%;
  max-height: 80vh;
  border: 10px solid white;
  box-shadow: var(--shadow-large);
}

.gallery-modal-close {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 2rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.gallery-modal-close:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Countdown Section */
.countdown-section {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.countdown-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://source.unsplash.com/random/1920x1080?wedding,elegant,night");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

.countdown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.countdown-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.countdown-title {
  font-family: var(--font-script);
  font-size: 4.5rem;
  color: white;
  margin-bottom: 50px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.countdown-item {
  text-align: center;
}

.countdown-circle {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.countdown-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.countdown-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 5;
}

.countdown-circle-progress {
  fill: none;
  stroke: var(--secondary-color);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1s ease;
}

.countdown-number {
  font-family: var(--font-secondary);
  font-size: 3.2rem;
  font-weight: 700;
  color: white;
}

.countdown-label {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  color: var(--primary-light);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Event Section */
.event-section {
  background-color: var(--bg-light);
}

.event-bg {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M0,20 A20,20 0 1,0 40,20 A20,20 0 1,0 0,20 Z" fill="none" stroke="rgba(218, 165, 32, 0.1)" stroke-width="1"/></svg>');
  background-size: 100px 100px;
  opacity: 0.5;
}

.events-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.event-card {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background-color: white;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  transition: all var(--transition-medium);
  transform: translateY(50px);
  opacity: 0;
}

.event-card.in-view {
  transform: translateY(0);
  opacity: 1;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-large);
}

.akad-card {
  border-top: 5px solid var(--primary-color);
}

.resepsi-card {
  border-top: 5px solid var(--secondary-color);
}

.event-header {
  text-align: center;
  padding: 30px 30px 20px;
  position: relative;
}

.event-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background-color: rgba(26, 94, 99, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
}

.akad-card .event-icon {
  background-color: rgba(26, 94, 99, 0.1);
}

.resepsi-card .event-icon {
  background-color: rgba(218, 165, 32, 0.1);
}

.event-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary-color);
}

.resepsi-card .event-icon svg {
  fill: var(--secondary-color);
}

.event-title {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.akad-card .event-title {
  color: var(--primary-color);
}

.resepsi-card .event-title {
  color: var(--secondary-color);
}

.event-details {
  padding: 0 30px 30px;
}

.event-info {
  padding: 20px;
  background-color: var(--bg-light);
  border-radius: var(--radius-medium);
}

.event-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.event-info-item:last-child {
  margin-bottom: 0;
}

.event-info-icon {
  font-size: 2rem;
  margin-right: 15px;
  width: 30px;
  text-align: center;
}

.event-info-text {
  font-size: 1.6rem;
  color: var(--text-medium);
}

/* Venue Section */
.venue-container {
  max-width: 1000px;
  margin: 0 auto;
}

.venue-card {
  background-color: white;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  padding: 40px;
  transform: translateY(50px);
  opacity: 0;
  transition: all var(--transition-medium);
}

.venue-card.in-view {
  transform: translateY(0);
  opacity: 1;
}

.venue-header {
  text-align: center;
  margin-bottom: 30px;
}

.venue-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background-color: rgba(26, 94, 99, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
}

.venue-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary-color);
}

.venue-title {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  color: var(--primary-color);
}

.venue-details {
  text-align: center;
}

.venue-name {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.venue-address {
  font-size: 1.6rem;
  color: var(--text-medium);
  margin-bottom: 30px;
}

.venue-map-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.venue-map {
  flex: 2;
  min-width: 300px;
  height: 250px;
  background-color: var(--bg-medium);
  border-radius: var(--radius-small);
  overflow: hidden;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-image: url("https://api.mapbox.com/styles/v1/mapbox/light-v10/static/pin-l+1a5e63(-6.2088,106.8456)/106.8456,-6.2088,14,0/600x400@2x?access_token=YOUR_MAPBOX_TOKEN");
  background-size: cover;
  background-position: center;
  position: relative;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  border-radius: 50% 50% 50% 0;
  transform-origin: bottom;
  animation: pulse 2s infinite;
}

.map-pin::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.venue-qr {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-code {
  width: 150px;
  height: 150px;
  background-color: white;
  border-radius: var(--radius-small);
  padding: 10px;
  box-shadow: var(--shadow-small);
  background-image: url("./assets/images/qr-code.png");
  background-size: contain;
}

.qr-text {
  font-size: 1.4rem;
  color: var(--text-medium);
  margin-top: 15px;
  text-align: center;
}

.venue-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-medium);
}

.venue-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-large);
}

.venue-button span {
  margin-right: 10px;
}

.venue-button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Thank You Section */
.thankyou-section {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
}

.thankyou-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://source.unsplash.com/random/1920x1080?wedding,elegant,flowers");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.thankyou-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
}

.thankyou-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--radius-medium);
  padding: 60px;
  box-shadow: var(--shadow-large);
  text-align: center;
  transform: translateY(50px);
  opacity: 0;
  transition: all var(--transition-medium);
}

.thankyou-content.in-view {
  transform: translateY(0);
  opacity: 1;
}

.thankyou-ornament {
  width: 100%;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.thankyou-ornament.top {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 30"><path d="M0,15 Q50,0 100,15 T200,15" fill="none" stroke="rgba(218, 165, 32, 0.5)" stroke-width="2"/><path d="M100,0 L105,10 L115,15 L105,20 L100,30 L95,20 L85,15 L95,10 Z" fill="rgba(218, 165, 32, 0.3)"/></svg>');
  margin-bottom: 30px;
}

.thankyou-ornament.bottom {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 30"><path d="M0,15 Q50,30 100,15 T200,15" fill="none" stroke="rgba(218, 165, 32, 0.5)" stroke-width="2"/><path d="M100,0 L105,10 L115,15 L105,20 L100,30 L95,20 L85,15 L95,10 Z" fill="rgba(218, 165, 32, 0.3)"/></svg>');
  margin-top: 30px;
}

.thankyou-title {
  font-family: var(--font-script);
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.thankyou-text {
  font-size: 1.8rem;
  line-height: 1.7;
  color: var(--text-medium);
  margin-bottom: 40px;
}

.thankyou-text p {
  margin-bottom: 20px;
}

.thankyou-text p:last-child {
  margin-bottom: 0;
}

.thankyou-signature {
  margin-top: 40px;
}

.signature-text {
  font-size: 1.6rem;
  color: var(--text-medium);
  margin-bottom: 10px;
}

.signature-names {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.signature-family {
  font-size: 1.6rem;
  color: var(--text-medium);
}

/* Footer Section */
.footer-section {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 60px 20px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-protocol {
  margin-bottom: 40px;
}

.footer-protocol-title {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.protocol-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.protocol-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.protocol-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.protocol-text {
  font-size: 1.6rem;
}

.footer-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--secondary-color),
    transparent
  );
  margin: 40px auto;
}

.footer-copyright {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-heart {
  font-size: 2rem;
  margin-bottom: 10px;
  animation: pulse 2s infinite;
}

.footer-copyright p {
  margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }

  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 200px;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 56%;
  }

  .title-content {
    padding: 40px;
    width: 90%;
  }

  .title-name {
    font-size: 4.5rem;
  }

  .title-ampersand {
    font-size: 4.5rem;
  }

  .couple-container {
    flex-direction: column;
    align-items: center;
  }

  .couple-divider {
    flex-direction: row;
    width: 100%;
    padding: 20px 0;
  }

  .couple-divider-line {
    width: 50px;
    height: 2px;
  }

  .couple-card {
    max-width: 100%;
  }

  .timeline-content {
    width: 100%;
    margin-left: 0;
    padding-left: 60px;
  }

  .timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    padding-right: 0;
    padding-left: 60px;
  }

  .timeline-track {
    left: 30px;
  }

  .timeline-marker {
    left: 30px;
  }

  .countdown-container {
    flex-wrap: wrap;
  }

  .countdown-circle {
    width: 100px;
    height: 100px;
  }

  .countdown-number {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 54%;
  }

  .title-content {
    padding: 30px;
  }

  .title-name {
    font-size: 4rem;
  }

  .title-ampersand {
    font-size: 4rem;
  }

  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: 150px;
  }

  .gallery-item:nth-child(3n),
  .gallery-item:nth-child(5n) {
    grid-row: span 1;
    grid-column: span 1;
  }

  .countdown-circle {
    width: 80px;
    height: 80px;
  }

  .countdown-number {
    font-size: 2.4rem;
  }

  .thankyou-content {
    padding: 40px 30px;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 52%;
  }

  .title-content {
    padding: 20px;
  }

  .title-name {
    font-size: 3.5rem;
  }

  .title-ampersand {
    font-size: 3.5rem;
    margin: 0 10px;
  }

  .bismillah {
    font-size: 2.4rem;
  }

  .title-intro {
    font-size: 1.6rem;
  }

  .navigation {
    width: 100%;
  }

  .nav-container {
    width: 100%;
  }

  .nav-label {
    display: none;
  }

  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    grid-auto-rows: 120px;
    gap: 10px;
  }

  .countdown-item {
    margin: 10px;
  }

  .countdown-circle {
    width: 70px;
    height: 70px;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .venue-map-container {
    flex-direction: row;
  }

  .venue-map {
    height: 200px;
  }

  .thankyou-content {
    padding: 30px 20px;
  }

  .signature-names {
    font-size: 3rem;
  }

  .protocol-items {
    flex-direction: column;
    gap: 20px;
  }

  .protocol-item {
    flex-direction: row;
    justify-content: center;
  }

  .protocol-icon {
    margin-right: 15px;
    margin-bottom: 0;
  }
}

/* Slideshow Section */
.slideshow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.slideshow-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.slideshow-content {
  width: 100%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slideshow-header {
  text-align: center;
  padding: 20px;
  animation: fadeIn 1s ease forwards;
}

.slideshow-title {
  font-family: var(--font-script);
  font-size: 5rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slideshow-date {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: var(--bg-light);
  letter-spacing: 2px;
}

.slideshow-images {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-large);
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slideshow-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: all 1s ease;
}

.slideshow-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slideshow-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.6)
  );
}

.slide-caption {
  position: absolute;
  bottom: 50px;
  left: 50px;
  font-family: var(--font-primary);
  font-size: 3rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease 0.5s;
}

.slideshow-slide.active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.slideshow-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  z-index: 2;
}

.slideshow-arrow {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin: 0 15px;
}

.slideshow-arrow:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.slideshow-arrow svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slideshow-dot:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.slideshow-dot.active {
  background-color: var(--secondary-color);
  transform: scale(1.2);
}

.slideshow-footer {
  text-align: center;
  padding: 20px;
  animation: fadeIn 1s ease forwards 1s;
}

.continue-button {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(
    to right,
    var(--secondary-color),
    var(--secondary-light)
  );
  color: var(--text-dark);
  border-radius: 50px;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
  overflow: hidden;
  position: relative;
}

.continue-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.5s;
}

.continue-button:hover::before {
  left: 100%;
}

.continue-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-large);
  background: linear-gradient(
    to right,
    var(--secondary-light),
    var(--secondary-color)
  );
}

.continue-button span {
  margin-right: 10px;
}

.continue-button svg {
  width: 20px;
  height: 20px;
  fill: var(--text-dark);
}

/* Responsive adjustments for slideshow */
@media (max-width: 992px) {
  .slideshow-title {
    font-size: 4rem;
  }

  .slide-caption {
    font-size: 2.5rem;
    bottom: 40px;
    left: 30px;
  }
}

@media (max-width: 768px) {
  .slideshow-images {
    height: 60vh;
  }

  .slideshow-title {
    font-size: 3.5rem;
  }

  .slide-caption {
    font-size: 2rem;
    bottom: 50px;
    left: 20px;
  }

  .slideshow-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .slideshow-content {
    height: 85vh;
  }

  .slideshow-images {
    height: 50vh;
  }

  .slideshow-title {
    font-size: 3rem;
  }

  .slideshow-date {
    font-size: 1.6rem;
  }

  .slide-caption {
    font-size: 1.8rem;
    bottom: 60px;
    left: 15px;
  }

  .slideshow-arrow {
    width: 35px;
    height: 35px;
    margin: 0 10px;
  }

  .slideshow-dot {
    width: 10px;
    height: 10px;
    margin: 0 6px;
  }
}

/* Guest Greeting Styles */
.guest-greeting {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color),
    var(--primary-light)
  );
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.guest-greeting.active {
  opacity: 1;
  visibility: visible;
}

.guest-greeting-content {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-medium);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-large);
  max-width: 90%;
  width: 500px;
  position: relative;
  animation: zoomIn 1s ease forwards;
}

.guest-greeting-content::before,
.guest-greeting-content::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  opacity: 0.3;
}

.guest-greeting-content::before {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--secondary-color);
  border-left: 2px solid var(--secondary-color);
}

.guest-greeting-content::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid var(--secondary-color);
  border-right: 2px solid var(--secondary-color);
}

.greeting-header {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.greeting-to {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  color: var(--text-medium);
  margin-bottom: 15px;
}

.guest-name {
  font-family: var(--font-script);
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  padding: 10px 0;
  position: relative;
}

.guest-name::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--secondary-color),
    transparent
  );
}

.greeting-message {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  color: var(--text-medium);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Opening Card modifications */
.opening-card {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease,
    transform var(--transition-slow);
}

.opening-card.active {
  opacity: 1;
  visibility: visible;
}

/* Media Queries for Guest Greeting */
@media (max-width: 768px) {
  .guest-greeting-content {
    padding: 30px;
  }

  .guest-name {
    font-size: 3.5rem;
  }

  .greeting-header {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .guest-greeting-content {
    padding: 25px;
  }

  .guest-name {
    font-size: 3rem;
  }

  .greeting-message {
    font-size: 1.4rem;
  }
}
#map {
  height: 500px;
  width: 100%;
}

.guest-name-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  font-family: var(--font-script);
  color: var(--primary-color);
}

.main-guest-name {
  font-size: 4rem;
  line-height: 1.2;
}

.guest-connector {
  font-size: 3rem;
  margin: 5px 0;
  font-family: var(--font-secondary);
  color: var(--secondary-color);
}

.partner-guest-name {
  font-size: 4rem;
  line-height: 1.2;
}

.guest-name-container::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--secondary-color),
    transparent
  );
}

/* Media Queries */
@media (max-width: 768px) {
  .main-guest-name,
  .partner-guest-name {
    font-size: 3.5rem;
  }

  .guest-connector {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .main-guest-name,
  .partner-guest-name {
    font-size: 3rem;
  }

  .guest-connector {
    font-size: 2rem;
  }
}

/* Button styling */
.btn {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn:hover {
  background-color: var(--primary-light);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
}

/* Header and navigation */
header {
  background-color: var(--bg-light);
}

/* Hero section */
.hero {
  background-color: var(--bg-light);
}

.hero__content {
  color: var(--text-dark);
}

/* Section backgrounds */
.section {
  background-color: var(--bg-light);
}

.section:nth-child(even) {
  background-color: var(--bg-medium);
}

/* Section headings */
.section__heading {
  color: var(--primary-color);
}

.section__subheading {
  color: var(--secondary-color);
}

/* Timeline elements */
.timeline__item {
  border-color: var(--primary-light);
}

.timeline__dot {
  background-color: var(--secondary-color);
}

/* Cards and info boxes */
.card {
  background-color: var(--bg-light);
  box-shadow: var(--shadow-small);
}

.card:hover {
  box-shadow: var(--shadow-medium);
}

/* Form elements */
input,
textarea,
select {
  border: 1px solid var(--primary-light);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Decorative elements */
.decoration {
  color: var(--secondary-color);
}

/* Gallery */
.gallery__overlay {
  background-color: rgba(197, 153, 182, 0.7);
}

/* Countdown timer */
.countdown__item {
  background-color: var(--primary-light);
  color: var(--text-light);
}

/* RSVP section */
.rsvp {
  background-color: var(--bg-medium);
}

/* Map container */
.map-container {
  border: 3px solid var(--secondary-light);
}