/* ==========================================
   Marcus Hackney Portfolio
   Sleek • Sharp • Modern — Light Theme
   ========================================== */

:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FC;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8F9FC;
    
    --text-primary: #0A1628;
    --text-secondary: #4A5568;
    --text-muted: #8896AB;
    
    --accent: #1E3A5F;
    --accent-light: #2D5A8E;
    --accent-glow: rgba(30, 58, 95, 0.1);
    --accent-subtle: rgba(30, 58, 95, 0.06);
    
    --border: rgba(10, 22, 40, 0.08);
    --border-hover: rgba(10, 22, 40, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent);
    color: white;
}

/* ==========================================
   Navigation
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -0.02em;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.logo:hover {
    background: var(--accent);
    color: white;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-btn {
    padding: 0.6rem 1.25rem !important;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease !important;
}

.nav-btn:hover {
    background: var(--accent);
    color: white !important;
    border-color: var(--accent);
}

/* ==========================================
   Hero
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: none;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-role {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.4s;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.5s;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards 0.6s;
}

.hero-stat {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.hero-stat.in-view {
    opacity: 1;
    transform: translateY(0);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

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

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-hover);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollBounce 1.5s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 18px; opacity: 0.3; }
}

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

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

/* ==========================================
   Section Common
   ========================================== */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 100px;
}

/* ==========================================
   About
   ========================================== */
.about {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.about-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-text.in-view {
    opacity: 1;
    transform: translateY(0);
}

.about-lead {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.detail-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.detail-card:nth-child(2).in-view { transition-delay: 0.1s; }
.detail-card:nth-child(3).in-view { transition-delay: 0.2s; }
.detail-card:nth-child(4).in-view { transition-delay: 0.3s; }

.detail-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.detail-icon {
    font-size: 1.5rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ==========================================
   Side Projects / App Showcase
   ========================================== */
.projects {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.app-showcase:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.app-showcase.in-view {
    opacity: 1;
    transform: translateY(0);
}

.app-showcase.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.app-showcase.reverse .app-info {
    order: 2;
}

.app-showcase.reverse .app-screenshots {
    order: 1;
}

.app-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    padding: 0.5rem 1rem;
    background: var(--accent-subtle);
    border-radius: 100px;
    margin-bottom: 1rem;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.app-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.app-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

/* ==========================================
   GitHub Link Button
   ========================================== */
.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.github-link:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.github-link svg {
    flex-shrink: 0;
}

/* ==========================================
   Desktop Gallery (visible on desktop only)
   ========================================== */
.desktop-gallery {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
}

.desktop-gallery::-webkit-scrollbar {
    display: none;
}

/* Phone frame for mobile app screenshots */
.phone-frame {
    flex-shrink: 0;
    width: 200px;
    height: 420px;
    background: #000;
    border-radius: 28px;
    padding: 8px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.phone-frame:hover {
    transform: translateY(-8px);
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Screen frame for web app screenshots */
.screen-frame {
    flex-shrink: 0;
    width: 240px;
    height: 150px;
    background: #0d0d0f;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.screen-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 10px;
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 
        10px 0 0 #f59e0b,
        20px 0 0 #10b981;
}

.screen-frame:hover {
    transform: translateY(-8px);
}

.screen-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    border-radius: 6px;
    margin-top: 0;
}

/* Mobile Carousel (hidden on desktop) */
.mobile-carousel {
    display: none;
}

/* ==========================================
   Work
   ========================================== */
.work {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.work-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.work-card:nth-child(2).in-view { transition-delay: 0.1s; }
.work-card:nth-child(3).in-view { transition-delay: 0.2s; }
.work-card:nth-child(4).in-view { transition-delay: 0.3s; }
.work-card:nth-child(5).in-view { transition-delay: 0.4s; }
.work-card:nth-child(6).in-view { transition-delay: 0.5s; }

div.work-card:hover {
    border-color: var(--border-hover);
}

a.work-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

a.work-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.work-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 58, 95, 0.03) 100%);
    border-color: rgba(30, 58, 95, 0.15);
}

.work-card.featured:hover {
    border-color: var(--accent);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    padding: 0.4rem 0.75rem;
    background: var(--accent-subtle);
    border-radius: 100px;
}

.card-arrow {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.work-card:hover .card-arrow {
    color: var(--accent);
    transform: translate(4px, -4px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
}

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

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

.card-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

/* ==========================================
   Contact
   ========================================== */
.contact {
    padding: 8rem 0;
    background: var(--accent);
    color: white;
}

.contact .section-label {
    color: rgba(255, 255, 255, 0.6);
}

.contact .section-label::after {
    background: rgba(255, 255, 255, 0.2);
}

.contact-content {
    max-width: 700px;
}

.contact-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: white;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.contact-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:nth-child(2).in-view { transition-delay: 0.1s; }
.contact-card:nth-child(3).in-view { transition-delay: 0.2s; }

.contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.contact-value {
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
}

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

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   Lightbox Modal
   ========================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.2s ease;
    z-index: 1001;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    border: none;
    color: white;
    font-size: 1.25rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}

.lightbox-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.lightbox-dot.active {
    background: var(--accent);
}

.lightbox-dot:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

/* ==========================================
   Responsive - Tablet
   ========================================== */
@media (max-width: 1024px) {
    .app-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .app-showcase.reverse {
        grid-template-columns: 1fr;
    }
    
    .app-showcase.reverse .app-info {
        order: 1;
    }
    
    .app-showcase.reverse .app-screenshots {
        order: 2;
    }
    
    .phone-frame {
        width: 180px;
        height: 380px;
    }
    
    .screen-frame {
        width: 220px;
        height: 138px;
    }
}

@media (max-width: 900px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-details {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-card.featured {
        grid-column: span 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Responsive - Mobile (separate carousel)
   ========================================== */
@media (max-width: 600px) {
    .nav-inner {
        padding: 0 1.25rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
    
    .nav-btn {
        padding: 0.5rem 0.75rem !important;
    }
    
    .hero {
        padding: 7rem 1.25rem 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .section-inner {
        padding: 0 1.25rem;
    }
    
    .about, .work, .contact, .projects {
        padding: 5rem 0;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .work-card {
        padding: 1.5rem;
    }
    
    .card-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .app-showcase {
        margin-bottom: 4rem;
        padding-bottom: 4rem;
    }
    
    /* Hide desktop gallery on mobile */
    .desktop-gallery {
        display: none;
    }
    
    /* Show mobile carousel */
    .mobile-carousel {
        display: block;
        overflow: hidden;
        width: 100%;
    }
    
    .mobile-carousel-inner {
        display: flex;
        transition: transform 0.3s ease;
        width: 100%;
    }
    
    .mobile-slide {
        flex: 0 0 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem 0;
    }
    
    .mobile-slide img {
        height: 450px;
        width: auto;
        max-width: 220px;
        object-fit: contain;
        border-radius: 28px;
        box-shadow: 
            0 25px 50px -12px rgba(0, 0, 0, 0.25),
            0 0 0 1px rgba(0, 0, 0, 0.1);
    }
    
    /* Wide slides for web app screenshots */
    .mobile-slide-wide img {
        height: auto;
        width: 100%;
        max-width: 300px;
        max-height: 190px;
        border-radius: 10px;
    }
    
    .mobile-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .mobile-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: var(--border);
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }
    
    .mobile-dot.active {
        background: var(--accent);
        transform: scale(1.2);
    }
    
    /* Lightbox mobile adjustments */
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 0.75rem;
    }
    
    .lightbox-next {
        right: 0.75rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
        font-size: 1.25rem;
    }
    
    .lightbox-dots {
        bottom: 1.5rem;
    }
}