/* Import elegant script fonts to match save-the-date */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes:wght@400&family=Dancing+Script:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

body {
  font-family: 'Cormorant Garamond', serif;
  background: 
    linear-gradient(
      90deg,
      rgba(74, 144, 226, 0.15) 0%,
      rgba(74, 144, 226, 0.15) 9.09%,
      rgba(255, 255, 255, 0.5) 9.09%,
      rgba(255, 255, 255, 0.5) 18.18%,
      rgba(74, 144, 226, 0.15) 18.18%,
      rgba(74, 144, 226, 0.15) 27.27%,
      rgba(255, 255, 255, 0.5) 27.27%,
      rgba(255, 255, 255, 0.5) 36.36%,
      rgba(74, 144, 226, 0.15) 36.36%,
      rgba(74, 144, 226, 0.15) 45.45%,
      rgba(255, 255, 255, 0.5) 45.45%,
      rgba(255, 255, 255, 0.5) 54.54%,
      rgba(74, 144, 226, 0.15) 54.54%,
      rgba(74, 144, 226, 0.15) 63.63%,
      rgba(255, 255, 255, 0.5) 63.63%,
      rgba(255, 255, 255, 0.5) 72.72%,
      rgba(74, 144, 226, 0.15) 72.72%,
      rgba(74, 144, 226, 0.15) 81.81%,
      rgba(255, 255, 255, 0.5) 81.81%,
      rgba(255, 255, 255, 0.5) 90.90%,
      rgba(74, 144, 226, 0.15) 90.90%,
      rgba(74, 144, 226, 0.15) 100%
    );
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #2c3e50;
  margin: 0;
  padding: 0;
  padding-top: 100px; /* Account for fixed navigation */
  line-height: 1.7;
  position: relative;
}

/* Removed watercolor overlay to show bright blue striped background */

header {
  background: none; /* Removed gray background */
  background-size: 100% 100%;
  background-position: 0 0;

/* Mobile line breaks - hidden by default */
.mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }
}
  text-align: center;
  padding: 1rem 1rem;
  color: #1a2332; /* Darker color for better contrast */
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.countdown-card {
  max-width: 600px;
  width: calc(100% - 4rem);
  margin: 2rem auto 3rem auto;
  padding: 2rem;
  box-sizing: border-box;
  background: transparent;
  text-align: center;
  position: relative;
  z-index: 10;
}



/* Navigation Menu Styles */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(173, 216, 230, 0.2);
  z-index: 1000;
  padding: 0 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0 auto;
  padding: 1.5rem 0;
  gap: 2rem;
  flex-wrap: nowrap;
  max-width: 1200px;
  width: 100%;
}

.nav-menu li {
  margin: 0;
  text-align: center;
  flex-shrink: 1;
}

.nav-menu a {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  font-weight: 500;
  color: #4a4a6b;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: none;
  border-bottom: none;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 1.5rem;
  }

  .nav-menu a {
    font-size: 1.3rem;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 1000px) {
  .nav-menu {
    gap: 1rem;
  }

  .nav-menu a {
    font-size: 1.2rem;
    padding: 0.5rem 0.8rem;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    gap: 0.8rem;
  }

  .nav-menu a {
    font-size: 1.1rem;
    padding: 0.4rem 0.6rem;
  }
}

.nav-menu a:hover {
  background: rgba(173, 216, 230, 0.15);
  color: #2c3e50;
  transform: translateY(-2px);
  border-bottom: none;
}

.nav-menu a.active {
  background: rgba(173, 216, 230, 0.35);
  color: #2c3e50;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(173, 216, 230, 0.3);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: fixed;
  right: 1.5rem;
  top: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(248, 246, 244, 0.35) 100%);
  border-radius: 12px;
  border: 1px solid rgba(173, 216, 230, 0.2);
  box-shadow: 
    0 6px 24px rgba(0, 0, 0, 0.05),
    0 1px 6px rgba(173, 216, 230, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  z-index: 1002;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  overflow: visible;
}

.mobile-menu-toggle:hover {
  background: linear-gradient(135deg, rgba(173, 216, 230, 0.15) 0%, rgba(176, 196, 222, 0.12) 100%);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 
    0 8px 28px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(173, 216, 230, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.mobile-menu-toggle:active {
  transform: translateY(0) scale(0.98);
}

.mobile-menu-toggle span {
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%);
  margin: 1.5px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-3px, 4px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-3px, -4px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  body {
    padding-top: 75px; /* Adjust for optimized mobile nav */
  }

  .navigation {
    padding: 0 5rem 0 1rem;
    position: fixed;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid rgba(173, 216, 230, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .nav-menu.active {
    max-height: 80vh;
    padding: 1rem 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(173, 216, 230, 0.1);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 0;
    width: 100%;
    text-align: left;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@keyframes headerShimmer {
  0%, 100% { 
    opacity: 1; 
    background-position: 0 0, 0 0, 0 0, 0 0, -100px -100px;
  }
  50% { 
    opacity: 0.9; 
    background-position: 0 0, 0 0, 0 0, 0 0, 100px 100px;
  }
}

header h1 {
  font-size: 6.5rem;
  margin: 0 0 1.5rem 0;
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  color: #1a2332; /* Darker color for better contrast */
  text-shadow: 
    0 2px 6px rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.2;
}

header .date {
  font-size: 4.2rem;
  margin: 1rem 0;
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  color: #1a2332; /* Darker color for better contrast */
  position: relative;
  z-index: 1;
  text-align: center;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

header .location {
  font-size: 3.2rem;
  margin: 0.5rem 0 2rem 0;
  font-family: 'Dancing Script', cursive;
  font-weight: 500;
  color: #1a2332; /* Darker color for better contrast */
  position: relative;
  z-index: 1;
  text-align: center;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

#countdown {
  margin: 2rem 0 1rem 0;
  font-size: 3rem;
  color: #2c3e50;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  position: relative;
  z-index: 1;
  text-align: center;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

main {
  padding: 2rem 1.5rem;
  max-width: 1200px;
  width: calc(100% - 3rem);
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  box-sizing: border-box;
}

section {
  margin-bottom: 5rem;
  margin-top: 0;
  padding: 0;
  width: 100%;
}

section h2 {
  color: #2c3e50;
  font-size: 2.8rem;
  margin: 0;
  padding: 0 0 10px 0;
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  text-align: center;
  position: relative;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #34495e 50%, transparent 100%);
}

section p {
  font-size: 1.3rem;
  text-align: center !important;
  color: #4a4a6b;
  margin-bottom: 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  max-width: 100%;
  box-sizing: border-box;
}

ul {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

ul li {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #4a4a6b;
  font-family: 'Cormorant Garamond', serif;
}

ul li strong {
  color: #599ac3;
  font-weight: 500;
}

a {
  color: #000000;
  text-decoration: underline;
  font-style: italic;
  transition: all 0.3s ease;
  font-weight: 500;
}

a:hover {
  color: #333333;
  text-decoration: underline;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 4px;
  border-radius: 4px;
}

footer {
  background: none;
  text-align: center;
  padding: 2rem 1rem;
  color: #1a2332;
  font-family: 'Dancing Script', cursive;
  font-size: 5.5rem;
  font-weight: 500;
  border-top: none;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
  line-height: 1.2;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

footer p {
  margin: 0;
  padding: 0;
}

@media (max-width: 1200px) {
  footer {
    font-size: 4.5rem;
  }
}

@media (max-width: 900px) {
  footer {
    font-size: 3.8rem;
  }
}

@media (max-width: 768px) {
  footer {
    font-size: 3rem;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  footer {
    font-size: 2.5rem;
    padding: 1.5rem 0.5rem;
  }
}

iframe {
  border-radius: 15px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-wrapper {
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 75px;
    padding-left: 1rem;
    padding-right: 1rem;
    background-position: center top;
  }

  header {
    padding: 1rem 1rem;
    min-height: 55vh;
    margin: 0 -1rem;
    background-size: 
      100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
      30px 30px, 45px 45px, 60px 60px, 35px 35px,
      100% 100%;
    background-position: 
      0 0, 0 0, 0 0, 0 0, 0 0,
      0 0, 15px 15px, 30px 30px, 18px 18px,
      0 0;
  }

  header::before {
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 80px 80px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, -40px -40px;
  }

  main {
    margin: 0;
    padding: 2rem 1.5rem;
    width: 100%;
    border-radius: 10px;
  }

  section {
    margin-bottom: 2rem;
    padding: 0;
    width: 100%;
  }

  .countdown-card {
    width: calc(100% - 2rem);
    margin: 1.5rem auto 2rem auto;
    padding: 1.5rem;
  }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
  }

  .direction-item {
    width: 100%;
    box-sizing: border-box;
  }
}

  header h1 {
    font-size: 3.8rem;
    margin: 0 0 1rem 0;
    text-align: center;
    line-height: 1.2;
  }

  header .date {
    font-size: 2.5rem;
    margin: 1rem 0;
    text-align: center;
  }

  header .location {
    font-size: 1.9rem;
    margin: 0.5rem 0 1.5rem 0;
    text-align: center;
  }

  #countdown {
    font-size: 1.7rem;
    margin: 1.5rem 0 1rem 0;
    padding: 0 1rem;
    text-align: center;
    line-height: 1.4;
  }

  section h2 {
    font-size: 2rem;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1.3;
  }

  section p {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1.2rem;
    padding: 0 0.5rem;
  }

  ul {
    padding: 0 0.5rem;
    text-align: center;
  }

  ul li {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.8rem;
  }

  .photo-gallery-inner {
    padding: 1.5rem 1rem;
    margin: 1rem 0;
  }

  .carousel-container {
    max-width: 100%;
    margin: 1.5rem auto;
  }

  .carousel-wrapper {
    height: 450px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  .carousel-dots {
    gap: 8px;
    margin-top: 1.5rem;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .carousel-dot.active {
    display: none;
  }

  .carousel-dot:hover {
    display: none;
  }

  .map-wrapper iframe {
    height: 300px;
  }

  .rsvp-placeholder {
    padding: 2rem 1rem;
    margin-top: 2rem;
  }

  footer {
    padding: 1.5rem 1rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  header {
    padding: 1rem 0.5rem;
    margin: 0 -0.5rem;
  }

  header h1 {
    font-size: 3.2rem;
    margin: 0 0 1rem 0;
    text-align: center;
    line-height: 1.2;
  }

  header .date {
    font-size: 2rem;
    margin: 1rem 0;
    text-align: center;
  }

  header .location {
    font-size: 1.6rem;
    margin: 0.5rem 0 1.5rem 0;
    text-align: center;
  }

  main {
    margin: 0;
    padding: 1.5rem 1rem;
    width: 100%;
  }

  section {
    width: 100%;
  }

  section h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  section p {
    text-align: center;
    padding: 0;
  }

  .carousel-wrapper {
    height: 380px;
  }

  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }

  .collapsible-content {
    padding: 0 1rem 1rem 1rem;
  }

  .collapsible-content.collapsed {
    padding: 0 1rem;
  }
}

/* Modal/Lightbox Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  animation: modalZoom 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .modal-close {
    top: 10px;
    right: 15px;
    font-size: 40px;
    width: 50px;
    height: 50px;
  }
}

/* Photo Carousel Styles */
.photo-gallery-inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 246, 244, 0.92) 100%);
  border-radius: 20px;
  padding: 1.5rem;
  margin: 0;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(74, 144, 226, 0.08);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(74, 144, 226, 0.3);
}

.carousel-container {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: 2rem auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: none;
  box-sizing: border-box;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

/* Responsive carousel heights */
@media (max-width: 1200px) {
  .carousel-wrapper {
    height: 500px;
  }
}

@media (max-width: 900px) {
  .carousel-wrapper {
    height: 450px;
  }
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  touch-action: pan-y;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: rgba(248, 246, 244, 0.3);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.carousel-slide img:hover {
  opacity: 0.9;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(173, 216, 230, 0.1),
    rgba(176, 196, 222, 0.05),
    transparent 100%
  );
  pointer-events: none;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #34495e;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-dots {
  display: none;
}

.carousel-dot {
  display: none;
}

/* RSVP Placeholder Styles */
.rsvp-placeholder {
  background: rgba(248, 246, 244, 0.9);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin-top: 3rem;
  text-align: center;
  border: 2px dashed rgba(173, 216, 230, 0.3);
  position: relative;
}

.rsvp-placeholder::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(
    45deg,
    rgba(173, 216, 230, 0.1),
    rgba(176, 196, 222, 0.1),
    rgba(221, 238, 247, 0.1)
  );
  border-radius: 25px;
  z-index: -1;
}

/* Hotel section styles */
.hotel-section {
  background: transparent;
  border-radius: 15px;
  padding: 2rem;
  margin: 1.5rem 0;
  backdrop-filter: none;
}

.hotel-details-card {
  background: linear-gradient(to bottom right, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15)) !important;
  border-radius: 10px !important;
  padding: 1.5rem !important;
  margin: 1rem 0 !important;
  box-shadow: none !important;
  border: 2px solid rgba(173, 216, 230, 0.3) !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hotel-details-card {
    padding: 1rem !important;
    margin: 1rem 0 !important;
    max-width: 100%;
    overflow: hidden;
  }

  .recommended-hotel-section {
    overflow: hidden;
    max-width: 100%;
  }

  .recommended-hotel-section .directions-grid {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  .recommended-hotel-section .direction-item {
    padding: 1rem !important;
    margin: 0.5rem 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .recommended-hotel-section .direction-item p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
  }

  .recommended-hotel-section .direction-item h4 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .hotel-details-card {
    padding: 0.8rem !important;
    max-width: 100%;
  }

  .recommended-hotel-section .direction-item {
    padding: 0.8rem !important;
    max-width: 100%;
  }
}

.hotel-section h3 {
  color: #4a4a6b;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  text-align: center;
}

.hotel-section p[style*="italic"] {
  font-size: 1.3rem !important;
}

@media (max-width: 768px) {
  .hotel-section h3 {
    font-size: 1.3rem;
  }

  .hotel-section p[style*="italic"] {
    font-size: 1.2rem !important;
  }
}

.hotel-address {
  text-align: center;
  margin: 0.5rem 0;
  font-size: 1.3rem;
  color: #6ba3c7;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
}

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

.hotel-carousel {
  margin: 2rem 0;
}

.hotel-carousel .carousel-container {
  max-width: 500px;
  margin: 1.5rem auto;
}

.hotel-carousel .carousel-wrapper {
  height: 350px;
}

@media (max-width: 768px) {
  .hotel-section,
  .photo-gallery-inner,
  .travel-directions,
  .recommended-hotel-section,
  .additional-hotels-section,
  .registry-section,
  .schedule-section {
    padding: 1.5rem !important;
    margin: 0 !important;
  }

  .hotel-section h3 {
    font-size: 1.4rem;
  }

  .hotel-carousel .carousel-wrapper {
    height: 280px;
  }

  .direction-item {
    padding: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .hotel-carousel .carousel-wrapper {
    height: 220px;
  }

  .recommended-hotel-section h3,
  .additional-hotels-section h3 {
    font-size: 1.4rem !important;
  }
}

/* Travel directions styles */
.travel-directions {
  background: rgba(248, 246, 244, 0.6);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
}

.travel-directions h3 {
  color: #4a4a6b;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  text-align: center;
}

.airport-card {
  margin: 1.5rem 0 2rem 0;
}

.buffalo-airport {
  background: linear-gradient(135deg, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15));
  border: 2px solid rgba(173, 216, 230, 0.3);
  text-align: center;
}

.buffalo-airport h4 {
  font-size: 1.5rem;
  color: #2c3e50;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem auto;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  justify-content: center;
}

.direction-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.direction-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.direction-item h4 {
  color: #599ac3;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  text-align: center !important;
}

@media (max-width: 768px) {
  .direction-item h4 {
    font-size: 1.2rem;
  }
}

.direction-item p {
  margin-bottom: 0.5rem;
  text-align: center !important;
  font-size: 1.1rem;
  color: #4a4a6b;
}

.direction-item p strong {
  color: #2c3e50;
}

@media (max-width: 768px) {
  .travel-directions {
    padding: 1.5rem !important;
  }

  .travel-directions h3 {
    font-size: 1.4rem;
  }

  .directions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .direction-item {
    padding: 1.5rem !important;
  }

  .direction-item h4 {
    font-size: 1.1rem;
  }
}

/* Section Styles */
.collapsible-section {
  border: none;
  border-radius: 20px;
  margin-bottom: 5rem;
  margin-top: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 246, 244, 0.92) 100%);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(74, 144, 226, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(74, 144, 226, 0.3);
}

.collapsible-section:hover {
  transform: none;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(74, 144, 226, 0.12);
  border-color: rgba(74, 144, 226, 0.5);
}

.collapsible-header {
  padding: 1.5rem 1.5rem;
  padding-bottom: 1.5rem;
  margin: 0;
  background: transparent;
  border: none;
  font-size: 2.6rem;
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  color: #2c3e50;
}

.collapsible-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: none;
  overflow: visible;
  opacity: 1;
  width: 100%;
  box-sizing: border-box;
}

/* Content background containers - only for content that doesn't have its own containers */
.collapsible-content > p,
.collapsible-content > h3:not(.hotel-section h3):not(.travel-directions h3),
.collapsible-content > ul:not(.hotel-amenities ul):not(.nav-menu) {
  background: linear-gradient(to bottom right, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15)) !important;
  border-radius: 15px;
  padding: 1.5rem;
  margin: 0;
  box-shadow: none;
  backdrop-filter: none;
  border: 2px solid rgba(173, 216, 230, 0.3);
}

/* Special handling for main content containers - WHITE backgrounds */
.photo-gallery-inner,
.hotel-section,
.travel-directions,
.recommended-hotel-section,
.additional-hotels-section,
.registry-section,
.schedule-section {
  background: #ffffff !important;
  border-radius: 15px !important;
  padding: 2rem !important;
  margin: 0 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(173, 216, 230, 0.3) !important;
}

/* Restore specific styling for direction items - SHADED backgrounds */
.directions-grid .direction-item {
  background: linear-gradient(to bottom right, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15)) !important;
  border-radius: 10px !important;
  padding: 1.5rem !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: 2px solid rgba(173, 216, 230, 0.3) !important;
}

.directions-grid .direction-item p {
  font-size: 1.2rem !important;
}

.directions-grid .direction-item h4 {
  font-size: 1.4rem !important;
}

/* Restore carousel styling */
.carousel-nav {
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 1) !important;
}

/* Buffalo airport card styling - SHADED backgrounds */
.buffalo-airport {
  background: linear-gradient(to bottom right, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15)) !important;
  border: 2px solid rgba(173, 216, 230, 0.3) !important;
}

.buffalo-airport p {
  font-size: 1.2rem !important;
}

.buffalo-airport h4 {
  font-size: 1.5rem !important;
}

/* Recommended hotel section styling - WHITE background */
.recommended-hotel-section {
  background: #ffffff !important;
  border-radius: 15px !important;
  padding: 2rem !important;
  margin: 0 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(173, 216, 230, 0.3) !important;
}

.recommended-hotel-section h3,
.additional-hotels-section h3 {
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  padding: 0 !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 600 !important;
  font-style: normal !important;
  color: #4a4a6b !important;
  font-size: 1.8rem !important;
  text-align: center !important;
}

.recommended-hotel-section p[style*="italic"],
.additional-hotels-section p[style*="italic"] {
  font-size: 1.3rem !important;
}

@media (max-width: 768px) {
  .recommended-hotel-section h3,
  .additional-hotels-section h3 {
    font-size: 1.5rem !important;
  }

  .recommended-hotel-section p[style*="italic"],
  .additional-hotels-section p[style*="italic"] {
    font-size: 1.2rem !important;
  }
}

.recommended-hotel-section .direction-item h4 {
  font-family: 'Cormorant Garamond', serif !important;
  color: #599ac3 !important;
}

/* Additional hotels section styling - WHITE background */
.additional-hotels-section {
  background: #ffffff !important;
  border-radius: 15px !important;
  padding: 2rem !important;
  margin: 2rem 0 0 0 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(173, 216, 230, 0.3) !important;
}

/* Attractions section styling - WHITE background */
.attractions-section {
  background: #ffffff !important;
  border-radius: 15px !important;
  padding: 1.2rem !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(173, 216, 230, 0.3) !important;
}

/* Registry section styling - WHITE background */
.registry-section {
  background: #ffffff !important;
  border-radius: 15px !important;
  padding: 2rem !important;
  margin: 0 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(173, 216, 230, 0.3) !important;
}

.registry-section h3 {
  color: #4a4a6b;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  text-align: center;
}

.registry-section .direction-item {
  background: linear-gradient(to bottom right, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15)) !important;
  border-radius: 10px !important;
  padding: 1.5rem !important;
  margin: 1.5rem 0 !important;
  box-shadow: none !important;
  border: 2px solid rgba(173, 216, 230, 0.3) !important;
}

.registry-section .direction-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
  .registry-section {
    padding: 1.5rem !important;
  }

  .registry-section h3 {
    font-size: 1.4rem;
  }

  .registry-section .direction-item {
    margin: 1rem 0 !important;
    padding: 1.5rem !important;
  }
}

/* FAQs section styling - SHADED background */
.faqs-section {
  background: linear-gradient(to bottom right, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15)) !important;
  border-radius: 15px !important;
  padding: 1.5rem !important;
  margin: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border: 2px solid rgba(173, 216, 230, 0.3) !important;
}

.faqs-section ul {
  font-family: 'Cormorant Garamond', serif !important;
}

.faqs-section ul li {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.2rem !important;
  color: #4a4a6b !important;
}

.faqs-section ul li strong {
  font-family: 'Cormorant Garamond', serif !important;
  color: #599ac3 !important;
  font-weight: 500 !important;
}

/* RSVP section styling - SHADED background */
.rsvp-section {
  background: linear-gradient(to bottom right, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15)) !important;
  border-radius: 15px !important;
  padding: 1.5rem !important;
  margin: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border: 2px solid rgba(173, 216, 230, 0.3) !important;
}

.rsvp-section p {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.2rem !important;
  color: #4a4a6b !important;
  text-align: center !important;
}

.rsvp-section p[style*="italic"] {
  font-size: 1.3rem !important;
}

/* Mobile responsive adjustments for collapsible sections */
@media (max-width: 768px) {
  .collapsible-section {
    margin-bottom: 1.2rem;
    border-radius: 16px;
  }

  .collapsible-header {
    padding: 1.5rem 1.8rem;
    font-size: 2.2rem;
  }

  .collapse-icon {
    font-size: 0.8rem;
    margin-left: 0.8rem;
    opacity: 0.4;
    min-width: 28px;
    min-height: 28px;
    padding: 0.4rem;
  }

  .collapsible-content {
    padding: 0 1.8rem 1.8rem 1.8rem;
    max-height: none;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
  }

  /* Mobile content backgrounds */
  .collapsible-content > * {
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
  }

  .photo-gallery-inner,
  .hotel-section,
  .travel-directions,
  .recommended-hotel-section,
  .additional-hotels-section,
  .registry-section,
  .schedule-section {
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 480px) {
  .collapsible-header {
    padding: 1rem 1.2rem;
    font-size: 1.8rem;
  }

  .collapsible-content {
    padding: 0 1.2rem 1.2rem 1.2rem;
    max-height: none;
    overflow: visible;
  }

  /* Smallest mobile content backgrounds */
  .collapsible-content > * {
    padding: 1.5rem !important;
    margin-bottom: 0.8rem !important;
    text-align: center !important;
  }

  .photo-gallery-inner,
  .hotel-section,
  .travel-directions,
  .recommended-hotel-section,
  .additional-hotels-section,
  .registry-section,
  .schedule-section {
    padding: 1.5rem !important;
    margin-bottom: 0.8rem !important;
  }

  .direction-item {
    padding: 1.5rem !important;
  }
}

/* Add subtle animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

section {
  animation: fadeIn 0.8s ease-out;
}

section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
section:nth-child(7) { animation-delay: 0.6s; }

/* Wedding Timeline Styling */
.schedule-section {
  background: #ffffff !important;
  border-radius: 15px !important;
  padding: 2rem !important;
  margin: 0 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(173, 216, 230, 0.3) !important;
  position: relative;
  overflow: hidden;
}

.schedule-section h3 {
  color: #4a4a6b;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  text-align: center;
}

.schedule-subtitle {
  color: #599ac3;
  font-size: 1.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}

.wedding-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.wedding-timeline-simple {
  margin: 1.5rem 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

.simple-event-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to bottom right, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15)) !important;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: none !important;
  border: 2px solid rgba(173, 216, 230, 0.3) !important;
  transition: all 0.3s ease;
  box-sizing: border-box;
  aspect-ratio: 1;
  min-height: 140px;
}

.simple-event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

.simple-time {
  color: #599ac3;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 0.5rem;
}

.simple-event {
  color: #2c3e50;
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 768px) {
  .wedding-timeline-simple {
    max-width: 100%;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .simple-event-item {
    padding: 1.2rem;
    min-height: auto;
    aspect-ratio: auto;
  }

  .simple-time {
    font-size: 1.1rem;
  }

  .simple-event {
    font-size: 1.1rem;
  }
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
  align-items: flex-start;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 246, 244, 0.8) 100%);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(173, 216, 230, 0.3);
  position: relative;
  z-index: 2;
}

.date-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
}

.date-month {
  font-size: 1rem;
  color: #599ac3;
  font-weight: 500;
  font-family: 'Dancing Script', cursive;
  margin-top: 0.2rem;
}

.date-day {
  font-size: 0.9rem;
  color: #4a4a6b;
  font-family: 'Cormorant Garamond', serif;
  margin-top: 0.3rem;
  font-style: italic;
}

.timeline-content {
  flex: 1;
  margin-left: 2rem;
  position: relative;
}

.timeline-connector {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-connector::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(173, 216, 230, 0.5), rgba(176, 196, 222, 0.3));
  transform: translateX(-50%);
}

.timeline-connector::after {
  content: '♡';
  color: #599ac3;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(173, 216, 230, 0.4);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.timeline-connector.main::after {
  content: '💍';
  font-size: 1rem;
  background: linear-gradient(135deg, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15));
  border: 3px solid rgba(173, 216, 230, 0.6);
  width: 3rem;
  height: 3rem;
  box-shadow: 0 4px 12px rgba(173, 216, 230, 0.3);
}

.event-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(173, 216, 230, 0.6), rgba(176, 196, 222, 0.4));
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.event-card:last-child {
  margin-bottom: 0;
}

.event-title {
  color: #2c3e50;
  font-size: 1.6rem;
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.event-subtitle {
  color: #599ac3;
  font-size: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  margin: 0 0 1rem 0;
  opacity: 0.9;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.event-time {
  color: #2c3e50;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
}

.event-venue {
  color: #4a4a6b;
  font-style: italic;
  font-size: 1rem;
  font-family: 'Cormorant Garamond', serif;
}

/* Special styling for the main wedding day */
.main-day .timeline-date {
  background: linear-gradient(135deg, rgba(173, 216, 230, 0.2), rgba(176, 196, 222, 0.15));
  border: 3px solid rgba(173, 216, 230, 0.5);
  box-shadow: 0 6px 20px rgba(173, 216, 230, 0.3);
}

.main-day .date-number {
  color: #599ac3;
  font-size: 3rem;
}

.ceremony::before {
  background: linear-gradient(90deg, rgba(255, 182, 193, 0.6), rgba(255, 192, 203, 0.4));
}

.reception::before {
  background: linear-gradient(90deg, rgba(173, 216, 230, 0.6), rgba(176, 196, 222, 0.4));
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .schedule-section {
    padding: 2rem 1.5rem 2.5rem 1.5rem !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .schedule-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .schedule-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

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

  .timeline-date {
    min-width: 100px;
    margin-bottom: 1.5rem;
    padding: 1.2rem 0.8rem;
  }

  .date-number {
    font-size: 2rem;
  }

  .timeline-content {
    margin-left: 0;
    width: 100%;
  }

  .timeline-connector {
    display: none;
  }

  .event-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .event-title {
    font-size: 1.4rem;
  }

  .event-details {
    flex-direction: column;
  }

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

  .event-venue {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .schedule-section h3 {
    font-size: 1.8rem;
  }

  .schedule-subtitle {
    font-size: 1.3rem;
  }

  .timeline-date {
    min-width: 90px;
    padding: 1rem 0.6rem;
  }

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

  .event-card {
    padding: 1.2rem;
  }

  .event-title {
    font-size: 1.2rem;
  }
}

/* Style for the alternative hotels subtitle */
.alternative-hotels-subtitle {
  color: #599ac3;
  font-size: 1.3rem;
  font-family: 'Dancing Script', cursive;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}