/* ── La Parrukiera – style.css ── */

:root {
  --rosa: #f970bc;
  --rosa-chiaro: #fdb8e3;
  --verde: #2c7a4b;
  --scuro: #1a1a1a;
  --crema: #fdf6f0;
  --grigio: #6b6b6b;
  --bianco: #ffffff;
  --shadow: 0 8px 40px rgba(249,112,188,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--crema);
  color: var(--scuro);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 68px; padding: 0 6vw;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(253,246,240,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(249,112,188,0.12);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(249,112,188,0.1); }

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; display: block; }

.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--grigio);
  font-size: .85rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--rosa); }

/* Hamburger – nascosto su desktop */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  background: none; border: none;
  flex-shrink: 0; z-index: 1001;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--scuro); border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
  pointer-events: none;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 6vw 60px;
  position: relative;
  overflow: hidden;
  gap: 4rem;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(249,112,188,.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(44,122,75,.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(249,112,188,.1);
  color: var(--rosa);
  font-size: .70rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(249,112,188,.2);
  animation: fadeUp .8s ease both;
}

h1 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.1;
  color: var(--scuro);
  margin-bottom: 1.2rem;
  animation: fadeUp .9s .1s ease both;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
}

h1 em {
  color: #f970bc;
  font-style: italic;
  font-weight: 600;
  font-family: 'Playfair Display', Georgia, serif;
}

.hero-sub {
  font-size: 1.1rem; color: var(--grigio); line-height: 1.7;
  max-width: 480px; margin-bottom: 2.5rem;
  animation: fadeUp .9s .2s ease both;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp .9s .3s ease both;
}

.btn-primary {
  background: var(--rosa); color: var(--bianco);
  padding: 16px 36px; border-radius: 50px; border: none;
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: .05em; cursor: pointer; text-decoration: none;
  transition: all .25s; display: inline-block;
  box-shadow: 0 6px 24px rgba(249,112,188,.35);
}
.btn-primary:hover { background: #e050a8; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(249,112,188,.4); }

.btn-secondary {
  background: transparent; color: var(--scuro);
  padding: 16px 36px; border-radius: 50px;
  border: 1.5px solid rgba(26,26,26,.2);
  font-family: 'Raleway', sans-serif; font-weight: 600; font-size: .95rem;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: all .25s;
}
.btn-secondary:hover { border-color: var(--rosa); color: var(--rosa); }

.hero-visual {
  position: relative;
  animation: fadeUp 1s .2s ease both;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 290px 400px;
  gap: 12px;
}
.hero-grid img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 12px;
}
.hero-grid img:first-child {
  grid-row: span 2; border-radius: 16px;
}

.hero-pill {
  position: absolute;
  bottom: -20px; left: -30px;
  background: var(--bianco);
  border-radius: 50px;
  padding: 14px 22px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  display: flex; align-items: center; gap: 12px;
  animation: fadeUp 1s .5s ease both;
}
.hero-pill-icon { font-size: 1.6rem; }
.hero-pill-text { font-size: .8rem; color: var(--grigio); line-height: 1.4; }
.hero-pill-text strong { display: block; color: var(--scuro); font-size: .95rem; }

/* ── BIO ── */
#bio {
  padding: 80px 6vw;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 6rem; align-items: center;
  background: var(--bianco);
}

.bio-img-wrap { position: relative; }
.bio-img-wrap img {
  width: 100%; border-radius: 16px;
  box-shadow: var(--shadow);
}
.bio-accent {
  position: absolute;
  top: -20px; left: -20px;
  width: 120px; height: 120px;
  border: 3px solid var(--rosa-chiaro);
  border-radius: 12px;
  z-index: -1;
}

.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--rosa); margin-bottom: 1rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2; margin-bottom: 1.5rem;
}

#bio p {
  font-size: 1rem; color: var(--grigio); line-height: 1.8; margin-bottom: 1.5rem;
}

.bio-staff { display: flex; gap: 1rem; margin-top: 2rem; }
.staff-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--crema); border-radius: 30px;
  padding: 8px 16px;
  font-size: .85rem; font-weight: 600;
}
.staff-chip::before { content: '✂'; color: var(--rosa); }

/* ── SERVIZI ── */
#servizi {
  padding: 80px 6vw;
  background: var(--crema);
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2, .section-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: .8rem;
}
.section-header p { color: var(--grigio); font-size: 1rem; max-width: 500px; margin: 0 auto; }

.servizi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 2rem;
}

.servizio-card {
  background: var(--bianco);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(249,112,188,.08);
  transition: all .3s;
  position: relative; overflow: hidden;
}
.servizio-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--rosa), var(--rosa-chiaro));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.servizio-card:hover::before { transform: scaleX(1); }
.servizio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(249,112,188,.15), rgba(249,112,188,.05));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.5rem;
}

.servizio-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; margin-bottom: .8rem;
}
.servizio-card p { font-size: .9rem; color: var(--grigio); line-height: 1.6; }

/* ── INFOLTIMENTO ── */
#infoltimento {
  padding: 100px 6vw;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1520 100%);
  color: var(--bianco);
  position: relative; overflow: hidden;
}

#infoltimento::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 90% 50%, rgba(249,112,188,.15) 0%, transparent 60%);
  pointer-events: none;
}

#infoltimento .section-header h2 { color: var(--bianco); }
#infoltimento .section-header p { color: rgba(255,255,255,.6); }
#infoltimento .section-label { color: var(--rosa-chiaro); }

.video-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-top: 3rem;
}

.video-box {
  position: relative; border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

.video-box video {
  width: 100%; display: block; border-radius: 16px;
  max-height: 500px; object-fit: cover;
}

.video-label {
  position: absolute; top: 16px; left: 16px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px);
  color: var(--bianco);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px;
}
.video-label.after { background: var(--rosa); }



/* ── SEZIONE SERVIZIO (testo + immagine alternati) ── */
.servizio-section {
  padding: 90px 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.servizio-section.crema  { background: var(--crema); }
.servizio-section.scuro  {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1520 100%);
  position: relative; overflow: hidden;
}
.servizio-section.scuro::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 90% 50%, rgba(249,112,188,.08) 0%, transparent 60%);
  pointer-events: none;
}
 
/* Ordine alternato: immagine a sinistra */
.servizio-section.reverse { }
.servizio-section.reverse .servizio-testo { order: 2; }
.servizio-section.reverse .servizio-img   { order: 1; }
 
.servizio-testo { position: relative; z-index: 1; }
 
.servizio-section.crema  .servizio-testo .section-label { color: var(--rosa); }
.servizio-section.scuro  .servizio-testo .section-label { color: var(--rosa-chiaro); }
 
.servizio-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2; margin-bottom: 1.2rem;
}
.servizio-section.crema h2 { color: var(--scuro); }
.servizio-section.scuro h2 { color: var(--bianco); }
 
.servizio-section p {
  font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem;
}
.servizio-section.crema p { color: var(--grigio); }
.servizio-section.scuro p { color: rgba(255,255,255,.65); }
 
.servizio-section .btn-primary { margin-top: .5rem; }
 
.servizio-img {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 3/3;
}
.servizio-img img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 20px;
  transition: transform .6s;
}
.servizio-section:hover .servizio-img img { transform: scale(1.03); }
 
/* Cornice decorativa sull'immagine */
.servizio-img::after {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 2px solid rgba(249,112,188,.25);
  border-radius: 20px;
  z-index: -1;
  transition: inset .3s;
}
.servizio-section:hover .servizio-img::after {
  inset: 16px -16px -16px 16px;
}
.servizio-section.reverse .servizio-img::after {
  inset: 12px 12px -12px -12px;
}
.servizio-section.reverse:hover .servizio-img::after {
  inset: 16px 16px -16px -16px;
}
 
/* ── SEZIONE INTRO SERVIZI ── */
.servizi-intro {
  padding: 80px 6vw 40px;
  background: #fff;
  text-align: center;
}
.servizi-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 1rem; color: var(--scuro);
}
.servizi-intro p { color: var(--grigio); font-size: 1.05rem; max-width: 600px; margin: 0 auto; line-height: 1.8; }

/* ── HERO INTERNO (servizi / contatti) ── */
.hero-inner {
  min-height: 52vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 130px 6vw 80px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1520 100%);
}
.hero-inner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 80% 50%, rgba(249,112,188,.1) 0%, transparent 65%),
    radial-gradient(ellipse 35% 50% at 10% 80%, rgba(44,122,75,.06) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner .hero-badge { animation: none; }
.hero-inner h1 { color: var(--bianco); animation: none; }
.hero-inner h1 em { color: var(--rosa); }
.hero-inner .hero-sub { color: rgba(255,255,255,.65); animation: none; max-width: 620px; }

/* ── SEZIONE CONTATTI DESCRITTIVA ── */
.contatti-section {
  padding: 90px 6vw;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  background: var(--crema);
}
.contatti-section .servizio-img::after {
  inset: 12px -12px -12px 12px;
}
 
/* ── RESPONSIVE pagine interne ── */
@media (max-width: 900px) {
  .servizio-section,
  .contatti-section,
  .contatti-grid { grid-template-columns: 1fr; gap: 2.5rem; }
 
  .servizio-section.reverse .servizio-testo,
  .servizio-section.reverse .servizio-img { order: unset; }
 
  .hero-inner { min-height: 44vh; padding: 120px 6vw 60px; }
 
  .servizio-img::after,
  .servizio-section.reverse .servizio-img::after { display: none; }
}


/* ── GALLERIA ── */
#galleria {
  padding: 100px 6vw;
  background: var(--bianco);
}

.gallery-masonry {
  columns: 4; column-gap: 12px;
  margin-top: 3rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%; display: block;
  transition: transform .5s, filter .3s;
}

.gallery-item:hover img { transform: scale(1.04); filter: brightness(1.05); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(249,112,188,.65) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--bianco); font-size: .8rem; font-weight: 600; letter-spacing: .08em;
}

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.9); z-index: 9999;
  justify-content: center; align-items: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: var(--bianco); font-size: 2rem; cursor: pointer;
  background: none; border: none; line-height: 1;
}

/* ── BRAND ── */
#brand {
  padding: 60px 6vw;
  background: var(--crema);
  display: flex; align-items: center; justify-content: center;
  gap: 4rem; flex-wrap: wrap;
}

.brand-item {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: .6; transition: opacity .3s;
}
.brand-item:hover { opacity: 1; }

.brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  letter-spacing: .15em; color: var(--scuro);
}
.brand-logo.ghd { color: #000; font-family: sans-serif; font-weight: 900; letter-spacing: .05em; }
.brand-sub { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grigio); }

.brand-img {
  height: 40px;
  width: auto;
  display: block;
  
  
  transition: opacity .3s;
}


/* ── CONTATTI ── */
#contatti {
  padding: 100px 6vw;
  background: var(--bianco);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}

#contatti h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1.2rem;
}
#contatti > div > p { color: var(--grigio); line-height: 1.8; margin-bottom: 2rem; }

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 16px 20px; background: var(--crema);
  border-radius: 12px;
}
.contact-row-icon {
  width: 40px; height: 40px; background: var(--rosa);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--bianco); flex-shrink: 0;
}
.contact-row-text { font-size: .9rem; }
.contact-row-text strong { display: block; font-weight: 700; }
.contact-row-text span { color: var(--grigio); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--grigio);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  background: var(--crema);
  border: 1.5px solid rgba(26,26,26,.1);
  border-radius: 10px;
  font-family: 'Raleway', sans-serif; font-size: .95rem; color: var(--scuro);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--rosa);
  box-shadow: 0 0 0 3px rgba(249,112,188,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  background: var(--rosa); color: var(--bianco);
  border: none; padding: 16px 40px; border-radius: 50px;
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all .25s; align-self: flex-start;
  box-shadow: 0 6px 24px rgba(249,112,188,.3);
}
.form-submit:hover { background: #e050a8; transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  padding: 40px 6vw;
  background: var(--scuro); color: rgba(255,255,255,.5);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
footer p { font-size: .82rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s, transform .7s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #hero, #bio, #contatti { grid-template-columns: 1fr; gap: 3rem; }
  .servizi-grid { grid-template-columns: 1fr; }
  .video-compare { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .h1 { font-size: 2rem; }
  .hero-grid { grid-template-rows: 180px 250px; }

  /* Hamburger visibile */
  .nav-hamburger { display: flex; }

  /* Menu chiuso */
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(253,246,240,0.99);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(249,112,188,.15);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 299;
  }
  /* Menu aperto */
  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--scuro);
  }
  .nav-links a:hover,
  .nav-links a.active { background: var(--crema); color: var(--rosa); }
}

@media (max-width: 600px) {
  .gallery-masonry { columns: 2; }
  #hero { padding-top: 100px; }
  .servizi-grid { grid-template-columns: 1fr; }
  .h1 { font-size: 1.4rem; }
}

@media (max-width: 400px) {
  .gallery-masonry { columns: 2; }
  #hero { padding-top: 150px; }
  .servizi-grid { grid-template-columns: 1fr; }
  .h1 { font-size: 1rem; }
}