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

body {
  font-family: "Roboto", sans-serif;
  background-color: #bbdab0;
}

/* HEADER */
/* Navbar */
.logo-navbar {
  width: 70px;
}

/* MAIN */
/* Homepage */
.homepage {
  background-color: #bbdab0;
  margin-top: 100px;
}

.logo-img {
  max-width: 350px;
}

.copertina-card {
  align-items: center;
}

.title {
  color: white;
  font-size: 100px;
}

.btn {
  background-color: #9b9971;
  color: white;
  border: 1px solid #9b9971;
}

.team-foto {
  border-radius: 5%;
  width: 1000px;
}

/* Servizi Homepage */
.servizi-homepage {
  background-image: url("../img/sfondo-servizi.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.servizi-card img {
  width: 100px;
}

.title-h2 {
  font-size: 90px;
  color: #9b9971;
}

.servizi-desc {
  font-size: 24px;
}

/* Servizi */
.servizi-title {
  font-size: 50px;
  color: white;
}

hr {
  color: white;
}

.card-body a {
  text-decoration: none;
  color: inherit;
}

/* Team  */
.team-title {
  font-size: 50px;
  color: white;
}
.carta {
  width: 320px;
  border-radius: 25px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.image-content,
.carta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}

.image-content {
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #575645;
  border-radius: 25px 25px 0 25px;
}

.overlay::before,
.overlay::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 40px;
  width: 40px;
  background-color: #575645;
}

.overlay::after {
  border-radius: 0 25px 0 0;
  background-color: #fff;
}

.carta-image {
  position: relative;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background-color: #fff;
  padding: 3px;
}

.carta-image .carta-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.name {
  font-size: 25px;
  font-weight: 500;
  color: black;
}

.profession {
  font-size: 15px;
  color: #333;
}

.profession-sara {
  text-align: center;
  font-size: 15px;
  color: #333;
}

.description {
  font-size: 14px;
  color: #707070;
  text-align: center;
}

/* Osteopatia - Nutrizionista - Trattamenti - Shiatsu & Pilates - Yoga - Naturopata */
.titolo {
  font-size: 50px;
  color: white;
}

.foto-servizio {
  border-radius: 10%;
}

/* Dove trovarci */
.map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* Imposta un rapporto di aspetto, ad esempio 4:3 */
  overflow: hidden;
}

/* Iframe della mappa */
.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Opzionale: regola l'aspect-ratio per breakpoint specifici */
@media (max-width: 576px) {
  .desc {
    text-align: center;
  }
  .btn-prenota {
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .homepage h1 {
    font-size: 85px;
  }
  .servizi-homepage h2 {
    font-size: 45px;
  }
  .map-container {
    aspect-ratio: 1 / 1; /* Su schermi piccoli, usa un rapporto più quadrato per risparmiare spazio */
  }
}

/* Contatti */
.sfondo-contatti {
  background-image: url("../img/sfondo-contatti.png");
}

.contatti-title {
  font-size: 75px;
}

.card-contatti img {
  width: 400px;
}

.button-contatti {
  background-color: #9b9971;
  color: white;
  border: 1px solid #9b9971;
  padding: 10px;
  font-size: 20px;
}

.social-card a {
  text-decoration: none;
  color: inherit;
}

.social {
  font-size: 45px;
}

.social a i {
  color: black;
}

.social-card ul {
  display: flex;
  gap: 20px;
}

.social-card ul li {
  list-style: none;
}

.social-card ul li a {
  width: 80px;
  height: 80px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 3px solid #fff;
  text-decoration: none;
  transition: transform 0.5s ease;
}

.social-card ul li a:hover {
  transform: scale(1.1);
}

.social-card ul li a .icon {
  color: #262626;
  font-size: 35px;
  transition: color 0.5s ease, transform 0.5s ease;
  z-index: 3;
}

.social-card ul li a:hover .icon {
  color: #fff;
  transform: rotate(360deg);
}

.social-card ul li a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: top 0.5s ease;
  z-index: 2;
}

.social-card ul li a:hover::before {
  top: 0;
}

.social-card ul li:nth-child(1) a::before {
  background: #e44e47; /* Instagram */
}

.social-card ul li:nth-child(2) a::before {
  background: #f3b604; /* Email */
}

.social-card ul li:nth-child(3) a::before {
  background: #24cc63; /* Telefono */
}

/* COOKIE POPUP */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background-color: #fff;
  color: #333;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 15px 20px;
  display: none; /* hidden by default */
  z-index: 9999;
  text-align: center;
}

.cookie-popup p {
  margin-bottom: 10px;
  font-size: 14px;
}

.cookie-popup.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* WHATSAPP */
.whatsapp-tag {
  display: inline-block;
  padding: 10px 15px;
  color: #25d366;
  text-decoration: none;
  font-size: 50px;
}
.whatsapp-tag i {
  color: #25d366;
}

.pagina-detail {
  margin-top: 100px;
}

.nav-link.active {
  color: #198754; /* verde bootstrap */
  font-weight: 600;
}

/* EMAIL */
.email-tag {
  display: inline-block;
  padding: 10px 15px;
  color: #1a73e8; /* Blu scuro per l'email */
  text-decoration: none;
  font-size: 50px;
}

.email-tag i {
  color: #1a73e8;
}

.prenotazione {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

@media (max-width: 500px) {
  .prenotazione {
    justify-content: space-between;
  }

  .orari-secondo {
    text-align: center;
  }
}
