/* Contatti Page Styles */

/* Contatti Section */
.contatti-section {
    min-height: 100vh;
    background: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
}

.contatti-content {
    display: flex;
    align-items: center;
    gap: 6rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.contatti-content::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(135deg, #7363FE 0%, #2EA9F6 100%);
    z-index: 10;
}

/* Left Column - Contact Info */
.contatti-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 500px;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.13vw;
    font-weight: 800;
    color: #333;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #7363FE 0%, #2EA9F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-text p:first-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 1vw;
    font-weight: 800;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.contact-text p:last-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85vw;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(115, 99, 254, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.contact-details p:first-child {
    font-weight: 600;
}

/* Right Column - Contact Form */
.contatti-right {
    flex: 1;
    padding-left: 2rem;
}

.form-container {
    max-width: 500px;
}

.form-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7363FE 0%, #2EA9F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.form-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.5;
}

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

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7363FE;
    background: white;
    box-shadow: 0 0 0 3px rgba(115, 99, 254, 0.1);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-checkbox label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    cursor: pointer;
}

.form-recaptcha {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.form-recaptcha .g-recaptcha {
    transform: scale(0.9);
    transform-origin: center;
}

.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-invia {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #2EA9F6 0%, #7362FE 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 42px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 169, 246, 0.3);
    align-self: flex-start;
    margin-top: 1rem;
}

.btn-invia:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 169, 246, 0.4);
}

/* Map Section */
.map-section {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.map-container {
    width: 60%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contatti-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .contatti-content::after {
        display: none;
    }
    
    .contatti-right {
        padding-left: 0;
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .contatti-section {
        padding: 2rem 0;
    }
    
    .contatti-content {
        gap: 2rem;
    }
    
    .contact-info {
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 3vw;
    }
    
    .contact-text p:first-child {
        font-size: 1.5vw;
    }
    
    .contact-text p:last-child {
        font-size: 1.2vw;
    }
    
    .form-title {
        font-size: 2.5rem;
    }
    
    .form-subtitle {
        font-size: 16px;
    }
    
    .contact-details p {
        font-size: 16px;
    }
    
    .btn-invia {
        align-self: center;
        width: 100%;
    }
}
    
    .form-subtitle {
        font-size: 16px;
    }
    
    .contact-details p {
        font-size: 16px;
    }
    
    .btn-invia {
        align-self: center;
        width: 100%;
    }
}