@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Montserrat:wght@400;500;600&display=swap');


.wedding-hero {
    background: #f4f1ec;
    font-family: Georgia, 'Times New Roman', serif;
    color: #8a6425;
}

.hero-card {
    position: relative;
    display: grid;
    grid-template-columns: 45% 55%;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    background: #fbfaf7;
    box-shadow: 0 8px 35px rgba(80, 60, 40, 0.12);
}

.hero-left {
    position: relative;
    z-index: 2;
    padding: 95px 60px 60px;
    text-align: center;
}

.hero-left::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 500px;
    background: url("images/gold-leaves-left.png") center/contain no-repeat;
    opacity: .75;
    left: -25px;
    bottom: -38px;
}
.hero-photo::after {
    content: "";
    position: absolute;
    width: 270px;
    height: 450px;
    background: url(images/gold-leaves.png) center / contain no-repeat;
    opacity: .75;
    bottom: -109px;
    right: 0;
}

.hero-subtitle {
    margin-bottom: 55px;
    font-family: Arial, sans-serif;
    font-size: 17px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #383838;
}

.hero-decor {
    margin-bottom: 35px;
    font-size: 32px;
    color: #c89b4b;
}

.hero-title {
    margin: 0;
    font-size: clamp(56px, 6vw, 105px);
    line-height: .95;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #9a6c23;
    z-index: 5;
    position: relative;
}

.hero-title span {
    display: block;
    font-size: .75em;
    line-height: .7;
    color: rgba(154, 108, 35, .22);
    font-style: italic;
}

.hero-date {
    margin-top: 48px;
    font-size: 26px;
    letter-spacing: 4px;
    text-transform: uppercase;
    z-index: 5;
    position: relative;
}

.hero-line {
    width: 44px;
    height: 1px;
    margin: 16px auto 20px;
    background: #b78a43;
}

.hero-text {
    margin: 0;
    font-size: 23px;
    line-height: 1.8;
    font-style: italic;
    color: #6e6a65;
    z-index: 5;
    position: relative;
}

.hero-heart {
    margin-top: 28px;
    font-size: 38px;
    color: #b78a43;
}

.hero-photo {
    position: relative;
    overflow: hidden;
}

.hero-photo img {
    width: 110%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.hero-decor img {
    width: 50px;
}
header {
    background: rgba(255, 252, 247, .92);
    border-top: 1px solid rgba(185, 150, 90, .25);
    box-shadow: 0 -5px 25px rgba(80, 60, 40, .06);
    position: sticky;
    top: 0px;
    z-index: 999;
}
.wedding-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    min-height: 110px;
}

.menu-logo {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 2px solid #c4a56c;
    color: #9a6c23;
    font-size: 22px;
    line-height: .8;
    transform: rotate(30deg);
}

.menu-logo span {
    font-size: 18px;
}

.wedding-menu a {
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
}

.wedding-menu a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -26px;
    top: 50%;
    width: 1px;
    height: 26px;
    background: rgba(185, 150, 90, .45);
    transform: translateY(-50%);
}

@media (max-width: 900px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    .hero-photo {
        min-height: 420px;
    }

    .wedding-menu {
        flex-wrap: wrap;
        gap: 22px;
        padding: 25px;
    }
}

.story-section {
  position: relative;
  display: grid;
  grid-template-columns: 32% 68%;
  align-items: center;
  min-height: 420px;
  padding: 70px 7.5%;
  background: #faf8f3;
  overflow: hidden;
  box-sizing: border-box;
}

.story-content {
  position: relative;
  z-index: 2;
}

.story-content h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #9b7436;
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 280px;
  margin: 22px 0 34px;
}

.divider span {
  flex: 1;
  height: 1px;
  background: #d6b783;
}

.divider b,
.bottom-heart {
  color: #c49b5c;
  font-size: 32px;
}

.story-content p {
  margin: 0 0 34px;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.95;
  font-weight: 500;
  color: #333;
}

.story-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 245px;
  height: 58px;
  border: 2px solid #c5a16a;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 5px;
  color: #333;
  text-decoration: none;
  background: rgba(255,255,255,0.35);
}

.bottom-heart {
  margin-top: 32px;
  margin-left: 120px;
}

.story-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border: 2px solid #c9a66b;
  background: rgba(255,255,255,0.35);
  z-index: 2;
}

.story-gallery::before{
  content: "";
  position: absolute;
  left: -110px;
    bottom: -42px;
  width: 200px;
  height: 350px;
  background: url("images/gold-leaves-left.png") no-repeat center / contain;
  pointer-events: none;
  z-index: 3;
}
.story-gallery::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: 3px;
    rotate: -11deg;
    width: 200px;
    height: 350px;
    background: url(images/gold-leaves.png) no-repeat center / contain;
    pointer-events: none;
    z-index: 3;
}


.story-gallery img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .story-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 24px;
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-gallery img {
    height: 320px;
  }
}

.datetime-section {
  position: relative;
  padding: 28px 6% 65px;
  background: #fbfaf6;
  text-align: center;
  overflow: hidden;
}

.datetime-section::before,
.datetime-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 500px;
    background: url("images/gold-splashes.png") no-repeat center / contain;
    opacity: .9;
}

.datetime-section::before {
  left: 0;
}

.datetime-section::after {
  right: 0;
  transform: scaleX(-1);
}

.datetime-section h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #9b7436;
}

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px auto 35px;
}
.place-info .title-divider{
  justify-content: start;
}

.title-divider span {
  width: 130px;
  height: 1px;
  background: #d7bd8e;
}

.title-divider b {
  color: #c39a5b;
  font-size: 32px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: start;
  width: 80%;
  max-width: 1380px;
  margin: 0 auto;
  z-index: 2;
}

.timeline .line {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 1px;
  background: #d7bd8e;
  z-index: -1;
}

.timeline-item {
  text-align: center;
}

.icon-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border: 2px solid #d7bd8e;
  border-radius: 50%;
  background: #fbfaf6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #a97b32;
  box-sizing: border-box;
  background: #fffbf7;
}
.icon-circle img {
    width: 60%;
    height: auto;
}

.timeline-item strong {
  display: block;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #222;
}

.timeline-item p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 500;
  color: #333;
}

.dot {
  width: 12px;
  height: 12px;
  margin: 34px auto 0;
  border-radius: 50%;
  background: #b88a43;
}


.place-rsvp {
  position: relative;
  background: #fbfaf6;
  overflow: hidden;
  border-top: 1px solid #dfcfb4;
  border-bottom: 1px solid #dfcfb4;
}

.place-rsvp::before,
.place-rsvp::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 260px;
  height: 360px;
  background: url("images/gold-branch.png") no-repeat bottom center / contain;
  opacity: .75;
  pointer-events: none;
}

.place-rsvp::before {
  left: 0;
}

.place-rsvp::after {
  right: 0;
  bottom: -77px;
  background: url("images/gold-leaves.png") no-repeat bottom center / contain;
}

.place-row {
  position: relative;
  display: grid;
  grid-template-columns: 38% 28% 34%;
  gap: 48px;
  align-items: center;
  padding: 32px 8% 34px;
  border-bottom: 1px solid #dfcfb4;
  z-index: 2;
}

.place-photo {
  padding: 10px;
  border: 2px solid #c7a46c;
  background: #fff;
}

.place-photo img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.place-info h2,
.rsvp-box h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #9b7436;
}

.title-divider span {
  width: 80px;
  height: 1px;
  background: #d8c49d;
}

.title-divider b {
  color: #c39a5b;
  font-size: 32px;
}

.place-info h3 {
  margin: 0 0 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 23px;
    font-weight: 600;
    color: #9b7436;
}

.place-info p,
.rsvp-box p {
  margin: 0 0 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  color: #333;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 60px;
  padding: 0 28px;
  border: 2px solid #d4b98f;
  border-radius: 5px;
  background: rgba(255,255,255,.35);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #333;
  text-decoration: none;
}

.map-btn span {
  font-size: 28px;
  color: #a9792e;
  width: 25px;
  fill: #a9792e;
}

.map {
  height: 310px;
}
.map img {
    width: 100%;
    height: auto;
    opacity: 0.8;
}

.rsvp-box {
  position: relative;
  z-index: 2;
  padding: 42px 7% 48px;
  text-align: center;
}

.rsvp-box .title-divider {
  justify-content: center;
  margin-bottom: 22px;
}

.rsvp-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
  max-width: 850px;
  margin: 0 auto;
}

.rsvp-form input,
.rsvp-form select {
  height: 62px;
  padding: 0 24px;
  border: 2px solid #ddccb3;
  border-radius: 6px;
  background: rgba(255,255,255,.65);
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  color: #333;
}

.rsvp-form button {
  grid-column: 1 / -1;
  justify-self: center;
  width: 430px;
  height: 62px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(180deg, #bf8c36, #a97625);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  cursor: pointer;
}
.scroll-down {
    position: absolute;
    left: 44%;
    bottom: 20px;
    transform: translateX(-50%);
    width: 42px;
    height: 80px;
    cursor: pointer;
    z-index: 10;
}
.scroll-down svg {
    animation: scrollArrow 2.4s ease-in-out infinite;
    fill: #b78a43;
}

@keyframes scrollArrow {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    70% {
        transform: translateY(16px);
        opacity: 1;
    }

    100% {
        transform: translateY(24px);
        opacity: 0;
    }
}

@media (max-width: 900px) {
  a.scroll-down{display: none;}
  .hero-left {
    padding-left: 30px;
    padding-right: 30px;
  }
  .wedding-menu a:not(:last-child)::after{
    content: unset;
  }
  .wedding-menu a{
    letter-spacing: 0;
    font-size: 14px;
  }
  .story-content {
    text-align: center;
  }
  .story-content .divider {
    justify-content: center;
    margin: 22px auto;
  }
  .bottom-heart{
    margin-left: 0;
  }
  .timeline {
    display: flex;
    flex-wrap: wrap;
    flex-direction: unset;
    justify-content: center;
    gap: 34px;
  }
  .timeline-item {
    width: 100%;
  }

  .timeline .line,
  .dot {
    display: none;
  }
  .datetime-section::before, .datetime-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    background: url(images/gold-splashes.png) left center;
    opacity: .9;
    background-attachment: fixed;
    background-size: 45%;
    transform: unset;
  }

  .icon-circle {
    width: 100px;
    height: 100px;
  }
  .place-info{
    text-align: center;
  }
  .place-info h2 {
    text-align: center;
  }
  .place-info .title-divider {
    justify-content: center;
  }

  .place-row,
  .rsvp-form {
    grid-template-columns: 1fr;
  }

  .map-decor {
    display: none;
  }

  .rsvp-form button {
    width: 100%;
  }
}