body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #f5f5f5;
  color:  #666667;
}

.navbar {
  height: auto;
  min-height: 150px;
  background: url('image/logoCopia.jpg') no-repeat ; /* Logo come sfondo */
  background-size: contain; /* Mantiene le proporzioni */
  background-color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;


  .logo-img{
    height: 100px;
    width: auto;
    border-radius: 6px; /* facoltativo per angoli arrotondati */
  }


}

.navbar .container-fluid {
  background: transparent; /* Evita che copra lo sfondo */
}

.container {
  width: 90%;
  max-width: 800px;
  margin: auto;
}


.nav-links {
  list-style: none;
  display: flex; /* flex per gestire meglio il layout */
  justify-content: flex-end; /* spinge a destra */
  gap: 2rem;
}



.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 100px; 
  text-shadow: 1px 1px 2px #fff; 
  position: relative; /* Necessario per far funzionare  */
  z-index: 1000; /* Prova con un valore alto per assicurarti che sia sopra */
}

/* Hero Section */

.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("image/ivan_lavora2.jpeg") center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 5rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  
}

.hero-content p {
  font-size: 24px; /* normale per desktop */
  color: #f5f5f5;
  margin: 1rem 0;
  text-shadow:
    0 0 5px rgba(0, 0, 0, 0.7),
    0 0 10px rgba(0, 0, 0, 0.5);
}

/* Media Query per schermi piccoli */
@media (max-width: 600px) {
  .hero-content p {
    font-size: 18px; /* 👈 più piccolo su mobile */
  }
}

/* Carousel */
.carousel-caption {
  bottom: 20%; /* sposta leggermente in alto */
  text-align: center;
}

.carousel-caption h2 {
  font-size: 4rem;
  color: #fff;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
}

.carousel-caption p {
  font-size: 1.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}



#chi-siamo {
  position: relative;
  background: url('image/jeep_auto.jpeg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 0;
}

#chi-siamo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* overlay scuro */
  z-index: 1;
}

#chi-siamo .container {
  position: relative;
  z-index: 2;
}

#chi-siamo p {
  font-size: 1.2rem;
  line-height: 2rem;
  text-align: justify;
  max-width: 700px;      /* limita la larghezza del paragrafo */
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.services {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
}
#googleModuli{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}


#scrollTopBtn{
  display:none;
  position:fixed; 
  bottom:20px; 
  right:20px; 
  z-index:99; 
  font-size:18px; 
  border:none; 
  outline:none; 
  background-color:#ffc107; 
  color:white; 
  cursor:pointer; 
  padding:15px; 
  border-radius:10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Ombra aggiunta */
}

#submitBtn{
  z-index:99; 
  font-size:18px; 
  border:none; 
  outline:none; 
  background-color:#ffc107; 
  color:white; 
  cursor:pointer; 
  padding:15px; 
  border-radius:10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Ombra aggiunta */
}
#prenotaBtn{
  z-index:99; 
  font-size:18px; 
  border:none; 
  outline:none; 
  background-color:#ffc107; 
  color:white; 
  cursor:pointer; 
  padding:15px; 
  border-radius:10px;
  box-shadow: 0 4px 8px rgba(247, 246, 246, 0.3); /* Ombra aggiunta */
}

/* Pulsante WhattsApp */
.footer {
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  background: #666667;
}

.footer .whatsapp-link {
  color: #25D366; /* verde WhatsApp */
  font-weight: bold;
  text-decoration: none;
}

.footer .whatsapp-link i {
  margin-right: 5px;
}

.footer .whatsapp-link:hover {
  color: #0a370f; /* verde scuro */
}

/* Navbar style logo */
.logo-img {
  height: 100px;
  width: auto;
  border-radius: 6px; /* facoltativo per angoli arrotondati */
}

.brand-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  white-space: nowrap;
}

