/* ============================================
   Złote Noce — design tokens
   Navy + warm gold, echoing the logo's night sky
   and the apartment's copper/gold interior fixtures.
   ============================================ */
:root {
  --navy-deep: #0E1A2B;
  --navy: #16283F;
  --navy-soft: #24405F;
  --gold: #C9A227;
  --copper: #B08D57;
  --cream: #F7F2E8;
  --cream-soft: #EFE6D3;
  --charcoal: #2A2622;
  --grey-warm: #746C5E;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy-deep);
  margin: 0 0 0.4em;
  line-height: 1.15;
}

h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }

.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 0.9em 2em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 500;
}
.btn-primary:hover { background: #ddb832; }
.btn-primary:focus-visible { outline: 2px solid var(--navy-deep); outline-offset: 2px; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 242, 232, 0.55);
}
.btn-ghost:hover { border-color: var(--cream); }
.btn-ghost:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }

/* ============ Header / nav ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 26, 43, 0.0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(14, 26, 43, 0.92);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 140px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 6;
}
.nav-links a {
  color: var(--cream);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.3em 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.nav-links a:hover { border-color: var(--gold); }
.nav-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.55em 1.2em !important;
  border-radius: 2px;
  font-weight: 500;
}
.nav-cta:hover { border-color: transparent !important; background: #ddb832; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.lang-switch a {
  color: rgba(247,242,232,0.55);
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
}
.lang-switch a:hover { color: var(--cream); }
.lang-switch a.lang-current {
  color: var(--gold);
  border-color: var(--gold);
}
.nav-current { color: var(--gold) !important; border-color: var(--gold) !important; }

/* ============ Secondary page hero (e.g. Augustów guide) ============ */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 1.5rem 3.5rem;
  width: 100%;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  color: var(--white);
  margin: 0 0 0.4em;
  line-height: 1.08;
}
.page-hero-sub { max-width: 520px; font-size: 1.02rem; color: rgba(247,242,232,0.9); margin: 0; }

/* ============ Guide intro / placeholders ============ */
.guide-intro {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.guide-placeholder {
  color: var(--grey-warm);
  font-style: italic;
}

.guide-cta-section { padding-top: 0; padding-bottom: 6rem; }
.guide-cta {
  background: var(--navy-deep);
  color: var(--cream);
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 2px;
}
.guide-cta h2 { color: var(--white); }
.guide-cta p { color: rgba(247,242,232,0.8); margin-bottom: 1.6em; }

/* ============ Guide content blocks (Augustów page) ============ */
.guide-block { max-width: 760px; margin: 0 auto 1.4em; }
.guide-block p { color: var(--charcoal); }
.guide-block + .guide-block { margin-top: -0.6em; }

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.guide-card {
  background: var(--white);
  border: 1px solid rgba(42,38,34,0.1);
  border-radius: 2px;
  padding: 2rem;
}
.guide-card h3 { margin-bottom: 0.5em; }
.guide-card .guide-dist {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--copper);
  margin-bottom: 0.8em;
}
.guide-card p { margin-bottom: 0; color: var(--grey-warm); }

.guide-list {
  max-width: 820px;
  margin: 3rem auto 0;
  list-style: none;
  padding: 0;
}
.guide-list li {
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(42,38,34,0.1);
}
.guide-list h3 { margin-bottom: 0.3em; font-size: 1.25rem; }
.guide-list h3 a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.guide-list h3 a:hover {
  color: #ecc65a;
  text-shadow: 0 0 12px rgba(201, 162, 39, 0.55);
}
.guide-list .guide-tag {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--copper);
  margin-left: 0.6em;
  font-family: var(--font-body);
  font-weight: 400;
}
.guide-list p { margin: 0; color: var(--grey-warm); }

.guide-note {
  max-width: 760px;
  margin: 2rem auto 0;
  font-size: 0.9rem;
  color: var(--grey-warm);
  font-style: italic;
  text-align: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 6;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,26,43,0.55) 0%, rgba(14,26,43,0.35) 35%, rgba(14,26,43,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 1.5rem 3rem;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.8em;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 500;
  color: var(--white);
  margin: 0 0 0.3em;
  line-height: 1.02;
}
.hero-sub {
  max-width: 480px;
  font-size: 1.05rem;
  color: rgba(247,242,232,0.9);
  margin-bottom: 1.6em;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 1.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  border-top: 1px solid rgba(247,242,232,0.18);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; letter-spacing: 0.04em; color: rgba(247,242,232,0.75); margin-top: 0.3em; }
.stat-divider { width: 1px; height: 34px; background: rgba(247,242,232,0.2); }

.hero-award-badge {
  position: absolute;
  top: 6.5rem;
  right: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(14, 26, 43, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(247,242,232,0.25);
  border-radius: 3px;
  padding: 0.7rem 1.1rem;
}
.hero-award-badge img { height: 52px; width: auto; }
.hero-award-badge span {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--cream);
  letter-spacing: 0.01em;
}

/* ============ Testimonial carousel ============ */
.testimonial-carousel {
  margin: 3.5rem auto 0;
  max-width: 720px;
  position: relative;
}
.testimonial-track {
  position: relative;
  min-height: 190px;
  transition: height 0.3s ease;
  overflow: hidden;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  text-align: center;
  padding: 0 1rem;
}
.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--navy-deep);
  line-height: 1.5;
  margin-bottom: 0.8em;
}
.testimonial-quote::before { content: "\201C"; }
.testimonial-quote::after { content: "\201D"; }
.testimonial-meta {
  font-size: 0.85rem;
  color: var(--grey-warm);
  letter-spacing: 0.03em;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(42,38,34,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
}
.testimonial-dot.active { background: var(--copper); }

/* ============ Sections (shared) ============ */
.section { padding: 6rem 1.5rem; max-width: var(--max-width); margin: 0 auto; }
.section-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--copper);
  margin-bottom: 0.6em;
}

/* ============ About ============ */
.about {
  position: relative;
  overflow: hidden;
}
.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-location {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--copper);
  margin: -0.4em 0 1.2em;
}
.about-image img { border-radius: 2px; }
.about-facts {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(42,38,34,0.12);
}
.fact { display: flex; flex-direction: column; }
.fact-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--navy); line-height: 1; }
.fact-label { font-size: 0.85rem; color: var(--grey-warm); margin-top: 0.4em; }

/* ============ Amenities ============ */
.amenities { background: var(--navy-deep); color: var(--cream); max-width: none; padding: 6rem 1.5rem; }
.amenities h2 { color: var(--white); }
.amenities-inner { max-width: var(--max-width); margin: 0 auto; }
.amenities-grid {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 3rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.amenities-grid li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: 1.02rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(247,242,232,0.12);
}
.amenity-mark { color: var(--gold); }

/* ============ Rooms ============ */
.room-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 4rem;
}
.room-row.reverse { grid-template-columns: 1fr 1.15fr; }
.room-row.reverse .room-image { order: 2; }
.room-row.reverse .room-copy { order: 1; }
.room-image img { border-radius: 2px; }
.room-index {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin-bottom: 0.6em;
}

/* ============ Gallery ============ */
.gallery-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2.5rem 0 2.5rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(42,38,34,0.2);
  color: var(--charcoal);
  padding: 0.5em 1.2em;
  font-family: var(--font-body);
  font-size: 0.88rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { border-color: var(--copper); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--cream-soft);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.hidden { display: none; }

/* ============ Lightbox ============ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 26, 43, 0.96);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 88vw; max-height: 84vh; border-radius: 2px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
}
.lightbox-close:focus-visible, .lightbox-prev:focus-visible, .lightbox-next:focus-visible {
  outline: 2px solid var(--gold);
}
.lightbox-close { top: 1.2rem; right: 1.5rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ============ Balcony feature ============ */
.balcony-feature {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.balcony-feature img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.balcony-feature::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,26,43,0.85) 0%, rgba(14,26,43,0.1) 55%);
  z-index: 0;
}
.balcony-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 3.5rem 1.5rem;
  margin: 0 auto;
  width: 100%;
}
.balcony-copy h2 { color: var(--white); }
.balcony-copy .section-eyebrow { color: var(--gold); }

/* ============ Reviews ============ */
.reviews-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.review-stat-card {
  background: var(--white);
  border: 1px solid rgba(42,38,34,0.1);
  border-radius: 2px;
  padding: 2.2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 190px;
}
.review-num { font-family: var(--font-display); font-size: 3rem; color: var(--navy); line-height: 1; }
.review-source { margin-top: 0.6em; font-size: 0.9rem; color: var(--grey-warm); letter-spacing: 0.03em; }

/* ============ Booking ============ */
.booking { }
.booking-intro { text-align: center; max-width: 560px; margin: 0 auto 2.5rem; color: var(--grey-warm); }
.availability-widget {
  background: var(--cream-soft);
  border: 1px solid rgba(42,38,34,0.12);
  border-radius: 2px;
  padding: 2rem;
  margin-bottom: 3rem;
  overflow-x: auto;
}
.availability-fallback {
  text-align: center;
  color: var(--grey-warm);
  margin: 0;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
}
.booking-form {
  background: var(--white);
  border: 1px solid rgba(42,38,34,0.1);
  padding: 2.2rem;
  border-radius: 2px;
}
.form-row { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-row-split { flex-direction: row; gap: 1rem; }
.form-row-split > div { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.85rem; color: var(--grey-warm); }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7em 0.8em;
  border: 1px solid rgba(42,38,34,0.2);
  border-radius: 2px;
  background: var(--cream);
  color: var(--charcoal);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.form-note { font-size: 0.8rem; color: var(--grey-warm); margin-top: 0.9em; margin-bottom: 0; }

.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-success, .form-error {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 2px;
  font-size: 0.9rem;
}
.form-success.visible, .form-error.visible { display: block; }
.form-success {
  background: rgba(74, 124, 89, 0.12);
  color: #2f5c3f;
  border: 1px solid rgba(74, 124, 89, 0.3);
}
.form-error {
  background: rgba(178, 58, 58, 0.1);
  color: #8c2f2f;
  border: 1px solid rgba(178, 58, 58, 0.3);
}
.form-error a { text-decoration: underline; }

.booking-contact {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 2.2rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.booking-contact h3 { color: var(--white); }
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(247,242,232,0.15);
  transition: opacity 0.2s ease;
}
.contact-line:hover { opacity: 0.8; }
.contact-label { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.04em; }
.contact-value { font-size: 1.02rem; }

.direct-perk {
  margin: 0.6rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(247,242,232,0.15);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(247,242,232,0.75);
  font-style: italic;
}

.contact-mobile-only { display: none; }
.contact-desktop-only { display: flex; cursor: text; user-select: text; }
@media (max-width: 860px) {
  .contact-mobile-only { display: flex; }
  .contact-desktop-only { display: none; }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(247,242,232,0.75);
  text-align: center;
  padding: 1.6rem 1.5rem 1.4rem;
}
.footer-logo { height: 192px; width: auto; margin: 0 auto 0.6rem; }
.footer-contact { margin-top: 0.4em; }
.footer-contact a { border-bottom: 1px solid transparent; }
.footer-contact a:hover { border-color: var(--gold); }
.footer-copy { font-size: 0.8rem; margin-top: 0.8rem; color: rgba(247,242,232,0.45); }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78vw;
    max-width: 320px;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }

  .about-grid, .room-row, .room-row.reverse {
    grid-template-columns: 1fr;
  }
  .room-row.reverse .room-image, .room-row.reverse .room-copy { order: initial; }
  .about-facts { gap: 1.6rem; }

  .guide-cards { grid-template-columns: 1fr; }

  .amenities-grid { grid-template-columns: 1fr; max-width: 420px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .booking-grid { grid-template-columns: 1fr; }
  .form-row-split { flex-direction: column; }

  .hero-stats { flex-wrap: wrap; gap: 1rem 1.4rem; }
}

@media (max-width: 480px) {
  .section { padding: 4rem 1.2rem; }
  .hero-content { padding-top: 6.5rem; }
  .page-hero-content { padding-top: 6.5rem; }
  .brand-logo { height: 78px; }
  .footer-logo { height: 144px; }
  .hero-award-badge { top: 5.5rem; right: 1rem; padding: 0.5rem 0.8rem; }
  .hero-award-badge img { height: 40px; }
  .hero-award-badge span { font-size: 0.68rem; }
}
