/* Color Variables */
:root {
  --primary-color: #a18b5e;
  --secondary-color: #b6995fe6;
  --accent-color: #f4e4bc;

  /* Font Size Variables */
  --font-sm: 0.875rem; /* 14px - small text */
  --font-md: 1.125rem; /* 18px - slightly larger text */
  --font-lg: 1.25rem; /* 20px - medium text */
  --font-2xl: 1.5rem; /* 28px - large text */
  --font-3xl: 2rem; /* 32px - headings */
  --font-4xl: 2.1rem; /* 40px - large headings */
  --font-5xl: 3rem; /* 48px - very large headings */
  --font-6xl: 4rem; /* 64px - display text */
}

.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f5f0e8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  color: #a18b5e;
}

.loading-brand {
  margin-bottom: 30px;
}

.loading-brand .brand-text {
  font-size: var(--font-6xl);
  font-weight: 300;
  color: #a18b5e;
  animation: pulse 2s ease-in-out infinite;
}

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

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

.loading-subtitle {
  font-size: var(--font-md);
  margin-bottom: 30px;
  opacity: 0.9;
  font-family: "Noto Serif", serif;
  color: #a18b5e;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(102, 102, 102, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  height: 100%;
  background: #a18b5e;
  border-radius: 2px;
  width: 0%;
  animation: loading 3s ease-in-out forwards;
}

@keyframes loading {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #a18b5e;
  overflow-x: hidden;
  background: #f5f0e8;
  /* Prevent zoom on iOS */
  -webkit-text-size-adjust: 100%;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

p {
  font-size: var(--font-lg);
}

/* Allow text selection for interactive elements */
input,
textarea,
select,
button,
a {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Prevent double-tap zoom on iOS */
* {
  touch-action: manipulation;
}

/* Typography */
.serif-font {
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  text-transform: uppercase;
}

.script-font {
  font-family: "Noto Serif Display", serif;
  font-weight: 400;
  text-transform: uppercase;
}

.luxurious-font {
  font-family: "Herr Von Muellerhoff", cursive;
  font-weight: 400;
}

.fancy-font {
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  font-size: var(--font-4xl) !important;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.sans-font {
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  z-index: 1000;
  padding: 30px 0;
  transition: all 0.3s ease;
  color: #f5f0e8;
  text-transform: uppercase;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: rgb(116, 116, 116);
}

.navbar span {
  display: none;
}

.navbar.scrolled span {
  display: block;
}

.navbar.scrolled .nav-brand .brand-text {
  color: rgb(116, 116, 116);
}

.navbar.scrolled .hamburger-line {
  background-color: rgb(116, 116, 116);
}

.nav-container {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.nav-brand {
  z-index: 1001;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand-text {
  font-size: 1.5rem;
  color: #f5f0e8;
  font-weight: 300;
  transition: color 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  position: absolute;
  right: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.hamburger.visible {
  opacity: 1;
  visibility: visible;
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background-color: #f5f0e8;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(0, 7px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  transform: rotate(-45deg) translate(4px, -5px);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
  display: none;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 40%;
  height: 100vh;
  background-color: #f5f0e8;
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.active {
  right: 0;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.active .hamburger-line {
  display: none;
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: absolute;
  right: 0;
  top: -0.6rem;
  font-size: var(--font-5xl);
  padding-top: 0;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: var(--font-6xl);
  color: #a18b5e;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  font-family: "Noto Serif Display", serif;
}

/* Show close button only on mobile when menu is open */
@media (max-width: 768px) {
  .mobile-menu.active .mobile-menu-close {
    display: block;
  }
}

.mobile-menu-close:hover {
  color: #a18b5e;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  margin: 25px 0;
}

.mobile-nav-links a {
  text-decoration: none;
  color: #a18b5e;
  font-weight: 300;
  font-size: var(--font-lg);
  font-family: "Noto Serif Display", serif;
  transition: color 0.3s ease;
  display: block;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-nav-links a:hover {
  color: #a18b5e;
  text-decoration: underline;
}

.mobile-rsvp-btn {
  background-color: transparent;
  color: #a18b5e !important;
  padding: 12px 25px !important;
  border: 2px solid #a18b5e;
  transition: all 0.3s ease;
  margin-top: 20px !important;
  cursor: pointer;
}

.mobile-rsvp-btn:hover {
  background-color: #a18b5e;
  color: #f5f0e8 !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .mobile-menu {
    width: 100%;
  }

  .mobile-nav-links li {
    margin: 30px 0;
  }

  .mobile-nav-links a {
    font-size: var(--font-lg);
    padding: 10px 0;
  }

  .mobile-rsvp-btn {
    padding: 15px 30px !important;
  }
}

/* Scroll and Load Animations */
.section {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  height: 80dvh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f5f0e8;
  opacity: 1;
  transform: translateY(0);
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Prevent iOS scroll zoom */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-slider .swiper {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-wrapper {
  height: 100%;
}

.hero-slider .swiper-slide {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  object-fit: cover;
  object-position: center;
  /* Prevent iOS zoom on scroll */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}

/* Mobile/iOS specific hero image fixes */
@media (max-width: 768px) {
  .hero-slider .swiper-slide {
    width: auto;
  }
  .hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Additional iOS scroll zoom prevention */
    -webkit-transform: translateZ(0) scale(1);
    transform: translateZ(0) scale(1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: var(--font-6xl);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content .couple-names {
  margin-bottom: 15px;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.3);
  font-size: 8rem;
  line-height: 6rem;
  font-weight: normal;
  font-family: "Noto Serif Display", serif;
  text-transform: uppercase;
  position: relative;
  width: 20rem;
  margin-left: -5.7rem;
}

.hero-content .couple-names span {
  margin-left: 1rem;
  position: absolute;
  top: -0.5rem;
  right: -1rem;
  font-size: 7rem;
}

.hero-content .couple-names-small {
  font-family: "Noto Serif Display";
  letter-spacing: 0.5rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  text-transform: uppercase;
  margin-top: 2rem;
}

.hero-content .wedding-date {
  font-size: var(--font-lg);
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
  margin-top: 2rem;
  font-weight: 400;
}

.hero-content .wedding-date span {
  /*font-size: var(--font-3xl);*/
}

/* Animated Arrow Icon */
.scroll-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #f5f0e8;
  font-size: var(--font-md);
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid rgba(255, 255, 255, 0.3); */
  transition: all 0.3s ease;
}

.scroll-arrow i {
  font-size: var(--font-md);
}

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

/* Countdown Section */
.countdown-section {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("bg3.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  color: #f5f0e8;
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
  background-position-y: -330px;
}

.countdown-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.countdown-section-title {
  font-family: "Noto Serif Display", serif;
  font-size: var(--font-3xl);
  color: #f5f0e8;
  font-weight: 300;
}

.countdown-subtitle {
  font-size: var(--font-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-item {
  min-width: 100px;
  text-align: center;
  transition: all 0.3s ease;
}

.countdown-number {
  font-size: var(--font-5xl);
  font-weight: 300;
  margin-bottom: 10px;
  font-family: "Noto Serif Display", serif;
}

.countdown-item:hover .countdown-number {
  color: #f5f0e8;
}

.countdown-label {
  font-size: var(--font-sm);
  color: #f5f0e8;
  text-transform: uppercase;
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
}

.countdown-separator {
  font-size: var(--font-3xl);
  font-weight: bold;
  color: #f5f0e8;
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.countdown-item:hover .countdown-label {
  color: #f5f0e8;
}

.countdown-footer {
  margin-top: 30px;
}

.countdown-footer p {
  font-size: var(--font-md);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.venue-section h3 {
  font-size: var(--font-4xl);
  text-align: center;
  margin-bottom: 30px;
  line-height: 3.5rem;
}

.section {
  padding: 80px 20px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.welcome-section {
  padding-bottom: 0;
}

.signature-welcome {
  font-size: var(--font-2xl);
  color: #a18b5e;
  font-weight: 300;
  font-family: "Noto Serif Display", serif;
  font-style: italic;
}

.section-title {
  font-size: var(--font-4xl);
  text-align: center;
  color: #a18b5e;
  font-weight: 300;
}

.section-title.script {
  font-size: var(--font-3xl);
  margin-bottom: 30px;
}

.one-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.text-content h2 {
  font-size: var(--font-3xl);
  margin-bottom: 30px;
  line-height: 1.3;
  color: #a18b5e;
  font-weight: 300;
}

.text-content p {
  font-size: var(--font-md);
  margin-bottom: 20px;
  line-height: 1.8;
  color: #a18b5e;
  font-weight: 300;
}

.signature {
  font-size: var(--font-4xl);
  color: #a18b5e;
  font-weight: 300;
  font-family: "Noto Serif Display", serif;
}

.welcome-rsvp {
  margin-top: 30px;
}

.rsvp-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: transparent;
  color: #a18b5e;
  text-decoration: none;
  font-family: "Noto Serif Display", serif;
  font-size: var(--font-lg);
  font-weight: 400;
  border: 2px solid #a18b5e;
  transition: all 0.3s ease;
  text-transform: uppercase;
  cursor: pointer;
}

.rsvp-button:hover {
  background-color: var(--secondary-color);
  color: #f5f0e8;
  border-color: var(--secondary-color);
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.image-grid img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: none;
}

/* Venue Section */
.venue-section {
  text-align: center;
}

.venue-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.venue-info {
  flex: 1;
  text-align: left;
  max-width: 600px;
  margin-right: 0px;
}

.venue-info h3 span {
  font-size: var(--font-lg);
  font-weight: 300;
  margin: 0;
  text-transform: uppercase;
  color: #b6995fe6;
  font-weight: bold;
}

.subheader {
  font-size: var(--font-lg);
  margin: 0 auto;
  text-transform: uppercase;
  color: #b6995fe6;
  font-weight: normal;
  font-family: "Noto Serif Display", serif;
  letter-spacing: 0.2rem;
  max-width: 800px;
  text-align: center;
}

.venue-info h3 {
  margin-top: 0;
}

.venue-map {
  flex: 1;
  margin-left: 40px;
}

@media (max-width: 768px) {
  .venue-container {
    flex-direction: column;
    gap: 30px;
  }

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

.venue-image {
  width: 100%;
  max-width: 800px;
  height: 300px;
  object-fit: cover;
  margin: 20px 0;
  box-shadow: none;
}

.venue-address {
  font-size: var(--font-md);
  color: #a18b5e;
  font-weight: 300;
  text-decoration: underline;
}

.venue-address a:hover {
  text-decoration: underline !important;
  opacity: 0.8;
}

/* Cards Layout */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: #f5f0e8;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 25px;
}

.card h3 {
  font-size: var(--font-3xl);
  margin-bottom: 15px;
}

.card p {
  font-size: var(--font-sm);
  margin-bottom: 20px;
  line-height: 1.6;
}

.book-btn {
  padding: 10px 20px;
  border: 1px solid #4a4a4a;
  background: transparent;
  color: #4a4a4a;
  text-decoration: none;
  font-size: var(--font-sm);

  transition: all 0.3s ease;
  display: inline-block;
}

.book-btn:hover {
  background: #4a4a4a;
  color: #f5f0e8;
}

/* Timeline Section */
.timeline-section {
  background: #f5f0e8;
  color: #a18b5e;
  text-align: center;
}

.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 20px;
  overflow: hidden;
}

.timeline-swiper {
  width: 100%;
  padding: 0 20px;
  position: relative;
}

.timeline-swiper .swiper-wrapper {
  display: flex;
}

.timeline-line {
  display: none;
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
  height: auto;
}

.timeline-item:nth-child(2) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(5) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(6) {
  animation-delay: 0.7s;
}
.timeline-item:nth-child(7) {
  animation-delay: 0.6s;
}
.timeline-item:nth-child(8) {
  animation-delay: 0.7s;
}

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

.timeline-marker {
  display: none;
}

.timeline-icon {
  display: none;
}

.timeline-content {
  background: #f5f0e8;
  color: #a18b5e;
  padding: 15px;
  border-radius: 0;
  width: 100%;
  transition: all 0.3s ease;
  text-align: center;
  margin-top: 10px;
  padding-left: 80px;
  padding-right: 80px;
}

.timeline-time {
  font-size: var(--font-lg);
  font-weight: 300;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-family: "Noto Serif Display", serif;
  font-weight: 400;
  text-transform: uppercase;
}

.timeline-content h3 {
  font-size: var(--font-lg);
  margin-bottom: 8px;
  color: #a18b5e;
}

.timeline-location {
  font-size: var(--font-sm);
  color: #a18b5e;
  margin-bottom: 8px;
  font-style: italic;
}

.timeline-content p {
  font-size: var(--font-sm);
  line-height: 1.4;
  color: #a18b5e;
  margin: 0;
}

/* Timeline Wrapper */
.timeline-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 80px;
  box-sizing: border-box;
}

.timeline-swiper {
  flex: 1;
}

/* Timeline Button Positioning */
.timeline-button-prev {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.timeline-button-next {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

@media (max-width: 768px) {
  .timeline-wrapper {
    gap: 0px;
    padding: 0 50px;
    width: 90vw;
    max-width: 90vw;
  }

  .timeline-swiper {
    padding: 0;
  }

  .timeline-btn {
    width: 40px;
    height: 40px;
    font-size: var(--font-md);
  }

  .timeline-button-prev {
    left: 0;
  }

  .timeline-button-next {
    right: 0;
  }
}

.timeline-btn {
  background: rgba(0, 0, 0, 0.7);
  color: #f5f0e8;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: var(--font-lg);
  transition: all 0.3s ease;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-button-prev:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.timeline-button-next:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.timeline-btn.swiper-button-disabled {
  background: rgba(0, 0, 0, 0.3);
  color: #cccccc;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
  opacity: 0.5;
}

.timeline-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  position: relative;
}

.timeline-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cccccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-dot.active {
  background: var(--secondary-color);
}

.timeline-dot:hover {
  background: #a18b5e;
}

.timeline-footer {
  margin-top: 60px;
  text-align: center;
}

.timeline-note {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

.timeline-progress {
  max-width: 400px;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.9)
  );
  border-radius: 3px;
  width: 0%;
  transition: width 0.7s ease;
}

.progress-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* Maps Section */
.maps-section {
  background-color: #f5f0e8;
  padding: 80px 0;
}

.maps-container {
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.maps-info h3 {
  font-size: var(--font-4xl);
  margin-bottom: 20px;
  color: #a18b5e;
}

.maps-info p {
  font-size: var(--font-md);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #a18b5e;
}

.maps-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-label {
  font-weight: 600;
  font-size: var(--font-sm);

  text-transform: uppercase;
  color: #a18b5e;
}

.detail-value {
  font-size: var(--font-md);
  color: #a18b5e;
}

.maps-embed {
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.maps-embed iframe {
  width: 100%;
  height: 350px;
  border: 0;
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.3s ease;
}

.maps-embed iframe:hover {
  filter: grayscale(80%) contrast(1.1);
}

@media (max-width: 768px) {
  .maps-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .maps-info h3 {
    font-size: var(--font-3xl);
  }

  .maps-embed iframe {
    height: 300px;
  }
}
.dress-code-section {
  background-color: #f5f0e8;
  border-top: 1px solid #8b7355;
  border-bottom: 1px solid #8b7355;
}

/* Attire Sliders */
.attire-slider {
  position: relative;
  margin-bottom: 20px;
  height: 400px;
  width: 100%;
  overflow: hidden;
}

.attire-slider .swiper {
  height: 100%;
  width: 100%;
  position: relative;
}

.attire-slider .swiper-wrapper {
  height: 100%;
  width: 100%;
}

.attire-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.attire-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.attire-slider .swiper-button-next,
.attire-slider .swiper-button-prev {
  background: rgba(245, 240, 232, 0.9);
  border: 1px solid rgba(168, 160, 144, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #a18b5e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
}

.attire-slider .swiper-button-next:after,
.attire-slider .swiper-button-prev:after {
  font-size: var(--font-lg);
  font-weight: bold;
}

.attire-slider .swiper-button-next:hover,
.attire-slider .swiper-button-prev:hover {
  background: var(--secondary-color);
  color: #f5f0e8;
}

.attire-slider .swiper-button-prev {
  left: 10px;
}

.attire-slider .swiper-button-next {
  right: 10px;
}

.dress-code-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.dress-code-intro {
  margin-bottom: 50px;
}

.dress-code-intro h3 {
  font-size: var(--font-3xl);
  color: #a18b5e;
  margin-bottom: 20px;
  font-weight: 300;
}

.dress-code-intro h3 span {
  font-size: var(--font-lg);
  font-weight: 300;
  margin: 0;
  text-transform: uppercase;
  color: #b6995fe6;
}

.dress-code-intro p {
  font-size: var(--font-md);
  color: #a18b5e;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
}

.dress-code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
  width: 100%;
}

.dress-code-card {
  background: #f5f0e8;
  padding-top: 0px;
  transition: all 0.3s ease;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dress-code-icon {
  font-size: var(--font-5xl);
  margin-bottom: 20px;
}

.dress-code-card h4 {
  font-size: var(--font-md);
  color: #a18b5e;
  margin-bottom: 25px;
  font-weight: 300;
  text-transform: uppercase;
}

.dress-code-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  text-align: left;
}

.dress-code-list li {
  font-family: "Noto Serif Display", serif;
  font-size: var(--font-md);
  color: #a18b5e;
  margin-bottom: 8px;
  line-height: 1.5;
  font-weight: 300;
  padding: 0;
  position: relative;
}

.dress-code-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.note-card {
  background: #f5f0e8;
  padding: 25px;
  border: 1px solid #a18b5e;
  text-align: left;
}

.note-card h4 {
  font-size: var(--font-md);
  color: #a18b5e;
  margin-bottom: 15px;
  font-weight: 300;
}

.note-card p {
  font-size: var(--font-md);
  color: #a18b5e;
  line-height: 1.6;
  font-weight: 300;
}

.dress-code-footer {
  background: #f5f0e8;
  padding: 25px;
  border: 1px solid #a18b5e;
}

.dress-code-footer p {
  font-size: var(--font-md);
  color: #a18b5e;
  margin: 0;
  line-height: 1.6;
  font-weight: 300;
}

.dress-code-footer strong {
  color: #a18b5e;
  font-weight: 400;
}

/* Gifts Section */
.gifts-section {
  text-align: center;
  margin: 0 auto;
  background-image: url("bg1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: #f5f0e8;
  background-position-y: -330px;
}

.gifts-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.gifts-section > * {
  position: relative;
  z-index: 2;
}

.gifts-section h2 {
  color: #f5f0e8;
}

.gifts-quote {
  font-size: var(--font-2xl);
  margin-bottom: 30px;
  color: #f5f0e8;
  font-weight: 300;
}

.gifts-section p {
  color: #f5f0e8;
  font-weight: 300;
}

.paypal-btn {
  padding: 15px 30px;
  border: 1px solid #f5f0e8;
  background: transparent;
  color: #f5f0e8;
  text-decoration: none;
  font-size: var(--font-md);

  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 30px;
  font-weight: 300;
}

.paypal-btn:hover {
  background: var(--secondary-color);
  color: #000000;
  border-color: var(--secondary-color);
}

/* FAQ Section */
.faq-container {
  display: grid;
  align-items: start;
}

.faq-title {
  font-size: var(--font-4xl);
  line-height: 1.2;
  color: #f5f0e8;
  font-family: "Noto Serif Display", serif;
  margin-bottom: 20px;
}

.faq-list {
  list-style: none;
}

.faq-item {
  margin-bottom: 30px;
}

.faq-question {
  font-size: var(--font-lg);
  font-weight: 300;
  margin-bottom: 10px;
  color: #f5f0e8;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  user-select: none;
  pointer-events: auto;
  text-transform: uppercase;
}

.faq-answer {
  font-size: var(--font-md);
  color: #f5f0e8;
  line-height: 1.6;
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 10px 0;
}

.faq-question:hover {
  text-decoration: underline;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: var(--font-lg);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-item.active .faq-question {
  color: var(--secondary-color);
}

/* RSVP Section */
.rsvp-section {
  background: #f5f0e8;
  border-top: 1px solid #a18b5e;
  border-bottom: 1px solid #a18b5e;
}

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

.rsvp-quote {
  font-size: var(--font-2xl);
  margin-bottom: 40px;
  color: #a18b5e;
  font-weight: 300;
}

.rsvp-form {
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 30px;
}

.form-label {
  display: block;
  font-size: var(--font-md);
  color: #a18b5e;
  margin-bottom: 8px;
  font-weight: 300;
  font-family: "Noto Serif Display", serif;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #a18b5e;
  background: #f5f0e8;
  color: #a18b5e;
  font-size: var(--font-md);
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  transition: all 0.3s ease;
  cursor: text;
}

.form-textarea::placeholder {
  color: #a18b5e;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: #a18b5e;
  color: #f5f0e8;
}

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

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 300;
}

.radio-label input[type="radio"] {
  margin-right: 8px;
  accent-color: #a18b5e;
}

.radio-text {
  color: #a18b5e;
  font-size: var(--font-md);
  font-family: "Noto Serif Display", serif;
}

.rsvp-submit-btn {
  width: 100%;
  padding: 15px 30px;
  border: 1px solid #a18b5e;
  background: #f5f0e8;
  color: #a18b5e;
  font-size: var(--font-md);

  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 300;
  margin-top: 20px;
  font-family: "Noto Serif Display", serif;
}

.rsvp-submit-btn:hover {
  background: #a18b5e;
  color: #f5f0e8;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.contact-person h3 {
  font-size: var(--font-lg);
  margin-bottom: 15px;
  color: #a18b5e;
  font-weight: 300;
}

.contact-person .phone {
  font-size: var(--font-md);
  color: var(--secondary-color);
  font-weight: 300;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.contact-person .phone:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.contact-person .phone:visited {
  color: var(--secondary-color);
}

.contact-person .phone:active {
  color: var(--secondary-color);
}

/* Footer */
.footer {
  background: #000;
  color: #f5f0e8;
  padding: 30px 20px;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-content {
    padding: 30px;
  }

  .gifts-section {
    background-position-y: -150px;
  }

  .hero-content h1 {
    font-size: var(--font-4xl);
  }

  .countdown-section {
    padding: 80px 20px;
    background-position-y: -80px;
  }

  .countdown-section-title {
    font-size: var(--font-3xl);
  }

  .countdown-subtitle {
    font-size: var(--font-3xl);
    margin-bottom: 30px;
  }

  .countdown-item {
    padding: 0;
    min-width: auto;
  }

  .countdown-number {
    font-size: var(--font-4xl);
  }

  .rsvp-quote {
    font-size: var(--font-3xl);
    margin-bottom: 30px;
  }

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

  .section-title {
    font-size: var(--font-3xl);
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .text-content h2 {
    font-size: var(--font-3xl);
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .timeline-container {
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
  }

  .timeline-swiper {
    width: 90vw;
    padding: 0 40px;
  }

  .timeline-swiper .swiper-slide {
    width: 90vw;
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .timeline-marker {
    left: 30px;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
  }

  .timeline-item.active .timeline-marker {
    transform: translateX(-50%) scale(1.05);
  }

  .timeline-item:hover .timeline-marker {
    transform: translateX(-50%) scale(1.02);
  }

  .timeline-icon {
    font-size: var(--font-lg);
  }

  .timeline-content {
    width: 100%;
    margin-left: 0px !important;
    margin-right: 0 !important;
    text-align: left !important;
    padding: 20px;
    box-sizing: border-box;
  }

  .timeline-time {
    font-size: var(--font-md);
  }

  .timeline-content h3 {
    font-size: var(--font-lg);
  }

  .timeline-progress {
    max-width: 300px;
  }

  .dress-code-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dress-code-card {
    padding: 30px 20px;
  }

  .practical-section {
    background-position-y: 00px !important;
    background-size: cover !important;
  }

  .dress-code-icon {
    font-size: var(--font-4xl);
  }

  .dress-code-notes {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .note-card {
    padding: 20px;
  }

  .faq-container {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
  }

  .section {
    padding: 60px 20px;
  }
}

@media (max-width: 500px) {
  .hero-content {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: var(--font-3xl);
  }

  .countdown-section {
    padding: 60px 20px;
  }

  .countdown-section-title {
    font-size: var(--font-2xl);
  }

  .countdown-subtitle {
    font-size: var(--font-lg);
    margin-bottom: 25px;
  }

  .welcome-section img {
    height: 200px;
  }

  .venue-map {
    margin-left: 0;
  }

  .countdown-timer {
    gap: 0px;
  }

  .countdown-item {
    padding: 0;
    min-width: auto;
  }

  .countdown-number {
    font-size: var(--font-3xl);
  }

  .rsvp-quote {
    font-size: var(--font-lg);
    margin-bottom: 25px;
  }

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

  .section-title {
    font-size: var(--font-3xl);
  }

  .text-content h2 {
    font-size: var(--font-lg);
  }

  .gifts-quote {
    font-size: var(--font-lg);
  }

  .rsvp-quote {
    font-size: var(--font-3xl);
  }

  .dress-code-intro h3 {
    font-size: var(--font-3xl);
  }

  .dress-code-intro p {
    font-size: var(--font-md);
  }

  .dress-code-card h4 {
    font-size: var(--font-md);
  }

  .dress-code-icon {
    font-size: var(--font-3xl);
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  /* Additional iOS zoom prevention */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Background colors for sections */
.welcome-section,
.rsvp-intro-section,
.story-section,
.venue-section,
.accommodation-section,
.dress-code-section,
.gifts-section,
.faq-section,
.contact-section {
  background-color: #f5f0e8;
}

/* Parallax background for practical section */
.practical-section {
  background-image: url("bg2.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.practical-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1;
  pointer-events: none;
}

.practical-section > * {
  position: relative;
  z-index: 2;
}
