@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 {
  background: linear-gradient(120deg, #1f1f1f, #3a3a3a, #5a5a5a);
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  font-family: 'Lora', serif;
  color: #ffffff;
  margin: 0;
}

.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;
}


.dettagli-servizio h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 1rem;
}



.dettagli-servizio p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #dddddd;
  font-style: italic;
  text-align: justify;
  font-weight: 300;
  letter-spacing: 0.3px;
  max-width: 700px;
  margin: 0 auto;
}



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;
}

.btn-outline-secondary {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: #ffffff;
  color: #000000;
}

.font-service{
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}
.signature-line-white {
  background-color: white;
  width: 60%;
  max-width: 500px;
  height: 1px;
  margin: 0 auto;
  border: none;
  opacity: 1;
}
@media (max-width: 768px) {
  .signature-line-white {
    width: 40%;
  }
}
@media (min-width: 1600px) {
  .dettagli-servizio p {
    font-size: 1.4rem;
  }

  .dettagli-servizio h2 {
    font-size: 2.4rem;
  }

  .font-service {
    font-size: 3rem;
  }
}
@media (min-width: 2000px) {
  .dettagli-servizio p {
    font-size: 1.5rem;
  }

  .dettagli-servizio h2 {
    font-size: 2.6rem;
  }

  .font-service {
    font-size: 3.2rem;
  }
}