/* Header styling fixes to ensure visibility against all backgrounds */

/* Add contrast to section headers */
.section-header h2 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

/* Add highlight background to text */
.section-header h2:before {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    top: -5px;
    bottom: -5px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    z-index: -1;
    transform: skew(-3deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .section-header h2:before {
    background: rgba(30, 35, 55, 0.85);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Additional contrast for specific sections */
#skills .section-header h2,
#contact .section-header h2,
#about .section-header h2 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Enhanced contrast for section line */
.section-line {
    background: var(--primary-color);
    opacity: 0.8;
    height: 3px;
    width: 80px;
    margin: 5px auto 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .section-line {
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.05);
}
