/* ========================================
   Additional Page Styles
   ======================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.download-cv-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: white;
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.download-cv-btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ========================================
   Publications Page
   ======================================== */
.filter-section {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: transparent;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    color: var(--text-color);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.year-section {
    margin-bottom: 40px;
}

.year-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.publication-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.publication-item:hover {
    box-shadow: var(--shadow);
}

.pub-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.pub-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.pub-authors {
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.pub-journal {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.pub-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pub-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pub-link:hover {
    color: var(--primary-dark);
}

/* Metrics */
.metrics-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.metric-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.metric-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   Fieldwork Page
   ======================================== */
.map-section {
    margin-bottom: 50px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.fieldwork-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fieldwork-card {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.fieldwork-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.fieldwork-image {
    position: relative;
    height: 200px;
    background: var(--bg-light);
    overflow: hidden;
}

.fieldwork-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fieldwork-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.fieldwork-year {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.fieldwork-content {
    padding: 20px;
}

.fieldwork-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.fieldwork-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.fieldwork-date i {
    color: var(--primary-color);
    margin-right: 5px;
}

.fieldwork-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.fieldwork-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.fieldwork-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-intro {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-item p, .contact-item a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-social h4 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: white;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.social-btn.twitter { background: #1da1f2; }
.social-btn.linkedin { background: #0077b5; }
.social-btn.scholar { background: #4285f4; }
.social-btn.researchgate { background: #00d0af; }
.social-btn.orcid { background: #a6ce39; }
.social-btn.github { background: #333; }

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.form-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.location-map {
    margin-top: 60px;
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

/* ========================================
   CV Page
   ======================================== */
.cv-container {
    max-width: 900px;
    margin: 0 auto;
}

.cv-section {
    margin-bottom: 50px;
}

.cv-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.cv-section-title i {
    color: var(--primary-color);
}

.cv-timeline {
    position: relative;
    padding-left: 30px;
}

.cv-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.cv-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.cv-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cv-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.cv-date {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.cv-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.cv-institution {
    color: var(--text-light);
    margin-bottom: 8px;
}

.cv-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cv-list {
    list-style: none;
}

.cv-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
}

.cv-year {
    font-weight: 500;
    color: var(--primary-color);
    min-width: 50px;
}

/* Grants */
.grants-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.grant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.grant-info h4 {
    margin-bottom: 5px;
    color: var(--text-color);
}

.grant-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.grant-role {
    color: var(--primary-color) !important;
    font-weight: 500;
}

.grant-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Teaching & Skills */
.teaching-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.teaching-item h4 {
    margin-bottom: 5px;
    color: var(--text-color);
}

.teaching-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skill-category h4 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ========================================
   Projects Page
   ======================================== */
.projects-section {
    margin-bottom: 60px;
}

.project-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.project-card.featured {
    border: 2px solid var(--primary-color);
}

.project-image {
    position: relative;
    min-height: 300px;
    background: var(--bg-dark);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-status.active {
    background: #28a745;
    color: white;
}

.project-status.completed {
    background: var(--text-muted);
    color: white;
}

.project-content {
    padding: 30px 30px 30px 0;
}

.project-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.project-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.project-details {
    display: flex;
    gap: 40px;
    margin-bottom: 15px;
}

.detail-item h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.detail-item p {
    color: var(--text-color);
    font-weight: 500;
}

.project-collaborators {
    margin-bottom: 20px;
}

.project-collaborators h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.project-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-link:hover {
    background: var(--primary-dark);
    color: white;
}

/* Completed Projects Grid */
.completed-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card-small {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    position: relative;
}

.project-card-small .project-status {
    position: static;
    display: inline-block;
    margin-bottom: 15px;
}

.project-card-small h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.project-card-small p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.project-outcomes {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-outcomes i {
    color: var(--primary-color);
    margin-right: 5px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Collaboration CTA */
.collaboration-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    padding: 60px;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 25px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ========================================
   Responsive - Pages
   ======================================== */
@media (max-width: 992px) {
    .metrics-grid, .fieldwork-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fieldwork-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        min-height: 250px;
    }
    
    .project-content {
        padding: 30px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fieldwork-grid, .completed-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .publication-item {
        flex-direction: column;
        text-align: center;
    }
    
    .pub-links {
        justify-content: center;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .collaboration-cta {
        padding: 40px 20px;
    }
    
    .grant-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .metrics-grid, .fieldwork-stats {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        justify-content: center;
    }
}
