Version: 1.3


/* -----------------------------------
   Fonts
   Version: 1.2
----------------------------------- */

.font-one {
  font-family: 'EB Garamond', serif;
}

.font-two {
  font-family: 'Dancing Script', cursive;
}

/* -----------------------------------
   Layout Utilities
----------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-wrap {
  padding: 3rem 0;
}

html {
  scroll-behavior: smooth;
  
}

.top-gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 242, 227, 1), rgba(255, 242, 227, 0));
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.fade-top {
  top: 0;
  background: linear-gradient(to bottom, #FFF2E3, transparent);
}

/* -----------------------------------
   Base Styles
----------------------------------- */

body {
  margin: 0;
  color: #852323;
  background: #FFF2E3 url("../images/leaves.png") repeat;
  background-size: 96px 48px;
  background-position: 0 100px;
  font-family: 'EB Garamond', serif;
  font-size: 1.125rem; /* Base size for desktop (18px) */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem; /* Smaller font on mobile (15.2px) */
  }

  section {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* -----------------------------------
   Header
----------------------------------- */
/* Base header layout */
header {
  position: relative;
  width: 100%;
  height: 700px;
  background: url("../images/header.png") left center / cover no-repeat;
  margin: 0;
  padding: 0;
}

.header-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(10%, -50%);
  color: #FFF2E3;
  text-align: center;
  white-space: nowrap;
}

/* Typography */
.font-one {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);  /* reduced size range */
  letter-spacing: clamp(0.2rem, 1vw, 0.5rem); /* tightened spacing */
  text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.15);
}

.font-two {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(3rem, 7vw, 6rem);
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.15);
}

/* --- Mobile Adjustments --- */
@media (max-width: 1190px) {
  header {
    background-position: 20% center;
    height: 500px;
  }

  .header-title {
    top: auto;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    padding: 0 1rem;
    color: #4A1F1F;
  }

  .font-one {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .font-two {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }
}

/* -----------------------------------
   Navigation
----------------------------------- */
/* Navigation Section */
.nav-section {
  z-index: 1000;
  background: linear-gradient(to bottom, #a23535, #852323);
  padding: 1rem 0;
  width: 100%;
  margin: 3rem 0;
  border: 1px solid #4A1F1F;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Desktop Navigation */
.nav-row {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin: 0;
  padding: 0 1rem;
  flex-wrap: wrap;
}

/* Navigation Item */
.nav-box {
  position: relative;
  color: #FFF2E3;
  text-decoration: none;
  font-size: 1.5rem;
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  padding: 0.4rem 0;
  letter-spacing: 0.05em;
  transition: 
    color 0.3s ease, 
    transform 0.3s ease; /* Added transform to the transition list */
}

.nav-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 0%;
  background-color: #FFF2E3;
  transition: width 0.3s ease;
}

.nav-box:hover {
  color: #f9e8dc;
  transform: scale(1.05); /* Smooth "bold" effect */
}

.nav-box:hover::after {
  width: 100%;
}

/* --- Mobile Adjustments --- */
@media (max-width: 884px) {
  .nav-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem;
  }

  .nav-box {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    width: 100%;
    text-align: center;
  }

  .nav-section {
    margin: 2rem 0;
    padding: 0.5rem 0;
    border-radius: 8px;
  }
}

/* -----------------------------------
   Divider
----------------------------------- */
hr.divider-2,
hr.divider-alt {
  border: none;
  height: 256px;
  width: 35%;
  max-width: 1200px;
  margin: 1rem auto; /* Default spacing */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, scale 0.3s ease;
}

hr.divider-2 {
  background-image: url('../images/divider.svg');
}

hr.divider-alt {
  background-image: url('../images/divider-alt.svg');
}

hr.divider-2:hover,
hr.divider-alt:hover {
  scale: 1.05;
  cursor: default;
}

hr.animate {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile Optimized --- */
@media (max-width: 884px) {
  hr.divider-2,
  hr.divider-alt {
    height: 200px;
    width: 90%;
    background-size: contain;
    margin: -3rem auto; /* Reduced vertical spacing */
  }

  /* Optional: adjust padding on sections above/below */
  section {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* -----------------------------------
   Image Section
----------------------------------- */
.image-section {
  padding: 0;
  width: 100%;
}

.image-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: clamp(1rem, 5vw, 7.25rem); /* Responsive gap: shrinks on narrow screens */
  width: 100%;
}

.image-row img {
  flex: 1 1 0;
  min-width: 0; /* prevents overflow */
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* --- Mobile (stacked images) --- */
@media (max-width: 884px) {
  .image-section {
    padding: 0 0rem;
  }

  .image-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .image-row img {
    max-height: none;
  }
}
/* -----------------------------------
   Info Section
----------------------------------- */
.info-section {
  font-family: 'EB Garamond', serif;
  font-weight: 400 !important;
  font-size: 1.25rem;
  color: #4a1f1f;
  background-color: #fff8f0;
  border: 1px solid #DADCE0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 2rem 1.5rem;  /* Use original padding */
  margin-top: 2rem;  /* Use original margin top */
  margin-bottom: 2rem; /* Use original margin bottom */
  line-height: 1.6;
}

.info-section .content-container {
  max-width: 1200px;  /* Keeps the text container's width in line with the rest of the page */
  margin: 0 auto;     /* Centers the content */
  padding: 0 1.5rem;  /* Match the padding in the .info-section */
}

.info-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #852323;
  text-align: left;
}

.section-question {
  display: block;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 1.5rem 0;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
}

.section-heading {
	font-weight: 700;
}

/* -----------------------------------
   Menu Section
----------------------------------- */
.menu-section {
  padding: 2rem 1rem;
  background:
    url("../images/leaves-l.png") top 30px left 30px no-repeat,
    url("../images/leaves-r.png") top 30px right 30px no-repeat,
    #fff8f0;
  background-size: 300px, 300px, auto;
  border: 1px solid #DADCE0;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .menu-section {
    /* shrink each corner graphic */
    background-size: 140px, 140px, auto;

    /* nudge them farther into the corners so they don’t intrude */
    background-position:
      top 10px left 10px,
      top 10px right 10px,
      center;
    /* optional: tighten the padding so text doesn’t feel cramped */
    padding: 1.5rem 0.75rem;
  }
}

.menu-items {
  text-align: center;
  margin-top: 2rem;
}

.menu-heading {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  margin: 1rem 0;
  padding-bottom: 0.4em;
  color: #4a1f1f;
  
}

.menu-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #852323;
}

.menu-meal {
  font-family: 'EB Garamond', serif;
  font-size: 1.25rem;
  margin: 0.75rem 0;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.menu-tag {
  display: inline-block;
  background-color: #852323;
  color: #FFF2E3;
  border-radius: 0.25em;
  font-size: 0.6em;
  font-weight: 700;
  padding: 0.1em 0.35em;
  margin-left: 0.4em;
  text-transform: uppercase;
  vertical-align: baseline;
  line-height: 1;
  position: relative;
  top: -0.25em;
}

.menu-section-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.25rem;
  margin-top: 2rem;
}

/* -----------------------------------
   Dessert Layout
----------------------------------- */
.dessert-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.dessert-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5rem;
  max-width: 700px;
}

.dessert-item {
  max-width: 240px;
  padding: 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.dessert-item .menu-meal {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.dessert-flavors {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .dessert-row {
    gap: 1.25rem; /* or 1rem if you want them very close */
    padding: 0 1rem;
  }

  .dessert-item {
    padding: 0.5rem 0.5rem;
  }
}

  .menu-section {
    padding: 1.5rem 1rem; /* tighter padding on mobile */
    margin-top: 1.5rem;
  }

  .menu-section-text,
  .menu-items {
    margin-top: 1.5rem;
  }
}

/* -----------------------------------
   RSVP Form
----------------------------------- */
/* Base styling */
.form-container {
  width: 100%;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
  line-height: 1.6;
}

.form-container iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  height: 100vh; /* You can tweak this height depending on form length */
  border: none;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .form-container {
    padding: 1rem;
    margin: 1.5rem auto;
    line-height: 1.5;
  }

  .form-container iframe {
    height: 90vh; /* Optional: taller iframe on mobile to reduce scrolling */
  }
}

/* -----------------------------------
   Registry
----------------------------------- */

a {
  color: #852323;               /* Use your wedding site's burgundy */
  text-decoration: underline;  /* Optional: keep or remove underline */
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #4A1F1F;               /* Slightly lighter tone on hover */
}


/* -----------------------------------
   Footer
----------------------------------- */
footer {
  position: relative;
  width: 100%;
  height: 768px;
  background: url("../images/Footer.png") center / cover no-repeat;
}

/* Disable WordPress block library fade-in animation */
[class*="fade-in-animation"],
[class*="fade-in-animation"]::before,
[class*="fade-in-animation"]::after {
  animation: none !important;
  transition: none !important;
}