/* Skills Page Specific Styles */

.page-header {
    background: var(--hero-bg);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Skills Grid Layout */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Skill Card Styles */
.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--link-color);
}

/* Gradient accent on hover */
.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--link-color), var(--link-hover));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

/* Highlight Card */
.skill-card.highlight {
    border: 2px solid var(--link-color);
    background: linear-gradient(135deg, 
        rgba(var(--link-color-rgb), 0.05) 0%, 
        rgba(var(--link-color-rgb), 0.02) 100%);
}

/* Category Name */
.skill-category {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Technologies List */
.skill-technologies {
    color: var(--link-color);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(var(--link-color-rgb), 0.08);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
}

/* Notes/Description */
.skill-notes {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Certification Cards */
.cert-card {
    background: linear-gradient(135deg, 
        var(--card-bg) 0%, 
        rgba(var(--link-color-rgb), 0.03) 100%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-card {
        padding: 1.25rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .skill-category {
        font-size: 1.125rem;
    }
    
    .skill-technologies {
        font-size: 0.875rem;
        padding: 0.5rem;
    }
}

/* Tablet View */
@media (min-width: 769px) and (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Screens */
@media (min-width: 1440px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .skill-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .skill-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .skill-technologies {
    background: rgba(var(--link-color-rgb), 0.15);
}

/* Smooth Scroll for Section Links */
section {
    scroll-margin-top: 80px;
}

/* Loading Animation */
.skill-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.2s; }
.skill-card:nth-child(3) { animation-delay: 0.3s; }
.skill-card:nth-child(4) { animation-delay: 0.4s; }
.skill-card:nth-child(5) { animation-delay: 0.5s; }
.skill-card:nth-child(6) { animation-delay: 0.6s; }

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