/* Stili Generali */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header */
header {
    background: #0056b3; /* Blu scuro */
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #004494 3px solid;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
    margin-top: 5px;
}

/* Hero Section */
#hero {
    background: #e0e0e0;
    color: #333;
    padding: 60px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Permette il wrap su schermi più piccoli */
}

#hero .hero-content {
    flex: 1;
    min-width: 300px; /* Assicura che il contenuto non sia troppo stretto */
    padding: 20px;
}

#hero .hero-image {
    flex: 1;
    min-width: 300px; /* Assicura che l'immagine non sia troppo stretta */
    padding: 20px;
}

#hero img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#hero h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #0056b3;
}

#hero p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    color: #fff;
    background: #28a745; /* Verde per CTA */
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background: #218838;
}

/* Features Section */
#features {
    padding: 60px 0;
    text-align: center;
    background: #fff;
}

#features h3 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #0056b3;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: left;
}

.feature-item h4 {
    color: #0056b3;
    margin-top: 0;
    font-size: 1.3em;
}

.feature-item p {
    font-size: 0.95em;
    color: #555;
}

.experience-image {
    margin-top: 40px;
}

.experience-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Newsletter Section */
#newsletter {
    background: #007bff; /* Blu più chiaro */
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

#newsletter h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#newsletter p {
    margin-bottom: 30px;
    font-size: 1.1em;
}

#newsletter-form input[type="email"] {
    padding: 12px;
    width: 60%;
    max-width: 400px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 1em;
}

#newsletter-form button {
    padding: 12px 25px;
    background: #ffc107; /* Giallo per CTA secondaria */
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#newsletter-form button:hover {
    background: #e0a800;
}

/* Contact Section */
#contact {
    padding: 60px 0;
    text-align: center;
    background: #f4f4f4;
}

#contact h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #0056b3;
}

#contact p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    #hero .hero-content,
    #hero .hero-image {
        min-width: unset;
        flex: none;
        width: 100%;
    }

    #newsletter-form input[type="email"] {
        width: 80%;
        margin-bottom: 15px;
        margin-right: 0;
    }

    #newsletter-form button {
        width: 80%;
    }
}
