/* ============================================
   CONTACT.CSS - Contact Form & Info
   South Bay IT Solutions
   ============================================ */

/* ---- Contact Container ---- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: start;
}

/* ---- Contact Info ---- */
.contact-info {
    padding-top: 0.5rem;
}

.contact-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.contact-info > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ---- Contact Details List ---- */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 175, 0.08);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
}

.contact-item-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.contact-item-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-item-value a {
    color: var(--accent-primary);
    text-decoration: none;
}

.contact-item-value a:hover {
    text-decoration: underline;
}

/* ---- Contact Form Card ---- */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.contact-form h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-form .form-actions {
    margin-top: 0.5rem;
}

.contact-form .btn {
    width: 100%;
}

/* ---- Social Links ---- */
.social-links-dynamic {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.social-links-dynamic a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.social-links-dynamic a:hover {
    color: var(--accent-primary);
}

/* ---- Responsive: 900px ---- */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }
}

/* ---- Responsive: 768px ---- */
@media (max-width: 768px) {
    .contact-container {
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

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