/* ============================================================
   Sidney & Zack — Wedding Site
   Minimal reset + custom grid (no Bootstrap dependency)
   ============================================================ */

/* ---------- Custom Font ---------- */
@font-face {
  font-family: 'Citadel Script';
  src: url('../fonts/CitadelScriptStdRegular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- Font Scale ---------- */
:root {
  --fs-base: 1.725rem;    /* 18px — body text, paragraphs */
  --fs-sm: 1.2rem;           /* 16px — descriptions, secondary text */
  --fs-xs: 1.1rem;       /* 14px — addresses, fine print */
  --fs-label: 1.1rem;   /* 15px — small-caps labels, nav, titles */
  --fs-title: 1.8rem;   /* 22px — titles */
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: clamp(14px, 0.5rem + 0.75vw, 18px);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 900;;
  color: #2c2c2c;
  background-color: #f5f3f0;
  background-image: url('../img/linen_texture.png');
  background-repeat: repeat;
  background-size: 200px;
  line-height: 1.4;
  font-size: var(--fs-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Bet Hei ---------- */
.bet-hei {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #888;
  letter-spacing: 0.05em;
  user-select: none;
  z-index: 5;
  direction: rtl;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

.sc {
  font-variant: small-caps;
  letter-spacing: 0.15em;
  text-transform: lowercase;
}

.amp {
  font-style: italic;
  font-weight: 300;
}

.centered-text {
  text-align: center;
  font-size: var(--fs-sm);
  line-height: 1.8;
}

/* ---------- Script / Section titles ---------- */
.script {
  font-family: 'Citadel Script', cursive;
  font-weight: 900;;
}

.section-title {
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1.6rem;
  color: #383838;
}

.section-title.script {
  margin-bottom: 1.2rem;
}

/* ---------- Sections (shared) ---------- */
.section {
  padding: clamp(48px, 8vw, 80px) 0;
  display: none;
  position: relative;
}

.section.is-active {
  display: block;
}

/* Home uses flex layout when active */
.section--home.is-active {
  display: flex;
}

/* Hair & Makeup uses flex layout when active */
.section--hair-makeup.is-active {
  display: flex;
}

/* Registry uses flex layout when active */
.section--registry.is-active {
  display: flex;
}

/* ---------- Monogram placeholders ---------- */
.monogram-large,
.monogram-small,
.monogram-text {
  font-family: 'Citadel Script', cursive;
  color: #c8c4be;
  user-select: none;
}

.monogram-large {
  display: block;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

.monogram-small {
  font-size: 2rem;
  display: block;
  text-align: center;
  opacity: 0.35;
}

/* Corner monogram */
.monogram-corner {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 90;
  text-decoration: none;
}

.monogram-corner .monogram-text {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  opacity: 0.25;
  transition: opacity 0.3s;
}

.monogram-corner:hover .monogram-text {
  opacity: 0.5;
}

/* ---------- Hamburger ---------- */
.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
  width: 36px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #383838;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(13px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}

/* ---------- Side Nav ---------- */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100%;
  background: #f5f3f0;
  z-index: 99;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  padding: 80px 0 40px;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 20px rgba(0,0,0,0.06);
}

.side-nav.is-open {
  transform: translateX(0);
}

.side-nav__close {
  position: absolute;
  top: 20px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #555;
  line-height: 1;
}

.side-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav a {
  display: block;
  padding: 10px 32px;
  font-variant: small-caps;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  font-size: var(--fs-label);
  font-weight: 600;
  color: #383838;
  transition: background 0.2s;
}

.side-nav a:hover {
  background: rgba(0,0,0,0.04);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   01 HOME
   ============================================================ */
.section--home {
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 5vw, 40px) clamp(16px, 4vw, 24px);
  /* Multi-line inset border frame matching source */
  border: none;
  position: relative;
}

/* Outer border line */
.section--home::before {
  content: '';
  position: absolute;
  inset: clamp(8px, 2vw, 16px);
  border: 2px solid #c8c4be;
  border-radius: 4px;
  pointer-events: none;
}

/* Inner border line — double frame effect */
.section--home::after {
  content: '';
  position: absolute;
  inset: clamp(14px, 3vw, 24px);
  border: 1px solid #d4d0ca;
  border-radius: 2px;
  pointer-events: none;
}

.home__content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.home__monogram {
  margin-bottom: 2.5rem;
}

.home__title {
  font-family: 'Citadel Script', cursive;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;;
  color: #383838;
  letter-spacing: 0.02em;
}

/* ============================================================
   02 WHAT TO KNOW
   ============================================================ */



.ornate-frame {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 12% 5%;
  background: url('../img/frame_bkg.png') no-repeat center / 100% 100%;
  border: none;
  border-radius: 0;
  overflow: visible;
}

/* Smaller variant for event/hotel cards */
.ornate-frame--sm {
  max-width: 100%;
  padding: 18% 8%;
  background-image: url('../img/small_frame_bkg.png');
}

@media (max-width: 768px) {
  .section--what-to-know .ornate-frame {
    padding:60px;
  }
  .section--what-to-know .section-title {
    margin-top:100px;
  }
  .section--what-to-know .ornate-frame__footer-monogram {
    margin-top: 90px;
    margin-bottom: 60px;
  }
}

.ornate-frame__footer-monogram {
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.ornate-frame__footer-monogram img {
  height: 32px;
  width: auto;
  display: inline-block;
  opacity: 0.4;
}

.section--what-to-know .intro-text {
  text-align: center;
  font-style: normal;
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-label);
  font-weight: 900;;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  color: #2c2c2c;
}

.know-item {
  text-align: center;
  margin-bottom: 2.2rem;
}

.know-item__icon {
  margin-bottom: 0.5rem;
}

.know-item__icon img {
  height: 40px;
  width: auto;
  display: inline-block;
}

.icon-img {
  display: inline-block;
}

.icon-img--sm img {
  height: 40px;
  width: auto;
}

.icon-img--md img {
  height: 60px;
  width: auto;
}

.icon-img--lg img {
  height: 100px;
  width: auto;
}

.know-item__title {
  font-variant: small-caps;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  font-size: var(--fs-label);
  font-weight: 900;;
  margin-bottom: 0.5rem;
  color: #383838;
}

.know-item p {
  max-width: 480px;
  margin: 0 auto;
  font-variant: small-caps;
  text-transform: lowercase;
  /* letter-spacing: 0.06em; */
  font-size: var(--fs-label);
  line-height: 1.2;
  color: #000000;
  font-weight: 900;;
}

/* ============================================================
   03 WHAT TO DO
   ============================================================ */
.places-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 6vw, 48px);
  margin-top: 2rem;
}

.place {
  text-align: center;
  max-width: 600px;
}

/* Place image — frame shape is baked into the PNGs */
.place__image-wrap {
  max-width: 280px;
  margin: 0 auto 1.4rem;
}

.place__image-wrap img {
  width: 100%;
  height: auto;
}

.place__name {
  font-variant: small-caps;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: lowercase;
  font-size: var(--fs-title);
  font-weight: 900;;
  margin-bottom: 0.6rem;
  color: #383838;
}

.place__desc {
    /* font-size: var(--fs-xs); */
    font-size: 20px !important;
    line-height: 1.1;
    color: #181818;
    max-width: 520px;
    margin: 0 auto;
    font-variant: small-caps;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    font-weight: bold;
    /*background: rgb(255 255 255 / 50%);*/
    padding: 10px;
}

@media (max-width: 400px) {
  .place__image-wrap {
    max-width: 220px;
  }
}

/* ============================================================
   04 TOURS
   ============================================================ */
.section--tours .ornate-frame {
  text-align: center;
}

.tours__icon {
  margin-bottom: 0.8rem;
}

.tour-item {
  margin-bottom: 2rem;
}

.tour-item__title {
  font-variant: small-caps;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  font-size: var(--fs-label);
  font-weight: 900;;
  margin-bottom: 0.4rem;
  color: #383838;
}

.tour-item p {
  font-style: italic;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: #2c2c2c;
  max-width: 460px;
  margin: 0 auto;
}

.tours__note {
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
  color: #383838;
  font-weight: 600;
}

.tours__note em {
  text-transform: none;
  font-variant: normal;
  letter-spacing: 0.04em;
  font-size: var(--fs-label);
  font-weight: 900;;
}

/* Monogram below the tours frame */
.section--tours .ornate-frame__footer-monogram {
  margin-top: 0;
}

.section--tours .tours-monogram-below {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================================
   05 HAIR & MAKEUP
   ============================================================ */
.section--hair-makeup {
  text-align: center;
  min-height: 60vh;
  align-items: center;
  justify-content: center;
}

.section--hair-makeup .centered-text {
  font-size: var(--fs-label);
  max-width: 500px;
  margin: 0 auto;
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  line-height: 1.6;
  color: #383838;
}

.hair-icon {
  margin-top: 1.5rem;
  text-align: center;
}

/* ============================================================
   06 EVENTS
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
}

.event-card {
  text-align: center;
  padding: 40px;
}

.event-card__title {
  font-family: 'Citadel Script', cursive;
  font-size: clamp(1.8rem, 3vw, 2rem);
  font-weight: 900;;
  margin-bottom: 0.8rem;
  color: #383838;
}

.event-card__date {
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: var(--fs-xs);
  font-weight: 900;;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
  color: #383838;
}

.event-card__time {
  font-size: var(--fs-sm);
  font-weight: 900;;
  margin-bottom: 0.6rem;
  color: #383838;
}

.event-card__venue {
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: var(--fs-xs);
  font-weight: 900;;
  letter-spacing: 0.16em;
  margin-bottom: 0.8rem;
  color: #383838;
}

.event-card__invite {
  font-size: var(--fs-sm);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0.2rem;
  color: #383838;
}

.event-card__attire {
  font-size: var(--fs-label);
  font-style: italic;
  color: #181818;
}

.event-card__icon {
  margin-top: 1rem;
}

.event-card__icon img {
  height: 50px;
  width: auto;
  display: inline-block;
}

.hair-icon img {
  height: 80px;
  width: auto;
  display: inline-block;
}

.tours__icon img {
  height: 100px;
  width: auto;
  display: inline-block;
}

/* ============================================================
   07 REGISTRY
   ============================================================ */
.section--registry {
  text-align: center;
  min-height: 50vh;
  align-items: center;
  justify-content: center;
}

.section--registry .container {
  width: 100%;
}

.section--registry .centered-text {
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.16em;
  font-size: var(--fs-label);
  font-weight: 600;
  color: #383838;
}

/* ============================================================
   08 RSVP
   ============================================================ */
.section--rsvp {
  text-align: center;
  min-height: 50vh;
  padding-top: clamp(64px, 10vw, 120px);
}

.btn {
  display: inline-block;
  min-width: 180px;
  padding: 0.8em 2.5em;
  background: #7a7672;
  color: #fff;
  font-family: 'Citadel Script', cursive;
  font-size: var(--fs-base);
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: background 0.25s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: #5e5b58;
}

/* ---------- RSVP Form ---------- */
.rsvp-form {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}
.rsvp-form__field {
  margin-bottom: 1.2rem;
}

.rsvp-form__label {
  display: block;
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #383838;
  margin-bottom: 0.35rem;
}

.rsvp-form__input {
  width: 100%;
  padding: 0.6em 0.8em;
  border: 1px solid #ccc8c3;
  border-radius: 5px;
  background: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #383838;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.rsvp-form__input:focus {
  outline: none;
  border-color: #7a7672;
}

.rsvp-form__input--invalid {
  border-color: #a94442;
}

.rsvp-form__error {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #a94442;
  min-height: 0;
}

.rsvp-form__checkboxes {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.3rem;
}

.rsvp-form__check-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.rsvp-form__check-label input[type="checkbox"] {
  accent-color: #7a7672;
}

.rsvp-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

.rsvp-form__status {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.1em;
  min-height: 1.4em;
}

.rsvp-form__status--success {
  color: #4a7c59;
}

.rsvp-form__status--error {
  color: #a94442;
}

/* ============================================================
   09 WHERE TO STAY
   ============================================================ */
.section--where-to-stay .container {
  max-width: 1100px;
}

.section--where-to-stay .centered-text {
  margin-bottom: 2.5rem;
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-label);
  font-weight: 900;
  color: #383838;
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: 3rem;
  align-items: stretch;
}

.hotel-card {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.hotel-card__name {
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: var(--fs-xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: #383838;
}

.hotel-card__address {
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: #555;
  line-height: 1.3;
}

.hotel-card__link {
  font-family: 'Citadel Script', cursive;
  font-size: var(--fs-sm);
  color: #555;
  transition: color 0.2s;
  margin-top: auto;
}

.hotel-card__link:hover {
  color: #383838;
}

.map-wrap {
  max-width: 100%;
}

.map-wrap img {
  width: 100%;
  height: auto;
}

@media (max-width: 800px) {
  .hotels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hotels-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-inline: auto;
  }
}


/* ============================================================
   Print
   ============================================================ */
@media print {
  .hamburger, .side-nav, .nav-overlay, .monogram-corner { display: none; }
  .section { padding: 24px 0; break-inside: avoid; }
}