/* Resume Page Styles - Fully Responsive */

.resume-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #000;
    color: #fff;
    padding: clamp(3rem, 8vw, 6rem) 5%;
    margin-top: 80px;  /* Account for fixed nav */
}

.resume-hero h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 300;
    letter-spacing: clamp(0.2em, 1.5vw, 0.5em);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.resume-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    letter-spacing: clamp(0.1em, 0.5vw, 0.2em);
    color: #ccc;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.button-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn, .download-btn {
    display: inline-block;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    letter-spacing: clamp(0.05em, 0.5vw, 0.1em);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    white-space: nowrap;
}

.btn:hover, .download-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.resume-content {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 6rem) 5%;
}

.resume-container {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 5rem);
}

.resume-section {
    margin-bottom: 1rem;
}

.resume-section:last-child {
    margin-bottom: 0;
}

.resume-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 300;
    letter-spacing: clamp(0.15em, 1vw, 0.25em);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #000;
}

.resume-item {
    margin-bottom: 3rem;
}

.resume-item:last-child {
    margin-bottom: 0;
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.resume-item h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.date {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: #666;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.company {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #999;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Resume Lists */
.resume-list {
    list-style: none;
    padding-left: 0;
}

.resume-list > li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0.75rem;
}

.resume-list > li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* Nested Lists */
.resume-list ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    padding-left: 0;
}

.resume-list ul li {
    list-style-type: disc;
    margin-bottom: 0.25rem;
    padding-left: 0;
}

.resume-list ul li::before {
    content: none;
}

/* Main Skill Category */
.skill-category-main {
    margin-bottom: 2.5rem;
}

.skill-category-main:last-child {
    margin-bottom: 0;
}

.skill-category-main h3 {
    font-size: clamp(1.1rem, 3vw, 1.2rem);
    font-weight: 600;
    letter-spacing: clamp(0.1em, 0.5vw, 0.15em);
    margin-bottom: 1.5rem;
    color: #000;
}

.skill-category-main h4 {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    font-weight: 600;
    letter-spacing: clamp(0.08em, 0.4vw, 0.1em);
    margin-bottom: 1rem;
    color: #333;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
}

.skill-category h4 {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
    letter-spacing: clamp(0.08em, 0.4vw, 0.12em);
    margin-bottom: 1rem;
}

/* Mobile Specific Adjustments */
@media (max-width: 767px) {
    .resume-hero {
        margin-top: 70px;
        min-height: 40vh;
    }
    
    .resume-hero h1 {
        letter-spacing: 0.15em;
    }
    
    .button-container {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .btn, .download-btn {
        width: 100%;
        text-align: center;
    }
    
    .resume-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .date {
        margin-top: 0.25rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-category-main {
        margin-bottom: 2rem;
    }
}

/* Tablet Adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .resume-hero {
        margin-top: 85px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .resume-hero {
        margin-top: 90px;
    }
}