@font-face {
  font-family: 'Priestacy';
  src: url('/fonts/Palisade.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;1,400&display=swap');

h2,
h1,
.section-title {
  font-family: 'Priestacy';
  font-size: 4rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

h3 {
  margin-bottom: 0.5em;
  font-size: 3rem;
  font-family: 'Priestacy';
}

p {
  font-family: 'Merriweather', serif;
  font-style: italic;
  line-height: 1.6;
  margin-top: 0.2em;
  font-size: 1.5rem;
}

header {
  height: 3rem;
  /* fixed height */
  line-height: 80px;
  /* vertically center text if single-line */
  padding: 0 40px;
  /* horizontal padding only */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  /* keeps it at the top */
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  /* optional transparent background */
  backdrop-filter: blur(5px);
  /* optional glass effect */
  overflow: hidden;
  /* crops anything that exceeds header */
}




body {
  font-family: 'Merriweather', serif;
  font-style: italic;
  background: #d7c5b3;
  color: #333;
  margin: 0;
  padding: 0;
  font-size: 2rem;
  height: 100%;
}

header {
  background: rgba(255, 253, 250, 0.85);
  position: sticky;
  top: 0;
  z-index: 1000;
  /* keeps it above other elements */
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(5px);
  /* optional, soft blur effect behind */
}

header,
footer {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

main {
  margin: 0px auto;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  width: 50%;
  min-width: 30%;
}

.rsvp-form label {
  display: block;
  margin-top: 15px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  box-sizing: border-box;
}

.rsvp-buttons {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 1em;
}

button {
  margin-top: 20px;
  padding: 10px 15px;
  background: #000000;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

html {
  scroll-behavior: smooth;
  background-color: #fbf6f2;
}

section {
  padding: 0px 0px;
  max-width: 800px;
  margin: auto;
  scroll-margin-top: 100px;
}

main>section:first-child {
  margin-top: 0;
}

.section-block {
  padding-top: 0.1rem;
  padding-bottom: 0.3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 60px auto;
  /* creates visual spacing between sections */
  max-width: 900px;
  border-radius: 10px;
  background: #fff8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}


.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.section-image-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.section-image {
  max-width: 100%;
  height: auto;
  border-radius: 1em;
  object-fit: cover;
}

.section-text-centered {
  text-align: center;
}

.section-text-centered p {
  width: 100%;
}

#rsvp-forms {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-in;
  opacity: 0;
}

#rsvp-forms.expanded {
  max-height: 2000px;
  /* or a safe large value */
  opacity: 1;
}

.guest-form input,
.guest-form select,
.guest-form textarea {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guest-form input:focus,
.guest-form select:focus,
.guest-form textarea:focus {
  outline: none;
  border-color: #b79b8c;
  box-shadow: 0 0 0 2px rgba(183, 155, 140, 0.25);
}

.fade-bottom {
  -webkit-mask-image: linear-gradient(to bottom,
      black 80%,
      transparent 100%);
  mask-image: linear-gradient(to bottom,
      black 80%,
      transparent 100%);
}

.access-box {
  display: flex;
  height: 100%;
  align-items: center;
}

.section-block {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-block.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive menu */
@media (max-width: 1000px) {
  .header {
    max-height: 200px;
  }

  main {
    width: 90%;
  }

  h2{
    margin-bottom: 2rem;
  }
}

.site-header {
  position: sticky;
  top: 0;
  height: 60px;
  background: rgba(255,253,250,0.85);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  z-index: 1000;
}

/* Burger button */
.burger {
  font-size: 3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
}

/* Drawer */
.drawer {
  position: fixed;
  top: 80px;
  right: 0;
  width: 220px;
  height: 100vh;
  background: rgba(255,253,250,0.97);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 999;
}

.drawer a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
}

/* Open state */
.drawer.open {
  transform: translateX(0);
}

.bridal-party-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding-top: 1rem;
}

#venue-text {
  flex: 3;
  text-align: left;
}

#venue-img {
  flex: 2;
}

#venue-text-2 {
  flex: 3;
  text-align: left;
}

#venue-img-2 {
  flex: 2;
}

.section-image-wrapper > * {
  min-width: 0;
}

#activity-link {
  text-decoration: none;
  background-color: #DFD2C2;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-radius: 0.2em;
}

.guest-btn {
  font-size: 1em;
}

#schedule {
  padding-top: 1em;
}

table {
  width: 100%;
}

th {
  text-align: left;
}