/* NOR Beauty Salon – stiluri comune pentru toate paginile */

:root {
  --galben: #ffdf00;
  --galben-slider: #ddda00;
  --negru: #0c0c0c;
  --text: #777777;
  --titlu: #111111;
  --fundal: #f8f8f8;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
  margin: 0;
  background: var(--fundal);
  color: var(--text);
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.header__logo {
  flex: 0 0 12.5%;
  display: flex;
  justify-content: center;
}
.header__logo img { width: 88px; height: 88px; }
.header__nav { flex: 1; display: flex; justify-content: center; }
.menu {
  display: flex;
  gap: 81px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 500;
}
.menu a {
  position: relative;
  display: block;
  padding: 8px 5px;
  line-height: 20px;
  color: var(--negru);
  overflow: hidden;
}
/* efect "double line" cu animație slide, ca pe original */
.menu a::before,
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--galben);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}
.menu a::before { top: 0; transform: translateX(-100%); }
.menu a::after { bottom: 0; transform: translateX(100%); }
.menu a:hover::before, .menu a:hover::after,
.menu a.activ::before, .menu a.activ::after {
  opacity: 1;
  transform: translateX(0);
}

.burger {
  display: none;
  margin-left: auto;
  margin-right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 3px;
  background: rgba(0, 0, 0, .05);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--negru);
  position: relative;
  transition: transform .3s, background .3s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.header.deschis .burger span { background: transparent; }
.header.deschis .burger span::before { transform: translateY(7px) rotate(45deg); }
.header.deschis .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Slider (Acasă) ---------- */
.slider {
  position: relative;
  height: 605px;
  border: 3px solid var(--galben-slider);
  overflow: hidden;
  background: #bbbbbb;
}
.slider__track {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
}
.slide {
  flex: 0 0 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto;
}
.slide--1 { background-color: #bbbbbb; background-image: url("../img/slide-1.jpg"); }
.slide--2 { background-color: #833ca3; background-image: url("../img/slide-2.jpg"); }
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: .75;
  text-shadow: 0 0 6px rgba(0, 0, 0, .35);
  z-index: 2;
}
.slider__arrow:hover { opacity: 1; }
.slider__arrow--prev { left: 15px; }
.slider__arrow--next { right: 15px; }

/* ---------- Depilight PRO (text pe fundal cu forme galbene) ---------- */
.depilight {
  background: url("../img/fundal.png") center center / 100% auto no-repeat;
  padding: 20px 15px 0;
  min-height: 164px;
}
.depilight__text {
  max-width: 980px;
  margin: 0 auto;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 100;
  line-height: 1.5em;
  letter-spacing: 1px;
  text-align: center;
}
.depilight__text p { margin-bottom: 12px; }
.depilight__text strong { font-weight: 700; }

/* ---------- Banner salon (Acasă) ---------- */
.banner {
  position: relative;
  min-height: 699px;
  display: flex;
  align-items: center;
  border: 3px solid var(--galben);
  background: url("../img/poze-nor.jpg") center center no-repeat;
  background-size: cover;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .5;
}
.banner__col {
  position: relative;
  flex: 0 0 37.991%;
  padding: 0 15px 0 50px;
}
.banner h4 {
  margin: 0;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
}

/* ---------- Avantaje ---------- */
.avantaje {
  background: url("../img/sageata.png") top center / 74% auto no-repeat;
  padding: 50px 15px 0;
}
.avantaje__rand {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.avantaj {
  padding: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 100;
  line-height: 28px;
  color: var(--text);
  text-align: center;
}
.avantaj h3 {
  margin: 0 0 18px;
  color: var(--titlu);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}
.avantaje__rand + .avantaje__rand { padding-bottom: 10px; }

/* ---------- Dungă galbenă ---------- */
.dunga {
  height: 129px;
  background: url("../img/dunga.png") left bottom / auto no-repeat;
}
@media (min-width: 1921px) {
  .dunga { background-size: 100% auto; }
}

/* ---------- Galerie ---------- */
.galerie img { width: 100%; }

/* ---------- Bandă contact (subsol) ---------- */
.contact {
  min-height: 150px;
  display: grid;
  grid-template-columns: 37.257% 26.396% 36.343%;
  align-items: center;
  background: rgba(0, 0, 0, .07);
  font-family: "Montserrat", sans-serif;
}
.contact__col { padding: 10px; }
.contact__cta { text-align: center; }
.contact__cta p { margin: 0; color: var(--titlu); font-size: 16px; font-weight: 700; }
.buton {
  display: inline-block;
  padding: 12px 24px;
  border: 0;
  border-radius: 3px;
  background: #000;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  cursor: pointer;
  transition: opacity .2s;
}
.buton:hover { opacity: .85; }
.buton--galben { background: var(--galben); color: #000; }
.contact__info p {
  margin: 0 0 13px;
  font-size: 13px;
  font-weight: 100;
  line-height: .8em;
  color: var(--text);
}
.contact__info p:last-child { margin-bottom: 0; }
.contact__info b { color: var(--titlu); font-weight: 700; }
.contact__info a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  max-width: 1392px;
  margin: 0 auto;
  padding: 17px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
}
.footer b { color: var(--titlu); }
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #818a91;
  border-radius: 50%;
  color: #4054b2;
  transition: background .2s, color .2s;
}
.social:hover { background: #4054b2; color: #fff; border-color: #4054b2; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Popup "Cere Oferta" ---------- */
.popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .8);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.popup.deschis { opacity: 1; visibility: visible; }
.popup__box {
  position: relative;
  width: 640px;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  padding: 150px 20px;
  background: #fff;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
  text-align: center;
  transform: translateY(20px);
  transition: transform .3s;
}
.popup.deschis .popup__box { transform: none; }
.popup__forma {
  position: absolute;
  left: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
}
.popup__forma--sus { top: 0; fill: #ede555; }
.popup__forma--jos { bottom: 0; height: 131px; fill: #f2e257; transform: rotate(180deg); }
.popup__inchide {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 2;
  border: 0;
  background: none;
  color: #777;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.popup__inchide:hover { color: #000; }
.popup__continut { position: relative; }
.popup__continut img { width: 243px; margin: 0 auto 20px; }
.popup h2 {
  margin: 0 0 10px;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}
.popup h5 {
  margin: 0 0 15px;
  color: #ff0000;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 19.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.popup__telefon {
  display: inline-block;
  color: #ff0000;
  font-family: "Roboto", sans-serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
}

/* =========================================================
   Pagini interioare
   ========================================================= */

/* ---------- Banner cu titlul paginii ---------- */
.hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  border: 3px solid var(--galben);
  background-color: #444;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .5;
}
.hero__continut { position: relative; max-width: 760px; }
.hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--galben);
}
.hero p {
  margin: 18px 0 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 1px;
}
.hero--corporale { background-image: url("../img/poze-nor.jpg"); }
.hero--faciale { background-image: url("../img/galerie.jpg"); background-position: center 62%; }
.hero--epilare { background-image: url("../img/slide-2.jpg"); background-position: 70% center; }
.hero--contact { background-image: url("../img/slide-1.jpg"); }

/* ---------- Conținut cu săgeata galbenă sus ---------- */
.continut {
  background: url("../img/sageata.png") top center / 74% auto no-repeat;
  padding: 80px 15px 40px;
}
.continut__inner { max-width: 1200px; margin: 0 auto; }

/* ---------- Cuprins proceduri ---------- */
.cuprins {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 60px;
  padding: 0;
  list-style: none;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cuprins a {
  display: block;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 30px;
  background: #fff;
  color: var(--titlu);
  transition: background .2s, border-color .2s;
}
.cuprins a:hover { background: var(--galben); border-color: var(--galben); }

/* ---------- Procedură (rânduri alternante) ---------- */
.procedura {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}
.procedura:last-child { margin-bottom: 0; }
.procedura:nth-of-type(even) .procedura__vizual { order: 2; }

.procedura__vizual {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
  border: 3px solid var(--galben);
  background: #fff;
}
/* formă galbenă în colț, ca pe fundalul de pe prima pagină */
.procedura__vizual::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 220px;
  height: 180px;
  border-radius: 58% 42% 50% 50% / 55% 45% 55% 45%;
  background: var(--galben);
  box-shadow: -4px -4px 10px rgba(0, 0, 0, .12);
  transform: rotate(-18deg);
}
.procedura:nth-of-type(even) .procedura__vizual::before {
  right: auto;
  left: -60px;
  border-radius: 42% 58% 50% 50% / 45% 55% 45% 55%;
  transform: rotate(18deg);
}
.procedura__nr {
  position: relative;
  color: var(--titlu);
  font-family: "Montserrat", sans-serif;
  font-size: 88px;
  font-weight: 100;
  line-height: 1;
}
.procedura__vizual h2 {
  position: relative;
  margin: 14px 0 0;
  color: var(--titlu);
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.procedura:nth-of-type(even) .procedura__vizual { text-align: right; }

.procedura__text {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #555;
}
.procedura__text strong { color: var(--titlu); font-weight: 600; }

/* ---------- Epilare: avantaje cu titluri ---------- */
.epilare-intro {
  max-width: 980px;
  margin: 0 auto 50px;
  text-align: center;
}
.epilare-intro h2 {
  margin: 0 0 20px;
  color: var(--titlu);
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 1px;
}
.epilare-cifre {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto 70px;
  padding: 0;
  list-style: none;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}
.epilare-cifre li {
  padding: 24px 12px;
  border: 3px solid var(--galben);
  background: #fff;
}
.epilare-cifre strong {
  display: block;
  color: var(--titlu);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.epilare-cifre span {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}
.titlu-sectiune {
  margin: 0 0 30px;
  color: var(--titlu);
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
}

/* ---------- Pagina Contact ---------- */
.contact-intro {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
}
.contact-intro strong { display: block; margin-top: 8px; color: var(--titlu); font-weight: 600; }
.cutii {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.cutie {
  padding: 34px 20px;
  background: #fff;
  border: 3px solid var(--galben);
  text-align: center;
  font-family: "Montserrat", sans-serif;
}
.cutie__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--galben);
  color: #000;
}
.cutie__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cutie h3 {
  margin: 0 0 8px;
  color: var(--titlu);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.cutie p, .cutie a { color: #555; font-size: 15px; line-height: 1.5; word-break: break-word; }
.cutie a:hover { color: #000; text-decoration: underline; }
.harta {
  border: 3px solid var(--galben);
  background: #e5e5e5;
  line-height: 0;
}
.harta iframe { width: 100%; height: 420px; border: 0; }
.facebook-cta {
  margin-top: 60px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}
.facebook-cta p {
  margin: 0 0 16px;
  color: var(--titlu);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
}
.buton--facebook { background: #4054b2; font-family: "Montserrat", sans-serif; letter-spacing: 2px; }

/* ---------- Animații la scroll ---------- */
.anim { opacity: 0; transform: translateY(-40px); transition: opacity .9s ease, transform .9s ease; }
.anim.vizibil { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim { opacity: 1; transform: none; transition: none; }
  .slider__track { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .menu { gap: 40px; }
}

@media (max-width: 1024px) {
  .menu { gap: 24px; font-size: 16px; }
  .slider { height: 400px; }
  .slide { background-size: cover; }
  .banner { min-height: 500px; }
  .banner__col { flex-basis: 55%; }
  .procedura { gap: 30px; }
  .cutii { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .header__logo { flex: 0 0 auto; padding-left: 16px; }
  .header__logo img { width: 72px; height: 72px; }
  .burger { display: inline-flex; }
  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
  }
  .header.deschis .header__nav { display: block; }
  .menu { flex-direction: column; gap: 0; font-size: 16px; }
  .menu a { padding: 14px 20px; text-align: center; }
  .menu a::before, .menu a::after { display: none; }
  .menu a.activ, .menu a:hover { background: var(--galben); }

  .slider { height: 220px; }
  .depilight { padding: 20px 16px 10px; background-size: 160% auto; }
  .depilight__text { font-size: 16px; }
  .banner { min-height: 420px; }
  .banner__col { flex-basis: 100%; padding: 0 16px; }
  .avantaje { padding: 50px 16px 0; background-size: 200% auto; }
  .avantaje__rand { grid-template-columns: 1fr; }
  .avantaj { font-size: 16px; padding: 10px 0; }
  .dunga { height: 70px; background-size: 200% auto; }
  .contact { grid-template-columns: 1fr; padding: 24px 16px; gap: 20px; }
  .contact__col--gol { display: none; }
  .contact__info { text-align: center; }
  .contact__info p { line-height: 1.4em; margin-bottom: 6px; }
  .footer { padding: 17px 16px; }
  .popup__box { padding: 120px 16px; }
  .popup h2 { font-size: 21px; }
  .popup h5 { letter-spacing: 1.5px; }
  .popup__telefon { font-size: 34px; }

  .hero { min-height: 240px; padding: 40px 16px; }
  .hero h1 { font-size: 28px; letter-spacing: 1px; }
  .hero p { font-size: 16px; }
  .continut { padding: 60px 16px 30px; background-size: 200% auto; }
  .cuprins {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 -16px 40px;
    padding: 0 16px 6px;
    overflow-x: auto;
    font-size: 11px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cuprins::-webkit-scrollbar { display: none; }
  .cuprins a { white-space: nowrap; padding: 7px 14px; }
  .procedura { grid-template-columns: 1fr; gap: 20px; margin-bottom: 50px; }
  .procedura:nth-of-type(even) .procedura__vizual { order: 0; text-align: left; }
  .procedura:nth-of-type(even) .procedura__vizual::before {
    left: auto;
    right: -60px;
    border-radius: 58% 42% 50% 50% / 55% 45% 55% 45%;
    transform: rotate(-18deg);
  }
  .procedura__vizual { min-height: 0; padding: 28px 24px; }
  .procedura__nr { font-size: 60px; }
  .procedura__vizual h2 { font-size: 20px; }
  .procedura__text { font-size: 15px; }
  .epilare-intro h2 { font-size: 26px; }
  .epilare-cifre { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 50px; }
  .epilare-cifre strong { font-size: 24px; }
  .contact-intro { font-size: 17px; }
  .cutii { grid-template-columns: 1fr; gap: 16px; }
  .harta iframe { height: 320px; }
}
