/* --- Resume Web Styling --- */
.resume-container {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    max-width: 850px;
    margin: 4rem auto;
    color: white;
}

.resume-header h1 { margin: 0; font-size: 2.5rem; }
.resume-section { margin-top: 2.5rem; }
.resume-section h2 { 
    border-bottom: 1px solid var(--border); 
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.1rem;
}

.resume-header a { color: #ffffff; text-decoration: none; }
.resume-header a:hover { color: #ffffff; text-decoration: underline; }

.job-header { display: flex; justify-content: space-between; align-items: baseline; }

.print-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* --- THE PRINT ENGINE --- */
@media print {
    /* 1. Hide everything unnecessary */
    .no-print, .glass-nav, .print-btn { 
        display: none !important; 
    }

    /* 2. Reset Body for Paper */
    body {
        background: white !important;
        color: black !important;
        font-family: "Times New Roman", serif; /* Classic, professional font */
        font-size: 11pt;
        margin: 0;
        padding: 0;
    }

    /* 3. Remove Glassmorphism */
    .resume-container {
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    /* 4. Formatting for Black & White */
    .resume-section h2 {
        border-bottom: 1px solid #333 !important;
        color: black !important;
    }

    h1, h2, h3 { color: black !important; }

    /* 5. Clean Links for Print */
    a { 
        color: black !important; 
        text-decoration: none !important; 
    }
}
