/* Navy Theme Refined - Building on Neural Network, reducing box overlays */
:root {
    --primary-color: #7e57c2; /* Purple - AI-themed */
    --secondary-color: #00e5ff; /* Cyan - Game-themed */
    --tertiary-color: #ff4081; /* Pink for accents */
    --dark-bg: #05151e; /* Navy blue */
    --darker-bg: #030f15; /* Darker navy for contrast */
    --section-bg: #071a25; /* Slightly lighter navy for cards */
    --card-bg: rgba(7, 30, 45, 0.7); /* Semi-transparent navy */
    --light-text: #ffffff;
    --dark-text: #333333;
    --gray-text: #aaaaaa;
    --card-border: rgba(255, 255, 255, 0.1);
    --header-height: 70px;
    --transition: all 0.3s ease;
    --glow: 0 0 10px rgba(126, 87, 194, 0.8);
    --neon-glow: 0 0 8px rgba(0, 229, 255, 0.8);
}

/* Update specific sections */
.about, .education, .publications {
    background-color: var(--darker-bg);
}

.projects, .research, .contact {
    background-color: var(--dark-bg);
}

/* Card backgrounds - but NOT for research items (experience) and contact info */
.project-card, .education-item, .contact-form {
    background: var(--card-bg);
}

/* Remove background from research items and contact info */
.research-item, .contact-info {
    background: transparent !important;
    box-shadow: none !important;
}

/* Add subtle bottom border instead of box for research items */
.research-item {
    border-bottom: 1px solid rgba(126, 87, 194, 0.2);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.research-item:last-child {
    border-bottom: none;
}

/* Remove the light horizontal line that appears under cards */
.research-item::after, .contact-info::after {
    display: none !important;
}

/* Neural network backgrounds update */
#contact-network-background, #hero-network-background {
    /* These are already updated via JS */
}

/* Header background */
header {
    background-color: rgba(3, 15, 21, 0.8);
}

/* Add a nice title for the prototype */
.color-theme-title {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(3, 15, 21, 0.8);
    color: #00e5ff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Enhance year label in experience section */
.research-year {
    color: var(--secondary-color);
    font-weight: 500;
    opacity: 0.9;
}

/* Enhance contact section's text */
.contact-info p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Make contact methods stand out better without a background */
.contact-method {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-method i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Enhanced social links without box backgrounds */
.social-link {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
    text-shadow: 0 3px 10px rgba(0, 229, 255, 0.3);
}
