/* IMPORT FONTS */
/* Added Montserrat (Gotham alternative) specifically for the Name */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Montserrat:wght@800;900&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    /* DARK MODE PALETTE */
    --bg-body: #0f0f0f;
    --bg-card: #181818;
    --bg-sidebar: #131313;
    
    /* TYPOGRAPHY */
    --text-white: #ffffff;
    --text-gray: #a1a1a1;
    
    /* FONTS */
    /* Gotham Stack: Uses Gotham if installed, otherwise Montserrat */
    --font-name: 'Gotham', 'Montserrat', sans-serif; 
    --font-heading: 'Space Grotesk', sans-serif; /* Keep the design-y font for other headers */
    --font-body: 'Inter', sans-serif;

    /* THE TASTEFUL GRADIENT (Pink to Orange) */
    --accent-pink: #ff005c;
    --accent-orange: #ff6b00;
    --gradient-main: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
    
    --sidebar-width: 340px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-white);
    line-height: 1.7;
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.resume-wrapper {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background-color: var(--bg-card);
    /* Subtle glow behind the resume */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
    min-height: 1000px;
}

/* ===========================
   SIDEBAR 
   =========================== */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    padding: 60px 40px;
    border-right: 1px solid #222;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* NAME & TITLE - UPDATED TO GOTHAM STYLE */
.profile-header h1 {
    font-family: var(--font-name); /* Using Gotham/Montserrat */
    font-size: 2.9rem; /* Made slightly larger */
    line-height: 0.9;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 900; /* Extra Bold */
    letter-spacing: -1px; /* Tighter tracking like Gotham */
    
    /* Gradient Text Effect */
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-header h2 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.8;
}

/* CONTACT INFO */
.contact-info {
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 400;
}

.contact-item i {
    width: 25px;
    color: var(--accent-orange); 
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px solid transparent;
}

.contact-item a:hover {
    color: var(--text-white);
    border-bottom-color: var(--accent-pink);
}

/* SECTION TITLES (SIDEBAR) */
.section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    margin-top: 40px;
    color: var(--text-white);
    display: flex;
    align-items: center;
}

.section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: #333;
    margin-left: 15px;
}

/* SKILLS TAGS */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    /* Gradient Border Trick */
    background: linear-gradient(var(--bg-sidebar), var(--bg-sidebar)) padding-box,
                var(--gradient-main) border-box;
    border: 1px solid transparent;
    border-radius: 50px; 
    
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* TECH LIST */
.tech-list {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.tech-list li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.tech-list li::before {
    content: "•";
    color: var(--accent-pink);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

/* EDUCATION */
.education-block {
    margin-bottom: 25px;
}

.education-block h3 {
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 600;
    font-family: var(--font-heading);
}

.education-block p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.education-block .highlight {
    color: var(--accent-pink);
}

/* ===========================
   MAIN CONTENT 
   =========================== */
.main-content {
    flex-grow: 1;
    padding: 60px 70px;
    background-color: var(--bg-card);
}

/* PRINT BUTTON */
.actions-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.action-btn {
    background: transparent;
    border: 1px solid #333;
    color: var(--text-gray);
    padding: 10px 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--gradient-main);
    transition: 0.4s;
    z-index: -1;
}

.action-btn:hover {
    color: white;
    border-color: transparent;
}

.action-btn:hover::before {
    width: 100%;
}

/* SUMMARY */
.summary {
    margin-bottom: 60px;
}

.summary h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.summary p {
    color: var(--text-white);
    font-size: 1.1rem; 
    font-weight: 300;
    max-width: 90%;
}

/* EXPERIENCE SECTION */
.experience h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-white);
    letter-spacing: -1px;
}

/* JOB CARDS & TIMELINE */
.job-card {
    margin-bottom: 50px;
    position: relative;
    padding-left: 30px;
    opacity: 0; 
    animation: fadeInUp 0.8s forwards;
}

/* The Gradient Line */
.job-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: -50px;
    width: 2px;
    background: #222; 
}

.job-card:hover::before {
    background: var(--gradient-main);
}

.job-card:last-child::before {
    display: none;
}

/* The Dot */
.job-card::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--accent-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-pink); 
}

/* CARD CONTENT */
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.role-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
}

.company {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
}

.job-meta {
    font-size: 0.85rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-description p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 15px;
    font-weight: 300;
}

.job-description ul {
    list-style: none;
}

.job-description li {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-weight: 300;
}

/* Custom bullet points */
.job-description li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-family: var(--font-heading);
    font-weight: bold;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   PRINT STYLES 
   =========================== */
@media print {
    body {
        background-color: #fff;
        color: #000;
        padding: 0;
    }

    .resume-wrapper {
        box-shadow: none;
        max-width: 100%;
        background-color: #fff;
    }

    .sidebar {
        background-color: #f8f8f8;
        border-right: none;
        color: #000;
    }

    .profile-header h1 {
        background: none;
        -webkit-text-fill-color: #ff005c; 
        color: #ff005c;
    }

    .profile-header h2, .section-title, .role-title {
        color: #000;
    }

    .text-gray, .company, .job-description p, .job-description li, .contact-item, .tech-list li {
        color: #333 !important;
    }
    
    .job-card::before {
        background: #ddd;
    }
    
    .job-card::after {
        background: #ff005c;
        box-shadow: none;
    }

    .actions-bar { display: none; }
    
    .skill-tag {
        background: transparent;
        border: 1px solid #ff6b00;
        color: #000;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .resume-wrapper { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid #333; }
    .main-content { padding: 40px 20px; }
    .job-header { flex-direction: column; }
    .job-card::before { display: none; }
    .job-card::after { display: none; }
    .job-card { padding-left: 0; border-left: 2px solid var(--accent-pink); padding-left: 20px; }
}