/* Resetting default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and general layout */
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #f4f4f4;
    line-height: 1.6;
    font-size: 16px;
}

/* Header styles */
header {
    background-color: #000;
    color: #e60000;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
}

header h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: bold;
    color: #ff2a68;
    text-shadow: 2px 2px 10px rgba(255, 0, 0, 0.7);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff2a68;
    text-shadow: 2px 2px 10px rgba(255, 0, 0, 0.7);
}

/* Main content section */
section {
    padding: 60px 10%;
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    color: #ff2a68;
    text-shadow: 2px 2px 10px rgba(255, 0, 0, 0.7);
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.intro .image img {
    max-width: 100%;
    height: auto;
    border: 5px solid #ff2a68;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

.intro .image img:hover {
    transform: scale(1.05);
}

/* Services section */
.paesi ul {
    list-style: none;
    margin-top: 30px;
}

.paesi ul li {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #f4f4f4;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color 0.3s ease;
}

.paesi ul li:hover {
    color: #ff2a68;
    text-shadow: 2px 2px 10px rgba(255, 0, 0, 0.7);
}

/* Contact form */
.contact form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact label {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.contact input, .contact textarea {
    padding: 15px;
    font-size: 1rem;
    margin-bottom: 20px;
    border: 2px solid #ff2a68;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact input:focus, .contact textarea:focus {
    border-color: #ff2a68;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.contact button {
    background-color: #ff2a68;
    color: #fff;
    padding: 10px 20px;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #ff004d;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 50px;
}

footer p {
    margin: 0;
}

/* Stile per l'immagine dell'autoarticolato */
.autoarticolato-img {
    width: 400px;      /* Imposta una larghezza fissa */
    height: auto;      /* L'altezza si adatta proporzionalmente */
    display: block;
    margin: 0 auto;
}