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

:root{
  --max: 980px;
  --border: rgba(0,0,0,.10);
  --text: rgba(0,0,0,.88);
  --muted: rgba(0,0,0,.58);
  --bg: #fff;
  --soft: rgba(0,0,0,.03);
}

*{ box-sizing: border-box; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

/* Clean inline links (e.g. Google Maps) */
a.clean-link{
  color: #4F6D6A;              /* same teal as buttons */
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 109, 106, 0.4);
  padding-bottom: 1px;
}

a.clean-link:hover{
  color: #3f5b58;
  border-bottom-color: rgba(79, 109, 106, 0.7);
}

.container{ max-width: var(--max); margin: 0 auto; padding: 0 18px; }

.topbar{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  letter-spacing: .4px;
}

.nav{ display:flex; gap: 14px; flex-wrap: wrap; justify-content:flex-end; }
.navlink{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 999px;
}
.navlink.active{ color: var(--text); background: var(--soft); }

.hero{ padding: 18px 0 34px; }
.hero-image{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-image img{ width: 100%; height: auto; display:block; }

.hero-text{ text-align:center; padding-top: 18px; }
.names{
  margin: 12px 0 8px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
}
.names .and{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta{ margin: 10px 0 18px; color: var(--muted); }
.meta .date{ font-weight: 600; color: var(--text); }
.meta .location{ margin-top: 4px; }

.countdown{
  display:flex;
  justify-content:center;
  gap: 14px;
  margin: 16px 0 18px;
  flex-wrap: wrap;
}
.cd-item{
  min-width: 92px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
}
.cd-num{ font-size: 22px; font-weight: 700; }
.cd-label{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.btn{
  display:inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration:none;
  color: var(--text);
  background: #fff;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
}
.btn:hover{ background: var(--soft); }

.page-title{
  margin: 22px 0 10px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  font-size: 44px;
  font-weight: 500;
}

.page-header-image{
  margin: 10px 0 18px;
  border-radius: 16px;
  max-height: 416px;
  overflow: hidden;
  border: 0px solid var(--border);
}
.page-header-image img{
  width: 100%;
  height: auto;
  max-height: 416px;
  object-fit: contain; /* keeps original ratio */
  display: block;
}

.card{
  border: 0px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  margin-bottom: 28px;
}
.section-date{ margin: 0 0 14px; font-size: 18px; }
.event h3{ margin: 0 0 10px; font-size: 18px; }
.event-row{ display:flex; gap: 12px; margin: 6px 0; }
.event-row .label{ width: 80px; color: var(--muted); }
.event-actions{ margin-top: 10px; }
.link{ color: var(--text); text-decoration: underline; }

hr{ border:0; border-top: 1px solid var(--border); margin: 16px 0; }

.muted{ color: var(--muted); }

.footer{
  border-top: 1px solid var(--border);
  padding: 26px 0;
  margin-top: 24px;
}
.footer-inner{ text-align:center; color: var(--muted); }

/* Language selector */
.lang{
  display:flex;
  gap: 8px;
  align-items:center;
  flex: 0 0 auto;
}
.langlink{
  font-size: 12px;
  text-decoration:none;
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.langlink.active{
  color: var(--text);
  background: var(--soft);
  border-color: var(--border);
}

/* Optional: simple grid styles if you use them later */
.grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
@media (max-width: 720px){
  .grid{ grid-template-columns: 1fr; }
}
.person{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--border);
  flex: 0 0 auto;
}
.person-name{ font-weight: 700; }
.person-role{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
}
.bullets li{ margin: 6px 0; }

/* Homepage wreath layout */
.hero-wreath{
  position: relative;
  padding-top: 28px;
  padding-bottom: 24px;
}

.wreath-content{
  max-width: 520px;
  margin: 0 auto;
}

.initials{
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .02em;
  margin: 0;
}

.initials.big{
  font-size: clamp(58px, 7.5vw, 92px);
  margin-top: 18px;
}

.and-word{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  margin: 18px 0 0;
}

.hero-wreath .meta{
  margin-top: 70px; /* big vertical spacing like the screenshot */
}

.hero-wreath .meta .date{
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
}

.hero-wreath .meta .location{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  margin-top: 10px;
  color: var(--text);
}

/* Leaf images */
.leaf{
  position: absolute;
  top: 20px;
  width: min(220px, 22vw);
  height: auto;
  opacity: 0.95;
  pointer-events: none;
  user-select: none;
}

.leaf-left{
  left: 0;
  transform: translateX(-25%);
}

.leaf-right{
  right: 0;
  transform: translateX(25%);
}

/* Mobile: keep leaves from crushing the content */
@media (max-width: 720px){
  .leaf{
    width: 140px;
    top: 10px;
    opacity: 0.55;
  }
  .leaf-left{ transform: translateX(-35%); }
  .leaf-right{ transform: translateX(35%); }
  .hero-wreath .meta{ margin-top: 46px; }
}

/* Colorful RSVP button */
.btn-rsvp{
  display: inline-block;
  margin-top: 18px;
  padding: 14px 22px;
  min-width: 320px;
  text-align: center;

  background: #4F6D6A;        /* teal/green like the screenshot */
  border: 1px solid #4F6D6A;
  color: #fff;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
}

.btn-rsvp:hover{
  filter: brightness(0.95);
}

.footer-inner{
  text-align:center;
  color: rgba(0,0,0,.45);
  font-size: 12px;
}

.section-icon{
  display: block;
  margin: 0 auto 24px;
  width: 64px;
  height: 64px;
  color: #000; /* default icon color */
}

.section-with-icon{
  text-align: center;
}

.section-icon{
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: block;
  color: #000;
}
/* Generic style info block */
.info-block{
  text-align: center;
  margin: 10px 0 40px;
}

.info-block .block-title{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--text);
}

/* Big headline (hotel name, shuttle route, etc.) */
.info-block .block-headline{
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 8px 0 18px;
}

/* Secondary line (date/time) */
.info-block .block-subheadline{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 24px;
  margin: 0 0 26px;
  color: var(--text);
}

/* Address / italic detail */
.info-block .block-meta{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 26px;
  color: var(--text);
}

/* Normal paragraph text */
.info-block .block-text{
  font-family: inherit;        /* ← this is the key */
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 26px;
  color: var(--muted);
}

/* Code / emphasis line */
.info-block .block-emphasis{
  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-size: 26px;
  line-height: 1.8;
  margin: 0 0 26px;
  color: var(--text);
}

/* Primary action button */
.info-block .btn-primary{
  display: inline-block;
  margin-top: 8px;
  padding: 18px 26px;
  min-width: 420px;
  max-width: 100%;
  text-align: center;

  background: #4F6D6A;
  border: 1px solid #4F6D6A;
  color: #fff;

  font-family: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 26px;
  text-decoration: none;
  border-radius: 6px;
}

.info-block .btn-primary:hover{
  filter: brightness(0.95);
}

/* Icon alignment (shared) */
.info-block .section-icon{
  display: block;
  margin: 0 auto 24px;
  width: 64px;
  height: 64px;
  color: #000;
}

/* Divider */
hr{
  border: 0;
  border-top: 1px solid rgba(0,0,0,.12);
  margin: 48px auto;
  max-width: 820px;
}

/* Make cards invisible */
.card{
  border: none;
  background: transparent;
  padding: 24px 0;
}

/* Page wrapper that wants centered content */
.schedule-page{
  text-align: center;
}

/* Big uppercase date line */
.page-date{
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 6px 0 28px;
}

/* Decorative divider (hearts / ornaments) */
.decorative-divider{
  display: flex;
  justify-content: center;
  margin: 18px 0 22px;
  color: #000;
}

/* Event typographic roles (reusable) */
.event-title{
  font-size: 34px;       /* Ceremony / Reception */
  margin-bottom: 10px;
}

.event-time{
  font-family: inherit;
  font-size: 22px;       /* 1:30 pm */
  margin: 0 0 18px;
  color: var(--text);
}

.event-venue{
  font-family: inherit;
  font-size: 24px;       /* venue name */
  margin: 0 0 6px;
  color: var(--text);
}

.event-address{
  margin: 0 0 22px;
}

.event-address-link{
  font-family: inherit;
  font-size: 22px;
  font-style: italic;
  color: #000;
  text-decoration: underline;
}

/* Button layout row (reusable) */
.event-actions{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Generic wide button sizing (works with .btn-primary) */
.btn-wide{
  min-width: 260px;
}

/* If you want the blocks to feel less “boxed” like Zola */
.card{
  border: none;
  background: transparent;
  padding: 24px 0;
}

/* Divider width used across pages */
hr{
  border: 0;
  border-top: 1px solid rgba(0,0,0,.12);
  margin: 48px auto;
  max-width: 820px;
}

.site-logo{
  display: flex;
  align-items: center;
  margin-right: 24px;
}

.site-logo-img{
  height: 48px;      /* adjust if needed */
  width: auto;
  display: block;
}

.site-logo{
  display: flex;
  align-items: center;
  margin-right: 24px;
}

.site-logo-img{
  height: 48px;      /* adjust if needed */
  width: auto;
  display: block;
}

/* =========================
   RSVP Form
   ========================= */

.rsvp-form{
  max-width: 760px;
  margin: 0 auto;
}

/* Labels */
.rsvp-form .form-label{
  display: block;
  margin: 18px auto 6px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text);
  text-align: left;
}

/* Inputs, selects, textarea */
.rsvp-form .form-input{
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 10px;
  padding: 14px 16px;

  font-family: inherit;
  font-size: 16px;

  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 8px;
  background: #fff;

  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rsvp-form .form-input:focus{
  outline: none;
  border-color: #4F6D6A;
  box-shadow: 0 0 0 2px rgba(79,109,106,0.15);
}

/* Textareas */
.rsvp-form textarea.form-input{
  resize: vertical;
  min-height: 90px;
}

/* Guest name groups */
.names-group,
#names-adults-8plus,
#names-kids-3-7,
#names-kids-u3{
  margin: 12px auto 20px;
}

/* Name rows spacing */
.name-row{
  margin-bottom: 12px;
}

/* Section separation */
.rsvp-form .info-block{
  margin: 24px 0 36px;
}

/* Submit button alignment */
.rsvp-form .btn-primary{
  display: block;
  margin: 32px auto 0;
}

/* Dropdown spacing consistency */
.rsvp-form select.form-input{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.5) 50%),
    linear-gradient(135deg, rgba(0,0,0,0.5) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% + 2px),
    calc(100% - 16px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Mobile tweaks */
@media (max-width: 640px){
  .rsvp-form{
    padding: 0 8px;
  }
}

/* Two-column row (First / Last name) */
.form-row{
  display: flex;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.form-col{
  flex: 1;
}

/* Stack on mobile */
@media (max-width: 640px){
  .form-row{
    flex-direction: column;
  }
}

.rsvp-form .block-title + .form-label{
  margin-top: 8px;
}

/* Childcare rows: Child X | Name | Age | Care */
.child-row{
  display: grid;
  grid-template-columns: 110px 1fr 120px 160px;
  gap: 12px;
  align-items: center;
  max-width: 760px;
  margin: 12px auto;
}

.child-tag{
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text);
}

.child-row .form-input{
  margin: 0;           /* override form spacing for inline rows */
}

@media (max-width: 640px){
  .child-row{
    grid-template-columns: 1fr;
  }
  .child-tag{
    margin-bottom: 4px;
  }
}

button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Header layout */
.site-header{
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
}

.nav-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand{ display:flex; align-items:center; }
.brand-logo{ height: 32px; width:auto; display:block; }

/* Desktop nav */
.site-nav{
  display: flex;
  align-items: center;
  gap: 22px;
}

.navlink{
  text-decoration: none;
  color: #111;
  font-family: "Libre Baskerville", serif;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.navlink.active{ text-decoration: underline; text-underline-offset: 6px; }

/* Burger button (hidden on desktop) */
.nav-toggle{
  display: none;              /* desktop hidden */
  width: 42px;
  height: 42px;
  border: 1px solid var(--border, #e6e6e6);
  border-radius: 999px;
  background: #fff;

  /* THIS is the fix */
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  padding: 0;
}

.nav-toggle span{
  display:block;
  width: 18px;
  height: 2px;
  background: #111;
}

/* Mobile */
@media (max-width: 900px){
  .nav-toggle{ display: inline-flex; }

  /* Hide nav by default */
  .site-nav{
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;                 /* adjust if your header height differs */
    background: #fff;
    border-top: 1px solid var(--border, #e6e6e6);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 16px 16px 18px;
  }

  .site-nav.is-open{ display: flex; }

  .navlink{ font-size: 14px; }

  .lang{
    margin-top: 6px;
  }
}