@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&display=swap');

body {
  margin: 0;
  font-family: 'Lora', serif;

  color: #ffffff;
  background-repeat: repeat;
  background-size: cover;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem 2rem;
  border-radius: 10px;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}


/* Firma Header */
.intestazione {
  text-align: center;
  padding: 2rem 0 1rem;
}

.firma {
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  color: #111;
  margin: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&display=swap');

.signature-wrapper {
  text-align: center;
  margin-bottom: 1rem;
}

.signature-line {
  width: 500px;
  height: 3px;
  margin: 0 auto;
  border: none;
  background-color: black;
  opacity: 1;
}

@keyframes fadeInLine {
  from { width: 0; opacity: 0; }
  to { width: 200px; opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  position: relative;
  background-color: white;
}

.back-arrow {
  font-size: 2rem;
  color: #000;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.back-arrow:hover {
  transform: scale(1.1);
}

.logo-img {
  height: 25px;
  width: auto;
}

.bio-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-color: white;
    width: 100%;
    padding: 3rem 2rem;
    color: #000;
  }
  
  .bio-text {
      text-align: left;
      color: #000;
  }

  .bio-text h2 {
    font-weight: bold;
    color: black;
  }
  
  .bio-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    font-family: 'Cormorant Garamond', serif;
  }

  .btn {
    font-family: 'Cormorant Garamond', serif;
  }
  
  .bio-image img {
    max-width: 180px;
    height: auto;
  }

.services-section {
  background-color: #000;
  padding: 4rem 2rem;
  width: 100%;
}

.services-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 3rem;
  position: relative;
}

.services-section h2::after {
  display: block;
  width: 200px;
  height: 3px;
  background-color: white;
  margin: 1rem auto 0;
}

.service-box {
  background-color: #111;
  border: 1px solid #333;
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.6);
}

.service-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.service-box h5 {
  color: #fff;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.1rem;
}
.h1.display-4,

h1.display-4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
}




footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background-color: #f8f9fa;
}

@media (min-width: 768px) {
  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-logo {
  width: 80px;
  height: auto;
}

.footer-contact {
  text-align: center;
}

.footer-contact p {
  margin: 0.25rem 0;
}

.footer-icon {
  margin-right: 0.5rem;
  vertical-align: middle;
}
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.font-service{
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

/* Result icon: rendi le icone più grandi e scure */
.result-icon {
  font-size: 3rem;
  color: #333;
}

/* Counter: imposta colore testo su nero */
.counter {
  color: #000;
}

/* Result box hover: aggiungi ombra e movimento */
.result-box:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
  transition: all 0.3s ease;
}
.signature-line-white{
  background-color: white;
  width: 500px;
  height: 1px;
  margin: 0 auto;
  border: none;
  opacity: 1;
}

/* Accordion Bootstrap 5 Styles */
.accordion-button {
  background-color: #f8f9fa;
  color: #000;
  font-weight: bold;
}

.accordion-button:not(.collapsed) {
  background-color: #e2e6ea;
  color: #000;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

.accordion-body {
  background-color: #fff;
  color: #000;
  padding: 1rem;
}

@media (min-width: 319px) and (max-width: 425px) {
  .signature-line {
      width: 40%;
      margin: 1rem auto;
  }

  .signature-line-white {
      background-color: white;
      width: 40%;
      height: 1px;
      margin: 0 auto;
      border: none;
      opacity: 1;
  }
}


