/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

/* Main Container Setup */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 4rem 2rem; /* Accounts for fixed header */
    color: #fff;
    animation: fadeIn 0.3s ease;
    box-sizing: border-box;
}

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

/* --- Headers --- */
.contact-header {
    margin-bottom: 4rem;
}

.page-title {
    font-size: 3rem;
    font-family: var(--font-heading, sans-serif);
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    letter-spacing: 1px;
}

.page-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #aaa;
    margin: 0;
    max-width: 800px;
}

.contact-section {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    color: #fff;
}

/* --- Grids --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Base Card Style */
.contact-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.2s, background 0.2s;
}

.contact-card:hover {
    background: #111;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Email Card Specifics */
.contact-role {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.contact-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.contact-email {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
    margin-top: auto;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.contact-email:hover {
    opacity: 1;
    text-decoration: underline;
}

/* --- Social Cards Specifics --- */
.social-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.social-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-title {
    margin: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.social-description {
    color: #888;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    font-size: 0.95rem;
    flex-grow: 1; /* Pushes button to bottom */
}

/* Stealth Button */
.btn-stealth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    width: fit-content;
}

.btn-stealth:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 899px) {
    .page-wrapper {
        padding-top: 130px;
        margin-top: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .contact-email {
        font-size: 0.85rem;
    }

    .contact-grid, .social-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-stealth {
        width: 100%;
        box-sizing: border-box;
    }
}