/* Basic Reset and Font Setup */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}

/* Page Layout */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 40px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Header Styling */
.header {
    background-color: #2c3e50; /* Dark Blue */
    color: #ffffff;
    padding: 30px 40px;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin: -40px -40px 20px -40px; /* Pulls header to edges of container */
}

.header h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 1px;
}

.tagline {
    margin-top: 5px;
    font-size: 1.1em;
    font-weight: 300;
    opacity: 0.9;
}

/* Section Headings */
h2 {
    color: #34495e; /* Slightly Lighter Blue */
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 5px;
    margin-top: 25px;
    font-size: 1.5em;
}

/* Anchor/Link Styling */
a {
    color: #3498db; /* Bright Blue */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Experience and Education Entries */
.job-entry, .education-entry {
    margin-bottom: 20px;
    padding-left: 10px;
}

.job-entry h3, .education-entry h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.2em;
}

.dates {
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 10px;
    display: block;
}

/* Lists (Skills and Job Bullet Points) */
ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}

ul li {
    margin-bottom: 5px;
}

.skills ul {
    list-style-type: none;
    padding-left: 0;
    column-count: 2; /* Display skills in two columns */
    column-gap: 30px;
}

.skills ul li:before {
    content: "• ";
    color: #3498db;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Horizontal Rule Styling */
hr {
    border: 0;
    height: 1px;
    background: #ecf0f1;
    margin: 20px 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Media Query for Print (Optimizing for paper) */
@media print {
    body {
        background-color: #fff;
    }
    .container {
        box-shadow: none;
        margin: 0;
        padding: 0;
        max-width: 100%;
    }
    .header {
        background-color: #2c3e50 !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
        print-color-adjust: exact;
    }
    .footer {
        display: none;
    }
    a {
        text-decoration: none;
        color: #333; /* Make links black for print */
    }
}
