* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    color: #fff;
}

.hero-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #e60000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 1050px;
    margin: 0 auto;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.2s;
}

.coming-soon {
    font-size: 1.2rem;
    margin-bottom: 60px;
    font-style: italic;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-description {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.6s;
}

.service-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.8s;
}

.service-tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1rem;
    transition: all 0.3s;
}

.service-tag:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.cta-buttons {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 1s;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: #ffffff;
    color: #e60000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 0 10px 15px;
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
    font-size: 0.9rem;
    padding: 20px;
    background-color: #e60000;
    animation: fadeInUp 1s forwards 1.2s;
}


.footer-legal {
    opacity: 1;
    font-size: 0.8rem;
}
.footer-legal a {
    color:#ffffff;
    text-decoration: none;
}
.footer-legal a:hover {
    text-decoration: underline;
}

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

/*-------------------------------
    STYLE PER MODAL CONTATTI
---------------------------------*/
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    color: #333;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #e60000;
}

.modal-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #e60000;
}

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

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* checkbox e privacy*/
.honeypot-field {
    display: none !important;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
    
.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}
    
.checkbox-group label {
    font-size: 0.9rem;
    font-weight: normal;
    line-height: 1.4;
}
    
.privacy-link {
    color: #e60000;
    text-decoration: underline;
    transition: color 0.3s;
}
    
.privacy-link:hover {
    color: #c50000;
}

.submit-button {
    background-color: #e60000;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #c50000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* AMessaggi errore e conferme */
.form-group.error input,
.form-group.error textarea {
    border: 1px solid #e60000;
    background-color: rgba(230, 0, 0, 0.05);
}

.error-message {
    color: #e60000;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.thank-you-message {
    background-color: #ffffff;
    color:red;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    animation: fadeInUp 1s forwards;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin: 0 10px 15px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .service-tag {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        display: block;
        margin: 0 auto 15px;
        max-width: 250px;
    }

    .thank-you-message {
        padding: 12px 25px;
        font-size: 1rem;
        display: block;
        margin: 0 auto 15px;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .service-tags {
        gap: 10px;
    }
    
    .service-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

 