:root {
    --bg-color: #0b0c10;
    --card-bg: #12141c;
    --gold-primary: #d4af37;
    --gold-hover: #f3e5ab;
    --text-light: #f5f5f7;
    --text-muted: #a0a5b5;
    --border-color: #222632;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    padding: 40px 20px;
}

.resume-container {
    max-width: 950px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    padding: 50px;
    position: relative;
}

.resume-container::before, .resume-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold-primary);
}
.resume-container::before { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.resume-container::after { bottom: 15px; right: 15px; border-left: none; border-top: none; }

header {
    text-align: center;
    border-bottom: 2px double var(--gold-primary);
    padding-bottom: 30px;
    margin-bottom: 35px;
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    color: var(--gold-primary);
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--text-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.contact-info span {
    margin: 0 10px;
}

section {
    margin-bottom: 35px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.section-title::after {
    content: '';
    flex-grow: 1;
    margin-left: 15px;
    height: 1px;
    background: linear-gradient(to right, var(--border-color), transparent);
}

p.summary-text {
    font-size: 1rem;
    color: var(--text-light);
    text-align: justify;
    font-weight: 300;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.skill-category {
    background-color: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--gold-primary);
    padding: 12px 20px;
}

.skill-category strong {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 5px;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.skill-category p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.job {
    margin-bottom: 25px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.job-title-company {
    font-size: 1.1rem;
    font-weight: 600;
}

.job-title-company .company {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-weight: normal;
}

.job-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 1px;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 300;
}

ul li::before {
    content: '♦';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 0.8rem;
    top: 1px;
}

.edu-cert-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.edu-title {
    font-weight: 600;
}

.edu-company {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
}

@media (max-width: 768px) {
    body { padding: 10px; }
    .resume-container { padding: 25px; }
    h1 { font-size: 2rem; }
    .skills-grid { grid-template-columns: 1fr; }
    .job-header { flex-direction: column; }
    .job-date { margin-top: 5px; }
    .edu-cert-item { flex-direction: column; margin-bottom: 15px; }
}

@media print {
    body { background-color: #fff; color: #000; padding: 0; }
    .resume-container { border: none; box-shadow: none; background: #fff; padding: 0; }
    .resume-container::before, .resume-container::after { display: none; }
    h1, h2, .section-title, .job-title-company .company, .skill-category strong, ul li::before, .edu-company { color: #000 !important; }
    .section-title { border-bottom: 2px solid #000; }
    .section-title::after { display: none; }
    .contact-info, .job-date, .skill-category p, p.summary-text, ul li, .text-muted { color: #222 !important; }
    .skill-category { border-left: 2px solid #000; background: none; }
    .LI-profile-badge, .badge-base { display: none !important; }
}
