.rsvp-container1 {
  width: 100%;
  display: block;
  min-height: 100vh;
}
 
.rsvp-form {
  gap: 8px;
  width: 300px;
  height: auto;
  display: flex;
  flex-direction: column;
}
 
.rsvp-textinput1 {
  top: auto;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}
 
.rsvp-container2 {
  width: 100%;
  display: flex;
  flex-direction: column;
}
 
.rsvp-textinput2 {
  width: 100%;
}
 
.rsvp-container3 {
  width: 100%;
  display: flex;
  flex-direction: column;
}
 
.rsvp-textinput3 {
  width: 100%;
}
 
.rsvp-button {
  width: 100%;
}
/* Ensure proper scroll hierarchy */
html, body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Hide hamburger on desktop */
.nav-toggle {
  display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Right-align the navigation inner container */
  .nav-inner {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }
  
  /* Right-align the nav container on mobile */
  .nav-container {
    display: flex;
    justify-content: flex-end;
    padding-right: 1rem;
    width: 100%;
  }
  
  /* Show hamburger button */
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
  }
  
  /* Hamburger icon bars */
  .nav-toggle::before,
  .nav-toggle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background-color: #4a4a4a; /* Dark grey */
    transition: all 0.3s ease;
  }
  
  .nav-toggle::before {
    top: 10px;
    box-shadow: 0 9px 0 #4a4a4a; /* Middle bar - equal spacing */
  }
  
  .nav-toggle::after {
    bottom: 10px;
  }
  
  /* Animate to X when active */
  .nav-toggle.is-active::before {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    box-shadow: none;
  }
  
  .nav-toggle.is-active::after {
    bottom: 50%;
    transform: translateX(-50%) translateY(50%) rotate(-45deg);
  }
  
  /* Hide desktop navigation */
  .nav-links {
    display: none;
  }
  
  /* Mobile menu overlay - hidden by default */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #f5f1e8;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Show mobile menu when active */
  .mobile-menu-overlay.is-active {
    transform: translateX(0);
  }
  
  /* Mobile nav links styling */
  .mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
  }
  
  .mobile-nav-links li {
    margin: 2rem 0;
  }
  
  .mobile-link {
    font-size: 1.5rem;
    padding: 1rem;
  }
  
  /* Toggle icon visibility */
  .toggle-icon-close.hidden {
    display: none;
  }
  
  .hidden { display: none !important; }
}
