/* ──────────────────────────────────────────────────────────────
   Home page styles (extracted from index.html)
   NOTE: Keep selectors/values intact to preserve pixel-perfect UI.
────────────────────────────────────────────────────────────── */

/* ── Variables ── */
:root {
  --sage:     #b8c9b0;
  --sage-lt:  #d5e3cf;
  --cream:    #f5f0e8;
  --sand:     #e8ddd0;
  --warm:     #c8a98a;
  --dark:     #2a2520;
  --text:     #4a4035;
  --white:    #fdfaf6;
  --display:  'Cormorant Garamond', serif;
  --body:     'Jost', sans-serif;
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

/* ── Skip Link (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  font-weight: 500;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--warm);
  outline-offset: 2px;
}

/* ── Focus Styles (Accessibility) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { text-decoration: none; }

/* ── Helpers ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 18px;
}

.label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--warm);
}

.label--light { color: var(--sage); }
.label--light::before { background: var(--sage); }

h2.title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 28px;
}

h2.title em { font-style: italic; color: var(--warm); }

h2.title--lt { color: var(--cream); }

h2.title--lt em { color: var(--sage-lt); }

p.body-text {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 18px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--warm); border-radius: 10px; }

/* ────────────────────────────────
   Header
──────────────────────────────── */
#header {
  position: relative;
  background: #d8e8d2;
  height: 100vh;
  overflow: hidden;
}

.header-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 46vh;
  min-height: 220px;
  pointer-events: none;
  z-index: 0;
}

/* Desktop: show original, hide mobile variant */
.header-wave--desktop { display: block; }
.header-wave--mobile  { display: none; }

/* Tagline: upper green zone */
#header .hero-tagline {
  position: absolute;
  top: 16vh;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--dark);
  letter-spacing: .04em;
  line-height: 1.2;
}

/* Logo: centered on the wave boundary */
.header-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 280px;
  width: min(280px, 60vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.10));
}

.header-logo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Button: cream zone, above the nav */
#header .btn-hero {
  position: absolute;
  bottom: 13vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
}

.header-inner { display: contents; }
.header-cta   { display: contents; }

.hero-tagline {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--dark);
  letter-spacing: .04em;
  line-height: 1.2;
  margin: 0;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 0 48px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  font-family: var(--body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: none;
  transition: background .3s, transform .25s, box-shadow .3s;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.btn-hero:hover {
  background: var(--warm);
  transform: scale(1.04);
  box-shadow: 0 5px 14px rgba(0,0,0,.18);
}

/* ────────────────────────────────
   Nav
──────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--cream);
  /* Shadow will be enabled only when the nav is stuck */
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 40px;
  height: 5rem;
  margin-top: -6rem;
  border-radius: 28px;
  max-width: min(1200px, calc(100% - 40px));
  width: 100%;
  place-self: anchor-center;
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease), backdrop-filter .25s var(--ease), border-color .25s var(--ease);
  border: 1px solid transparent;
}

/* Hidden until nav sticks to top */
#nav .btn-primary {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .3s;
}

/* Reveal + animate in when stuck */
#nav.is-stuck .btn-primary {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Apply shadow + glass only after it becomes sticky */
#nav.is-stuck {
  background: rgba(245, 240, 232, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,0.55);
  box-shadow:
    0 10px 10px rgba(0, 0, 0, .08),
    0 1px 0 rgba(255,255,255,0.35) inset;
}

/* Ensure the next section isn't hidden under the pulled-up sticky nav */
#o-nama {
  padding-top: calc(100px + 2.5rem);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 300;
}

.nav-links a {
  color: var(--dark);
  transition: color .3s;
}

.nav-links a:hover { color: var(--warm); }

.nav-dot { color: var(--dark); opacity: .4; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: none;
  transition: background .3s, transform .25s;
}

.btn-primary:hover { background: var(--warm); transform: scale(1.03); }

/* ────────────────────────────────
   O nama
──────────────────────────────── */
#o-nama {
  padding: 100px 80px 120px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.o-nama-images {
  position: relative;
  height: 560px;
}

.blob {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.10);
  transition: transform .6s var(--ease);
}

.blob img { transition: transform .8s var(--ease); }
.blob:hover img { transform: scale(1.06); }

.blob-1 {
  width: 68%;
  height: 75%;
  border-radius: 40% 60% 60% 40% / 50%;
  top: 0;
  left: 0;
}

.blob-2 {
  width: 52%;
  height: 55%;
  border-radius: 60% 40% 40% 60% / 50%;
  bottom: 0;
  right: 0;
  border: 6px solid var(--white);
}

.blob-accent {
  position: absolute;
  bottom: 100px;
  left: 55%;
  width: 100px;
  height: 100px;
  background: var(--sage-lt);
  border-radius: 50%;
  z-index: -1;
}

.o-nama-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.stat-num {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
}

.stat-lbl {
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warm);
  margin-top: 6px;
}

/* ────────────────────────────────
   Usluge
──────────────────────────────── */
#usluge {
  padding: 100px 80px 120px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

#usluge::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.usluge-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.usluge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.18);
}

.card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  transition: transform .8s var(--ease);
  filter: brightness(.8) saturate(.9);
}

.card:hover .card-img img { transform: scale(1.08); }

.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(253,250,246,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--cream);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
}

.card-body { padding: 28px; }

.card-name {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 10px;
}

.card-desc {
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,240,232,.6);
  margin-bottom: 22px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-lt);
  transition: gap .3s, color .3s;
}

.card-link::after { content: '→'; transition: transform .3s; }

.card-link:hover {
  color: var(--white);
  gap: 14px;
}

/* ────────────────────────────────
   Cjenik
──────────────────────────────── */
#cjenik {
  padding: 100px 80px 120px;
  background: var(--cream);
}

.cjenik-header {
  text-align: center;
  margin-bottom: 70px;
}

/* New layout: clean list (no tiles/cards) */
#cjenik .cjenik-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  align-items: start;
}

#cjenik .price-cat {
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 0;
  box-shadow: none;
  height: auto;
  overflow: hidden;
}

#cjenik .price-cat[open] {
  padding-bottom: 16px;
}

.price-cat-title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0;
  padding: 16px 20px;
  border-bottom: none;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .2s ease;
}

.price-cat-title::-webkit-details-marker { display: none; }

.price-cat-title::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform .2s ease;
}

#cjenik .price-cat[open] .price-cat-title::after {
  content: '−';
}

.price-cat-title:hover {
  background: rgba(200,169,138,.1);
}

#cjenik .price-cat[open] .price-cat-title {
  border-bottom: 1px solid rgba(0,0,0,.08);
  margin-bottom: 8px;
}

#cjenik .price-cat .price-row {
  margin: 0 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0,0,0,.08);
  font-size: .86rem;
  font-weight: 300;
  color: var(--text);

  /* hover highlight */
  border-radius: 10px;
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
  transition: background-color .18s var(--ease);
}

.price-row:hover { background: rgba(200,169,138,.12); }

.price-row:last-child { border-bottom: none; }

.price {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--warm);
  white-space: nowrap;
}

/* ────────────────────────────────
   Kontakt
──────────────────────────────── */
#kontakt {
  padding: 100px 80px 80px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.kontakt-info {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.k-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.k-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.k-label {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 4px;
}

.k-val {
  font-size: .9rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
}

.kontakt-booking {
  background: var(--cream);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.booking-label {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 14px;
}

.booking-title {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.booking-title em { font-style: italic; color: var(--warm); }

.booking-text {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
  max-width: 38ch;
  margin-bottom: 32px;
}

.btn-booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  font-family: var(--body);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s, transform .25s;
  white-space: nowrap;
  margin-bottom: 20px;
}

.btn-booking:hover { background: var(--warm); transform: scale(1.03); }

.booking-note {
  font-size: .8rem;
  font-weight: 300;
  color: rgba(74, 64, 53, .65);
}

.booking-tel {
  color: var(--warm);
  text-decoration: none;
  font-weight: 400;
}

.booking-tel:hover { text-decoration: underline; }

/* ────────────────────────────────
   Mapa
──────────────────────────────── */
#mapa {
  background: var(--white);
  padding: 0 80px 90px;
}

.mapa-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.mapa-header {
  margin-bottom: 24px;
}

.mapa-address {
  font-size: .88rem;
  font-weight: 300;
  color: var(--text);
  margin-top: 10px;
  line-height: 1.6;
}

.mapa-embed {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .09);
  line-height: 0; /* prevent gap under iframe */
}

.mapa-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.mapa-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(42, 37, 32, .18);
  background: transparent;
  color: var(--dark);
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .25s, background .25s, color .25s;
  white-space: nowrap;
}

.btn-maps:hover {
  border-color: var(--warm);
  background: var(--cream);
  color: var(--warm);
}

/* ────────────────────────────────
   Footer
──────────────────────────────── */
footer {
  background: var(--dark);
  padding: 60px 80px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  gap: 40px;
}

.footer-logo {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: .2em;
  color: var(--cream);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: .78rem;
  font-weight: 300;
  color: rgba(245,240,232,.45);
  margin-top: 6px;
  letter-spacing: .08em;
}

.footer-links { display: flex; gap: 60px; }

.footer-col-title {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(245,240,232,.55);
  transition: color .3s;
}

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
}

.footer-copy {
  font-size: .72rem;
  font-weight: 300;
  color: rgba(245,240,232,.3);
}

.footer-social { display: flex; gap: 14px; }

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,240,232,.5);
  font-size: .9rem;
  transition: background .3s, color .3s, border-color .3s;
}

.social-btn:hover {
  background: rgba(255,255,255,.07);
  color: var(--cream);
  border-color: rgba(255,255,255,.25);
}

/* ────────────────────────────────
   Responsive
──────────────────────────────── */
@media (max-width: 980px) {
  #cjenik .cjenik-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 720px) {
  #cjenik {
    padding: 80px 20px 90px;
  }
}

/* ────────────────────────────────
   Reduced Motion (Accessibility)
──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
