/* resumer.css - Modern Resume Stylesheet */
/* ========== COLOR THEME ========== */
:root {
    --primary: #2563eb;       /* Vibrant blue */
    --primary-dark: #1d4ed8;
    --secondary: #1e293b;     /* Dark slate */
    --accent: #f59e0b;       /* Golden yellow */
    --light: #f8fafc;       /* Off-white */
    --dark: #0f172a;        /* Deep navy */
    --gray: #64748b;        /* Medium gray */
    --light-gray: #e2e8f0;  /* Light gray */
}

/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--light);
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@supports (font-variation-settings: normal) {
    body {
        font-family: 'Inter var', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    }
}

/* ========== LAYOUT & SPACING ========== */
.resume-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin: 2rem auto;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.75rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.5rem;
    margin: 2rem 0 1.5rem;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* ========== HEADER STYLES ========== */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
}

.header::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.profile-title {
    font-weight: 800;
    letter-spacing: -0.05em;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.contact-item:hover {
    color: var(--primary);
}

/* ========== SECTION STYLES ========== */
.section {
    margin-bottom: 2.5rem;
}

.section-content {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--light-gray);
}

/* ========== EXPERIENCE SECTION ========== */
.experience-item {
    margin-bottom: 2rem;
    position: relative;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.job-title {
    font-weight: 600;
    color: var(--dark);
}

.company {
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.date {
    color: var(--gray);
    font-style: italic;
    font-size: 0.9rem;
}

.responsibilities {
    list-style-type: none;
}

.responsibilities li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.responsibilities li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ========== SKILLS SECTION ========== */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-chip {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.skill-chip:nth-child(2n) {
    background-color: var(--accent);
}

.skill-chip:nth-child(3n) {
    background-color: var(--secondary);
}

.skill-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ========== EDUCATION SECTION ========== */
.education-item {
    margin-bottom: 1.5rem;
}

.degree {
    font-weight: 600;
    color: var(--dark);
}

.institution {
    font-weight: 500;
    color: var(--primary);
}

/* ========== CERTIFICATION SECTION ========== */
.certification-item {
    margin-bottom: 1rem;
}

.certification-name {
    font-weight: 600;
    color: var(--dark);
}

.issuer {
    font-weight: 500;
    color: var(--gray);
}

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

.section {
    animation: fadeIn 0.6s ease forwards;
}

.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }
.section:nth-child(5) { animation-delay: 0.4s; }

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .resume-container {
        padding: 1.5rem;
    }
    
    .experience-header {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    body {
        padding: 0;
        background: white;
        color: black;
    }
    
    .resume-container {
        box-shadow: none;
        padding: 0;
    }
    
    .section {
        animation: none;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .contact-item {
        color: black;
    }
}

