/* Portfolio Theme CSS - Based on jeffreyfischer.org design */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f4f5f7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2f5aae;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #2f5aae;
}

/* Main content area */
main {
    min-height: calc(100vh - 200px);
}

/* Page headers */
.page-header {
    background: linear-gradient(135deg, #4f7390 0%, #2f5aae 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

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

/* About Me specific styles */
.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.profile-section {
    text-align: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.profile-section h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2f5aae;
}

.profile-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2f5aae;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #4f7390;
}

.bio-section {
    font-size: 1.05rem;
    line-height: 1.7;
}

.bio-section p {
    margin-bottom: 1.5rem;
}

/* Panel Grid System */
.panels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.panel {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.panel-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2f5aae;
}

.panel h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2f5aae;
}

.panel p {
    color: #666;
    line-height: 1.6;
}

/* Featured Update section */
.featured-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.featured-section h2 {
    color: #2f5aae;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Publications styles */
.publications-list {
    margin-top: 2rem;
}

.publication-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.publication-item h3 {
    color: #2f5aae;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.publication-item p {
    margin-bottom: 0.5rem;
    color: #666;
}

.publication-item p:last-child {
    margin-top: 1rem;
    color: #333;
    line-height: 1.6;
}

/* Content area general styles */
.content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.content h1, .content h2, .content h3 {
    color: #2f5aae;
    margin-bottom: 1rem;
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #2f5aae;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .panels-grid {
        grid-template-columns: 1fr;
    }
    
    .panel {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .about-content {
        padding: 1.5rem;
    }
}