/* UniConnect Project Detail Specific Styles */

/* Import base project detail styles */
@import url('./project-detail.css');

/* Enhanced Team Section Styles */
.team-section {
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(100, 255, 218, 0.05), transparent 70%);
    z-index: -1;
}

.team-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-header i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-member {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    opacity: 0.7;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.member-role {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.member-id {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.member-email {
    font-size: 0.85rem;
    color: var(--text-secondary);
    word-break: break-all;
}

.team-lead {
    position: relative;
}

.team-lead::after {
    content: 'Lead';
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transform: rotate(15deg);
}

/* Timeline styles removed - streamlining design */

/* Project Features Section */
.features-section {
    margin-top: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Technical Details Section */
.tech-details {
    margin: 3rem 0;
}

.tech-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-details-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.tech-details-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.tech-category {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-category i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.tech-list li::before {
    content: '▸';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Project Screenshots */
.project-screenshots {
    margin-top: 3rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.screenshot-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.screenshot-item:hover img {
    filter: brightness(1.1);
}

.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 1rem;
    background: rgba(10, 25, 47, 0.9);
    color: var(--text-primary);
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-caption {
    transform: translateY(0);
}

/* Enhanced Sidebar Styling */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -8px rgba(2, 12, 27, 0.3);
}

.sidebar-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card h3 i {
    color: var(--accent-color);
    font-size: 1rem;
}

.role-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.role-title:first-of-type {
    margin-top: 0;
}

.sidebar-card p:not(.role-title) {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-item {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.sidebar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

.sidebar-btn.primary {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
}

.sidebar-btn.primary:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.sidebar-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-secondary);
}

.sidebar-btn.secondary:hover {
    background: var(--text-secondary);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Light theme adjustments for enhanced sidebar */
body.light-theme .sidebar-card {
    background: var(--light-secondary);
    border-color: var(--light-border);
    box-shadow: 0 2px 8px var(--light-shadow);
}

body.light-theme .sidebar-card:hover {
    box-shadow: 0 8px 25px -8px var(--light-shadow);
}

body.light-theme .sidebar-card h3 {
    color: var(--light-text-primary);
}

body.light-theme .sidebar-card h3 i {
    color: var(--light-accent);
}

body.light-theme .role-title {
    color: var(--light-accent);
}

body.light-theme .sidebar-card p:not(.role-title) {
    color: var(--light-text-secondary);
}

body.light-theme .tech-item {
    background: var(--light-primary);
    color: var(--light-accent);
    border-color: var(--light-accent);
}

body.light-theme .tech-item:hover {
    background: var(--light-accent);
    color: #fff;
}

body.light-theme .sidebar-btn.primary {
    background: var(--light-accent);
    color: #fff;
    border-color: var(--light-accent);
}

body.light-theme .sidebar-btn.primary:hover {
    background: transparent;
    color: var(--light-accent);
}

body.light-theme .sidebar-btn.secondary {
    color: var(--light-text-secondary);
    border-color: var(--light-text-secondary);
}

body.light-theme .sidebar-btn.secondary:hover {
    background: var(--light-text-secondary);
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .tech-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .features-grid,
    .tech-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card,
    .tech-details-card {
        padding: 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .tech-category {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .tech-details-grid {
        gap: 0.75rem;
    }
    
    .feature-card,
    .tech-details-card {
        padding: 0.75rem;
    }
}
