/**
 * Contatti - Form Multistep Styles
 */

/* Progress Bar */
.progress-container {
    margin-bottom: 3rem;
}

.progress-bar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.progress-bar-custom::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #999;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.step-label {
    font-size: 0.9rem;
    color: #999;
    font-weight: 600;
    transition: all 0.3s;
}

.progress-step.active .step-number {
    background: var(--giant-blue);
    border-color: var(--giant-blue);
    color: white;
}

.progress-step.active .step-label {
    color: var(--giant-blue);
}

.progress-step.completed .step-number {
    background: var(--giant-blue-light);
    border-color: var(--giant-blue-light);
    color: white;
}

.progress-step.completed .step-label {
    color: var(--giant-blue-light);
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* Interest Cards */
.interest-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.interest-card {
    position: relative;
    cursor: pointer;
}

.interest-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.interest-content {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    background: white;
    height: 100%;
}

.interest-card:hover .interest-content {
    border-color: var(--giant-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 142, 165, 0.15);
}

.interest-card input[type="radio"]:checked + .interest-content {
    border-color: var(--giant-blue);
    background: linear-gradient(135deg, rgba(58, 142, 165, 0.05) 0%, rgba(58, 142, 165, 0.1) 100%);
}

.interest-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.interest-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}

.interest-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Form Fields */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--giant-blue);
    box-shadow: 0 0 0 3px rgba(58, 142, 165, 0.1);
    outline: none;
}

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

.form-check {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
}

.form-check-input:checked {
    background-color: var(--giant-blue);
    border-color: var(--giant-blue);
}

.form-check-label {
    color: #555;
    font-size: 0.95rem;
    margin-left: 0.5rem;
}

.form-check-label a {
    color: var(--giant-blue);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prev {
    background: #e9ecef;
    color: #555;
}

.btn-prev:hover {
    background: #dee2e6;
    transform: translateX(-3px);
}

.btn-next,
.btn-submit {
    background: var(--giant-blue);
    color: white;
    margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--giant-blue-dark);
    transform: translateX(3px);
}

.btn-submit {
    transform: none;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 142, 165, 0.3);
}

/* Trust Message */
.trust-message {
    text-align: center;
    margin-top: 2rem;
}

.trust-message p {
    color: #666;
    font-size: 1.05rem;
    margin: 0;
}

/* Contact Methods */
.contact-method {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-method h4 {
    color: var(--giant-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: #666;
    margin: 0;
}

.contact-method a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--giant-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .form-card {
        padding: 2rem 1.5rem;
    }
    
    .interest-options {
        grid-template-columns: 1fr;
    }
    
    .progress-bar-custom::before {
        display: none;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .form-navigation {
        flex-direction: column;
    }
    
    .btn-next,
    .btn-submit {
        margin-left: 0;
    }
}
