/* Modern Portfolio Design System - Jekyll Version */

:root {
    /* Core Colors - Professional Tech Theme */
    --background: hsl(0, 0%, 99%);
    --foreground: hsl(222, 20%, 15%);
    
    /* Cards & Surfaces */
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222, 20%, 15%);
    --surface: hsl(220, 10%, 98%);
    --surface-foreground: hsl(222, 15%, 25%);
    
    /* Brand Colors */
    --primary: hsl(234, 89%, 74%); /* Modern purple-blue */
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-muted: hsl(234, 89%, 94%);
    
    --secondary: hsl(220, 14%, 96%);
    --secondary-foreground: hsl(222, 20%, 15%);
    
    /* Accent & Highlights */
    --accent: hsl(142, 76%, 73%); /* Tech green */
    --accent-foreground: hsl(0, 0%, 100%);
    --accent-muted: hsl(142, 76%, 95%);
    
    --warning: hsl(38, 92%, 50%); /* Orange */
    --warning-foreground: hsl(0, 0%, 100%);
    
    /* Neutral Palette */
    --muted: hsl(220, 14%, 96%);
    --muted-foreground: hsl(220, 8%, 46%);
    --subtle: hsl(220, 9%, 89%);
    --subtle-foreground: hsl(220, 9%, 60%);
    
    /* Interactive States */
    --border: hsl(220, 13%, 91%);
    --input: hsl(220, 13%, 91%);
    --ring: hsl(234, 89%, 74%);
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 98%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(234, 89%, 74%), hsl(250, 89%, 78%));
    --gradient-accent: linear-gradient(135deg, hsl(142, 76%, 73%), hsl(168, 76%, 73%));
    --gradient-surface: linear-gradient(145deg, hsl(0, 0%, 100%), hsl(220, 10%, 98%));
    --gradient-hero: linear-gradient(135deg, hsl(234, 89%, 74%, 0.1), hsl(142, 76%, 73%, 0.1));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px hsl(222, 20%, 15%, 0.05);
    --shadow-md: 0 4px 6px hsl(222, 20%, 15%, 0.07), 0 2px 4px hsl(222, 20%, 15%, 0.06);
    --shadow-lg: 0 10px 15px hsl(222, 20%, 15%, 0.1), 0 4px 6px hsl(222, 20%, 15%, 0.05);
    --shadow-glow: 0 0 0 1px hsl(234, 89%, 74%, 0.3), 0 8px 25px hsl(234, 89%, 74%, 0.15);
    
    /* Spacing & Layout */
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Typography Scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Animations */
    --transition-fast: 100ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

.shadow-elegant {
    box-shadow: var(--shadow-lg);
}

.transition-smooth {
    transition: var(--transition-normal);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    background-color: hsla(0, 0%, 100%, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-brand {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--muted-foreground);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--foreground);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--foreground);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        background: var(--card);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        visibility: hidden;
        opacity: 0;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    
    .nav-toggle {
        display: block;
    }
}

/* Main Content */
.main {
    padding-top: 4rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0 8rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-bg-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(3rem);
}

.hero-bg-element:nth-child(1) {
    top: 5rem;
    right: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: hsl(234, 89%, 74%, 0.1);
}

.hero-bg-element:nth-child(2) {
    bottom: 5rem;
    left: 2.5rem;
    width: 24rem;
    height: 24rem;
    background: hsl(142, 76%, 73%, 0.1);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9999px;
    margin-bottom: 2rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--muted-foreground);
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 0.75rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.hero-subtitle {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    width: 100%;
}

.hero-contact {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-link:hover {
    background: var(--muted);
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem 0 10rem;
    }
    
    .hero-title {
        font-size: var(--font-size-5xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-3xl);
    }
    
    .hero-actions {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: var(--font-size-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-elegant);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--muted);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
}

.btn i {
    width: 1rem;
    height: 1rem;
}

.btn i:first-child {
    margin-right: 0.5rem;
}

.btn i:last-child {
    margin-left: 0.5rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

/* Domains Grid */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.domain-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.domain-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-surface);
    opacity: 0;
    transition: var(--transition-normal);
}

.domain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.domain-card:hover::before {
    opacity: 1;
}

.domain-card > * {
    position: relative;
    z-index: 1;
}

.domain-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain-icon.ai-ml {
    background: var(--primary-muted);
    color: var(--primary);
}

.domain-icon.robotics {
    background: var(--accent-muted);
    color: var(--accent);
}

.domain-icon.simulation {
    background: hsl(38, 92%, 95%);
    color: var(--warning);
}

.domain-icon.automation {
    background: hsl(0, 84%, 95%);
    color: var(--destructive);
}

.domain-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.domain-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 350px);
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

#projects {
    padding-bottom: 5rem;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.project-domain {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-domain.ai-ml {
    background: var(--primary-muted);
    color: var(--primary);
}

.project-domain.robotics {
    background: var(--accent-muted);
    color: var(--accent);
}

.project-domain.simulation {
    background: hsl(38, 92%, 95%);
    color: var(--warning);
}

.project-domain.automation {
    background: hsl(0, 84%, 95%);
    color: var(--destructive);
}

.project-domain.industrial-automation {
    background: hsl(0, 84%, 95%);
    color: var(--destructive);
}

.project-period {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
}

.project-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.25rem 0.5rem;
    background: var(--muted);
    color: var(--muted-foreground);
    border-radius: var(--radius);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.project-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-normal);
}

.project-title a:hover {
    color: var(--primary);
}

.project-preview {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.project-card:hover .project-preview-image {
    transform: scale(1.05);
}

.project-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.skill-category-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.5rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--surface-foreground);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    background: var(--primary-muted);
    color: var(--primary);
    border-color: var(--primary);
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    padding-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--background);
}

.timeline-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.timeline-type {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: capitalize;
}

.timeline-type.work {
    background: var(--accent-muted);
    color: var(--accent);
}

.timeline-type.research {
    background: var(--primary-muted);
    color: var(--primary);
}

.timeline-type.education {
    background: hsl(38, 92%, 95%);
    color: var(--warning);
}

.timeline-period {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
}

.timeline-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: var(--font-size-base);
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.timeline-highlights {
    list-style: none;
}

.timeline-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.timeline-highlights li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Contact Section */
.contact {
    background: var(--surface);
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-muted);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    font-weight: 500;
    color: var(--foreground);
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--muted-foreground);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

/* Project Detail Page */
.project-detail {
    padding: 6rem 0 4rem;
}

.project-header {
    text-align: center;
    margin-bottom: 4rem;
}

.project-header .project-meta {
    justify-content: center;
    margin-bottom: 2rem;
}

.project-header .project-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.project-header .project-description {
    font-size: var(--font-size-xl);
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.project-header .project-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.project-content {
    max-width: 48rem;
    margin: 0 auto;
}

.project-content > div {
    margin-bottom: 3rem;
}

.project-content > div:last-child {
    margin-bottom: 0;
}

.project-overview,
.project-technologies,
.project-highlights,
.project-details {
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.project-content h2 {
    color: var(--foreground);
    margin-bottom: 1.5rem;
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

.project-content h3 {
    color: var(--foreground);
    margin-bottom: 1rem;
    margin-top: 0;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.project-details h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.project-details h2:first-child {
    margin-top: 0;
}

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

.highlights-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 1.5rem;
}

.highlights-list li:last-child {
    border-bottom: none;
}

.highlights-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: var(--font-size-sm);
}

.project-overview h2,
.project-overview h3 {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.project-overview h2:first-child,
.project-overview h3:first-child {
    margin-top: 0;
}

.project-technologies {
    margin: 2rem 0;
}

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

.highlights-list {
    list-style: none;
    margin: 1rem 0;
}

.highlights-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-xl);
    }
    
    .domains-grid,
    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        min-height: 450px;
    }
    
    .project-preview {
        height: 180px;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline-item::before {
        left: 0.5rem;
    }
    
    .footer-content {
        justify-content: center;
        text-align: center;
    }
}

/* Domain Filtering Styles */
.domain-card {
    cursor: pointer;
    user-select: none;
}

.domain-card.active-filter {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.domain-card.active-filter .domain-title {
    color: var(--primary-foreground);
}

.domain-card.active-filter .domain-description {
    color: hsl(0, 0%, 95%);
    opacity: 0.9;
}

.domain-card.active-filter .domain-icon {
    background: hsl(0, 0%, 100%, 0.2);
    color: var(--primary-foreground);
}

.domain-card.active-filter::before {
    opacity: 0;
}

/* Project filtering animations */
.project-card {
    transition: all 0.08s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth visibility transitions for filtered projects */
.projects-grid {
    min-height: 400px;
    transition: min-height 0.08s ease;
    margin-bottom: 4rem;
}

/* Enhanced hover states for clickable domains */
.domain-card:not(.active-filter):hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Visual feedback for interactivity */
.domain-card:active {
    transform: translateY(-6px) scale(1.01);
    transition: all 0.02s ease;
}

/* Projects Page Styles */
.projects-page {
    padding: 6rem 0 4rem;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
}

.breadcrumb-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--muted-foreground);
}

.breadcrumb-current {
    font-weight: 500;
    color: var(--foreground);
}

.page-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: var(--font-size-lg);
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto 3rem;
}

/* Domain Filter Tabs */
.domain-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--muted-foreground);
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: var(--font-size-sm);
    font-weight: 500;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-md);
}

/* Filtered Projects Grid */
.filtered-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Consistent Project Card Sizing */
.project-card.consistent-size {
    width: 350px;
    min-height: 550px;
    max-height: 550px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.project-card.consistent-size .project-preview {
    height: 200px;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.project-card.consistent-size .project-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card.consistent-size .project-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
    height: 300px;
    overflow: hidden;
}

.project-card.consistent-size .project-description {
    flex-grow: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.project-card.consistent-size .project-tech {
    margin-bottom: 1rem;
    min-height: 2rem;
}

.project-card.consistent-size .project-actions {
    margin-top: auto;
    padding-top: 1rem;
    flex-shrink: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 0;
}

.empty-state-content {
    max-width: 24rem;
    margin: 0 auto;
}

.empty-state-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 2rem;
    background: var(--muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
}

.empty-state-icon i {
    width: 2rem;
    height: 2rem;
}

.empty-state-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.empty-state-description {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive adjustments for projects page */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filtered-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card.consistent-size {
        width: 100%;
        max-width: 350px;
        min-height: 450px;
        max-height: 450px;
        margin: 0 auto;
    }
    
    .project-card.consistent-size .project-preview {
        height: 180px;
    }
    
    .project-card.consistent-size .project-content {
        height: 270px;
    }
    
    .domain-filter-tabs {
        gap: 0.25rem;
    }
    
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-xs);
    }
    
    .page-title {
        font-size: var(--font-size-3xl);
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
}