/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    scroll-behavior: smooth;
    overflow-y: hidden;
  }
  
  body {
    background-color: #f9f9f9;
    font-family: 'Baskerville', serif;
    color: #000;
  }
  
  .page-container {
    display: flex;
    flex-direction: column;
  }

  .no-js .illustration {
    opacity: 1;
    mask-image: none;
    -webkit-mask-image: none;
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    width: 100vw;
  }
  
  .hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
  }
  
  .hero-center h1 {
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1rem;
  }
  
  .hero-center .date-location {
    font-size: 1.25rem;
    font-style: italic;
  }
  
  .hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }

  .hero-bottom {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem; /* space between nav and arrow */
    z-index: 10;
  }

  
  .footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }

  .footer-nav.hide-on-load {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
  }
  
  .footer-nav.hide-on-load.show {
    opacity: 1;
    pointer-events: auto;
  }

  .footer-nav a {
    text-decoration: none;
    color: #000;
    text-transform: capitalize;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
  }
  
  .footer-nav a:hover {
    border-bottom: 1px solid #000;
  }
  
  .down-arrow a {
    text-decoration: none;
    color: #000;
  }
  
  .arrow-icon {
    width: 32px;
    height: 32px;
    stroke: #000;
  }
  
  .details-section {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: left;
    justify-content: left;
    position: relative;
  }
  

  .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;
}


  /* Left Nav */
  .left-nav {
    position: relative;
    justify-content: center;
    margin-left: 0.5rem;
    padding-left: 1rem;
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1rem;
    font-style: italic;
    opacity: 0;
    transition: opacity 1.5s ease;
    pointer-events: none;
    z-index: 1000;
  }
  
  .left-nav.show {
    opacity: 1;
    pointer-events: auto;
  }
  
  .left-nav a {
    color: black;
    text-decoration: none;
    text-transform: capitalize;
  }
  
  .left-nav a:hover {
    text-decoration: underline;
  }
  
  .details-content {
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: left;
    gap: 1rem; /* space between illustration and text */
  }
  
  .svg-wrapper {
    display: flex;
    align-items: left;
    height: 100vh;
    width: 45vw;
  }
  
  .illustration {
    height: 100vh;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2.5s ease;
  }
  
  /* Shared base style for both layers */
  
  .illustration {
    opacity: 0;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    transition:
      mask-image 5s ease-in-out,
      -webkit-mask-image 5s ease-in-out,
      opacity 2s ease-in;
    will-change: mask-image, -webkit-mask-image, opacity;
  }
  
  .illustration.fade-in {
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 100%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 100%, rgba(0,0,0,1) 100%);
    opacity: 1;
  }
  
  
  .event-details {
    width: 30vw;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 5vw 0;
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
  }
  
  .event-details.show {
    opacity: 1;
    transform: translateY(-10px);
  }
  
  .event-details p {
    font-weight: 300;
    margin: 0.5rem 0;
    font-family: 'Baskerville', serif;
    font-size: 0.9rem;
    font-style: italic;
  }
  
  .event-details p.date_place {
    font-style: normal;
  }
  
  .event-details h2 {
    margin: 0.5rem 0;
    font-family: 'Baskerville', serif;
    font-size: 1.2rem;
    font-weight: 500;
  }
  
  
  
  .schedule-link {
    color: black;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    color: #878787;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
    font-style: normal;
  }
  
  .schedule-link:hover {
    color: #000;
    text-decoration: underline;
  }
  
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .details-footer {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 0.8rem;
    color: #aaaaaa;
    font-style: italic;
  }
  
  
  
  /* Responsive */
  @media (max-width: 844px) {
   .hero {
    height: 100dvh; /* Uses the actual visible viewport */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 2vh);
  }

  .hero-content {
    height: auto;
    padding-top: 4vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-bottom {
    position: relative;
    padding-bottom: 1.5vh;
    display: flex;
    justify-content: center;
    width: 100%;
  }

    .details-section {
      margin: 0;
      padding: 0;
      height: 100dvh;
      width: 100vw;
      display: flex;
      align-items: left;
      justify-content: left;
    }
    
    .details-content {
      margin: 0;
      padding: 0;
      height: 100dvh;
      width: 100vw;
      display: flex;
      flex-direction: row;
      align-items: left;
      gap: 3rem; /* space between illustration and text */
    }
    
    .svg-wrapper {
      margin: 0;
      padding: 0;
      height: 100dvh;
      max-width: 50vw;
      display: flex;
    }
  
    .illustration {
      margin: 0;
      padding: 0;
      height: 100dvh;
      object-fit: contain;
      pointer-events: none;
      opacity: 0;
      transition: opacity 2.5s ease;
    }
  
    .event-details {
      margin: 0 0.8rem 0 1.7rem;
      width: 30%;
      max-width: 375px;
      text-align: left;
      display: flex;
      flex-direction: column;
      justify-content: center;
      opacity: 0;
      transition: opacity 1.5s ease, transform 1.5s ease;
    }
    
    .event-details.show {
      opacity: 1;
      transform: translateY(-10px);
    }
    
  }
  
  
  /* 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;
  }
  
  /* 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;
  }
  
  .mobile-footer a {
    text-decoration: underline #929292;
    font-size: 1rem;
    color: #aaaaaa;
    cursor: pointer;
    transition: color 0.3s ease;
  }

   .details-footer a:hover {
    color: #000;
    text-decoration: underline;
  }
  
  
  @media (max-width: 844px) {
    .mobile-nav-toggle {
      display: block;
    }
  
    .footer-nav,
    .left-nav,
    .top-nav,
    .details-footer {
      display: none !important;
    }

  }
  
  