/* style.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff; 
    color: rgb(21, 22, 22);
}

.top-bar a {
    text-decoration: none;
}



.animate-fadein {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
}

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

.card-title {
    font-weight: 600;
    
}

.carousel-caption h5 {
    font-size: 1.75rem;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.2rem;
}

footer p, footer a {
    font-size: 0.9rem;
}

footer a.btn {
    margin-top: 0.5rem;
}

/* Navbar brand style */
.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

@media (max-width: 767px) {
    .carousel-caption {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}
.service-box {
  background: #0b7ae2;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.service-box h4 {
  margin-bottom: 15px;
  color: #007bff;
}
.service-box p {
  color: #555;
  font-size: 0.95rem;
}
.btn-scopri {
  background-color: #a75151;      /* colore sfondo */
  color: rgb(255, 255, 255);                   /* colore testo */
  padding: 10px 25px;              /* spaziatura */
  border-radius: 8px;              /* angoli arrotondati */
  font-weight: bold;               /* testo in grassetto */
  text-transform: uppercase;       /* tutto maiuscolo */
  text-decoration: none;           /* no sottolineatura */
  display: inline-block;           /* inline-block per padding */
  box-shadow: 0 4px 8px rgba(14, 0, 0, 0.904); /* ombra */
  transition: all 0.3s ease;       /* animazione */
}

.btn-scopri:hover {
  background-color: #000000;       /* colore hover */
  transform: translateY(-3px);     /* effetto sollevamento */
  box-shadow: 0 6px 12px rgb(0, 0, 0);
}


.btn-preventivo {
  background-color: #f0cd09; 
  color: #000000;      /* colore hover */
  transform: translateY(-3px);     /* effetto sollevamento */
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.btn-preventivo:hover {
  background-color: #ec0e0e;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  color: ;
}
.titolo-servizi {
  background-color: #f0cd09; /* blu bootstrap */
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block; /* così il background segue il testo */
}

.titolo-servizi a {
  color: white;
  font-weight: bold;
}

.titolo-servizi:hover {
  background-color: #000000; /* blu più scuro al passaggio del mouse */
}
.gallery-img {
  transition: transform 0.3s ease-in-out;
}
.gallery-img:hover {
  transform: scale(1.05);
}