/* Generali */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
}

header {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background-image: url('pic/pic2.jpg'); /* Inserisci un'immagine d'impatto qui */
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    padding: 30px 20px;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
}

.btn-primary {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #cc5200;
}

/* About Section */
.about {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about ul {
    list-style-type: none;
    padding: 0;
}

.about ul li {
    margin: 10px 0;
    font-size: 18px;
}

/* Team Section */
.team {
    padding: 50px 20px;
    background-color: #f8f8f8;
}

.team h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.team-member {
    background-color: white;
    padding: 20px;
    text-align: giustify;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 250px;
}

.team-photo {
    border-radius: 0%;
    width: 220px;
    height: 260px;
    margin-bottom: 15px;
}


.team-member h3 {
    margin: 10px 0;
}

.team-member p {
    font-size: 18px;
    color: #555;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.social-links a:hover {
    text-decoration: underline;
}



/* Sezione Servizi */
.services {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.services p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    width: 350px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}


.service-item img {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 15px;
}


.service-item img {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.service-item p {
    font-size: 18px;
    color: #555;
}

.service-item:hover {
    transform: translateY(-10px);
}



  .map-container {
    position: relative;
    width: 100%;
    height: calc(100% - 100px); 
  }
  