html {
  scroll-behavior: smooth;
}

:root {
  color-scheme: light;
  --green: #94a760;
  --sage: #bac29e;
  --purple: #c69ac6;
  --pink-dark: #d37ba7;
  --pink: #e989a9;
  --pink-light: #f1b6ca;
  --cream: #f4f3eb;
  --text: #1f2417;
  --muted: rgba(31, 36, 23, 0.72);
  --dark: #243217;
  --brown: #4a2718;
  --white: #ffffff;
  --shadow: rgba(36, 50, 23, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  line-height: 1.6;
}

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

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

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 22px 4vw;
  background: rgba(244, 243, 235, 0.92);
  backdrop-filter: blur(14px);
  transition: padding 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-scrolled {
  padding: 9px 4vw;
  background: rgba(186, 194, 158, 0.96);
  box-shadow: 0 12px 30px var(--shadow);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-right {
  justify-content: flex-end;
}

.nav-link,
.cta {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-link:hover {
  color: var(--pink-dark);
}

.cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
}

.cta:hover {
  background: var(--pink-dark);
}

.brand img {
  width: 94px;
  height: 74px;
  object-fit: contain;
  transition: width 0.28s ease, height 0.28s ease;
}

.site-header.is-scrolled .brand img {
  width: 68px;
  height: 46px;
}

/* GLOBAL */

main {
  overflow: hidden;
}

.section {
  padding: 92px 6vw;
}

.section-head h2,
.intro-section h2,
.team-content h2,
.services-title h2,
.salon-today h2,
.final-message h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: 0.95;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 15px 34px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px var(--shadow);
}

.btn.primary,
.btn.dark {
  background: var(--brown);
  color: var(--cream);
}

.btn.primary:hover,
.btn.dark:hover {
  background: var(--pink-dark);
}

.btn.ghost {
  background: rgba(244, 243, 235, 0.7);
  border: 1px solid var(--sage);
  color: var(--text);
}

.center {
  text-align: center;
}

.section-sub {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--muted);
}

/* HERO */

.hero {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px) 1fr;
  align-items: stretch;
  background: var(--cream);
}

.hero-image {
  min-height: 560px;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

/* Zamenjaj slike s svojimi: hero-left.webp in hero-right.webp */
.hero-image-left {
  background-image: linear-gradient(rgba(244, 243, 235, 0.08), rgba(244, 243, 235, 0.08)), url("hero-left.webp");
}

.hero-image-right {
  background-image: linear-gradient(rgba(244, 243, 235, 0.08), rgba(244, 243, 235, 0.08)), url("hero-right.webp");
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 60px 28px;
  background: rgba(244, 243, 235, 0.78);
}

.hero-kicker {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pink-dark);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.12em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero p:not(.hero-kicker) {
  max-width: 420px;
  margin-bottom: 24px;
  font-weight: 600;
}

/* ABOUT */

.intro-section {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  background: var(--cream);
}

.intro-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 0.98rem;
}

.intro-text p + p,
.story-text p + p {
  margin-top: 18px;
}

.intro-text.wide {
  max-width: 780px;
}

/* TEAM */

.team-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: rgba(186, 194, 158, 0.25);
}

.team-story-right {
  background: rgba(241, 182, 202, 0.2);
}

.team-photo {
  min-height: 560px;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

/* Zamenjaj slike s svojimi: polona.webp in lorena.webp */
.team-photo-polona {
  background-image: url("polona.webp");
}

.team-photo-lorena {
  background-image: url("lorena.webp");
}

.team-content {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 8vw;
  position: relative;
}

.team-content::before {
  content: "";
  position: absolute;
  inset: 16% 18%;
  background: radial-gradient(circle, rgba(148, 167, 96, 0.14), transparent 64%);
  pointer-events: none;
}

.team-content > * {
  position: relative;
}

.team-content .story-text {
  max-width: 580px;
  color: var(--muted);
  margin-top: 22px;
  line-height: 1.8;
}

.pill {
  margin-top: 30px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--sage);
  font-weight: 700;
  font-size: 0.82rem;
}

/* SALON TODAY */

.salon-today {
  background: var(--cream);
}

.salon-today-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(186, 194, 158, 0.7);
  box-shadow: 0 20px 42px var(--shadow);
}

/* SERVICES */

.services-section {
  background: var(--cream);
}

.services-title p {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.services-title h2 {
  text-transform: uppercase;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 70px;
}

.service-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-img {
  height: 360px;
  margin: 8px 0 20px;
  background-size: cover;
  background-position: center;
  filter: grayscale(28%);
  background-color: var(--sage);
}

/* Zamenjaj slike s svojimi: service-1.webp ... service-4.webp */
.service-img-1 {
  background-image: url("service-1.webp");
}

.service-img-2 {
  background-image: url("service-2.webp");
}

.service-img-3 {
  background-image: url("service-3.webp");
}

.service-img-4 {
  background-image: url("service-4.webp");
}

.service-card h3 {
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.service-card p {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 310px;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 72px;
}

/* INSTAGRAM */

.instagram-section {
  background: rgba(186, 194, 158, 0.18);
}

.instagram-placeholder {
  max-width: 920px;
  margin: 42px auto 0;
  padding: 34px;
  border: 1px dashed var(--green);
  background: rgba(244, 243, 235, 0.82);
  text-align: center;
  color: var(--muted);
}

.instagram-placeholder p {
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.instagram-placeholder code {
  display: block;
  overflow-x: auto;
  font-size: 0.9rem;
  color: var(--brown);
}

[class*="elfsight-app"] {
  border-radius: 20px;
  overflow: hidden;
}

/* FINAL TEXT */

.final-message {
  background:
    linear-gradient(rgba(244, 243, 235, 0.9), rgba(244, 243, 235, 0.9)),
    radial-gradient(circle at center, rgba(241, 182, 202, 0.45), transparent 55%);
}

.final-message-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.final-message-inner p:last-child {
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.9;
}

/* REVIEWS */

.reviews-section {
  background: rgba(198, 154, 198, 0.13);
}

.reviews-card {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  background: rgba(244, 243, 235, 0.86);
  border: 1px solid rgba(186, 194, 158, 0.7);
  box-shadow: 0 20px 42px var(--shadow);
  flex-wrap: wrap;
}

.reviews-card h3 {
  font-size: 1.8rem;
  color: var(--pink-dark);
}

/* MAP */

.map-section {
  background: var(--cream);
  padding-top: 40px;
}

.map-frame {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--sage);
  box-shadow: 0 20px 42px var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

/* FOOTER */

.footer {
  padding: 34px 6vw 44px;
  background: var(--dark);
  color: var(--cream);
  font-size: 0.85rem;
}

/* BOOKING PAGE */

.booking-page {
  padding: 70px 6vw 90px;
  min-height: calc(100vh - 120px);
}

.booking-card {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 34px;
  margin-top: 30px;
  padding: 34px;
  background: rgba(244, 243, 235, 0.9);
  border: 1px solid var(--sage);
  box-shadow: 0 20px 42px var(--shadow);
}

.booking-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--sage);
  padding: 13px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 4px rgba(233, 137, 169, 0.2);
}

.form-field textarea {
  min-height: 128px;
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.booking-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.booking-text-large {
  font-size: 1.05rem;
  line-height: 1.9;
}

.booking-hours {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.85;
}

.form-small {
  color: var(--muted);
  font-size: 0.88rem;
}

/* RESPONSIVE */

@media (max-width: 1080px) {
  .nav-left,
  .nav-right {
    gap: 14px;
  }

  .nav-link,
  .cta {
    font-size: 0.72rem;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .nav-left,
  .nav-right {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image {
    min-height: 330px;
  }

  .hero-copy {
    order: -1;
  }

  .intro-section,
  .team-story,
  .booking-card {
    grid-template-columns: 1fr;
  }

  .team-story-right .team-content {
    order: 2;
  }

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

  .salon-today-card {
    padding: 38px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 68px 5vw;
  }

  .hero h1 {
    font-size: 3rem;
    letter-spacing: 0.06em;
  }

  .service-gallery,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-img {
    height: 300px;
  }

  .nav-left,
  .nav-right {
    gap: 12px;
  }

  .nav-link,
  .cta {
    font-size: 0.7rem;
  }

  .team-content,
  .salon-today-card,
  .instagram-placeholder {
    padding: 28px;
  }

  .reviews-card h3 {
    font-size: 1.35rem;
  }
}
