/* ==========================================================
   PUDER — Nail Studio
   Design tokens
   ========================================================== */
:root{
  --blush:        #f9e1e6;
  --blush-soft:   #fdf2f4;
  --white:        #fffdfb;
  --rose:         #c97b8a;
  --rose-deep:    #a85c6d;
  --text:         #5c3a42;
  --text-soft:    #8a6570;
  --gold:         #c6a15b;
  --line:         #f0cdd4;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Jost", "Segoe UI", sans-serif;

  --max: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background: linear-gradient(180deg, var(--blush) 0%, var(--blush-soft) 320px, var(--white) 680px);
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }

h1,h2,h3{
  font-family: var(--serif);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 .4em;
  letter-spacing: .01em;
}

.eyebrow{
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
}

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255, 253, 251, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.nav-left{
  display:flex;
  gap: 6px;
}

.nav-btn{
  font-size: .82rem;
  letter-spacing: .04em;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.nav-btn:hover{ background: var(--blush); color: var(--rose-deep); }
.nav-btn.active{ background: var(--rose); color: var(--white); }

.logo{
  justify-self: center;
  text-align: center;
  line-height: 1;
}
.logo a{ display:block; }
.logo-word{
  font-family: var(--serif);
  font-size: 2.1rem;
  letter-spacing: .12em;
  color: var(--text);
  position: relative;
}
.logo-dust{
  display:block;
  width: 90px;
  height: 8px;
  margin: 4px auto 0;
}

.nav-right{
  justify-self: end;
  display:flex;
  align-items:center;
  gap: 10px;
}

.btn-instagram{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink:0;
  color: var(--rose-deep);
  background: var(--blush);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-instagram svg{ width:18px; height:18px; }
.btn-instagram:hover{
  background: linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -8px rgba(168,92,109,.5);
}

.btn-book{
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--rose-deep);
  color: var(--white);
  box-shadow: 0 6px 16px -6px rgba(168,92,109,.55);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-book:hover{
  background: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -8px rgba(168,92,109,.6);
}

.nav-toggle{
  display:none;
  background:none;
  border:none;
  font-size: 1.5rem;
  color: var(--text);
  cursor:pointer;
}

@media (max-width: 760px){
  .header-inner{ grid-template-columns: auto 1fr auto; padding: 14px 18px; }
  .logo-word{ font-size: 1.5rem; }
  .nav-left{
    position: fixed;
    inset: 64px 16px auto 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 20px 40px -20px rgba(92,58,66,.35);
    transform-origin: top center;
    transform: scaleY(0);
    opacity:0;
    pointer-events:none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav-left.open{ transform: scaleY(1); opacity:1; pointer-events:auto; }
  .nav-btn{ text-align:center; }
  .nav-toggle{ display:block; }
  .btn-book{ padding: 9px 14px; font-size: .74rem; }
  .nav-right{ gap: 6px; }
  .btn-instagram{ width: 34px; height: 34px; }
  .btn-instagram svg{ width:16px; height:16px; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer{
  border-top: 1px solid var(--line);
  margin-top: 90px;
  padding: 40px 28px 30px;
  text-align:center;
  color: var(--text-soft);
  font-size: .82rem;
  letter-spacing: .02em;
}
.site-footer .foot-word{
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--rose-deep);
  display:block;
  margin-bottom: 6px;
}

/* ==========================================================
   SHARED LAYOUT
   ========================================================== */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.page-hero{
  padding: 64px 28px 20px;
  text-align:center;
}
.page-hero .eyebrow{ display:block; margin-bottom: 10px; }
.page-hero h1{ font-size: clamp(2.1rem, 4vw, 3rem); }
.page-hero p{ color: var(--text-soft); max-width: 560px; margin: 14px auto 0; font-size: 1.02rem; line-height: 1.6; }

.btn-primary{
  display:inline-block;
  margin-top: 26px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--rose-deep);
  color: var(--white);
  font-size: .9rem;
  letter-spacing: .03em;
  box-shadow: 0 10px 24px -10px rgba(168,92,109,.6);
  transition: transform .18s ease, background .18s ease;
}
.btn-primary:hover{ background: var(--text); transform: translateY(-2px); }

.btn-ghost{
  display:inline-block;
  margin-top: 26px;
  margin-left: 12px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid var(--rose-deep);
  color: var(--rose-deep);
  font-size: .9rem;
  transition: background .18s ease, color .18s ease;
}
.btn-ghost:hover{ background: var(--rose-deep); color: var(--white); }

/* ==========================================================
   HOME — HERO (full-bleed photo)
   ========================================================== */
.hero-photo{
  position: relative;
  min-height: 560px;
  height: 82vh;
  max-height: 820px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-photo-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
.hero-photo-overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(60% 80% at 50% 50%, rgba(92,58,66,.58) 0%, rgba(92,58,66,.42) 55%, rgba(92,58,66,.3) 100%);
  z-index:1;
}
.hero-photo-content{
  position:relative;
  z-index:2;
  max-width: var(--max);
  width:100%;
  margin: 0 auto;
  padding: 0 28px;
  text-align:center;
}
.hero-photo-content .eyebrow{ display:block; margin-bottom: 14px; color: var(--white); }
.hero-photo-content h1{
  color: var(--white);
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  line-height: 1.05;
  max-width: 780px;
  margin: 0 auto;
}
.hero-photo-content h1 em{
  font-style: normal;
  color: #5c3a42;
}
.hero-photo-content p{
  margin: 18px auto 0;
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
}
.hero-photo-content .hero-cta{ margin-top: 26px; }
.hero-photo-content .btn-ghost{
  border-color: rgba(255,255,255,.8);
  color: var(--white);
}
.hero-photo-content .btn-ghost:hover{
  background: var(--white);
  color: var(--rose-deep);
}

.hero-photo-chip{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  margin-top: 30px;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: .82rem;
  background: rgba(255,253,251,.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.4);
}
.hero-photo-chip strong{ display:block; font-family: var(--serif); font-size: 1.15rem; color: var(--rose-deep); }
.hero-photo-chip .chip-stars{ font-family: var(--sans); font-size: 1rem; letter-spacing: .1em; color: var(--gold); }

@media (max-width: 760px){
  .hero-photo{ height: 74vh; min-height: 480px; }
  .hero-photo-img{ object-position: 15% 70%; }
  .hero-photo-overlay{
    background: radial-gradient(90% 70% at 50% 50%, rgba(92,58,66,.62) 0%, rgba(92,58,66,.5) 60%, rgba(92,58,66,.4) 100%);
  }
  .hero-photo-content{ padding-top: 70px; }
  .hero-photo-content h1, .hero-photo-content p{ max-width: none; }
  .hero-photo-content .hero-cta{ display:flex; flex-direction:column; align-items:center; gap: 10px; }
  .hero-photo-content .hero-cta a{ margin-top:0; }
  .hero-photo-content .btn-ghost{ margin-left:0; }
  .hero-photo-chip{
    margin-top: 20px;
    padding: 9px 14px;
    font-size: .74rem;
  }
  .hero-photo-chip .chip-stars{ font-size: .85rem; letter-spacing: .06em; }
}

/* strip of gallery images */
.gallery-strip{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 100px;
}
.gallery-strip .section-head{ text-align:center; margin-bottom: 34px; }
.strip-grid{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
.strip-grid figure{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  aspect-ratio: 3/4;
}
.strip-grid img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; filter: saturate(.65) brightness(1.03) contrast(.95); }
.strip-grid figure:hover img{ transform: scale(1.06); }
@media (max-width: 760px){ .strip-grid{ grid-template-columns: repeat(2,1fr); } }

/* why us */
.why{
  background: var(--white);
  padding: 90px 28px;
}
.why-grid{
  max-width: var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
}
.why-card{ text-align:center; padding: 0 10px; }
.why-num{
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.why-card h3{ font-size: 1.2rem; }
.why-card p{ color: var(--text-soft); font-size: .92rem; line-height: 1.6; }
@media (max-width: 760px){ .why-grid{ grid-template-columns: 1fr; gap: 40px; } }

/* CTA band */
.cta-band{
  max-width: var(--max);
  margin: 0 auto 100px;
  padding: 60px 40px;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: var(--white);
  text-align:center;
}
.cta-band h2{ color: var(--white); }
.cta-band p{ color: rgba(255,255,255,.85); max-width: 480px; margin: 10px auto 0; }
.cta-band .btn-primary{ background: var(--white); color: var(--rose-deep); }
.cta-band .btn-primary:hover{ background: var(--text); color: var(--white); }

/* ==========================================================
   SERVICES PAGE
   ========================================================== */
.price-table{
  max-width: 860px;
  margin: 10px auto 90px;
  padding: 0 28px;
}
.price-group{ margin-bottom: 44px; }
.price-group h2{
  font-size: 1.5rem;
  color: var(--rose-deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 6px;
}
.price-row{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px dashed var(--line);
}
.price-row:last-child{ border-bottom:none; }
.price-row .name{ font-weight: 500; }
.price-row .desc{ display:block; color: var(--text-soft); font-size: .85rem; margin-top: 3px; }
.price-row .price{
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--rose-deep);
  white-space: nowrap;
}
.price-note{
  text-align:center;
  color: var(--text-soft);
  font-size: .88rem;
  margin-top: 30px;
}

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.contact-grid{
  max-width: var(--max);
  margin: 10px auto 100px;
  padding: 0 28px;
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items:start;
}
.contact-card{
  background: var(--white);
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: 0 30px 60px -35px rgba(92,58,66,.3);
}
.contact-card h2{ font-size: 1.5rem; margin-bottom: 18px; }
.contact-item{
  display:flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--blush-soft);
}
.contact-item:last-child{ border-bottom:none; }
.contact-item .ico{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blush);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  color: var(--rose-deep);
  font-size: 1rem;
}
.contact-item strong{ display:block; font-size: .92rem; }
.contact-item span, .contact-item a{ color: var(--text-soft); font-size: .88rem; }
.contact-item a:hover{ color: var(--rose-deep); }

.map-wrap{
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 30px 60px -35px rgba(92,58,66,.3);
  aspect-ratio: 4/3.4;
}
.map-wrap iframe{ width:100%; height:100%; border:0; }

@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }

/* ==========================================================
   BOOKING PAGE
   ========================================================== */
.booking-wrap{
  max-width: 980px;
  margin: 10px auto 100px;
  padding: 0 28px;
}
.booking-embed{
  background: var(--white);
  border-radius: 24px;
  overflow:hidden;
  box-shadow: 0 30px 60px -35px rgba(92,58,66,.3);
  min-height: 720px;
}
.booking-note{
  text-align:center;
  color: var(--text-soft);
  font-size: .86rem;
  margin-top: 24px;
  line-height: 1.6;
}

/* ==========================================================
   GALLERY PAGE — PRE I POSLE (before/after)
   ========================================================== */
.gallery-page{
  max-width: var(--max);
  margin: 10px auto 60px;
  padding: 0 28px;
}

/* Photos come straight from an iPhone (portrait, ~3:4) — each photo
   slot is fixed to that ratio with object-fit: cover, so pairs line
   up cleanly no matter the exact source resolution. */
.before-after-grid{
  max-width: 900px;
  margin: 0 auto 70px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.ba-card{
  background: var(--white);
  border-radius: 20px;
  overflow:hidden;
  box-shadow: 0 25px 50px -30px rgba(92,58,66,.3);
}
.ba-images{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
}
.ba-photo{
  margin:0;
  position:relative;
  aspect-ratio: 3/4;
  overflow:hidden;
}
.ba-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.ba-label{
  position:absolute;
  bottom:10px; left:10px;
  background: rgba(92,58,66,.72);
  color: var(--white);
  font-family: var(--sans);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.ba-images figure:last-child .ba-label{ background: rgba(168,92,109,.85); }
.ba-caption{
  padding: 14px 18px 20px;
  text-align:center;
  color: var(--text-soft);
  font-size: .86rem;
  line-height: 1.5;
}

.gallery-cta{ text-align:center; margin-bottom: 90px; }
.gallery-cta p{ color: var(--text-soft); max-width: 480px; margin: 0 auto; }

@media (max-width: 720px){
  .before-after-grid{ grid-template-columns: 1fr; max-width: 420px; gap: 22px; }
}
@media (max-width: 420px){
  .ba-label{ font-size: .6rem; padding: 3px 9px; bottom: 6px; left: 6px; }
}

/* ==========================================================
   GOOGLE SHEETS — CONTENT LOADING / ERROR STATES
   (used on Usluge and Galerija while script-sheets.js fetches)
   ========================================================== */
.sheet-loading, .sheet-error{
  grid-column: 1 / -1;
  text-align:center;
  color: var(--text-soft);
  font-size: .92rem;
  padding: 50px 20px;
}
.sheet-error{ color: var(--rose-deep); }
