/* ============================================
   CONTATTI.CSS - Pagina Contatti
   Tema: Nero #000 + Arancione #FF6200
   ============================================ */

/* PAGE HEADER */
.page-header {
    background: #000000 !important;
    color: #ffffff;
    padding: 3rem 0 2rem;
    border-bottom: 3px solid #FF6200;
}

.page-header .page-title {
    color: #ffffff !important;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
}

.page-header .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: #e0e0e0 !important;
}

.page-header .breadcrumb-item.active {
    color: #FF6200 !important;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.page-header .bi-house-door {
    color: #FF6200;
}

/* CONTACT SECTION */
.contact-section {
    background: #1a1a1a;
    color: #e0e0e0;
    min-height: 60vh;
    padding: 3rem 0 5rem;
}

.contact-section h2 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-section p {
    color: #e0e0e0;
    line-height: 1.7;
}

.contact-section strong {
    color: #FF6200;
}

/* FORM STYLING */
.form-label {
    color: #e0e0e0;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #FF6200;
    box-shadow: 0 0 0 0.2rem rgba(255, 98, 0, 0.15);
    color: #ffffff;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select option {
    background: #1a1a1a;
    color: #ffffff;
}

.form-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* FORM VALIDATION */
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #28a745;
}

/* CHECKBOX */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #FF6200;
    border-color: #FF6200;
}

.form-check-input:focus {
    border-color: #FF6200;
    box-shadow: 0 0 0 0.2rem rgba(255, 98, 0, 0.15);
}

.form-check-label {
    color: #e0e0e0;
    cursor: pointer;
}

.form-check-label a {
    color: #FF6200;
    text-decoration: underline;
}

.form-check-label a:hover {
    color: #ff7a1f;
}

/* BUTTONS */
.btn-primary,
.btn-outline-success {
    background: #FF6200;
    border-color: #FF6200;
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-outline-success:hover {
    background: #ff7a1f;
    border-color: #ff7a1f;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 98, 0, 0.4);
}

/* CONTACT SIDEBAR */
.contact-sidebar {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem !important;
    border-radius: 10px;
}

.contact-sidebar h4,
.contact-sidebar h5 {
    color: #FF6200;
    font-weight: 700;
}

.contact-sidebar .h6 {
    color: #ffffff;
    font-weight: 600;
}

/* CONTACT METHODS */
.contact-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-methods li {
    margin-bottom: 1rem;
}

.contact-methods a {
    color: #e0e0e0 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.contact-methods a:hover {
    color: #FF6200 !important;
}

.contact-methods i {
    color: #FF6200;
}

/* SIDEBAR SECTIONS */
.contact-sidebar .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.contact-sidebar .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.contact-sidebar .small {
    font-size: 0.875rem;
}

/* SUCCESS MESSAGE (se necessario) */
.alert-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
    border-radius: 8px;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
    border-radius: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0 1.5rem;
    }
    
    .page-header .page-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .contact-section {
        padding: 2rem 0 3rem;
    }
    
    .contact-sidebar {
        margin-top: 2rem;
    }
}
