/* Professional Header Styles */

.professional-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.professional-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* Top Info Bar */
.header-top-bar {
    background: rgba(0,0,0,0.1);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 25px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    color: rgba(255,255,255,0.9);
}

.contact-item a {
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255,215,0,0.2);
    color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,215,0,0.3);
}

/* Main Header Content */
.header-content {
    position: relative;
    z-index: 2;
    padding: 25px 30px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

/* Brand Section */
.header-brand {
    display: flex;
    gap: 30px;
    align-items: center;
}

.professional-logo {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.professional-logo:hover {
    transform: scale(1.02);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    position: relative;
}

.logo-svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.logo-svg:hover {
    transform: rotate(5deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main-text {
    font-size: 1.8em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.logo-sub-text {
    font-size: 1em;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.logo-tagline {
    font-size: 0.8em;
    color: #FFD700;
    font-style: italic;
    opacity: 0.8;
}

/* Author Info */
.author-info {
    padding-left: 30px;
    border-left: 2px solid rgba(255,215,0,0.3);
}

.author-name {
    font-size: 1.4em;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.author-title {
    font-size: 0.95em;
    margin: 0 0 3px 0;
    opacity: 0.9;
    line-height: 1.3;
}

.author-affiliation {
    font-size: 0.85em;
    margin: 0 0 10px 0;
    opacity: 0.8;
    font-style: italic;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tag {
    background: rgba(255,215,0,0.2);
    color: #FFD700;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
    border: 1px solid rgba(255,215,0,0.3);
}

/* Header Main Section */
.header-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.site-title {
    font-size: 2.5em;
    font-weight: 300;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    line-height: 1.1;
}

.title-icon {
    font-size: 0.8em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.title-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.4em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

.site-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.action-btn.primary {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
}

.action-btn.primary:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
}

.action-btn.secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.action-btn.secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.action-btn.tertiary {
    background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
    color: white;
}

.action-btn.tertiary:hover {
    background: linear-gradient(45deg, #FF8E8E, #FF6B6B);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
}

.action-btn.website {
    background: rgba(76, 175, 80, 0.8);
    color: white;
}

.action-btn.website:hover {
    background: rgba(76, 175, 80, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Navigation Bar */
.header-navigation {
    background: rgba(0,0,0,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(-3px);
    color: white;
}

.nav-link.active {
    background: rgba(255,215,0,0.2);
    color: #FFD700;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    color: rgba(255,255,255,0.7);
}

.breadcrumb-item.current {
    color: #FFD700;
    font-weight: 500;
}

.breadcrumb-separator {
    opacity: 0.5;
    margin: 0 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-btn, .theme-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.3s ease;
}

.nav-btn:hover, .theme-toggle:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.nav-icon, .icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .header-brand {
        justify-content: center;
        flex-direction: column;
        gap: 20px;
    }
    
    .author-info {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid rgba(255,215,0,0.3);
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .professional-header {
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    
    .top-bar-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-content {
        padding: 20px;
        gap: 20px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .site-title {
        font-size: 1.8em;
        flex-direction: column;
        gap: 10px;
    }
    
    .title-badge {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .quick-actions {
        justify-content: center;
    }
    
    .action-btn {
        font-size: 0.85em;
        padding: 8px 15px;
    }
    
    .nav-content {
        padding: 10px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-left {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .breadcrumb-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .expertise-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-brand {
        gap: 15px;
    }
    
    .logo-main-text {
        font-size: 1.5em;
    }
    
    .site-title {
        font-size: 1.5em;
    }
    
    .quick-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

.researcher-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.researcher-name {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.researcher-title {
    font-size: 0.95em;
    opacity: 0.85;
    margin: 0;
    font-style: italic;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.github-link:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.github-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.back-navigation {
    background: rgba(255,255,255,0.1);
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-link {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    padding: 6px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.back-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(-3px);
    color: white;
    text-decoration: none;
}

.breadcrumb-nav {
    color: rgba(255,255,255,0.8);
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-separator {
    opacity: 0.6;
}

/* Professional Header Enhancements */
.header-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.brand-btn {
    padding: 8px 16px;
    border: 2px solid transparent;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85em;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.brand-btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2c3e50;
    border-color: transparent;
    font-weight: 600;
}

.brand-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.brand-btn-secondary {
    background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
    color: white;
    border: none;
}

.brand-btn-secondary:hover {
    background: linear-gradient(45deg, #FF8E8E, #FF6B6B);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,107,0.4);
}

.brand-btn-outline {
    color: #667eea;
    border-color: #667eea;
}

.brand-btn-outline:hover {
    background: #667eea;
    color: white;
}

.brand-btn-ghost {
    color: #7f8c8d;
}

.brand-btn-ghost:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.seo-links {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.seo-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    color: #667eea;
    text-decoration: none;
    font-size: 0.8em;
    transition: all 0.3s ease;
}

.seo-link:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.back-navigation .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.keyboard-help {
    display: flex;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .professional-header {
        padding: 15px 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .researcher-info {
        align-items: center;
        text-align: center;
    }
    
    .site-title {
        font-size: 1.8em;
    }
    
    .nav-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .header-brand {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .brand-actions {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .brand-btn {
        font-size: 0.8em;
        padding: 6px 12px;
    }
    
    .seo-links {
        gap: 8px;
    }
    
    .back-navigation .nav-content {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
