/* -------------------------------------------------------------
 * Projects Base CSS
 * Common styles for project and case study pages
 * ------------------------------------------------------------- */

/* Project Hero Base */
.project-hero {
    background: var(--hero-bg, var(--bg-dark));
    color: var(--hero-text, var(--text-primary));
    padding: 8rem var(--gutter) 5rem;
    position: relative;
    overflow: hidden;
}

.project-hero .container,
.project-hero .wide-container,
.project-hero .container-narrow {
    position: relative;
    z-index: 10;
}

.hero-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hero-accent, var(--text-secondary));
    margin-bottom: 2rem;
}

.project-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(var(--text-primary));
}

.project-hero .hero-subtitle {
    color: var(--hero-text-secondary, var(--text-secondary));
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    max-width: 720px;
    margin: 0 0 2.5rem 0;
    line-height: 1.5;
}

.hero-divider {
    border: none;
    border-top: 1px solid white;
    margin: 0 0 2.5rem 0;
}

.project-hero .hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: none;
    margin: 0;
}

.project-hero .hero-stat {
    text-align: left;
}

.project-hero .hero-stat-number {
    color: var(--hero-accent, var(--text-primary));
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    display: block;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.project-hero .hero-stat-label {
    color: var(--hero-text-secondary, var(--text-secondary));
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

@media (max-width: 768px) {
    .project-hero {
        padding: 6rem var(--gutter) 3.5rem;
    }

    .project-hero .hero-stats {
        gap: 2rem;
    }
}

/* Common Launch Button for Hero */
.hero-launch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--hero-accent, var(--accent));
    color: var(--hero-bg, white);
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-launch:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.2);
}

.hero-launch::after {
    content: "↗";
    font-size: 1.1em;
    line-height: 1;
}

/* Password Gate (from design system) */
.password-gate {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.password-gate__form {
    max-width: 400px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    text-align: center;
}

.password-gate__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    color: #22c55e;
    position: relative;
    margin-bottom: 1.5rem;
}

.password-gate__pulse {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #eab308;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    animation: pulse-indicator 2s infinite;
}

.password-gate__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.password-gate__desc {
    color: var(--text-secondary);
    margin: 0 0 1.75rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.password-gate__input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.password-gate__input:focus {
    border-color: var(--accent);
}

.password-gate__error {
    color: #ef4444;
    font-size: 0.875rem;
    margin: 0 0 0.75rem 0;
    min-height: 1.25rem;
    display: none;
}

.password-gate__submit {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--accent);
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

[data-theme="light"] .password-gate__submit {
    color: #ffffff;
}

.password-gate__submit:hover {
    opacity: 0.9;
}

.password-gate__footer {
    margin: 1.5rem 0 0 0;
    font-size: 0.85rem;
    text-align: center;
}

.password-gate__back {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.password-gate__back:hover {
    color: var(--text-primary);
}

@keyframes pulse-indicator {

    0%,
    100% {
        opacity: 0.4;
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 0 8px rgba(234, 179, 8, 0);
    }
}

/* --- Common Project Content Components --- */

.image-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4rem var(--gutter);
    text-align: center;
    color: var(--text-secondary);
}

.case-study-image-container {
    margin-top: 8rem;
    margin-bottom: 8rem;
}

.case-study-image-container:last-child {
    margin-bottom: 0;
}

.case-study-image-container:last-child .image-caption {
    margin-bottom: 0;
}

.case-study-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
}

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

.image-grid figure {
    margin: 0;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Quote block */
.quote-block {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--bg-card);
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
}

.quote-block p {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.quote-author {
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

/* Process Steps */
.process-steps {
    margin: 3rem 0;
}

.process-step {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.process-step:last-child {
    border-bottom: none;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-content {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
}

.tech-tag {
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}


/* Design Token Animation (CDS) */
.token-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.token {
    position: absolute;
    opacity: 0.15;
    will-change: transform, opacity;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.token.assembling {
    opacity: 0.8;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.token.featured {
    opacity: 1 !important;
}

.token.floating {
    animation: cloudFloat 12s ease-in-out infinite;
}

.token-circle {
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.token-square {
    border: 2px solid var(--accent);
    border-radius: 2px;
}

.token-line {
    background: var(--accent);
}

@keyframes cloudFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    25% {
        transform: translate3d(20px, -15px, 0);
    }

    50% {
        transform: translate3d(-15px, 20px, 0);
    }

    75% {
        transform: translate3d(-20px, -10px, 0);
    }
}

/* Page label for CDS animation */
.page-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    pointer-events: none;
    z-index: 5;
}

.page-label.visible {
    opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
    .token-animation {
        display: none;
    }
}

/* CTA Section */
.cta-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.cta-button:hover {
    opacity: 0.9;
}

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

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        box-sizing: border-box;
    }
}


/* Theme Toggle */




.wide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Hero */
.hero {
    padding: 8rem var(--gutter) 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    max-width: 500px;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.collaboration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 8px;
    font-weight: 600;
    margin-top: 2rem;
}

.collaboration-badge svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

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

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    max-width: 560px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1.2px;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content strong {
    color: var(--text-primary);
}

/* Timeline */
.timeline {
    position: relative;
    margin: 3rem 0;
    padding-left: 2rem;
}

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

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

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-dark);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.timeline-tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Code Comparison */
.code-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.code-panel {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.code-header {
    padding: 1rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-header.before {
    color: var(--accent-orange);
}

.code-header.after {
    color: var(--accent);
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

.code-content pre {
    margin: 0;
}

.code-comment {
    color: #6a9955;
}

.code-keyword {
    color: #569cd6;
}

.code-string {
    color: #ce9178;
}

.code-function {
    color: #dcdcaa;
}

/* Decision Cards */
.decision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.decision-card {
    background: var(--bg-card);
    border-left: 4px solid var(--accent-blue);
    border-radius: 4px;
    padding: 1.5rem;
}

.decision-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--accent-blue);
}

.decision-human {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.decision-human::before {
    content: "👤 Human: ";
    font-weight: 600;
    color: var(--accent-purple);
    font-style: normal;
}

.decision-ai {
    color: var(--text-secondary);
}

.decision-ai::before {
    content: "🤖 AI: ";
    font-weight: 600;
    color: var(--accent);
    font-style: normal;
}

/* Commit Visualization */
.commit-viz {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
}

.commit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.commit-item:last-child {
    border-bottom: none;
}

.commit-hash {
    font-family: 'Monaco', monospace;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 80px;
}

.commit-message {
    flex: 1;
    color: var(--text-primary);
}

.commit-files {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Process Flow */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.process-step {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 8px;
    text-align: center;
    min-width: 150px;
    transition: border-color 0.2s;
}

.process-step:hover {
    border-color: var(--accent);
}

.process-step.human {
    border-color: var(--accent-purple);
}

.process-step.ai {
    border-color: var(--accent);
}

.process-arrow {
    color: var(--text-secondary);
    font-size: 1.5rem;
}

.process-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.process-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.process-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Quote Block */




.quote-author {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-style: normal;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.cta-button:hover {
    opacity: 0.9;
}

.cta-button.secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}



/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 6rem var(--gutter) 3rem;
    }

    .code-comparison {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .decision-grid {
        grid-template-columns: 1fr;
    }

    .process-flow {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .timeline {
        padding-left: 1rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }
}

/* Accessibility: skip link + focus indicators */
.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: var(--bg-dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 6px 0;
    transform: translateY(-150%);
    transition: transform 0.15s ease;
    z-index: 1100;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.lightbox-caption {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    max-width: 800px;
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(25, 25, 25, 0.6);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(50, 50, 50, 0.9);
    transform: scale(1.05);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev svg,
.lightbox-next svg,
.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Make images clickable */
.case-study-image,
.img-full,
.image-grid img,
.case-study-image-container img {
    cursor: zoom-in;
    transition: opacity 0.2s;
}

.case-study-image:hover,
.img-full:hover {
    opacity: 0.95;
}