/* Base styles */
html, body{
  overflow-x: hidden;
  z-index: 0;
}
body {
    margin: 0;
    font-family: garamond;
    background-color: #f3f3f3;
    position: relative;
  }
  html{
    max-width: 100%;
  }
  *{
    -webkit-tap-highlight-color: transparent;
  }

  @font-face {
      font-family: ImpScript;
      src: url('ImpScript.ttf');
  }
  @font-face {
      font-family: garamond;
      src: url(Garamond.ttf);
  }
  /* Animation keyframes */
  @keyframes fade-in{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
  }
  @keyframes fade-down{
    from{
        opacity: 0;
        transform: translatey(-20px);
      
      }
    to{
        opacity: 0.5;
        transform: translatey(0px);
    }
  }
  .fade-in{
    transform: translateY(30px);
    transition: all 0.6s ease-in;
  }
  .fade-in.show{
      transform: translateY(0);
  }
  h1{
    font-size: 5rem;
    letter-spacing: 2px;
    font-family: ImpScript;
    font-weight: 100;
  }
  .navbar {
    background-color: white;
    border-bottom: 10px solid #f3f3f3;
    padding: 1rem 1.5rem;
    z-index: -5;
  }
  
  .nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 2rem;
    text-decoration: none;
    color: #333;
    font-style: italic;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;

  }
  
  .nav-links li a {
    text-decoration: none;
    color: black;
    padding: 0.5rem 0.75rem;
    display: inline-block;
    font-size: 1.2rem;
  }
  .nav-links li a:hover{
      font-weight: bold;
      transition: all 1s;
  }
  
  /* Hamburger styles */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }
  
  .hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* Animation to "X" */
  .hamburger.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Responsive styles */
  @media screen and (max-width: 768px) {
    .hamburger {
      display: flex;
    }
  
    .nav-links {
      position: absolute;
      opacity: 0;
      top: 70px;
      right: 0;
      background: #30332E;
      flex-direction: column;
      width: 100%;
      max-height: 0px;
      display: none;
      cursor:default;
      padding: 1rem 0;
      text-align: center;
      z-index: 100;
      transform: translateY(-30px);
      transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease;
    }
  
    .nav-links.active {
      opacity: 1;
      transform: translateY(0);
      max-height: 500px;
      display: flex;
      cursor:pointer;
    }
  
    .nav-links li {
      margin: 0.5rem 0;
    }
    .nav-links li a{
        color: white;
    }

  }

/* Hero section */
.home-wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
  }
  
  /* Left content (text + buttons) */
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 90%;
  }
  
  .hero-left h1 {
    line-height: 1.2;
    color: #333;
    font-weight: 100;
  }
  .hero-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    color: #333;
    font-family: ImpScript;
  }

  .hero-names .name:last-child {
    margin-top: -1.5rem;
  }
  .hero-names .amp {
    font-size: 6rem;
    color: #7D9883;
    margin: -1.5rem 0;
    display: block;
  }  
  .wedding-info {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    margin-top: -1rem;
    text-align: center;
    border-top: 1px solid rgb(180, 180, 180);
    padding-top: 1rem;
    max-width: 300px;
    white-space: nowrap;
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
  }
  
  .btn {
    display: inline-block;
    background-color: #7D9883;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-align: center;
  }
  .btn:last-child{
      background-color: transparent;
      color: black;
      border: 3px solid #7D9883;
  }
  .btn:hover {
    background-color: #576d53;
  }
  .btn:last-child:hover{
      background-color: rgb(223, 223, 223);
  }
  
  /* Right image */
  .hero-right {
    display: flex;
    justify-content: center;
    flex: 1;
    max-width: 90%;
  }
  
  .hero-right img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border: 10px solid #f3f3f3;
    object-fit: cover;
    margin:0px
  }
  
  /* Responsive tweak */
  @media screen and (max-width: 768px) {
    .hero-buttons {
      flex-direction: row;
      justify-content: center;
      flex-wrap: wrap;
    }
  
    .btn {
      flex: 1 1 45%;
    }
    .hero-names .name{
      font-size: 5rem;
    }
    .hero-names .amp{
      font-size: 4.7rem;
    }
    .name:last-child{
      margin-bottom: 2rem;
    }
  }
  /* How We Met */
  .how-we-met {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;    
  }
  .how-we-met h2{
      font-family: ImpScript;
      font-weight: 100;
      font-size: 5rem;
      text-align: center;
  }
  .how-we-met p{
      font-size: 1.2rem;
      text-align: center;
      margin-top: -3rem;
      padding-bottom: 2rem;
  }
  .the-proposal{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

  }
  .proposal-photo{
      height: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 1;
      width: 100%;
  }
  .proposal-photo img{
      width: 100%;
      max-width: 400px;
      border: 10px solid #f3f3f3;
      margin:0px;
  }

  .proposal-text{
    padding: 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: flex-start;
      text-align: right;
      flex: 1;
      width: 90%;
  }
  .proposal-text h2{
      text-align: right;
      padding-right: 2rem;
      font-family: ImpScript;
      font-weight: 100;
      font-size: 5rem;
  }
  .proposal-text p{
    font-size: 1.2rem;
    margin-top: -3rem;
  }
  @media screen and (max-width: 800px) {
    .hero, .how-we-met, .the-proposal {
      width: 90%;
      padding: 1.5rem;
      margin: 1.5rem auto;
    }
  
    .hero-content {
      flex-direction: column;
      align-items: center;
      gap: 2rem;
    }
  
    .hero-left, .hero-right {
      max-width: 100%;
      text-align: center;
    }
  
    .hero-right img {
      width: 100%;
      height: auto;
    }
  .the-proposal{
    flex-direction:column-reverse;
  }
    .proposal-text {
      text-align: center;
      align-items: center;
      padding: 1rem;
      padding-top: 0px;
    }
  
    .proposal-text h2 {
      padding-right: 0;
      text-align: center;
    }
  }
  
  /* Schedule styles */
  .schedule-container, .faq-container{
    max-width: 700px;
    height: 100%;
    margin: 2rem auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(255, 255, 255, 0.96);
    border: 10px solid #f3f3f3;

    width: 90%;
    padding-bottom: 5rem;
    border-radius: 30px;
  }
  .schedule-container h1{
    font-size: 3rem;
    letter-spacing: 2px;
    font-weight: 100;
    font-family: garamond;
    margin-top: 5rem;
    color: rgb(0, 0, 0);

  }
  .schedule-container sub{
    font-family: ImpScript;
    font-weight: 100;
    font-size: 5rem;
    margin-top: -3.5rem;
  }
  .timeline {
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
    margin-top: 4rem;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 2px;
    background-color: #999999;
    z-index: 0;
  }

  .timeline-event {
    position: relative;
    width: 50%;
    padding: 20px 30px;
    margin-bottom: 50px;
    box-sizing: border-box;
    animation: fade-in 0.7s ease-in-out forwards;
    opacity: 0;
  }
  .timeline-event::before {
    content: "";
    position: absolute;
    top: 30px;
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
    z-index: 1;
  }

  .timeline-event-left {
    left: 0;
    text-align: right;
  }

  .timeline-event-left::before {
    right: -6px;
  }

  .timeline-event-right {
    left: 50%;
    text-align: left;
  }

  .timeline-event-right::before {
    left: -6px;
  }
  .timeline-image{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    animation: fade-in 1s ease-in-out forwards;
    opacity: 0;

  }
  .timeline-image-right{
    margin-top: -180px;
    margin-left: 160px;
  }
  .timeline-image-left{
    margin-top: -150px;
    margin-left: -160px;
  }
  .timeline-image img{
    max-width: 100%;
    max-height: 100px;
    object-fit: cover;
  }
  .event-time {
    font-size: 1.8rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }

  .event-title {
    font-size: 1.2rem;
    color: #666; 
    font-style: italic;
}
.event-title a{
  color: #7D9883;
  font-size: 1rem;
  font-style: normal;
}

/* RSVP Form Styles */

.form-wrapper{
  width: 100%;
  height: auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsvp-form {
  background: #fff;
  border-radius: 30px;
  border: 10px solid #f3f3f3;
  padding: 2rem;
  max-width: 800px;
  width: 80%;
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
}

.rsvp-form h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 100;
  font-size: 4rem;
}

.rsvp-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  margin-left: 10%;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 80%;
  padding: 10px;
  margin-top: 5px;
  margin-left: 10%;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.rsvp-form textarea {
  resize: vertical;
}

.rsvp-form button {
  margin-top: 2rem;
  width: 70%;
  margin-left: 15%;
  padding: 12px;
  background-color: #7D9883;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 2rem 2rem;
  border-radius: 8px;
  text-align: center;
}

.rsvp-form button:hover {
  background-color: #576d53;
}

/* Gallery Styles */

.gallery-container {
  padding: 30px 20px;
  padding-top: 60px;
  max-width: 1200px;
  width: 90%;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 255, 255, 0.96);
  border: 10px solid #f3f3f3;
  border-radius: 30px;

}
.gallery-container h1{
  margin-top: -0.5rem;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Uniform height with cropped images */
.gallery-img {
  height: 400px;
  width: 300px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  flex: 1 1 250px;
  -webkit-tap-highlight-color: transparent;

}

.gallery-img:hover {
  transform: scale(1.03);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001;
  padding: 0 16px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

.lightbox-nav:hover {
  color: #ddd;
}

/*Wedding Party Styles*/

.wedding-party {
  max-width: 1200px;
  width: 90%;
  margin: 60px auto;
  padding: 50px 20px;
  text-align: center;
  font-family: 'Georgia', serif;
  background-color: rgb(255, 255, 255, 0.96);
  border: 10px solid #f3f3f3;
  border-radius: 30px;
}
.wedding-party h1{
  margin-top: -0.5rem;
}

.wedding-party h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.party-section {
  margin-bottom: 60px;
}

.party-section h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #666;
}

.party-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.party-member {
  width: 200px;
  text-align: center;
}

.party-member img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

.party-member h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #222;
}

.party-member p {
  margin: 5px 0 0;
  font-size: 0.95rem;
  color: #777;
}
.travel{
  width:90%;
  margin: 2rem auto;
  height:auto;
  display:flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.travel-container, .ttd-container, .travel-adrs{
  background-color: rgb(255, 255, 255, 0.96);
  border: 10px solid #f3f3f3;
  display: flex;
  border-radius: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80%;
  max-width: 500px;
  padding: 3rem;
  padding-bottom: 4rem;
  text-align: center;
  margin: 2rem auto;
  z-index: 10;
}
.travel-adrs{
  max-width: 90%;
}
.travel-adrs h2{
  margin:0px;
  padding: 0px;
  font-size: 1.5rem;
}
.travel-adrs h3{
  margin: 0px;
  padding: 0px;
  font-size: 1.2rem;
  font-weight: 100;
  font-style: italic;
}
.travel-adrs sub{
  margin-bottom: 30px;
  font-size: 1.2rem;
}
a{
  color: #7D9883;
  text-decoration: none;
}
.travel-adrs sub:last-child{
  margin-bottom: 0px;
}
.travel-container h1, .ttd-container h1{
  margin-top: 0px;
  border-bottom: 1px solid rgb(182, 182, 182);
  padding-bottom: 1rem;
}
.travel-container h3{
  margin-bottom:0px;
  font-size: 1.3rem;
}
.travel-container sub{
  margin-top: -1rem;
  font-size: 1.2rem;
}
/*
.travel-plant{
  position: absolute;
  left: -100px;
  width: 100%;
  height: 300px;
  opacity: 0.7;
  z-index: 1;
  object-fit: cover;
}
.travel-plant2{
  position: absolute;
  left: 100%;
  margin-left: -600px;
  opacity: 0.7;
  z-index: 1;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.travel-plant3{
  position: absolute;
  top: 600px;
  left: -100px;
  opacity: 0.7;
  z-index: 1;
  width: 100%;
  height: 300px;
  object-fit: cover;

}
@media screen and (max-width: 1325px) {
  .travel-plant2{
    top:600px;
  }  
  .travel-plant3{
    top:1200px;
  }
}
*/
.ttd-container ul{
  text-align: left;
  font-size: 1.2rem;
}
.indent{
  margin-left: 50px;
}
.faq{
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-container{
  padding: 30px;
  max-width: 500px;
}
.faq-container h2{
  font-family: garamond;
  font-size: 5rem;
  font-weight: 100;
  margin-top: 0rem;
}
.faq-container details{
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.bg-left{
  position: fixed;
  z-index: -5;
  width: 100%;
  height:400px;
  left:0px;
  top:0px;
  background-repeat: no-repeat;
  background-position: top center;
  background-image: url(plants/plant-left.png);
  background-size:cover;
}
.bg-right{
  position:fixed ;
  z-index: -5;
  width: 100%;
  height:400px;
  left:0px;
  bottom:0px;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-image: url(plants/plant-right.png);
  background-size:cover;
}
.hero, .how-we-met, .the-proposal{
  background-color: rgb(255, 255, 255, 0.96);
  border: 10px solid #f3f3f3;
  max-width: 1200px;
  width: 70%;
  margin: 2rem auto;
  padding: 50px 50px;
  border-radius: 30px;

}




  