* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: none;
}

body {
  overflow: hidden;
  background: #c9dcce;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
body.loaded {
  display: block;
  overflow-y: scroll;
  height: auto;
  background-image: linear-gradient(to bottom, rgb(164, 198, 174) 0%, rgb(164, 198, 174) 50%, rgba(164, 198, 174, 0.8) 80%, rgba(164, 198, 174, 0.6) 90%), url("images/bg.jpg");
  background-repeat: repeat;
  background-attachment: fixed;
  background-color: rgb(164, 198, 174);
}

h2 {
  color: #344C3D;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: 2.4rem;
}

h3 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  color: #344C3D;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
}

.access-denied {
  text-align: center;
  padding: 40px;
}
.access-denied__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.access-denied h2 {
  font-size: 2rem;
  color: #344C3D;
  margin-bottom: 12px;
}
.access-denied p {
  color: #333;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

#emoji-loader {
  font-size: 4rem;
  transition: opacity 0.5s ease;
  opacity: 0;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c9dcce;
  width: 100vw;
  height: 100vh;
}

#main-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: center;
}
#main-content.show {
  display: block;
  opacity: 1;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 100;
}

nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px;
}
nav a {
  text-decoration: none;
  color: #333;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 60px;
  text-align: center;
  color: white;
  position: absolute;
  top: 70%;
}
.hero-overlay h1 {
  font-size: 64px;
  letter-spacing: 3px;
  font-family: "Waterfall", serif;
  font-weight: 400;
}
.hero-overlay p {
  margin-top: 8px;
  font-size: 18px;
  letter-spacing: 2px;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
}

.countdown-unit span:first-child {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  color: white;
  font-family: "Jost", sans-serif;
}

.cd-label {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

.countdown-sep {
  font-size: 1.8rem;
  color: white;
  line-height: 1.1;
  padding-top: 2px;
}

.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.venue-slider {
  height: 650px;
}

.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slider img.active {
  opacity: 1;
}

.section {
  padding: 70px 10%;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.proposal .ceremony-card video {
  width: 100%;
  height: auto;
  display: block;
}

.proposal-layout {
  position: relative;
  display: inline-block;
  width: 100%;
}
#proposal {
  h2 {
    span {
      display: block;
      font-size: x-large;
    }
  }
}

.frieren-sticker,
.himmel-sticker {
  position: absolute;
  bottom: 0;
  width: 220px;
  filter: drop-shadow(2px 0 0 white)
          drop-shadow(-2px 0 0 white)
          drop-shadow(0 2px 0 white)
          drop-shadow(0 -2px 0 white)
          drop-shadow(2px 2px 0 white)
          drop-shadow(-2px -2px 0 white)
          drop-shadow(2px -2px 0 white)
          drop-shadow(-2px 2px 0 white);
  top: 50%;
  transform: translateY(-50%);
}

.frieren-sticker { right: -120px; }
.himmel-sticker  { left: -120px; }

/* Photo Gallery */
.couple-gallery {
  margin: 28px auto 80px;
  max-width: 1100px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 8px;
  cursor: grab;
  background: #000;
  position: relative;
  user-select: none;
}
.gallery-main:active { cursor: grabbing; }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.35);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}
.gallery-arrow:hover { background: rgba(0,0,0,0.65); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.45);
  color: white;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  pointer-events: none;
}

#gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

#gallery-main-img:hover {
  opacity: 0.92;
}


/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

#lightbox.open {
  display: flex;
}

#lightbox-img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

#lightbox-close {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 2.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  opacity: 0.8;
}

#lightbox-close:hover {
  opacity: 1;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: white;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
  z-index: 10;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.couple .row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
  justify-content: center;
}
.couple .row.reverse {
  flex-direction: row-reverse;
}
.couple .row img {
  max-height: 450px;
  width: auto;
}

.couple-img-wrap {
  position: relative;
  display: inline-block;
}

.couple-img-wrap img:not(.gengar-sticker):not(.squirtle-sticker) {
  position: relative;
  z-index: 2;
}

.squirtle-sticker {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: auto !important;
  height: 150px !important;
  z-index: 2;
  filter: drop-shadow(2px 0 0 white)
          drop-shadow(-2px 0 0 white)
          drop-shadow(0 2px 0 white)
          drop-shadow(0 -2px 0 white)
          drop-shadow(2px 2px 0 white)
          drop-shadow(-2px -2px 0 white)
          drop-shadow(2px -2px 0 white)
          drop-shadow(-2px 2px 0 white);
}

.gengar-sticker {
  position: absolute;
  bottom: 100%;
  right: 0px;
  width: 150px !important;
  height: auto !important;
  z-index: 1;
  transform: scaleX(-1);
  filter: drop-shadow(2px 0 0 white)
          drop-shadow(-2px 0 0 white)
          drop-shadow(0 2px 0 white)
          drop-shadow(0 -2px 0 white)
          drop-shadow(2px 2px 0 white)
          drop-shadow(-2px -2px 0 white)
          drop-shadow(2px -2px 0 white)
          drop-shadow(-2px 2px 0 white);
}
.couple img {
  width: 45%;
}
.couple .text {
  width: 500px;
}
.couple .text h2 {
  margin-bottom: 12px;
}
.wedding-timeline {
  margin-top: 24px;
}

.event {
  text-align: center;
}

.event-block {
  margin-top: 36px;
}

.event-sub-heading {
  margin-top: 56px;
  margin-bottom: 12px;
}

.ceremony-timeline {
  margin: 32px auto 0;
  max-width: 600px;
  width: 100%;
}
.the-venue {
  margin-bottom:24px;
}
.ceremony-timeline img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  opacity: 0.75;
}

.ceremony-card {
  background: transparent;
  padding: 30px;
  max-width: 80%;
  text-align: center;
  display: block;
  margin: 0 auto;
}

.venue-info {
  margin-top: 32px;
  text-align: center;
}


.venue-name {
  margin-bottom: 8px;
}

.venue-address {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.venue-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.venue-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #344C3D;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: "Jost", sans-serif;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}

.venue-map-btn:hover {
  background: #243628;
}

.venue-map {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.venue-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.venue-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* Attire Section */
.attire {
  text-align: center;
}

.attire-sub {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2e3c33;
  margin: 6px 0 16px;
}

.attire-text {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 0.97rem;
  color: #444;
  line-height: 1.8;
}

.attire-guide {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

.attire-guide img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.88;
  transition: opacity 0.2s;
}
.attire-guide img:hover { opacity: 1; }

.attire-caption,
.gallery-caption {
  font-size: 0.78rem;
  color: #2e3c33;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Share Photos Section */
.share-photos {
  background: #344C3D;
  color: white;
}

.share-photos h2 {
  color: white;
}

.share-photos p {
  color: rgba(255,255,255,0.85);
}

.share-photos-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.share-photos-text h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.share-photos-sub {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.share-photos-text p {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
}

.share-photos-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.2) !important;
  border-left-color: rgba(255,255,255,0.6) !important;
  margin-top: 24px;
  padding: 16px 22px;
  background: rgba(52, 76, 61, 0.08);
  border: 1.5px solid rgba(52, 76, 61, 0.25);
  border-left: 4px solid #344C3D;
  border-radius: 6px;
  text-align: left;
}

.hint-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.share-photos-hint p {
  font-size: 0.95rem !important;
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0 !important;
  letter-spacing: 0.02em;
}

.share-photos-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 11px 24px;
  background: #344C3D;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.share-photos-btn:hover {
  background: #243628;
}

.share-photos-qr {
  text-align: center;
}

.qr-img {
  display: block;
  border-radius: 8px;
  border: 3px solid #344C3D;
}

.qr-caption {
  font-size: 0.8rem;
  color: #2e3c33;
  margin-top: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media only screen and (max-width: 600px) {
  .share-photos-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .share-photos-qr {
    order: -1;
  }

  .qr-img {
    margin: 0 auto;
  }
}

/* Unplugged */
.unplugged {
  text-align: center;
}

.unplugged-inner {
  max-width: 640px;
  margin: 0 auto;
}

.unplugged-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.unplugged h2 {
  margin-bottom: 20px;
}

.unplugged p {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.9;
}

/* Our Wishes */
.wishes {
  text-align: center;
}

.wishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.wish-card {
  background: rgba(255,255,255,0.5);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: left;
}

.wish-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.wish-card h3 {
  margin-bottom: 12px;
}

.wish-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
}

@media only screen and (max-width: 600px) {
  .wishes-grid {
    grid-template-columns: 1fr;
  }
}

.rsvp-welcome {
  font-size: 1.1rem;
  color: #344C3D;
  font-style: italic;
  margin-bottom: 8px;
  min-height: 1.4em;
}

.rsvp-deadline {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
}

.rsvp-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
}

button {
  padding: 14px;
  background: #333;
  color: white;
  border: none;
  cursor: pointer;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

/* =========================
   RSVP DYNAMIC FORM
========================= */
.rsvp-slots-note {
  font-size: 0.95rem;
  color: #344C3D;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.5);
  border-radius: 6px;
  text-align: center;
}

.rsvp-name-locked {
  font-size: 1.15rem;
  font-weight: 700;
  color: #344C3D;
  padding: 12px;
  background: rgba(255,255,255,0.4);
  border-radius: 6px;
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: 0.5px;
}

.rsvp-attendance-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.rsvp-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.4);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.rsvp-radio:hover { background: rgba(255,255,255,0.65); }
.rsvp-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #344C3D;
  cursor: pointer;
  flex-shrink: 0;
}

#plus-ones-section { margin-bottom: 20px; }

.plus-ones-label {
  font-size: 0.95rem;
  color: #344C3D;
  margin-bottom: 10px;
}
.plus-ones-label .muted {
  color: #666;
  font-size: 0.85rem;
}

.plus-one-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}
.plus-one-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(52,76,61,0.3);
  border-radius: 6px;
  background: rgba(255,255,255,0.6);
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  color: #333;
}

.remove-guest-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(180,60,60,0.12);
  color: #a00;
  border: 1px solid rgba(180,60,60,0.3);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.remove-guest-btn:hover { background: rgba(180,60,60,0.28); }

#add-guest-btn {
  width: 100%;
  padding: 10px;
  background: rgba(52,76,61,0.1);
  color: #344C3D;
  border: 1px dashed rgba(52,76,61,0.4);
  border-radius: 6px;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
#add-guest-btn:hover:not(:disabled) { background: rgba(52,76,61,0.2); }
#add-guest-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.rsvp-submit-btn {
  width: 100%;
  padding: 14px;
  background: #344C3D;
  color: white;
  border: none;
  border-radius: 6px;
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.rsvp-submit-btn:hover { background: #243628; }

.rsvp-success {
  text-align: center;
  padding: 40px 20px;
}
.rsvp-success__icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.rsvp-success h3 {
  font-size: 1.5rem;
  color: #344C3D;
  margin-bottom: 8px;
}
.monogram-footer {
  text-align: center;
  padding: 60px 20px;
}

.monogram-footer img {
  width: min(420px, 80vw);
  height: auto;
  opacity: 0.75;
}

.rsvp-success p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

@media only screen and (max-width: 768px) {
  .frieren-sticker,
  .himmel-sticker,
  .gengar-sticker,
  .squirtle-sticker {
    display: none;
  }

  .venue-slider {
    height: 260px;
  }

  .couple-gallery {
    max-width: 100%;
  }
  
}

@media only screen and (max-width: 600px) {
  .rsvp-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  nav {
    gap: 12px;
    padding: 12px 10px;
    flex-wrap: wrap;
  }
  nav a {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
  .hero-overlay {
    padding: 10px 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 150px);
    width: 81%;
  }
  .hero-overlay h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .slider img:first-child {
    object-position: 55% center;
  }
  .couple .row,
  .couple .row.reverse {
    flex-direction: column;
  }
  .couple .row img {
    max-width: 50%;
  }
  .couple .text {
    width: 100%;
  }
  .ceremony-card {
    padding: 10px;
    max-width: 100%;
  }

  #lightbox-img {
    max-width: 98vw;
    max-height: 92vh;
    width: auto;
    height: auto;
  }

  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }

  .lightbox-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 900px) and (orientation: landscape) {
  #lightbox-img {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    border-radius: 0;
  }

  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
}

/* Music toggle button */
#music-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  height: 44px;
  border-radius: 22px;
  background: rgba(52, 76, 61, 0.92);
  color: white;
  border: 2px solid rgba(255,255,255,0.25);
  font-size: 0.78rem;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  white-space: nowrap;
}
#music-btn:hover {
  background: #344C3D;
  transform: scale(1.04);
}
#music-btn .music-icon {
  font-size: 1.1rem;
  line-height: 1;
}
#music-btn.muted {
  opacity: 0.6;
}

/*# sourceMappingURL=style.css.map */
