/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

html {
  font-size: 62.5%;
  /* 1rem = 10px */
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}



:root {
  --body-font: 'Poppins', sans-serif;

  --big-font: 4rem;
  --h1-font: 3.6rem;
  --h2-font: 2.4rem;
  --h3-font: 2rem;
  --h4-font: 1.8rem;
  --normal-font: 1.6rem;
  --small-font: 1.4rem;
  --smaller-font: 1.3rem;

  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  --primary-color: #c6252c;
  --primary-color-hover: #a9231b;
  --text-color: #0d1e3f;
  --text-color-light: #888682;
  --border-color: #484848;
  --white-color: #FFF;
  --section-bg: #113654;

  --z-overlay: 10;
  --z-fixed: 100;

  --tran-0-2: 0.2s;
  --tran-0-3: 0.3s;
  --tran-0-5: 0.5s;
}



/*Font sizes For Small Screen 968px */
@media screen and (max-width: 990px) {
  :root {
    --big-font: 3.5rem;
    --h1-font: 2.4rem;
    --h2-font: 2rem;
    --h3-font: 1.8rem;
    --h4-font: 1.6rem;
    --normal-font: 1.5rem;
    --small-font: 1.3rem;
    --smaller-font: 1.2rem;
  }
}


/* Pre-CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background-color: var(--white-color);
}

/* ---- Page‐fade transition ---- */
body {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

body.fade-in {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}


/* Custom Scrollbar */
::selection {
  background-color: var(--primary-color);
  color: var(--white-color);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: #f9f1ec;
}

::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background-color: var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
  border-radius: 1rem;
  background-color: var(--primary-color-hover)
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font);
  font-weight: var(--font-regular);
  color: var(--text-color);
}

input {
  outline: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-img{
    width: 100%;
    position: relative;
    height: fit-content;
}

/* Reusuable CSS */
.section {
  padding: 7rem 2rem;
}

.container {
  max-width: 1030px;
  width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
}

.flex {
  display: flex;
  align-items: center;
  column-gap: 0.6rem;
}

.button {
  border: none;
  outline: none;
  color: var(--white-color);
  padding: 1.4rem 4rem;
  border-radius: 3rem;
  background-color: var(--primary-color);
  transition: var(--tran-0-3);
  cursor: pointer;
}

.button:hover {
  background-color: var(--primary-color-hover);
}

.section-subtitle,
.content-subtitle {
  color: var(--primary-color);
  font-size: var(--normal-font);
  letter-spacing: 1px;
  font-weight: var(--font-medium);
  text-align: center;
}

.section-title,
.content-title {
  text-align: center;
  font-size: var(--h2-font);
  font-weight: var(--font-medium);
  margin: 1rem 0;
}

.section-description,
.content-description {
  text-align: center;
  margin-bottom: 2rem;
}

.section-description {
  padding: 0 16rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  height: 7.5rem;
  width: 100%;
  z-index: var(--z-fixed);
  transition: var(--tran-0-5);
}

.header-active {
  height: 7.5rem;
  background-color: var(--white-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* nav */
.nav {
  position: relative;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.logo-icon,
.logo-text,
.nav-link,
.phone-icon,
.phone-number {
  color: var(--white-color);
}

.header-active .logo-icon,
.header-active .logo-text,
.header-active .nav-link,
.header-active .phone-icon,
.header-active .phone-number {
  color: var(--text-color);
}

.logo-icon,
.phone-icon {
  font-size: 2rem;
}

.menu-list {
  column-gap: 2rem;
}

.nav-link {
  position: relative;
  text-transform: capitalize;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  transform: translateX(-50%);
  background-color: var(--white-color);
  opacity: 0;
}

.active-navlink::before {
  opacity: 1;
}

.header-active .active-navlink::before {
  background-color: var(--text-color);
}

.media-icons {
  column-gap: 1rem;
}

.media-icons a {
  color: var(--text-color-light);
}

.navClose-btn,
.navOpen-btn,
.media-icons {
  display: none;
}

/* nav responsive */
@media screen and (max-width: 768px) {




  .contact-content {
    display: none;
  }

  .navClose-btn,
  .navOpen-btn,
  .media-icons {
    display: block;
  }

  .nav .menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    max-width: 300px;
    width: 100%;
    height: 100%;
    z-index: var(--z-fixed);
    padding: 10rem 0 5rem;
    background-color: var(--white-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: var(--tran-0-5);
  }

  .nav .menu-content.open {
    right: 0;
  }

  .menu-list {
    flex-direction: column;
    row-gap: 2.5rem;
    font-size: var(--h4-font);
  }

  .nav-link {
    color: var(--text-color);
  }

  .nav-link::before {
    background-color: var(--text-color);
  }

  .navClose-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
  }

  .navOpen-btn {
    font-size: 2rem;
    cursor: pointer;
    color: var(--white-color);
  }

  .header-active .navOpen-btn {
    color: var(--text-color);
  }
}


/* Home */
.home {
  height: 100vh;
  width: 100%;
  /* background-color: red; */
}

.swiper-slide {
  position: relative;
  height: 100vh; /* <--- Cambiato da 100vh a auto */
  width: 100%;
}


.home .swiper-slide::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: var(--z-overlay);
}




.home-img {
  height: 100%;
  width: 100%;
}

/* swiper button */
.swiper-navBtn {
  height: 5rem;
  width: 5rem;
  color: var(--white-color);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: var(--tran-0-2);
  opacity: 0;
  visibility: visible;
}

.home:hover .swiper-navBtn,
.review:hover .swiper-navBtn {
  opacity: 1;
}

.swiper-navBtn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.swiper-navBtn::after,
.swiper-navBtn::before {
  font-size: 2rem;
}

.swiper-button-next {
  right: 16rem;
}

.swiper-button-prev {
  left: 16rem;
}

.swiper-pagination-bullet {
  background-color: var(--white-color);
  opacity: 1;
  height: 1.5rem;
  width: 1.5rem;
  margin-bottom: 2rem;
  visibility: hidden;
}

.swiper-pagination-bullet-active {
  border: 3px solid var(--white-color);
  background-color: var(--primary-color);
}

.home-details {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--z-fixed);
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  width: 100%;
  row-gap: 4rem;
}

.homeSubtitle {
  text-align: center;
  font-size: var(--normal-font);
  color: var(--white-color);
}

.homeTitle {
  text-align: center;
  font-size: var(--big-font);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
}


/* About */
.about .content-subtitle,
.about .content-title,
.about .content-description {
  text-align: left;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 7rem;
  align-items: center;
  padding: 0 5rem;
}

.about-imageContent {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  height: auto;
}

.story-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}



.aboutImg-textBox {
  position: absolute;
  bottom: 2rem;
  right: -5rem;
  padding: 2rem;
  max-width: 360px;
  width: 100%;
  text-align: center;
  border: 6px solid var(--section-bg);
  background-color: var(--white-color);
}

.aboutImg-textBox .content-description {
  text-align: center;
  margin-bottom: 0;
}

.heart-icon {
  position: absolute;
  left: -1.9rem;
  top: 50%;
  height: 3rem;
  width: 3rem;
  color: var(--white-color);
  background-color: var(--section-bg);
  transform: translateY(-50%);
  justify-content: center;
  border-radius: 50%;
}

.about-details {
  display: grid;
  row-gap: 4rem;
}

.about-lists {
  column-gap: 1rem;
  align-items: baseline;
}

.about-list {
  font-weight: var(--font-medium);
  font-size: 1.8rem;
}

.about-list:nth-child(1) {
  color: var(--primary-color);
}

.about-list.dot {
  font-size: 2.5rem;
}

.about-buttons {
  column-gap: 2rem;
}

.about-link .link-text,
.about-arrowIcon {
  color: var(--text-color);
  text-transform: uppercase;
}

.about-arrowIcon {
  transition: var(--tran-0-3);
}

.about-link:hover .about-arrowIcon {
  margin-left: 4px;
}

/* Menu */
.menu {
  background-color: var(--section-bg);
}

.section-title,
.section-description {
  color: var(--white-color);
}

.menu .menu-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  column-gap: 6rem;
  margin-top: 6rem
}

.menu-img {
  height: 80px;
  width: 80px;
  margin-right: 1.5rem;
}

.menu-items {
  display: grid;
  row-gap: 1.5rem;
}

.menu-item {
  position: relative;
  padding: 2rem 2.5rem;
  background-color: var(--white-color);
}

.menuItem-details {
  margin-right: 1.5rem;
}

.menuItem-topic {
  font-weight: var(--font-semi-bold);
}

.menuItem-des {
  font-size: var(--small-font);
}

.menuItem-price {
  flex-direction: column;
  padding-left: 2rem;
  border-left: 2px solid rgba(0, 0, 0, 0.3);
}

.discount-price {
  font-size: 1.8rem;
}

.real-price {
  text-decoration: line-through;
}

.time-topic {
  width: 100%;
  display: block;
  text-align: center;
  font-size: 1.8rem;
  font-weight: var(--font-regular);
  padding: 1.5rem 0;
  color: var(--white-color);
  background-color: var(--primary-color);
}

.time-list {
  padding: 1.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
  justify-content: space-between;
  background-color: var(--white-color);
}

.time-list:nth-child(7) {
  border-bottom: none;
}

/* Brand */
.brand-images {
  display: grid;
  align-items: center;
  column-gap: 2rem;
  justify-content: space-between;
  justify-items: center;
  margin-top: 3rem;
  grid-template-columns: repeat(5, 1fr);
}

.brand-img {
  width: 150px;
  object-fit: contain;
  opacity: 0.4;
  transition: var(--tran-0-5);
}

.brand-img:hover {
  opacity: 1;
}

/* Review */
.review {
  background-color: #f2f2f2;
}

.review .section-title,
.review .section-description {
  color: var(--text-color);
}

.testi-content {
  position: relative;
  height: 100%;
  width: 100%;
  row-gap: 2rem;
  flex-direction: column;
}

.review-img {
  height: 150px;
  width: 150px;
  border-radius: 50%;
  margin-bottom: 2rem;
}

.review-quote {
  padding: 0 15rem;
  text-align: center;
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary-color);
}

.testi-personDetails {
  flex-direction: column;
}

.testi-personDetails .name {
  font-size: 1.8rem;
  font-weight: var(--font-medium);
}

/* swiper btn */
.review .swiper-navBtn {
  background-color: rgba(0, 0, 0, 0.1);
}

.review .swiper-button-next {
  right: 2rem;
  transform: translateY(2rem);
}

.review .swiper-button-prev {
  left: 2rem;
  transform: translateY(2rem);
}

.review .swiper-navBtn:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

/* Newsletter */
.newsletter .logo-icon,
.newsletter .logo-text,
.newsletter .section-description {
  color: var(--text-color);
}

.newletter-container {
  display: grid;
  justify-items: center;
  row-gap: 4rem;
}

.newsletter .logo-icon {
  font-size: 3rem;
  color: var(--text-color-light);
}

.newsletter .logo-text {
  color: var(--text-color-light);
  font-size: 2rem;
  font-weight: var(--font-medium);
}

.newsletter-inputBox {
  position: relative;
  height: 5rem;
  max-width: 400px;
  width: 100%;
  overflow: hidden;
}

.newletter-input {
  height: 100%;
  width: 100%;
  border-radius: 3rem;
  border: 2px solid rgba(0, 0, 0, 0.2);
  padding: 0 16rem 0 2rem;
}

.newsletter-button {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 3rem 3rem 0;
}

.newsletter .media-icons {
  display: flex;
}





/* Footer */
/* ————————————————————————
   1) Rimuovo il grid originale su footer-container
———————————————————————— */
.footer-container {
  display: block !important;
  padding: 0;
  margin: 0 auto;
}

/* ————————————————————————
   2) Imposto footer-top a griglia 4 colonne
   (Brand / Link Rapidi / Contatti / Orari d’ufficio)
———————————————————————— */
.footer-top {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 4rem !important;
  align-items: start !important;
  margin-bottom: 4rem;
}

/* ————————————————————————
   3) Styling delle singole colonne
———————————————————————— */
/* 3.1 Brand (1ª colonna) */
.footer-brand {
  /* non serve nulla di speciale, eredità va bene */
}

/* 3.2 Link Rapidi (2ª colonna) */
.footer-links {
  display: grid;
  row-gap: 0.75rem;
}
.footer-links h5 {
  margin-bottom: 0.5rem;
  color: var(--white-color);
  font-weight: var(--font-medium);
}

/* 3.3 Contatti (3ª colonna) */
.footer-contact h5 {
  margin-bottom: 0.5rem;
  color: var(--white-color);
  font-weight: var(--font-medium);
}
.footer-contact p {
  margin: 0.25rem 0;
  color: var(--text-color-light);
  font-size: var(--small-font);
}

/* 3.4 Orari d’ufficio (4ª colonna) */
.footer-office-hours h5 {
  margin-bottom: 0.5rem;
  color: var(--white-color);
  font-weight: var(--font-medium);
}
.footer-office-hours p {
  margin: 0.25rem 0;
  color: var(--text-color-light);
  font-size: var(--small-font);
}

/* ————————————————————————
   4) Footer-bottom: full-width e centratissimo
———————————————————————— */
.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--text-color-light);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: var(--small-font);
  color: rgba(255,255,255,0.8);
}

/* Override colore link social testuali */
.footer-link-general {
  color: var(--white-color) !important;
  text-decoration: none;
}
.footer-link-general:hover {
  color: var(--primary-color) !important;
}


/* ————————————————————————
   5) Responsive: da mobile torna a 1 colonna
———————————————————————— */
@media screen and (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr !important;
    row-gap: 2rem;
  }
}














/* Scroll Up */
.scrollUp-btn {
  position: fixed;
  bottom: -30%;
  right: 3rem;
  height: 3rem;
  width: 3rem;
  font-size: 2rem;
  border-radius: 4px;
  color: var(--primary-color-hover);
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  background-color: var(--white-color);
  z-index: var(--z-overlay);
  justify-content: center;
  transition: var(--tran-0-3);
}

.scrollUpBtn-active {
  bottom: 3rem;
}

.scrollUp-icon {
  opacity: 0.9;
  transition: var(--tran-0-3);
}

.scrollUp-btn:hover .scrollUp-icon {
  opacity: 1;
}

/* Responive media */
@media screen and (max-width: 1150px) {
  .swiper-button-prev {
    left: 10rem;
  }

  .swiper-button-next {
    right: 10rem;
  }
}

@media screen and (max-width: 1000px) {
  .swiper-button-prev {
    left: 3rem;
  }

  .swiper-button-next {
    right: 3rem;
  }

  .section-description {
    padding: 0 8rem;
  }

  .about-imageContent {
    height: fit-content;
  }

  .aboutImg-textBox {
    padding: 1.5rem 2rem;
  }

  .menu .menu-content {
    grid-template-columns: 1.5fr 1fr;
    column-gap: 3rem;
  }

  .brand-images {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media screen and (max-width: 768px) {
  .section.review {
    padding: 7rem 1rem 3rem;
  }

  .review .swiper {
    padding-bottom: 6.5rem;
  }

  .swiper-navBtn {
    visibility: hidden;
  }

  .swiper-pagination-bullet {
    visibility: visible;
  }

  .section {
    padding: 7rem 1rem;
  }

  .section-description,
  .review-quote {
    padding: 0 6rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    row-gap: 3rem;
    justify-items: center;
  }

  .about .content-subtitle,
  .about .content-title,
  .about .content-description {
    text-align: center;
  }

  .about-details {
    justify-items: center;
  }

  .about-lists {
    justify-content: center;
  }

  .menu .menu-content {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }

  .footer-container {
    row-gap: 1.5rem;
  }
}

@media screen and (max-width: 600px) {
  .container {
    padding: 0.5rem;
  }

  .section-description,
  .review-quote {
    padding: 0;
  }

  .aboutImg-textBox {
    right: -2rem
  }

  .menuItem-price {
    border: none;
  }

  .menu-img {
    height: 70px;
    width: 70px;
    margin-right: 0;
  }

  .brand-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-img {
    width: 130px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    row-gap: 6rem;
  }

  .footer-content {
    justify-items: center;
  }

  .footer-linkContent {
    justify-items: center;
  }

}

@media screen and (max-width: 400px) {
  .homeTitle {
    font-size: 3rem;
  }

  .menu-item {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    row-gap: 2rem;
  }

  .menuItem-details {
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .menuItem-price {
    padding-left: 0;
    flex-direction: row;
  }

  .menuItem-des {
    text-align: center;
  }

  .newsletter-input {
    padding: 0 11rem 0 2rem;

  }

  .newsletter-button {
    padding: 1.4rem 2rem;

  }
}


/*INIZIO SERVIZI*/


.teams {
    color: #fff;
    background: #111;
}

.teams .title::before {
    background: #fff;
}

.teams .title::after {
    content: "Cosa offriamo"; /* Puoi cambiarlo con ciò che preferisci */
    background: #111;
}

.teams .carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.teams .carousel .card {
    background: #222;
    border-radius: 6px;
    padding: 40px 30px;
    width: calc(33.333% - 20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.teams .carousel .card:hover {
    background: crimson;
}

.teams .carousel .card .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.teams .carousel .card:hover .box {
    transform: scale(1.05);
}

.teams .carousel .card img {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid crimson;
    transition: all 0.3s ease;
}

.teams .carousel .card:hover img {
    border-color: #fff;
}

.teams .carousel .card .text {
    font-size: 22px;
    font-weight: 600;
    margin: 15px 0 10px;
}

.teams .carousel .card p {
    font-size: 16px;
    line-height: 1.6;
}


@media (max-width: 991px) {
    .teams .carousel .card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .teams .carousel {
        flex-direction: column;
        align-items: center;
    }

    .teams .carousel .card {
        width: 90%;
    }
}

/* NAVBAR - Ingrandimento testi del menu, logo e telefono */

.nav-link {
  font-size: 1.9rem; /* testo link più grande */
}

.logo-text {
  font-size: 2.4rem; /* logo più grande */
  font-weight: var(--font-semi-bold);
}

.phone-number {
  font-size: 1.6rem;
  font-weight: 500;
}

/* NAV responsive (opzionale, per mantenere leggibilità su mobile) */
@media screen and (max-width: 768px) {
  .menu-list {
    font-size: 1.8rem; /* aumenta la dimensione anche nella versione mobile */
  }

  .nav-link {
    font-size: 1.8rem;
  }
}




/* TEAMS  */
.teams {
  background-color: var(--section-bg);
  color: var(--white-color);
  padding: 7rem 2rem;

  /* MODIFICHE */
  position: relative;
  height: fit-content;
}

.container{
    /* MODIFICHE */
  position: relative;
  height: fit-content;
}

.teams .section-title {
  text-align: center;
  font-size: var(--h2-font);
  margin-bottom: 4rem;
}

.teams-carousel .card {
  background: #222;
  border-radius: 8px;
  text-align: center;
  padding: 30px 20px;
  margin: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;


  min-height: 350px;
  height: 100%;
}

.teams-carousel .card:hover {
  transform: translateY(-10px);
  background: var(--primary-color);
}

.teams-carousel .card .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}


.teams-carousel .card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  margin-bottom: 15px;
  transition: border-color 0.3s;
}

.teams-carousel .card:hover img {
  border-color: #fff;
}

.teams-carousel .text {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.teams-carousel p {
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--white-color);
}

/* Titolo sezione in stile Vantaggi */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-custom {
  font-size: 3rem;
  color: var(--white-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle-custom {
  color: var(--primary-color);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.section-subtitle-custom::before,
.section-subtitle-custom::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--white-color);
  margin: 0 10px;
  vertical-align: middle;
}

/* Bottone Visualizza tutto */
.visualizza-tutto-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.4rem;
  text-decoration: none;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.visualizza-tutto-link:hover {
  color: var(--white-color);
  border-color: var(--white-color);
}




.teams-carousel .card {
  min-height: 100%;
}




/* FINE SERVIZI */

/* Owl carousel navigation dots */
.owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background: #fff;
  display: inline-block;
  border-radius: 50%;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.owl-dot.active {
  opacity: 1;
  background: var(--primary-color);
}



/* team centra  */
.team-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: #1559b1;  /* sostituistoblu */
  color: #fff;
}

.team-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #c7252d; /* o il colore che usi */
  margin-bottom: 15px;
}



/* stile freccette  */
.owl-nav button {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #c7252d;
}

.owl-nav .owl-prev {
  left: -25px;
}

.owl-nav .owl-next {
  right: -25px;
}

.owl-dots {
  text-align: center;
  margin-top: 10px;
}
.owl-dot span {
  background: #888;
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  border-radius: 50%;
}
.owl-dot.active span {
  background: #c7252d;
}



/* LOGO MOBILE */
.mobile-scroll-logo {
  position: fixed;
  top: 10px;
  left: 15px;
  width: 40px;
  height: auto;
  display: none;
  z-index: 999;
  transition: opacity 0.3s ease;
}

/* SOLO per mobile */
@media (max-width: 768px) {
  .mobile-scroll-logo.show {
    display: block;
  }
}



.logo-content {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 5%;
}

.logo-content .logo {
  max-width: 100%;
  height: auto;
  display: block;
}



/* contact.css aggiornato per layout affiancato su desktop e verticale su mobile - ordine corretto */

.contact-section {
  padding: 6rem 2rem;
  background-color: var(--white-color);
}


.contact-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.contact-form.modern-form {
  background: #ffffff;
  color: var(--text-color);
  border-radius: 16px;
  padding: 4rem 3rem;
  flex: 1 1 50%;
  min-width: 300px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.form-title {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.form-description {
  font-size: 1.5rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  font-size: 1.5rem;
  padding: 1.2rem 1.6rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  background-color: #fff;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.privacy-label {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-color-light);
}

.form-button {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-button:hover {
  background-color: var(--primary-color-hover);
}

.contact-map {
  min-height: 450px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  min-width: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  display: block;
  border: none;
  border-radius: 16px;
  margin: 0;
  padding: 0;
}


/* Responsive layout per DESKTOP affiancati, MOBILE impilati */
@media (min-width: 769px) {
  .contact-container {
    flex-direction: column;
    gap: 4rem;
  }
}

@media (min-width: 1024px) {
  .contact-map {
    min-width: 700px;
  }
}


@media (max-width: 768px) {
  .contact-form.modern-form {
    margin-bottom: 3rem;
  }
}

.map-title-container {
  width: 100%;
  margin-bottom: 2rem;
  text-align: center;
}

.map-title {
    display: inline-block;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--primary-color);
  padding: 1.5rem 2rem;
  /*background-color: var(--white-color);
  
  border-radius: 16px;
  
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);*/
}




/* — FOOTER RESPONSIVE GRID — */
.footer {
  background-color: #113654;
  color: #fff;
  padding: 4rem 2rem 2rem;
  font-size: 1.4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Qui usiamo grid invece di flex, così le colonne si adattano da 1 a 4 */
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Brand, link, contatti, social sono grid items */
.footer-brand,
.footer-links,
.footer-contact,
.footer-social {
  /* tutte stesse regole, nessuna larghezza fissa */
}

/* Logo piccolo */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
}
.footer-logo-img {
  width: 32px;
  height: 32px;
}

/* Titoli di sezione con sottolineatura */
.footer-links h5,
.footer-contact h5,
.footer-social h5 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  position: relative;
}
.footer-links h5::after,
.footer-contact h5::after,
.footer-social h5::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #f90;
  position: absolute;
  bottom: -4px;
  left: 0;
}

/* Link rapidi */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li {
  margin-bottom: 0.5rem;
}
.footer-links ul li a {
  color: #ddd;
  transition: color 0.2s;
}
.footer-links ul li a:hover {
  color: #fff;
}

/* Contatti */
.footer-contact p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-contact a {
  color: #ddd;
  text-decoration: none;
}
.footer-contact a:hover {
  color: #fff;
}

/* Social */
.footer-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 0.6rem;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social .social-icon:hover {
  background: #f90;
  color: #113654;
  border-color: #f90;
  transform: scale(1.1);
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
}

/* Molto mobile-friendly: tutto in colonna sotto 480px */
@media (max-width: 480px) {
  .footer {
    padding: 2rem 1rem 1rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-social .social-icon {
    width: 32px;
    height: 32px;
    margin-right: 0.4rem;
  }
}


.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* titoli h5 sotto-lineati */
.footer-top h5 {
  position: relative;
  padding-bottom: .5rem;
  margin-bottom: 1rem;
}
.footer-top h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #f90; /* il tuo colore accent */
}

/* stile base paragrafi e link */
.footer-top p,
.footer-top ul {
  color: #fff;
  font-size: 1.4rem;
}
.footer-top ul {
  list-style: none;
  padding: 0;
}
.footer-top ul li + li {
  margin-top: .5rem;
}
.footer-top ul a {
  color: #fff;
  text-decoration: none;
}

/* container bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
}

/* MOBILE */
@media (max-width: 600px) {
  .footer-container {
    padding: 2rem 1rem 1rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}





/* ===== Services Gallery ===== */
.services-gallery {
  padding: 6rem 2rem;
  background: #f9f9f9;
}
.services-gallery__title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: #333;
}
.services-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* singolo item */
.service-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* immagine responsive e cropped */
.service-item__img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  display: block;
}

/* overlay info */
.service-item__info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.service-item:hover .service-item__info {
  transform: translateY(0);
}
.service-item__info h3 {
  margin: 0 0 .5rem;
  font-size: 1.6rem;
}
.service-item__info p {
  margin: 0;
  font-size: 1.2rem;
  opacity: .9;
}

/* mobile tweaks */
@media (max-width: 600px) {
  .service-item__img {
    height: 205px;
  }
  .services-gallery__title {
    font-size: 3rem;
  }
}

.logo-content img.logo-icon {
  width: auto;
  max-width: 60px;
  height: auto;
}

/* From Uiverse.io by Yaya12085 */
.cookie-card {
  /* layout e stile di base */
  max-width: 320px;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.05);

  /* posizionamento e centratura */
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(50px);

  /* animazione */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s ease-out,
    transform 1s ease-out;

  z-index: 9999;
}

.cookie-card.show {
  /* stato visibile: slide up + fade-in */
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Titolo */
.title {
  display: block;
  font-weight: 600;
  color: rgb(31 41 55);
}

/* Descrizione */
.description {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(75 85 99);
}
.description a {
  --tw-text-opacity: 1;
  color: rgb(59 130 246);
}
.description a:hover {
  text-decoration: underline;
}

/* Azioni */
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  column-gap: 1rem;
  flex-shrink: 0;
}

/* Bottone “Manage your preferences” */
.pref {
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(31 41 55);
  text-decoration: underline;
  background: transparent;
  border: none;
  transition: color 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.pref:hover {
  color: rgb(156 163 175);
}
.pref:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

/* Bottone “Accept” */
.accept {
  font-size: 0.75rem;
  line-height: 1rem;
  background-color: rgb(17 24 39);
  font-weight: 500;
  border-radius: 0.5rem;
  color: #fff;
  padding: 0.625rem 1rem;
  border: none;
  transition: background-color 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.accept:hover {
  background-color: rgb(55 65 81);
}
.accept:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}




/* centra il banner Google */
#reviews .section-header .google-bar {
  justify-content: center !important;
}

/* card recensione: sfondo bianco e testo scuro */
.reviews-carousel .card {
  background-color: var(--white-color);
  color: var(--text-color);
}

/* titolo recensione in rosso BGS */
.reviews-carousel .card .text {
  color: var(--primary-color);
}

/* stelle gialle */
.reviews-carousel .stars i {
  color: #FFC107;
}

/* autore in grigio chiaro */
.reviews-carousel .card .author {
  color: var(--text-color-light);
}


/* Colore giallo alle stelle nella barra Google */
.reviews .stars-bar i {
  color: #FFC107;
}

/* Se serve, assicurati di sovrascrivere eventuali inline style */
.reviews .stars-bar i.fa-star,
.reviews .stars-bar i.fa-star-half-alt {
  color: #FFC107 !important;
}

/* ————————————————
   Recensioni: testo dei paragrafi in nero
   ———————————————— */
#reviews p {
  color: #000 !important;
}

/* Se vuoi solo i <p> interni alle card: */
.reviews-carousel .card .box p {
  color: #000 !important;
}




.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.alert.success { background: #D1FAE5; color: #064E3B; }
.alert.error   { background: #FEE2E2; color: #7F1D1D; }


/* Modal overlay */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

/* Modal content */
.modal-content {
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Show modal */
.modal.show {
  opacity: 1;
  visibility: visible;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 0.5rem; right: 0.75rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
}

/* Icon */
.modal-icon i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Title & text */
.modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.modal-text {
  margin-bottom: 1.5rem;
  color: #555;
}

/* OK button */
.modal-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
}
.modal-btn:hover {
  background: darken(var(--primary-color), 10%);
}

/* Success / Error coloring */
.modal--success .modal-icon i { color: #28a745; }
.modal--error .modal-icon i   { color: #dc3545; }



/* CARD recensioni: transizione base */
.reviews-carousel .card {
  background-color: #fff;
  color: #000;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

/* HOVER: arancione + testo bianco + leggero sollevamento */
.reviews-carousel .card:hover {
  background-color: #FFA500;
  color: #fff;
  transform: translateY(-5px);
}

/* Contenuti interni (titolo, autore, stelle) prendono il colore bianco */
.reviews-carousel .card:hover .text,
.reviews-carousel .card:hover .author,
.reviews-carousel .card:hover .stars i {
  color: #fff !important;
}

