/* Resume specific styles */

/* Add banner at the top of the resume */
.resume-banner {
    background-image: linear-gradient(rgba(20, 30, 55, 0.8), rgba(20, 30, 55, 0.6)), url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

/* Highlight author name in publications */
.author-highlight {
    font-weight: 700;
    color: purple;
    background-color: rgba(128, 0, 128, 0.1);
    padding: 0 3px;
}

/* Export buttons section */
.resume-actions {
    background-color: var(--light);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.export-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.download-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.download-btn:hover {
    background-color: #5a0b8d;
    transform: translateY(-2px);
}

.print-btn {
    background-color: #444;
}

.print-btn:hover {
    background-color: #222;
}

/* Resume container */
.resume-container {
    max-width: 900px;
    padding: 40px 30px;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/* Resume header */
.resume-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.resume-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.resume-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.resume-contact a {
    text-decoration: none;
    color: var(--primary);
}

/* Resume sections */
.resume-section {
    margin-bottom: 40px;
}

.resume-section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.resume-item {
    margin-bottom: 25px;
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.resume-item-header h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-right: 15px;
}

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

.institution {
    font-weight: 600;
    margin-bottom: 8px;
}

.resume-item p {
    margin-bottom: 10px;
}

.resume-item ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.resume-item ul li {
    margin-bottom: 8px;
}

.certification-list, .skills-list {
    list-style-type: disc;
    padding-left: 20px;
}

.certification-list li, .skills-list li {
    margin-bottom: 8px;
}

/* Print styles */
@media print {
    header, .resume-actions, footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .resume-container {
        box-shadow: none;
        padding: 0;
        max-width: 100%;
    }
    
    .resume-section {
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .resume-header h1 {
        color: black;
    }
    
    .resume-section h2 {
        color: black;
        border-bottom-color: #999;
    }
    
    .resume-item-header h3 {
        color: black;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    header nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        background-color: var(--primary);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 8px 8px;
        padding: 0;
    }
    
    header nav.active {
        max-height: 300px;
        padding: 10px 0;
    }
    
    header nav ul {
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        width: 100%;
    }
    
    header nav ul li {
        margin: 0;
        width: 100%;
    }
    
    header nav ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    header nav ul li:last-child a {
        border-bottom: none;
    }
    
    header nav ul li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .resume-banner {
        height: 120px;
    }
    
    .resume-container {
        padding: 25px 15px;
        margin-top: 0;
    }
    
    .resume-header h1 {
        font-size: 2rem;
    }
    
    .resume-item-header {
        flex-direction: column;
    }
    
    .resume-item-header h3 {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .date {
        margin-bottom: 10px;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .export-buttons {
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }
    
    .resume-section {
        margin-bottom: 30px;
    }
    
    .resume-item {
        padding: 0 5px;
    }
    
    .resume-section h2 {
        font-size: 1.6rem;
    }
    
    .resume-contact p, .resume-contact a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .resume-banner {
        height: 100px;
    }
    
    .download-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .resume-header h1 {
        font-size: 1.8rem;
    }
    
    .resume-section h2 {
        font-size: 1.5rem;
        padding-bottom: 8px;
    }
    
    .resume-item-header h3 {
        font-size: 1.2rem;
    }
    
    .resume-container {
        padding: 20px 12px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }
    
    .resume-header {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .institution {
        font-size: 0.95rem;
    }
    
    .resume-item p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .author-highlight {
        padding: 0 2px;
        border-radius: 3px;
    }
}

/* Add dropdown menu styles for resume page */
header .dropdown-menu {
    position: absolute;
    right: 20px;
    top: 20px;
}

/* Adjust header layout for dropdown menu */
header .container {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
} 