/* ==========================================================================
   1. CONTACT PAGE LAYOUT
   ========================================================================== */
.contact-page {
    min-height: 100vh;
    padding: 20vh 5vw 10vh 5vw; 
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    align-items: center; 
}

/* -------- Closing CTA -------- */
.contact-cta {
    text-align: center;
    margin-top: 80px; 
    padding-top: 20px;
    border-top: 1px solid #222;
}

.contact-cta h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 0;
    color: var(--text-main);
    line-height: 1.2;
}

/* ==========================================================================
   2. CONTACT INFO (Left Column)
   ========================================================================== */

/* -------- Status Badge & Location -------- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 102, 0.1);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 255, 102, 0.3);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 102, 0); }
}

.location-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.location-text i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* -------- Direct Contact Buttons -------- */
.direct-contact-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.direct-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 900;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s ease;
    
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
}

.direct-btn:hover {
    background: var(--text-main);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* -------- Social Cards -------- */
.social-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #1a1a1a;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid #333;
    transition: all 0.2s ease;
}

.social-card i {
    font-size: 2rem;
}

.social-card .itch-icon {
    width: 32px;
    filter: invert(1);
}

.social-card h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.social-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-card:hover {
    border-color: var(--accent-color);
    background: #222;
    transform: translateX(10px);
}

/* ==========================================================================
   3. CONTACT FORM (Right Column)
   ========================================================================== */
.contact-form-wrapper {
    background: #151515;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
    justify-self: center; 
    align-self: center;

    width: 100%;
    max-width: 650px;
}

.input-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-muted);
}

.input-group input, 
.input-group textarea {
    background: #0a0a0a;
    border: 1px solid #333;
    color: var(--text-main);
    padding: 15px;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

.submit-btn {
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    padding: 18px;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 900;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: #00cc55;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.3);
}

/* ==========================================================================
   4. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    /* Clears the fixed header on mobile */
    .contact-page { 
        padding-top: 15vh; 
    }
}