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

html, body {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: #f9f9f9;
  font-family: 'Baskerville', serif;
  color: #000;
}

.page-container {
  display: flex;
  flex-direction: column;
}


nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}
nav a {
  text-decoration: none;
  color: black;
  font-size: 0.9rem;
}

/* Mobile nav toggle (hamburger) */
.mobile-nav-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1001;
  display: none;
}

#nav-toggle-btn {
  font-size: 2rem;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
}

/* Hide toggle button when nav is open */
body.nav-open #nav-toggle-container {
  display: none;
}


body.nav-open .mobile-nav-overlay {
  display: flex;
}


/* Simple Page */

.simple-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #f9f9f9;
  padding: 2rem;
}

.simple-page h1 {
  font-size: 3rem;
  font-family: 'Baskerville', serif;
  margin-bottom: 1rem;
}

.simple-page p {
  font-size: 1.2rem;
  font-family: 'Baskerville', serif;
}


/* Top Nav Bar */

.top-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background-color: #f9f9f9;
  font-family: 'Baskerville', serif;
  font-size: 0.8rem;
  text-transform: capitalize;
}

.top-nav a {
  color: black;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
  font-style: italic;
}

.top-nav a:hover {
  border-bottom: 1px solid black;
}



  .details-footer {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 0.8rem;
    color: #929292;
    font-style: italic;
  }

  .details-footer a {
    text-decoration: underline #929292;
    color: #929292;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .details-footer a:hover {
    color: #000;
    text-decoration: underline;
  }


  .footer-calendar-wrapper {
  position: relative;
  display: inline-block;
}

.footer-calendar-link {
  text-decoration: none;
  color: #929292;
  cursor: pointer;
  transition: color 0.3s ease;
  font-style: italic;
}

.footer-calendar-link:hover {
  color: #000;
  text-decoration: underline;
}

.footer-calendar-dropdown {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  padding-top: 0.5rem;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: none;
  z-index: 999;
  font-style: normal;
  font-size: 0.75rem;
}

.footer-calendar-dropdown a {
  display: block;
  padding: 0 0.8rem 0.5rem 0.8rem;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.footer-calendar-dropdown a:hover {
  background-color: #f4f4f4;
}

.footer-calendar-wrapper.open .footer-calendar-dropdown {
  display: block;
}


/* Fullscreen nav overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


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

.mobile-nav-overlay li {
  margin: 1rem 0;
}

.mobile-nav-overlay a {
  font-size: 1.5rem;
  text-decoration: none;
  color: black;
  font-style: italic;
}




  .download-mobile-nav a {   
    color: #606060;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .download-mobile-nav.first {
    padding-top: 2rem;
  }

  .download-mobile-nav a:hover {
    color: #000;
    text-decoration: underline;
  }
  

  .mobile-footer a {
    text-decoration: underline;
    font-size: 1rem;
    color: #aaaaaa;
    cursor: pointer;
    transition: color 0.3s ease;
  }

   .mobile-footer a:hover {
    color: #000;
    text-decoration: underline;
  }
  
  

/* Close button */
.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
}

.mobile-footer {
  margin: 3rem 1rem 1rem 1rem;
  padding: 2rem;
  font-size: 1rem;
  color: #aaaaaa;
  text-align: center;
  font-style: italic;
}



@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .footer-nav,
  .left-nav,
  .top-nav,
  .details-footer {
    display: none !important;
  }
}


/* RSVP Page */

    .rsvp-page {
      min-height: 70vh;
      width: 100vw;
      background-color: #f9f9f9;
      display: flex;
      justify-content: center;
      align-items: top;
      padding: 3rem 2rem;
    }
    
    .rsvp-container {
      display: flex;
      align-items: flex-start;
      justify-content: top;
      gap: 4rem;
      width: 90%;
      max-width: 1200px;
    }
    
    /* Left: Heading + Divider */
    .rsvp-left {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      width: 30%;
      padding-top: 3vh;
    }
    
    .left-inner {
      display: flex;
      align-items: center;
      gap: 1rem;
      justify-content: flex-end;
    }
    
    .left-inner h1 {
      font-family: 'Baskerville', serif;
      font-size: 3rem;
      font-weight: 400;
      margin: 0;
      text-align: left;
    }
    
    .divider {
      width: 2px;
      height: 80px;
      background-color: black;
    }
    
    
/* Right: FAQ Q&A */
    .rsvp-right {
      flex: 1;
      display: flex;
      justify-content: center;
      margin-top: 0;
      max-height: 50vh;
      max-width: 60vw;
    }

    
/* Responsive for mobile */
    @media (max-width: 768px) {
      .rsvp-list {
        grid-template-columns: 1fr; /* collapse to one column on smaller screens */
      }

      .rsvp-container {
        flex-direction: column;
        align-items: center;
      }
    
      .left-inner {
        flex-direction: column;
        align-items: center;
      }
    
      .divider {
        display: none;
      }
    
      .rsvp-left {
        width: 100%;
        text-align: center;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center; 
      }

      .rsvp-right p {
          margin-bottom: 0.5rem;
        }

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