/* CSS Design System for Emin Girimhanov Startseite (SEO, GEO & WCAG 2.1 AA Accessibility Optimized) */
:root {
    --bg-dark: #0a0d14;
    --bg-card: rgba(18, 24, 38, 0.75);
    --bg-card-hover: rgba(28, 36, 56, 0.90);
    --border-color: rgba(255, 255, 255, 0.12);
    --border-highlight: rgba(139, 92, 246, 0.5);
    
    --primary: #a78bfa;
    --primary-glow: rgba(139, 92, 246, 0.35);
    --cyan: #38bdf8;
    --cyan-glow: rgba(56, 189, 248, 0.35);
    
    --text-main: #f9fafb;
    --text-muted: #d1d5db;
    --text-sub: #9ca3af;

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-code: 'Fira Code', monospace;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Screenreader Only Utility (WCAG 2.1 AA) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Accessibility: Focus Indicators (WCAG 2.1 AA) */
:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Accessibility: Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: #8b5cf6;
    color: #ffffff;
    padding: 12px 20px;
    z-index: 9999;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

/* Ambient Background Blobs */
.ambient-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.22;
}

.blob-1 {
    top: -10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: float 18s ease-in-out infinite alternate;
}

.blob-2 {
    bottom: 10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    animation: float 22s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 50px) scale(1.1); }
    100% { transform: translate(-20px, -30px) scale(0.95); }
}

/* Typography Helpers & Text Clipping Fix */
.gradient-text {
    background: linear-gradient(135deg, #c4b5fd 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-right: 6px;
    padding-bottom: 4px;
    vertical-align: bottom;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-highlight);
    box-shadow: 0 12px 40px 0 rgba(139, 92, 246, 0.15);
}

/* Navbar & Actions Alignment Fix */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 13, 20, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-code);
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link:focus {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    height: 40px;
    box-sizing: border-box;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
    height: 36px;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--cyan);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

/* Profile Card */
.profile-card {
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.avatar-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
}

.avatar-glow {
    position: absolute;
    inset: -6px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.6;
}

.avatar-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-dark);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-handle {
    font-size: 0.95rem;
    color: var(--primary);
    font-family: var(--font-code);
    margin-bottom: 16px;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Social Row Under Profile Avatar Fix */
.social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon svg, .social-icon i {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    display: block;
}

.social-icon:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-top: 8px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    padding: 32px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(139, 92, 246, 0.18);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Skills Wrapper */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-category {
    padding: 28px;
}

.category-title {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--cyan);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-main);
    transition: var(--transition);
}

.skill-pill:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Project Section Grid */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--cyan);
    font-family: var(--font-code);
}

.project-link {
    color: var(--text-muted);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
}

.project-link:hover, .project-link:focus {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Terminal Simulator */
.terminal-window {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.terminal-header {
    padding: 12px 18px;
    background: #161b22;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.term-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.term-close { background-color: #ff5f56; }
.term-min { background-color: #ffbd2e; }
.term-max { background-color: #27c93f; }

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-code);
    font-size: 0.9rem;
    min-height: 180px;
    max-height: 300px;
    overflow-y: auto;
}

.terminal-line {
    margin-bottom: 8px;
}

.prompt-user { color: #58a6ff; }
.prompt-host { color: #3fb950; }
.prompt-path { color: #d2a8ff; }
.cmd-highlight { color: var(--cyan); font-weight: 600; }
.terminal-info { color: #8b949e; margin-bottom: 6px; }
.terminal-result { color: #c9d1d9; margin-bottom: 12px; padding-left: 12px; border-left: 2px solid var(--primary); white-space: pre-wrap; }

.terminal-input-row {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    background: #090d13;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-code);
}

#terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-code);
    font-size: 0.9rem;
}

.terminal-presets {
    padding: 10px 20px 14px;
    display: flex;
    gap: 8px;
    background: #090d13;
    flex-wrap: wrap;
}

.preset-btn {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--cyan);
    font-family: var(--font-code);
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
}

.preset-btn:hover {
    background: var(--cyan);
    color: #000;
}

/* Contact Section */
.contact-card {
    padding: 48px;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(56, 189, 248, 0.06) 100%);
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-sub {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 32px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Modal Button Links in Nav & Footer */
.nav-link-btn, .footer-modal-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.nav-link-btn:hover, .footer-modal-link:hover {
    color: var(--primary);
}

/* Featured Project Cards & Media Header */
.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.4);
}

.project-card.featured-project {
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: linear-gradient(145deg, rgba(18, 24, 38, 0.85) 0%, rgba(30, 41, 65, 0.7) 100%);
}

.project-media-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #090d13;
}

.project-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.project-banner-img:hover {
    transform: scale(1.05);
}

/* Role Badges on Cards */
.badge-role {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.badge-creator {
    background: rgba(56, 189, 248, 0.85);
    color: #031024;
}

.badge-teamwork {
    background: rgba(167, 139, 250, 0.9);
    color: #120326;
}

.badge-work {
    background: rgba(255, 255, 255, 0.15);
    color: #f3f4f6;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-consulting, .badge-engagement {
    background: rgba(52, 211, 153, 0.85);
    color: #022013;
}

.badge-hardware {
    background: rgba(251, 146, 60, 0.85);
    color: #240b02;
}

.badge-award {
    background: rgba(250, 204, 21, 0.85);
    color: #241a02;
}

.project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Mini Photo next to URL / Link / Name Component (USER REQUIREMENT!) */
.site-link-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin: 16px 0;
    transition: var(--transition);
}

.site-link-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-glow);
}

.mini-site-photo {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.site-link-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.site-link-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-url-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cyan);
    font-family: var(--font-code);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-all;
}

.live-url-link:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

.live-url-link svg {
    flex-shrink: 0;
}

/* Modal Overlay & Dialog Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    position: relative;
    max-width: 760px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px;
    background: rgba(15, 21, 34, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.6rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.modal-divider {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.legal-section {
    margin-bottom: 24px;
}

.legal-section h3 {
    font-size: 1.15rem;
    color: var(--cyan);
    margin-bottom: 8px;
}

.legal-section h4 {
    font-size: 1rem;
    color: var(--primary);
    margin: 12px 0 6px;
}

.legal-section p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-link {
    color: var(--cyan);
    text-decoration: underline;
}

/* Lightbox Modal */
.lightbox-card {
    position: relative;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
    margin-top: 16px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .about-grid, .skills-wrapper, .projects-grid { grid-template-columns: 1fr; }
    .modal-card { padding: 24px; }
    .contact-actions { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
}

