:root{
  --purple: #2f2a88;
  --paper: #f3f0e3;

  --serif: "Big Caslon CC", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --max: 1200px;

  --bg-hero: url("/gallery/BG.webp");
  --bg-programa: url("/gallery/programme_bg.webp");
  --bg-atvykimas: url("/gallery/atvykimas_bg.webp");
  --bg-apgyvendinimas: url("/gallery/apgyvendinimas_bg.webp");
  --bg-kitainfo: url("/gallery/kitainfo_bg.webp");
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  overflow-x: hidden;
  font-family: var(--sans);
  background: var(--paper);
  color: #1b1b1b;
}

.top-bar{ height: 10px; background: var(--purple); }

/* sections */
.section{
  background-color: var(--paper);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.section--hero{
  background-image: var(--bg-hero);
  display: block;
  padding: 0;
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: right center;
}
.section--programa{ background-image: var(--bg-programa); }
.section--atvykimas{
  background-image: var(--bg-atvykimas);
  background-size: cover;
}
.section--apgyvendinimas{ background-image: var(--bg-apgyvendinimas); }
.section--kitainfo{ background-image: var(--bg-kitainfo); }

.section-sep{
  height: 42px;
  background: linear-gradient(to bottom, rgba(243,240,227,0), rgba(243,240,227,1));
}

.wrap{
  width: min(var(--max), calc(100% - 120px));
  margin: 0 auto;
  padding: 96px 0;
}

.h2{
  margin: 0 0 22px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
  font-size: clamp(44px, 4.5vw, 72px);
}
.h3{
  margin: 76px 0 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  font-size: 22px;
}
.lead{ margin: 0 0 52px; line-height: 1.8; color: #2a2a2a; max-width: 720px; }
.para{
  margin: 0;
  line-height: 1.9;
  color: #2a2a2a;
  max-width: 980px;
  padding-top: 3rem;
}
.para--purple{ color: var(--purple); }
.note{ margin: 30px 0 0; color: #7a4a4a; font-style: italic; }

/* NAV */
.nav{
  margin: 0 40px;
  padding: 34px 0 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__brand{ margin-right: auto; text-decoration: none; color: transparent; }

.nav__links{
  display: flex;
  gap: 46px;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.nav__links a{ color: var(--purple); text-decoration: none; }
.nav__links a:hover{ text-decoration: underline; text-underline-offset: 6px; }

.nav__burger{
  display: none;
  width: 46px;
  border-radius: 999px;
  border: 1px solid rgba(47,42,136,0.25);
  background: rgba(243,240,227,0.92);
  backdrop-filter: blur(10px);
  cursor: pointer;
  padding: 11px;
}
.nav__burger span{ display:block; height:2px; background: var(--purple); margin:6px 0; }

/* Mobile menu panel (JS įjungia class .is-open) */
.mobile-menu{
  position: fixed;
  top: 76px;
  left: 16px;
  right: 16px;
  z-index: 50;

  border: 1px solid rgba(47,42,136,0.22);
  border-radius: 18px;
  background: rgba(243,240,227,0.94);
  backdrop-filter: blur(12px);

  padding: 10px;
  display: grid;
  gap: 8px;

  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.mobile-menu.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu a{
  color: var(--purple);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 12px 12px;
  border-radius: 12px;
}
.mobile-menu a:hover{ background: rgba(47,42,136,0.06); }
.thankyou-page {
  background: #f6f0e4;
}

.thankyou-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thankyou {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 72px;
}

.thankyou__card {
  width: 100%;
  max-width: 720px;
  text-align: center;
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid rgba(88, 70, 150, 0.14);
  border-radius: 28px;
  padding: 56px 32px;
  box-shadow: 0 20px 60px rgba(56, 40, 96, 0.08);
  backdrop-filter: blur(4px);
}

.thankyou__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #5f5299;
}

.thankyou__title {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.05;
  color: #2d2454;
}

.thankyou__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.8;
  color: #3b3458;
}

.thankyou__text + .thankyou__text {
  margin-top: 8px;
}

.thankyou__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.thankyou__btn {
  min-width: 220px;
}

@media (max-width: 640px) {
  .thankyou {
    padding: 32px 16px 56px;
  }

  .thankyou__card {
    padding: 38px 22px;
    border-radius: 22px;
  }

  .thankyou__text {
    font-size: 18px;
    line-height: 1.7;
  }

  .thankyou__btn {
    width: 100%;
    max-width: 320px;
  }
}

/* HERO */
.hero{
  min-height: calc(100vh - 100px);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 25%;
  padding-left: 5%;
  box-sizing: border-box;
}
.hero__content{
  max-width: 640px;
  text-align: center;
  padding: 2rem;
}

/* 1) NAUJAS HERO TEKSTAS */
.hero__kicker{
  margin: 0 0 14px;
  color: var(--purple);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
}

.hero__date{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--purple);
  font-size: 54px;
  line-height: 1.05;
  margin: 0 0 18px;
}
.hero__place{
  margin: 0 0 20px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
  font-size: 34px;
  line-height: 1.25;
}
.hero__text{
  margin: 0;
  max-width: 560px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--purple);
}

/* 2) / 3) Bendras inline link stilius (Villa Lena + el. paštas) */
.inline-link{
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.inline-link:hover{ opacity: 0.85; }

/* circles + hover */
.circle-btn{ padding:0; border:0; background:transparent; cursor:pointer; }
.circle-img{
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  transition: transform .18s ease, filter .18s ease;
}
.circle-img--hover:hover{ transform: scale(1.02); filter: saturate(1.05) contrast(1.02); }
.circle-img--stay{ width:100%; max-width: 420px; margin:0 auto; }

/* PROGRAMA */
.programme{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1000px;
}

.programme-date{
  font-weight: 700;
  color: var(--purple);
  font-size: 32px;
  margin-bottom: 24px;
}

.programme-row{
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  margin-bottom: 16px;
}

.p-time{
  font-weight: 600;
  color: var(--purple);
  font-size: 18px;
  line-height: 1.6;
}

.p-desc{
  color: var(--purple);
  line-height: 1.6;
  font-size: 18px;
  border-left: 2px solid var(--purple);
  padding-left: 30px;
}

/* MOBILE PRITAIKYMAS PROGRAMAI */
@media (max-width: 600px){
  .programme-row{ grid-template-columns: 100px 1fr; }
  .p-time, .p-desc{ font-size: 16px; }
  .p-desc{ padding-left: 15px; }
  .programme-date{ font-size: 26px; }
}

/* ATVYKIMAS */
.arrivals{ display:grid; grid-template-columns: 1fr 1fr; gap:78px; }
.arrival-head{ display:flex; align-items:center; gap:18px; }
.badge{
  width:44px; height:44px; border-radius:999px;
  background:var(--purple); color:#fff;
  display:grid; place-items:center;
  font-weight:700;
}
.arrival-title{ font-weight:700; color:var(--purple); letter-spacing:0.06em; }
.arrival-text p{ margin:16px 0 0; line-height:1.9; color:var(--purple); }

/* APGYVENDINIMAS */
.stay-photos{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 74px;
  align-items:center;
  max-width: 1260px;
}

/* KITA INFO */
.contacts{
  margin-top: 30px;
  display:grid;
  grid-template-columns: 1fr auto 1fr auto 1.6fr auto 1fr;
  gap: 26px;
  align-items:start;
}
.divider{ width:2px; height:100%; background: rgba(47,42,136,0.35); }
.contact__title{
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color: var(--purple);
  margin-bottom:10px;
}
.contact__line{ color: var(--purple); line-height:1.8; }

/* LIGHTBOX */
.lightbox{
  width: min(1100px, calc(100% - 24px));
  border: 0;
  padding: 0;
  background: rgba(15, 15, 18, 0.88);
  border-radius: 18px;
}
.lightbox::backdrop{ background: rgba(0,0,0,0.55); }
.lightbox__figure{ margin:0; padding: 56px 50px 44px; display:grid; place-items:center; }
.lightbox__img{
  max-width:100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}
.lightbox__close{
  position:absolute;
  top:10px; right:10px;
  width:44px; height:44px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color:#fff;
  font-size:26px;
  cursor:pointer;
}
.lightbox__nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:48px; height:56px;
  border-radius:14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color:#fff;
  font-size:34px;
  cursor:pointer;
}
.lightbox__nav--prev{ left:10px; }
.lightbox__nav--next{ right:10px; }

/* Responsive */
@media (max-width: 1100px){
  .wrap, .nav, .hero{ width: min(var(--max), calc(100% - 40px)); }
  .contacts{ grid-template-columns: 1fr; }
  .divider{ display:none; }
  .stay-photos{ grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 900px){
  .nav{ justify-content: space-between; }
  .nav__links{ display:none; }
  .nav__burger{ display:inline-block; }

  /* Mobile hero – paliekam tavo logiką, tik pritaikom kicker */
  .hero{
    min-height: calc(100dvh - 90px);
    width: 100%;
    display: grid;
    place-items: center;
    padding: 120px 14px 36px;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
    padding-right: 0 !important; /* nuimam desktop pastūmimą */
  }

  .hero__kicker{
    font-size: 16px;
    margin-bottom: 10px;
  }

  .hero__date{ font-size: 34px; }
  .hero__place{ font-size: 24px; }

  .arrivals{ grid-template-columns: 1fr; gap: 54px; }
  .circle-img{ width: min(440px, 100%); }

  .lightbox__figure{ padding: 56px 18px 24px; }
}

@media (max-width: 520px){
  .wrap{ padding: 74px 0; }
  .hero__date{ font-size: 34px; }
  .section--hero{
    min-height: 0 !important;
    background-position: left !important;
  }
}

.thankyou-page {
  background: #f6f0e4;
}

.thankyou-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thankyou {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 72px;
}

.thankyou__card {
  width: 100%;
  max-width: 720px;
  text-align: center;
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid rgba(88, 70, 150, 0.14);
  border-radius: 28px;
  padding: 56px 32px;
  box-shadow: 0 20px 60px rgba(56, 40, 96, 0.08);
  backdrop-filter: blur(4px);
}

.thankyou__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #5f5299;
}

.thankyou__title {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.05;
  color: #2d2454;
}

.thankyou__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.8;
  color: #3b3458;
}

.thankyou__text + .thankyou__text {
  margin-top: 8px;
}

.thankyou__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.thankyou__btn {
  min-width: 220px;
}

@media (max-width: 640px) {
  .thankyou {
    padding: 32px 16px 56px;
  }

  .thankyou__card {
    padding: 38px 22px;
    border-radius: 22px;
  }

  .thankyou__text {
    font-size: 18px;
    line-height: 1.7;
  }

  .thankyou__btn {
    width: 100%;
    max-width: 320px;
  }
}
