body {
  font-family: 'Playfair Display', serif;
}

html {
  scroll-behavior: smooth;
}

.navbar {
  position: relative;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
	background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url('https://spcdn.shortpixel.ai/spio/ret_img,q_cdnize,to_auto,s_webp:avif/3desteticaparrucchieri.it/wp-content/uploads/2026/05/sfondoPc3.png');
    background-repeat: no-repeat;
    height: 800px;
    background-size: 100%;
	background-position: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 15px 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 0;
  background-color: #4a5538;
  transition: width 0.3s ease;
}

.nav-links li a:hover
{
	color: #4a5538;
}

.nav-links li a:hover::after {
	color: #4a5538;
  width: 100%;
}

.nav-links a.active {
  font-weight: 600;
}

.nav-links a.active::after {
	color: #4a5538;
  width: 100%;
}

.nav-links li a {
  text-decoration: none;
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
}

.logo span {
  font-weight: 600;
  font-size: 18px;
  color: #4a5538;
}

.logo img:hover {
  transform: scale(1.1);
}

.navbar.scrolled {
  padding: 10px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.8);
  z-index: 1000;
  transition: all 0.3s ease;
}

header a {
  color: #4a5538;
  text-decoration: none;
  position: relative;
}

header a:hover {
  color: #667548;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0px 20px;
}

.hero {
  text-align: center;
  background: #f4f6f0;
  color: #4a5538;
  border-bottom: 1px solid #e5e5e5;
  padding: 80px 20px;
}

.servizi-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.servizio {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 30%;
  background: white;
  /*padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
}

.servizio p:first-of-type {
  flex-grow: 1;
  margin-bottom: 20px;
}

.servizio a {
  margin-top: auto;
}

.servizio:hover {
  /*transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);*/
}

.servizioBarbiere img {
	max-width: 100%;
  width: 400px;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.servizioBarbiere img:hover {
	transform: translateY(-10px);
}

.servizioDonna img {
	max-width: 100%;
  width: 400px;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.servizioDonna img:hover {
	transform: translateY(-10px);
}

.servizioEstetica img {
	max-width: 100%;
  width: 400px;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.servizioEstetica img:hover {
	transform: translateY(-10px);
}

.metodo img {
  max-width: 100%;
  width: 400px;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.metodo img:hover {
  transform: scale(1.05);
}

.metodo .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.metodo .container h2,
.metodo .container ul {
  flex: 1;
}

.metodo img {
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  background: #4a5538;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  margin-top: 15px;
}

.btn-secondary {
  display: inline-block;
  border: 2px solid #4a5538;
  color: #4a5538;
  padding: 10px 20px;
  text-decoration: none;
  margin-top: 10px;
}

.btn-primary, .btn-secondary {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #667548;
  color: #fff;
}

.btn-secondary:hover {
  background: #4a5538;
  color: white;
  border-color: #667548;
}

.contatti {
  background: #f5f5f5;
  padding: 20px 0;
}

.contatti-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 14px;
}

.contatto-item a {
  color: #4a5538;
  text-decoration: none;
}

.contatto-item a:hover {
  text-decoration: underline;
}

.mapReveal {
	transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-small {
  padding: 60px 20px;
}

.chi-intro p,
.chi-impegno p,
.chi-filosofia p {
  max-width: 800px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.chi-impegno .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.chi-impegno img {
    max-width: 100%;
    width: 400px;
    height: auto;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.chi-impegno img:hover {
    transform: scale(1.05);
}

.chi-filosofia .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.chi-filosofia img {
    max-width: 100%;
    width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.chi-filosofia img:hover {
    transform: scale(1.05);
}

.chi-perche {
	text-align: center;
}

.chi-perche ul {
	list-style: none;
  padding: 0;
  text-align: center;
}

.valori-list,
.perche-list {
  margin: 20px 0;
  padding-left: 20px;
}

.valori-list li,
.perche-list li {
  margin-bottom: 10px;
}

.cta-center {
  text-align: center;
  margin-top: 30px;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: unset !important;
}

.wp-block-template-part {
	display: none;
}

:where(.wp-site-blocks) > *
 {
    margin-block-start: 0px;
}

.offerta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.offerta-text {
  flex: 1;
  min-width: 300px;
}

.offerta-badge-wrapper {
  flex-shrink: 0;
}

.offerta-intro p,
.offerta-perche p {
  max-width: 800px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.offerta-list {
  margin: 20px 0;
  padding-left: 20px;
}

.offerta-list li {
  margin-bottom: 10px;
}

.offerta-cta {
  text-align: center;
}

.offerta-perche .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.offerta-perche .container h2,
.offerta-perche .container p {
  flex: 1;
}

.offerta-perche img {
  max-width: 100%;
  width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.offerta-perche img:hover {
  transform: scale(1.05);
}

.offerta-perche .offerta-text-wrapper {
  flex: 1;
  min-width: 300px;
  margin-left: 20px;
}


.offerta-perche .offerta-text-wrapper h2 {
  font-size: 28px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.offerta-perche .offerta-text-wrapper p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.cta-center {
  margin-top: 25px;
}

.wp-block-post-title {
	display: none;
}

.offerta-badge-wrapper {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.offerta-badge {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #4a5538;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.offerta-badge:hover {
  transform: scale(1.05);
}

.offerta-badge {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #4a5538;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.offerta-badge:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  width: 100%;
}

.badge-sconto {
  font-size: 52px;
  font-weight: 700;
  color: #4a5538;
  line-height: 1;
}

.badge-line {
  width: 50%;
  height: 2px;
  background: #4a5538;
  margin: 14px 0;
}

.badge-text {
  font-size: 14px;
  letter-spacing: 2px;
  color: #4a5538;
  line-height: 1.4;
}

.contatti-page {
  padding: 60px 0;
  text-align: center;
}

.contatti-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.contatto-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contatto-card .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contatto-card svg {
  width: 100%;
  height: 100%;
  fill: #4a5538;
}

.contatto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  color: #4a5538;
}

#mappaStudio {
  margin-top: 50px;
}

.mappa-wrapper iframe{
	width: 100%;
  height: 400px;
  border: 0;
  border-radius:16px;
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.faq-section{
max-width:900px;
margin:auto;
}

.faq-item{
border-bottom:1px solid #e6e6e6;
}

.faq-question{
width:100%;
background:none;
border:none;
padding:20px 0;
font-size:18px;
cursor:pointer;

display:flex;
justify-content:space-between;
align-items:center;

text-align:left;
}

.faq-text{
flex:1;
}

.faq-icon{
font-size:22px;
color:#4a5538;
transition:transform .3s ease;
}

.faq-answer{
max-height:0;
overflow:hidden;
transition:max-height .35s ease;
}

.faq-answer p{
padding-bottom:20px;
color:#4a5538;
line-height:1.6;
}

.faq-item.active .faq-answer{
max-height:200px;
}

.faq-item.active .faq-icon{
transform:rotate(45deg);
}

.footer-copyright{
margin-top:20px;
text-align:center;
font-size:13px;
color:#4a5538;
letter-spacing:0.3px;
}

.footer-legal{
margin-top:8px;
text-align:center;
font-size:14px;
display: flex;
justify-content: center;
}

.footer-legal a{
color:#4a5538;
text-decoration:none;
margin:0 8px;
}

.footer-legal a:hover{
text-decoration:underline;
}

.prodotti-layout {
  padding: 60px 0;
}

.prodotti-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.prodotti-text {
  flex: 1;
  min-width: 300px;
}

.prodotti-img img {
  max-width: 100%;
  width: 600px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.prodotti-img img:hover {
  transform: scale(1.05);
}

.prodotti-list {
  margin-top: 20px;
  padding-left: 20px;
}

.prodotti-list li {
  margin-bottom: 10px;
}

.prodotti-categorie {
  padding: 60px 0;
  background: #f9faf7;
}

.prodotti-grid {
  /*display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;*/
}

.prodotto-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
	margin-bottom: 10px;
}

.prodotto-card:hover {
  transform: translateY(-5px);
}

.prodotti-consulenza {
  padding: 60px 0;
  text-align: center;
}

.prodotto-card img {
    max-width: 100%;
    width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.prodotto-card img:hover {
    transform: scale(1.05);
}

.prodotto-card .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.mappa-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
  background-color: #f2f2f2;
  color: #555;
  font-style: italic;
  border: 1px solid #ccc;
}

.perche-sceglierci p {
  max-width: 800px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.perche-sceglierci .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.perche-sceglierci img {
    max-width: 100%;
    width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.perche-sceglierci img:hover {
    transform: scale(1.05);
}

.chiSiamoImg img {
	   max-width: 100%;
    width: 700px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.chiSiamoImg img:hover {
    transform: scale(1.05);
}

.iNostriProdottiImg img {
	   max-width: 100%;
    width: 700px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.iNostriProdottiImg img:hover {
    transform: scale(1.05);
}

.btn-catalogo {
	border-radius: 12px;
	margin-left: 20px;
  display: inline-block;
  margin-top: 20px;
  padding: 12px 26px;
  border: 2px solid #4a5538;
  color: #4a5538;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.btn-catalogo:hover {
  background: #4a5538;
  color: #fff;
}

.btn-catalogo::after {
  content: "→";
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-catalogo:hover::after {
  transform: translateX(5px);
}

/* ========== DROPDOWN SERVICES ========== */

.nav-links li {
  position: relative;
}

/* link principale "I nostri servizi" */
.nav-links .has-submenu > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* freccia piccola elegante */
.nav-links .has-submenu > a::before {
  content: '';
  border: solid #4a5538;
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.3s ease;
}

/* submenu container */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

/* singoli item */
.submenu li {
  padding: 0;
}

.submenu li a {
	width: fit-content;
  display: block;
  padding: 10px 18px;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: #4a5538;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

/* hover elegante coerente col tuo underline style */
.submenu li a::after {
  content: '';
  position: absolute;
  left: 18px;
  bottom: 6px;
  width: 0;
  height: 1px;
  background: #4a5538;
  transition: width 0.3s ease;
}

.submenu li a:hover {
  color: #667548;
  padding-left: 22px;
}

.submenu li a:hover::after {
  width: calc(100% - 36px);
}

/* apertura dropdown */
.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ruota freccia quando aperto */
.has-submenu:hover > a::before {
  transform: rotate(-135deg);
}

/* separatore soft tra voci */
.submenu li:not(:last-child) {
  border-bottom: 1px solid rgba(74, 85, 56, 0.08);
}

@media (max-width: 792px) {
	.servizi-grid{
		display: block;
	}
	
	.container {
		padding: 190px 20px;
	}
	
	.logo {
		display: none;
	}
	
	.navbar {
    position: relative;
    top: auto;
    box-shadow: none;
    backdrop-filter: none;
		transition: none;
		display: inline-table;
		background-position: top;
		height: unset;
		background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url(https://spcdn.shortpixel.ai/spio/ret_img,q_cdnize,to_auto,s_webp:avif/3desteticaparrucchieri.it/wp-content/uploads/2026/04/sfondoMobile.png);
		background-position: center;
  }
	
	.navbar.scrolled {
		padding: 0px;
	}
	
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
	
	.prodotto-card .container
	{
		display: block;
	}
	
	.offerta-perche .container
	{
		display: block;
	}
	
	.offerta-intro .container
	{
		display: block;
	}
	
	/* ===== MOBILE DROPDOWN FIX ===== */

.nav-links {
  width: 100%;
}

/* submenu sempre nascosto su mobile */
.submenu {
  position: static;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;

  padding: 0;
  margin-left: 15px;

  max-height: 0;
  overflow: hidden;

  opacity: 1;
  visibility: visible;
  transform: none;

  transition: max-height 0.35s ease;
}

/* items più compatti */
.submenu li a {
  padding: 8px 10px;
  font-size: 15px;
}

/* apertura solo via classe (non hover) */
.has-submenu.open .submenu {
  max-height: 500px;
}

/* freccia che ruota su mobile */
.has-submenu > a::before {
  transition: transform 0.3s ease;
}

.has-submenu.open > a::before {
  transform: rotate(-135deg);
}
}

@media (max-width: 600px) {
	.container {
		padding: 90px 20px;
	}
}

@media (max-width: 425px) {
	.container {
		padding: 0px 20px;
	}
	
	.navbar {
		height: 560px;
		background-size: contain;
  }
	
	.nav-links {
		margin-top: 100px;
	}
}

@media (max-width: 375px) {
	h1 {
        font-size: 28px;
    }
}