/* Neela index.html layout — farby a typografia šablóny */
:root {
  --color-accent: #8eaeba;
  --color-accent-dark: #3d5963;
  --color-accent-mid: #567d8c;
  --color-text: #4a4a4a;
  --color-muted: #73777b;
  --color-bg: #fff;
  --color-bg-soft: #f9f9f9;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --shadow: 0 0 25px 10px rgba(100, 100, 100, 0.14);
  --radius: 0;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* fixné menu — kotvy (#sekcia) a obnovenie stránky */
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color var(--transition);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* —— Preloader —— */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading-heart {
  text-align: center;
}
.loading-heart svg {
  width: 72px;
  height: 72px;
  fill: var(--color-accent);
}
.preloader-title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  color: var(--color-accent-dark);
}
.preloader-title small {
  display: block;
  font-size: 0.55em;
  opacity: 0.75;
}

/* —— Header (textové logo, svetlé odkazy na heru) —— */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}
.nav-section {
  padding: 1rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo-text {
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-names {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.2;
  display: inline-block;
  transition: color var(--transition);
}
.nav-logo-amp {
  font-weight: 400;
  font-size: 0.75em;
  opacity: 0.9;
  margin: 0 0.08em;
}
#header.scrolled .nav-logo-names {
  color: var(--color-accent-dark);
}
.nav-logo-text:hover .nav-logo-names {
  color: rgba(255, 255, 255, 0.88);
}
#header.scrolled .nav-logo-text:hover .nav-logo-names {
  color: var(--color-accent);
}
.navbar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar-nav > li > a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  color: #fff;
  display: block;
}
#header.scrolled .navbar-nav > li > a {
  color: var(--color-text);
}
#header.scrolled .navbar-nav > li > a:hover {
  color: var(--color-accent);
}
.navbar-nav > li > a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.navbar-nav .caret {
  font-size: 0.65em;
  margin-left: 0.2em;
  opacity: 0.8;
}
.navbar-nav .submenu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  min-width: 200px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition),
    visibility var(--transition);
}
.navbar-nav li.has-sub {
  position: relative;
}
.navbar-nav li.has-sub:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar-nav .submenu a {
  color: var(--color-text);
  padding: 0.45rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  display: block;
}
.navbar-nav .submenu a:hover {
  background: rgba(142, 174, 186, 0.12);
  color: var(--color-accent-dark);
}
#nav-mobile-btn {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.5rem;
}
#header.scrolled #nav-mobile-btn {
  color: var(--color-accent-dark);
}

/* —— Hero video (Neela index-onepage-video) —— */
#hero.hero-video-neela {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
  /* Žiadny poster obrázok — počas načítania videa jednofarebná plocha */
  background-color: #3d4f56;
}
#hero.hero-video-neela .background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
#hero.hero-video-neela::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(61, 89, 99, 0.4);
  z-index: 1;
}
.hero-wrapper {
  position: relative;
  z-index: 3;
  color: #fff;
}
.hero-divider-top,
.hero-divider-bottom {
  width: min(280px, 70vw);
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
  margin: 0 auto;
}
.hero-divider-top {
  margin-bottom: 1.5rem;
}
.hero-divider-bottom {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 9vw, 5rem);
  line-height: 1.05;
  margin: 0;
  color: #fff;
}
.hero-title.light {
  color: #fff;
}
.hero-title small {
  display: block;
  font-size: 0.32em;
  font-weight: 400;
  margin: 0.3em 0;
}
.hero-subtitle.light {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  opacity: 0.95;
}
.hero-subtitle-date {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 1rem 0 1.25rem;
  opacity: 0.92;
}
.hero-subtitle-date span {
  display: inline-block;
  margin: 0 0.35em;
  font-weight: 500;
  letter-spacing: 0.15em;
}
.section-divider-bottom-1 {
  position: relative;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.countdown .unit {
  min-width: 4.25rem;
  text-align: center;
}

.countdown .num {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.65rem);
  font-weight: 500;
  line-height: 1;
  display: block;
}

.countdown .label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-top: 0.4rem;
}

.countdown-done {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: 0.06em;
}

/* —— Obrázok svadobného oznámenia —— */
#oznamenie {
  padding: 4rem 0;
  background: var(--color-bg-soft);
}

.announcement-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(142, 174, 186, 0.25);
}

.announcement-card img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}

.announcement-caption {
  text-align: left;
  max-width: 38rem;
  margin: 1.25rem auto 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.75;
}

.btn-light {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 0.75rem 2.25rem;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-light:hover {
  background: #fff;
  color: var(--color-accent-dark);
}

/* —— Sections —— */
section {
  padding: 5rem 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 500;
  text-align: center;
  margin: 0 auto 2.5rem;
  color: var(--color-accent-dark);
}
.section-title.light {
  color: #fff;
}
.section-title.color-accent {
  color: var(--color-accent);
}
.about-lead {
  text-align: center;
  max-width: 640px;
  margin: -1rem auto 3rem;
  color: var(--color-muted);
  font-size: 1.02rem;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* —— O nás: Neela element-v2 (foto ženícha / nevesty) —— */
.element-v2 {
  display: grid;
  gap: 0;
  align-items: start;
  margin-bottom: 2.5rem;
  background: var(--color-bg-card, #fdfdfd);
  box-shadow: var(--shadow);
  overflow: visible;
}
@media (min-width: 992px) {
  .element-v2 {
    grid-template-columns: 1fr 1fr;
  }
  .element-v2.photo-right .info {
    order: -1;
  }
}
.element-v2 .image {
  background: #eef2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(0.5rem, 2vw, 1rem);
}
.element-v2 .image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.element-v2 .info.neela-style {
  border-left: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: linear-gradient(
    135deg,
    rgba(142, 174, 186, 0.07) 0%,
    transparent 50%
  );
}
.element-v2.photo-right .info.neela-style {
  border-left: none;
  border-right: 3px solid var(--color-accent);
}
.element-v2 .content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 1rem;
  color: var(--color-accent-dark);
}
.element-v2 .content h3 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.45em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.35rem;
}
.element-v2 .content p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}
.element-v2 .sn-icons {
  display: flex;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.element-v2 .sn-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background: rgba(142, 174, 186, 0.2);
  color: var(--color-accent-dark);
  border-radius: 2px;
}
.element-v2 .sn-icons a:hover {
  background: var(--color-accent);
  color: #fff;
}
.hover-info .content.center {
  text-align: center;
}
@media (max-width: 991px) {
  .element-v2.photo-right .info {
    order: 0;
  }
  .element-v2.photo-right .info.neela-style {
    border-right: none;
    border-left: 3px solid var(--color-accent);
  }
}

/* —— About us (legacy / desc) —— */
#about-us .about-elems-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.about-elems-wrapper .element {
  flex: 1 1 280px;
  max-width: 400px;
}
.about-elems-wrapper .image {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-elems-wrapper .image img {
  width: 100%;
  aspect-ratio: 600/714;
  object-fit: cover;
}
.hover-info {
  position: absolute;
  inset: 0;
  background: rgba(142, 174, 186, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.about-elems-wrapper .image:hover .hover-info {
  opacity: 1;
}
.hover-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  text-align: center;
}
.hover-info h3 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.45em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  opacity: 0.95;
}
.hover-info p {
  text-align: center;
  margin: 0;
  font-size: 0.95rem;
}
.hover-info .sn-icons {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.hover-info .sn-icons a {
  color: #fff;
  font-size: 1.35rem;
}
.divider-about-us {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.35rem;
}
.about-us-desc {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.about-us-desc h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-accent-dark);
  margin: 0 0 1rem;
}
.about-us-desc h3 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.42em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}
.about-us-desc p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.about-us-desc .signature {
  max-width: 220px;
  margin: 0 auto;
}

/* —— O nás: jedna spoločná fotka + mená —— */
.about-couple-feature {
  max-width: 920px;
  margin: 0 auto 3rem;
}
.about-couple-feature .frame {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid rgba(142, 174, 186, 0.35);
  background: linear-gradient(180deg, #eef3f5 0%, #e4eaed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1.25rem);
}
.about-couple-feature img {
  width: 100%;
  height: auto;
  max-height: min(88vh, 920px);
  display: block;
  object-fit: contain;
  object-position: center center;
}
.about-couple-feature figcaption {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 0.85rem;
}
.about-names-row {
  display: grid;
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto 3rem;
}
@media (min-width: 768px) {
  .about-names-row {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
.about-name-card {
  padding: 1.75rem;
  border: 2px solid rgba(142, 174, 186, 0.4);
  background: linear-gradient(
    160deg,
    rgba(142, 174, 186, 0.08),
    transparent 55%
  );
}
.about-name-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: var(--color-accent-dark);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
.about-name-card h3 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.5em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.35rem;
}
.about-name-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.about-name-card .sn-icons {
  display: flex;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.about-name-card .sn-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  background: rgba(142, 174, 186, 0.2);
  color: var(--color-accent-dark);
  border-radius: 2px;
}
.about-name-card .sn-icons a:hover {
  background: var(--color-accent);
  color: #fff;
}

/* —— Parallax nadpis „Náš príbeh“ —— */
.parallax-band {
  position: relative;
  padding: 5.5rem 0;
  text-align: center;
  background: linear-gradient(
      rgba(61, 89, 99, 0.72),
      rgba(61, 89, 99, 0.72)
    ),
    url("/images/hero-img3.jpg") center / cover fixed;
}
.parallax-band .section-title {
  margin-bottom: 0;
}

/* —— Timeline / loveline —— */
#loveline {
  padding-bottom: 4rem;
}
.tl-year {
  text-align: center;
  margin: 3rem 0 2rem;
}
.tl-year span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  padding: 0.5rem 1.75rem;
  background: var(--color-accent);
  color: #fff;
  letter-spacing: 0.08em;
}
.tl-block {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: start;
}
@media (min-width: 992px) {
  .tl-block.tpl-1 {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "date date"
      "img1 img2"
      "desc desc";
  }
  .tl-block.tpl-1 .tl-date {
    grid-area: date;
    text-align: center;
  }
  .tl-block.tpl-1 .tl-img1 {
    grid-area: img1;
  }
  .tl-block.tpl-1 .tl-img2 {
    grid-area: img2;
  }
  .tl-block.tpl-1 .tl-desc {
    grid-area: desc;
    max-width: 640px;
    margin: 0 auto;
  }
  .tl-block.tpl-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "date date"
      "video video"
      "img1 img2"
      "desc desc";
  }
  .tl-block.tpl-2 .tl-date {
    grid-area: date;
    text-align: center;
  }
  .tl-block.tpl-2 .tl-video {
    grid-area: video;
    max-width: 720px;
    margin: 0 auto;
  }
  .tl-block.tpl-2 .tl-img1 {
    grid-area: img1;
  }
  .tl-block.tpl-2 .tl-img2 {
    grid-area: img2;
  }
  .tl-block.tpl-2 .tl-desc {
    grid-area: desc;
    max-width: 640px;
    margin: 0 auto;
  }
}
.tl-date span {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tl-img1,
.tl-img2 {
  background: #eef2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  box-shadow: var(--shadow);
}
.tl-block img {
  width: auto;
  max-width: 100%;
  max-height: min(560px, 78vh);
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}
.tl-img1 img,
.tl-img2 img {
  box-shadow: none;
}
.tl-desc .neela-box {
  border: 2px solid rgba(142, 174, 186, 0.55);
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.96);
}
.tl-desc h4 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  color: var(--color-accent-dark);
}
.tl-video video,
.tl-video iframe {
  width: 100%;
  max-height: 380px;
  border: 0;
  display: block;
  box-shadow: var(--shadow);
}

.timeline-carousel-wrap {
  position: relative;
  margin: 2rem 0;
}
.timeline-carousel {
  overflow: hidden;
}
.timeline-carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.timeline-carousel-item {
  flex: 0 0 78%;
  max-width: 420px;
  scroll-snap-align: start;
  background: #eef2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 0.65rem;
  box-shadow: var(--shadow);
}
.timeline-carousel-item img {
  width: auto;
  max-width: 100%;
  max-height: min(380px, 52vh);
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.timeline-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.timeline-carousel-nav button {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-accent);
  background: #fff;
  color: var(--color-accent-dark);
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.timeline-carousel-nav button:hover {
  background: var(--color-accent);
  color: #fff;
}

.timeline-footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
}
.timeline-footer .icon-ring {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.timeline-footer .punchline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-accent-dark);
  line-height: 1.2;
}
.timeline-footer .punchline small {
  display: block;
  font-size: 0.45em;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

/* —— The wedding / invite —— */
#the-wedding {
  position: relative;
  padding: 5.5rem 0;
  background: linear-gradient(
      rgba(61, 89, 99, 0.78),
      rgba(61, 89, 99, 0.78)
    ),
    url("/images/hero-img4.jpg") center / cover fixed;
}
.wedding-narrative {
  max-width: 46rem;
  margin: 1rem auto 0;
  padding: 0 1rem;
  color: rgba(255, 255, 255, 0.93);
  text-align: left;
  line-height: 1.8;
  font-size: 1.02rem;
}
.wedding-narrative-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  text-align: center;
  color: #fff;
  margin: 0 0 1.75rem;
  letter-spacing: 0.04em;
}
.wedding-narrative p {
  margin: 0 0 1.35rem;
}
.wedding-narrative p:last-child {
  margin-bottom: 0;
}
.wedding-narrative strong {
  color: #fff;
  font-weight: 600;
}

#wedding-vows {
  padding: 5rem 0;
  background: var(--color-bg-soft);
}
.vows-intro {
  max-width: 40rem;
  margin: -0.5rem auto 2.75rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.vows-grid {
  display: grid;
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .vows-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.vow-card {
  background: #fff;
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--color-accent);
}
.vow-card h3 {
  font-family: var(--font-display);
  color: var(--color-accent-dark);
  margin: 0 0 1.15rem;
  font-size: 1.45rem;
  line-height: 1.25;
}
.vow-card h3 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.5em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.4rem;
  font-weight: 500;
}
.vow-card p {
  margin: 0 0 1.1rem;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--color-muted);
}
.vow-card p:last-child {
  margin-bottom: 0;
}

/* —— Location —— */
#location {
  background: var(--color-bg-soft);
}
.map-info-container {
  display: grid;
  gap: 2rem;
  margin-bottom: 0;
}
.map-info-container--hostina {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(142, 174, 186, 0.35);
  margin-bottom: 2.5rem;
}
@media (min-width: 992px) {
  .map-info-container {
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
  }
}
.location-info {
  background: #fff;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--color-accent);
}
.location-info h4 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  color: var(--color-accent-dark);
}
.location-info h4 i {
  margin-right: 0.5rem;
  color: var(--color-accent);
}
.location-info h4 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.25rem;
}
.location-info h5 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.location-info p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
}
.location-info p a {
  color: var(--color-accent-dark);
  font-weight: 500;
}
.location-info p a:hover {
  color: var(--color-accent);
}
.location-info p + p,
.location-info .location-detail {
  margin-top: 0.85rem;
}
.location-info .location-detail {
  font-size: 0.9rem;
  line-height: 1.7;
}
.info-map-divider {
  height: 1px;
  background: rgba(142, 174, 186, 0.35);
  margin: 1.5rem 0;
}
.map-embed {
  min-height: 380px;
  box-shadow: var(--shadow);
  border: 0;
  width: 100%;
  filter: grayscale(20%);
}
.map-pins {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.map-pins ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.map-pins li i {
  margin-right: 0.35rem;
  color: var(--color-accent);
}
.center {
  text-align: center;
}
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

/* —— Bridesmaids / Groomsmen parallax —— */
#bridesmaids,
#groomsmen {
  padding: 5rem 0;
  background: linear-gradient(
      rgba(61, 89, 99, 0.75),
      rgba(61, 89, 99, 0.75)
    ),
    url("/images/hero-img1.jpg") center / cover fixed;
}
.party-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.bmaid-gmen {
  flex: 0 1 300px;
  max-width: 340px;
}
.bmaid-gmen .image {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  aspect-ratio: 1;
  width: min(280px, 85vw);
  margin: 0 auto;
  border: 4px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
  background: #eef2f4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bmaid-gmen .image img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  object-position: center center;
}
.bmaid-gmen .hover-info {
  border-radius: 50%;
}

/* —— Testimonials —— */
#testimonials {
  padding: 4.5rem 0;
  background: var(--color-bg-soft)
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 25 L55 30 L35 35 L30 55 L25 35 L5 30 L25 25 Z' fill='%238eaeba' fill-opacity='0.06'/%3E%3C/svg%3E");
}
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-item {
  display: none;
  padding: 1rem 3rem;
}
.testimonial-item.active {
  display: block;
  animation: tfade 0.5s ease;
}
@keyframes tfade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.testimonial-item blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--color-accent-dark);
  margin: 0 0 1.5rem;
  border: none;
  padding: 0;
}
.testimonial-item .author h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
  color: var(--color-text);
}
.testimonial-item .author small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.35rem;
}
.testimonial-arrows {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.testimonial-arrows button,
.testimonial-dots button {
  border: 2px solid var(--color-accent);
  background: #fff;
  color: var(--color-accent-dark);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}
.testimonial-arrows button:hover {
  background: var(--color-accent);
  color: #fff;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.testimonial-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border-width: 1px;
}
.testimonial-dots button.active {
  background: var(--color-accent);
}

/* —— Gift registry —— */
#giftregistry {
  padding: 5rem 0;
  background: linear-gradient(
      rgba(249, 249, 249, 0.92),
      rgba(249, 249, 249, 0.92)
    ),
    url("/images/hero-img5.jpg") center / cover fixed;
}
.registry-head {
  margin-bottom: 2.5rem;
}
.registry-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  margin: 0 0 1rem;
}
.registry-head h2 small {
  display: block;
  font-size: 0.5em;
  letter-spacing: 0.35em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}
.registry-head p {
  color: var(--color-muted);
  max-width: 520px;
}
.wedding-gifts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
}
.wedding-gifts > li {
  flex: 1 1 260px;
  max-width: 320px;
}
.wedding-gifts .gift-card {
  border: 2px solid rgba(142, 174, 186, 0.45);
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  height: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
.wedding-gifts .gift-card > i {
  font-size: 2.25rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.wedding-gifts h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0 0 1rem;
  color: var(--color-accent-dark);
}
.wedding-gifts .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.btn-primary.reverse {
  background: transparent;
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}
.btn-primary.reverse:hover {
  background: var(--color-accent);
  color: #fff;
}

/* —— Gallery scroller —— */
#gallery {
  background: var(--color-bg-soft);
  padding-bottom: 3rem;
}
.gallery-wrapper {
  position: relative;
  margin-top: 1rem;
}
.gallery-scroll-left,
.gallery-scroll-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent-dark);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--transition);
}
.gallery-scroll-left:hover,
.gallery-scroll-right:hover {
  background: var(--color-accent);
  color: #fff;
}
.gallery-scroll-left {
  left: 8px;
}
.gallery-scroll-right {
  right: 8px;
}
.gallery-scroller {
  overflow-x: auto;
  padding: 1rem 85px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
.gallery-wrapper:not(.gallery-has-arrows) .gallery-scroller {
  padding-left: 1rem;
  padding-right: 1rem;
}
.gallery-scroller ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 21px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
}
.gallery-scroller li {
  flex: 0 0 497px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #eef2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 497px;
  padding: 0.5rem;
}
.gallery-scroller li img {
  width: auto;
  max-width: 100%;
  max-height: 497px;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.gallery-scroller .g-hover {
  position: absolute;
  inset: 0;
  background: rgba(61, 89, 99, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-scroller li:hover .g-hover {
  opacity: 1;
}
.gallery-scroller .g-hover a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--color-accent-dark);
  border-radius: 2px;
}

/* —— Footer —— */
#footer-onepage {
  background: var(--color-bg-soft);
  padding: 0;
}
.footer-widget-area {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(142, 174, 186, 0.25);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
  .footer-grid .left {
    text-align: left;
  }
  .footer-grid .right {
    text-align: right;
  }
}
.footer-info {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.7;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--color-accent-dark);
  line-height: 1.25;
}
.footer-logo small {
  display: block;
  font-size: 0.5em;
  opacity: 0.75;
}
.copyright {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}
.copyright a {
  color: var(--color-accent);
}

/* —— Lightbox dialog —— */
dialog.img-lightbox {
  max-width: 92vw;
  max-height: 92vh;
  padding: 0;
  border: none;
  background: transparent;
}
dialog.img-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
.img-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}
.img-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  background: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-accent-dark);
}

/* —— Mobile —— */
@media (max-width: 991px) {
  #nav-mobile-btn {
    display: block;
  }
  .navbar-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    padding: 5rem 1.25rem 2rem;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    gap: 0;
  }
  .navbar-nav.open {
    transform: translateX(0);
  }
  .navbar-nav > li > a {
    color: var(--color-text) !important;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .navbar-nav li.has-sub > .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(142, 174, 186, 0.08);
    padding: 0.25rem 0 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
  }
  body.nav-open {
    overflow: hidden;
  }
  .parallax-band,
  #the-wedding,
  #bridesmaids,
  #groomsmen,
  #giftregistry {
    background-attachment: scroll !important;
  }
}
