/* ===== Belviso by Esposito — kozmetički salon, Niš =====
   Aesthetic: luxe blush/nude + charcoal + soft gold, airy, feminine-premium */

:root {
  --charcoal: #1f1b1a;
  --charcoal-2: #2a2422;
  --ink: #2c2522;
  --cream: #faf5f1;
  --cream-2: #f3e9e2;
  --blush: #e8c9c3;
  --blush-soft: #f5e3de;
  --gold: #c9a35e;
  --gold-2: #b88f47;
  --muted: #8a7d76;
  --line: rgba(31, 27, 26, 0.12);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1140px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: 0.01em; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.section { padding: clamp(64px, 9vw, 120px) 0; }

/* ===== Eyebrow ===== */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-2);
  margin: 0 0 18px;
}
.eyebrow-line { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow-line::before { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: 0.8; }
.eyebrow-center { justify-content: center; }
.eyebrow-center.eyebrow-line::after { content: ""; width: 34px; height: 1px; background: var(--gold); opacity: 0.8; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-family: var(--sans); font-weight: 500; font-size: 0.86rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 50px; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(184, 143, 71, 0.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(184, 143, 71, 0.42); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-lg { padding: 16px 36px; font-size: 0.9rem; }

.text-link {
  display: inline-block; margin-top: 12px;
  font-weight: 500; letter-spacing: 0.04em; color: var(--gold-2);
  border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.text-link:hover { border-color: var(--gold); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(250, 245, 241, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-weight: 500; color: var(--ink); }
.brand-sub { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-2); margin-top: 4px; }
/* on hero (before scroll) the header sits on dark image */
.site-header:not(.scrolled) .brand-name { color: var(--cream); }
.site-header:not(.scrolled) .nav a { color: rgba(250,245,241,0.92); }
.site-header:not(.scrolled) .nav-toggle span { background: var(--cream); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400;
  color: var(--ink); transition: color .2s ease; position: relative;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .25s ease;
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  padding: 9px 20px; border: 1px solid var(--gold); border-radius: 50px; color: var(--gold-2) !important;
}
.nav-cta:hover { background: var(--gold); color: #fff !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("/images/hero.jpg") center/cover no-repeat;
  transform: scale(1.05);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 30% 30%, rgba(31,27,26,0.35), transparent 60%),
    linear-gradient(180deg, rgba(31,27,26,0.62) 0%, rgba(31,27,26,0.5) 40%, rgba(31,27,26,0.78) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; padding: 120px 0 80px; }
.hero .eyebrow { color: var(--blush); }
.hero h1 {
  display: flex; flex-direction: column;
  margin: 0 0 24px;
}
.hero h1 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(3.6rem, 11vw, 7rem); color: var(--cream); line-height: 0.95; }
.hero h1 .by { font-family: var(--sans); font-weight: 300; font-size: clamp(1rem, 3vw, 1.5rem); letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin-top: 10px; padding-left: 6px; }
.hero-lede { color: rgba(250,245,241,0.9); font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 300; max-width: 560px; margin: 0 0 34px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero .btn-ghost { color: var(--cream); border-color: rgba(250,245,241,0.4); }
.hero .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-meta { color: rgba(250,245,241,0.7); font-size: 0.85rem; letter-spacing: 0.04em; margin: 0; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(250,245,241,0.35);
  display: grid; place-items: center; color: var(--cream); font-size: 1.1rem;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* ===== About ===== */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--ink); margin-bottom: 22px; }
.about .lead { font-size: 1.16rem; color: var(--ink); font-weight: 400; margin: 0 0 18px; }
.about p { color: var(--muted); margin: 0 0 16px; }
.about-figure { margin: 0; position: relative; }
.about-figure img {
  width: 100%; height: clamp(380px, 50vw, 560px); object-fit: cover;
  border-radius: var(--radius);
}
.about-figure::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1;
  border: 1px solid var(--gold); border-radius: var(--radius); opacity: 0.55;
}
.about-figure figcaption {
  margin-top: 14px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); text-align: right;
}

/* ===== Section head ===== */
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--ink); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ===== Services ===== */
.services { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc {
  background: var(--cream); padding: 36px 28px; position: relative;
  transition: background .3s ease, transform .3s ease;
}
.svc:hover { background: #fff; }
.svc-num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold); display: block; margin-bottom: 14px; }
.svc h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: 12px; }
.svc p { color: var(--muted); font-size: 0.95rem; margin: 0; line-height: 1.65; }
.svc-note { text-align: center; margin: 36px 0 0; color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.2rem; }

/* ===== Gallery ===== */
.gallery-sec { background: var(--charcoal); }
.gallery-sec .section-head h2, .gallery-sec .section-head .eyebrow { color: var(--cream); }
.gallery-sec .eyebrow { color: var(--gold); }
.gallery-sec .eyebrow-line::before, .gallery-sec .eyebrow-center.eyebrow-line::after { background: var(--gold); }
.gallery-sec .section-sub { color: rgba(250,245,241,0.7); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  margin: 0; cursor: pointer; overflow: hidden; border-radius: var(--radius);
  position: relative; aspect-ratio: 3 / 5; background: var(--charcoal-2);
  border: 1px solid rgba(201,163,94,0.18);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .4s ease; filter: saturate(0.96); }
.card::after {
  content: "+"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold);
  color: var(--gold); font-size: 1.6rem; display: grid; place-items: center;
  background: rgba(31,27,26,0.5); opacity: 0; transition: opacity .3s ease, transform .3s ease; line-height: 1;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 16px 36px rgba(0,0,0,0.4); }
.card:hover img { transform: scale(1.06); }
.card:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ===== Contact ===== */
.contact { background: var(--cream-2); }
.contact-inner { max-width: 680px; margin-inline: auto; text-align: center; }
.contact h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); color: var(--ink); margin-bottom: 18px; }
.contact-lede { color: var(--muted); font-size: 1.1rem; margin: 0 auto 32px; max-width: 540px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 34px; }
.contact-meta { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.contact-loc {
  font-family: var(--serif); font-size: 1.3rem; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color .2s ease;
}
.contact-loc:hover { color: var(--gold-2); }
.contact-hint { color: var(--muted); font-size: 0.86rem; }

/* ===== Footer ===== */
.site-footer { background: var(--charcoal); color: rgba(250,245,241,0.78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(250,245,241,0.12); }
.footer-brand .brand-name { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--cream); display: block; }
.footer-brand .brand-sub { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); display: block; margin: 4px 0 14px; }
.footer-brand p { margin: 0; font-size: 0.9rem; color: rgba(250,245,241,0.66); }
.f-label { display: block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.footer-col p { margin: 0; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: 0.78rem; color: rgba(250,245,241,0.55); flex-wrap: wrap; }

/* ===== Sticky mobile call bar ===== */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; text-align: center; padding: 15px 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%); color: #fff;
  font-weight: 500; font-size: 0.92rem; letter-spacing: 0.04em;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.18);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(18,14,13,0.94); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lb-inner { margin: 0; max-width: 90vw; max-height: 88vh; text-align: center; }
.lb-inner img { max-width: 100%; max-height: 80vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lb-cap { color: var(--blush); font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-top: 16px; }
.lb-close, .lb-nav {
  position: absolute; background: rgba(250,245,241,0.08); border: 1px solid rgba(250,245,241,0.25);
  color: var(--cream); cursor: pointer; border-radius: 50%; width: 48px; height: 48px;
  display: grid; place-items: center; font-size: 1.6rem; line-height: 1; transition: background .2s ease, border-color .2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(201,163,94,0.3); border-color: var(--gold); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    background: var(--charcoal); padding: 40px; transform: translateX(100%);
    transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: var(--cream) !important; font-size: 1rem; }
  .site-header:not(.scrolled) .nav a { color: var(--cream) !important; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { color: var(--gold) !important; border-color: var(--gold); }
  .nav-toggle { display: flex; z-index: 70; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure::before { inset: 10px -10px -10px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .footer-base { justify-content: flex-start; }
  .call-bar { display: block; }
  body { padding-bottom: 54px; }
  .hero-inner { padding-top: 130px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
}

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