/* --- Existing dark mode styles from before --- */
/* Base styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #0d0d0d;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    font-weight: bolder;
    padding: 20px;
    background-color: #1a1a1a;
    border-bottom: 3px solid #ffffff;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    animation: fadeIn 1s ease-out;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bolder;
    color: #ffffff;
    margin-bottom: 5px;
}

header p {
    font-size: 1.1rem;
    color: #cccccc;
}

/* Section Headings */
h2 {
    color: #ffffff;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Main Content Layout */
main {
    max-width: 900px;
    margin: auto;
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.8);
}

/* Sections - fade in effect */
section {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Job and Education Entries */
.job-entry, .education-entry, .skill-category {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.job-entry:hover, .education-entry:hover, .skill-category:hover {
    background-color: rgba(0, 115, 187, 0.1);
    transform: translateX(5px);
}

.job-entry h3, .education-entry h3 {
    font-size: 1.2rem;
    color: #ffffff;
}

.job-entry p, .education-entry p {
    color: #aaaaaa;
    font-style: italic;
    margin-bottom: 8px;
}

.toggle-details {
    background: none;
    border: none;
    color: #fdfdfd;
    cursor: pointer;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    padding: 0;
    text-align: left;
}

.toggle-details:hover,
.toggle-details:focus {
    text-decoration: underline;
}

.job-details ul {
    margin-left: 20px;
    color: #cccccc;
    line-height: 1.6;
    padding-left: 0;
}

.job-details ul li {
    margin-bottom: 12px;
}


ul {
    margin-left: 20px;
}

/* Skills Section */
.skills p {
    color: #cccccc;
}

.skills h3 {
    color: #ffffff; /* bright blue accent */
    margin-bottom: 6px;
}

.skill-category {
    margin-bottom: 20px;
}

.skills ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #cccccc;
}


/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #333;
}

.print-button {
    margin: 20px;
}

/* Links */
a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- PRINT BUTTON STYLING --- */
#printBtn {
    background-color: #fafafa;
    color: rgb(0, 0, 0);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

#printBtn:hover {
    background-color: #005f8a;
}


/* --- PRINT VERSION --- */
@media print {

    @page {
        margin-top: 0.2in;
    }

    body {
        background-color: white;
        color: black;
        margin: 0;
        padding: 0;
        font-size: 10pt;
    }

    header {
        background-color: white;
        border-bottom: 2px solid black;
        box-shadow: none;
        padding-top: 0;
        margin-top: 0;
    }

    header h1 {
        color: black;
        font-size: 1.8rem;
    }

    header p {
        color: black;
    }

    main {
        background-color: white;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        max-width: 100%;
    }

    h2 {
        color: black;
        border-bottom: 1px solid #999;
    }

    /* Keep only job title and company/dates, hide detailed bullets */
    .job-entry ul {
        display: none;
    }

    /* Optionally hide skills if you want a tighter page */
    .skills, .skill-category {
       display: none;
    }

    /* Hide footer */
    footer {
        display: none;
    }

    /* Remove hover/animation styles */
    .job-entry, .education-entry {
        background-color: white;
        padding: 0;
        border-radius: 0;
        transform: none !important;
    }

    a {
        color: black;
        text-decoration: none;
    }

    * {
        transition: none !important;
        animation: none !important;
    }

    .summary-full {
        display: block !important;
        color: black;
        font-style: normal;
    }

    .summary-short {
        display: none;
    }

    body {
        margin: 1in auto;
        max-width: 7.5in; /* Adjust this width to your preference */
    }

    main {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .print-button {
        display: none;
    }

    .toggle-details {
        display: none;
    }
}
