/* Vanta.js Background Container */
#vantaBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    filter: blur(3px);
    opacity: 0.8;
}

/* About Section */
#about {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 4rem 5%;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff; /* White in dark mode */
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ffffff; /* White in dark mode */
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: #cccccc; /* Light gray in dark mode */
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff; /* White in dark mode */
    transition: var(--transition);
}

.tab-btn.active:after, .tab-btn:hover:after {
    width: 100%;
}

.tab-btn.active, .tab-btn:hover {
    color: #ffffff; /* White in dark mode */
}

/* Tab Content */
.tab-content {
    display: none;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff; /* White in dark mode */
}

.tab-content p {
    color: #cccccc; /* Light gray in dark mode */
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Personal Info */
.personal-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-label {
    font-weight: 600;
    min-width: 150px;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff; /* White in dark mode */
}

.info-value {
    color: #cccccc; /* Light gray in dark mode */
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #888888; /* Accent color */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    padding: 8px 15px;
    background-color: #888888; /* Accent color */
    color: #ffffff; /* White text */
    border-radius: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.timeline-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.timeline-content h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
    color: #ffffff; /* White in dark mode */
}

.timeline-content p {
    color: #cccccc; /* Light gray in dark mode */
    margin-bottom: 0;
}

/* Mastery Grid */
.mastery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mastery-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.mastery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.mastery-item i {
    font-size: 2.5rem;
    color: #888888; /* Accent color */
    margin-bottom: 1rem;
}

.mastery-item h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    color: #ffffff; /* White in dark mode */
}

.mastery-item p {
    color: #cccccc; /* Light gray in dark mode */
}

/* Hobbies Section */
.hobby-category {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.hobby-category h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    color: #ffffff; /* White in dark mode */
}

.hobby-category h4 i {
    margin-right: 10px;
    color: #888888; /* Accent color */
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hobby-item {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    backdrop-filter: blur(3px);
    color: #ffffff; /* White in dark mode */
}

.hobby-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.spotify-btn, .statix-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: #888888; /* Accent color */
    color: #ffffff; /* White text */
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    transition: var(--transition);
    margin-top: 1rem;
    backdrop-filter: blur(5px);
}

.spotify-btn i, .statix-btn i {
    margin-right: 0.5rem;
}

.spotify-btn:hover, .statix-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================== */
/* LIGHT THEME STYLES - PERFECT BLACK TEXT */
/* =========================================== */

body.light-theme #about {
    color: #000000 !important; /* Pure black text */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .section-header h2 {
    color: #000000 !important; /* Pure black */
}

body.light-theme .section-header h2::after {
    background: #000000 !important; /* Pure black */
}

body.light-theme .tab-content h3 {
    color: #000000 !important; /* Pure black */
}

body.light-theme .tab-content p {
    color: #333333 !important; /* Dark gray for paragraphs */
}

body.light-theme .info-label {
    color: #000000 !important; /* Pure black */
}

body.light-theme .info-value {
    color: #333333 !important; /* Dark gray */
}

body.light-theme .timeline-content h4 {
    color: #000000 !important; /* Pure black */
}

body.light-theme .timeline-content p {
    color: #333333 !important; /* Dark gray */
}

body.light-theme .mastery-item h4 {
    color: #000000 !important; /* Pure black */
}

body.light-theme .mastery-item p {
    color: #333333 !important; /* Dark gray */
}

body.light-theme .hobby-category h4 {
    color: #000000 !important; /* Pure black */
}

body.light-theme .hobby-category p {
    color: #333333 !important; /* Dark gray */
}

body.light-theme .hobby-item {
    color: #000000 !important; /* Pure black */
    background-color: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Tab buttons in light mode */
body.light-theme .tab-btn {
    color: #666666 !important; /* Medium gray */
}

body.light-theme .tab-btn.active,
body.light-theme .tab-btn:hover {
    color: #000000 !important; /* Pure black */
}

body.light-theme .tab-btn:after {
    background-color: #000000 !important; /* Pure black */
}

/* Backgrounds for light mode */
body.light-theme .tab-content {
    background-color: rgba(255, 255, 255, 0.95) !important; /* Solid white background */
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #000000 !important; /* Pure black */
}

body.light-theme .timeline-content {
    background-color: rgba(255, 255, 255, 0.95) !important; /* Solid white */
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .mastery-item {
    background-color: rgba(255, 255, 255, 0.95) !important; /* Solid white */
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .hobby-category {
    background-color: rgba(255, 255, 255, 0.95) !important; /* Solid white */
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Vanta background for light mode - make it very subtle */
body.light-theme #vantaBackground {
    filter: blur(2px) brightness(2) !important; /* Bright and subtle */
    opacity: 0.3 !important; /* Very transparent */
}

/* Timeline for light mode */
body.light-theme .timeline::after {
    background-color: #666666 !important; /* Dark gray */
}

body.light-theme .timeline-date {
    background-color: #000000 !important; /* Pure black */
    color: #ffffff !important; /* White text */
}

/* Buttons in light mode */
body.light-theme .spotify-btn,
body.light-theme .statix-btn {
    background: #000000 !important; /* Pure black */
    color: #ffffff !important; /* White text */
}

body.light-theme .spotify-btn:hover,
body.light-theme .statix-btn:hover {
    background: #333333 !important; /* Dark gray on hover */
}

/* Icons in light mode */
body.light-theme .mastery-item i,
body.light-theme .hobby-category h4 i {
    color: #000000 !important; /* Pure black icons */
}

/* Remove backdrop blur in light mode for better performance */
body.light-theme .tab-content,
body.light-theme .timeline-content,
body.light-theme .mastery-item,
body.light-theme .hobby-category,
body.light-theme .hobby-item {
    backdrop-filter: none !important;
}

/* Responsive Design for About Page */
@media screen and (max-width: 968px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
}

@media screen and (max-width: 768px) {
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        margin-bottom: 1rem;
        width: 200px;
        text-align: center;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .mastery-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-label {
        margin-bottom: 0.5rem;
        min-width: unset;
    }
    
    .hobby-category h4 {
        font-size: 1.1rem;
    }
    
    /* Reduce blur on mobile for better performance */
    #vantaBackground {
        filter: blur(2px);
    }
}

@media screen and (max-width: 480px) {
    #about {
        padding: 2rem 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
}