/* PROJECT PAGE STYLES */

.nav-solid {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.back-btn:hover {
    color: var(--gold);
    gap: 0.75rem;
}

.project-detail {
    padding: 10rem 0 4rem;
    min-height: 100vh;
}

.project-hero {
    text-align: center;
    margin-bottom: 6rem;
}

.project-hero .section-label {
    margin-bottom: 2rem;
}

.project-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.project-hero .hero-description {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.meta-item {
    text-align: center;
}

.meta-label {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.meta-value {
    font-size: 1.125rem;
    color: var(--gold);
    font-weight: 600;
}

.project-showcase {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    border: 1px solid var(--border);
    margin: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--ease);
}

.project-showcase:hover .showcase-image {
    transform: scale(1.02);
}

.showcase-number {
    font-family: var(--font-display);
    font-size: 12rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.05;
}

.project-section {
    max-width: 900px;
    margin: 0 auto 5rem;
}

.project-section h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--gold);
}

.project-section p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 3rem 0;
}

.tech-tag {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    font-weight: 600;
    transition: all 0.3s var(--ease);
}

.tech-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.process-card {
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
}

.process-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.process-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.process-card p {
    font-size: 1rem;
    color: var(--gray-light);
    margin: 0;
}

.feature-list {
    display: grid;
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature-item {
    padding: 1.5rem;
    padding-left: 3rem;
    border-left: 2px solid var(--border);
    position: relative;
    transition: all 0.3s var(--ease);
}

.feature-item::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--gold);
    transition: height 0.3s var(--ease);
}

.feature-item:hover::before {
    height: 100%;
}

.feature-item:hover {
    padding-left: 3.5rem;
}

.outcome-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    border: 1px solid var(--border);
    padding: 3rem;
    margin: 3rem 0;
}

.outcome-highlight p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin: 0;
}

.project-hero-actions {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gold) 0%, #b8941f 100%);
    border: 2px solid var(--gold);
    color: var(--dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

@keyframes gameButtonPulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        border-color: var(--gold);
    }
    25% {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        border-color: #f0c040;
    }
    50% {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
        border-color: #f5d060;
    }
    75% {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        border-color: #f0c040;
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        border-color: var(--gold);
    }
}

@keyframes energyRing {
    0% {
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3), 
                   0 0 0 0 rgba(212, 175, 55, 0.4),
                   inset 0 0 0 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5), 
                   0 0 15px 5px rgba(212, 175, 55, 0.2),
                   inset 0 0 10px 2px rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3), 
                   0 0 0 0 rgba(212, 175, 55, 0.4),
                   inset 0 0 0 0 rgba(255, 255, 255, 0.1);
    }
}

@keyframes playIconBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

.btn-large {
    animation: gameButtonPulse 2.5s ease-in-out infinite, 
               energyRing 3s ease-in-out infinite;
}

.btn-large svg {
    width: 24px;
    height: 24px;
    animation: playIconBounce 2s ease-in-out infinite;
    transform-origin: center;
}

/* Shine sweep effect */
.btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 45%, 
        rgba(255, 255, 255, 0.5) 50%, 
        rgba(255, 255, 255, 0.3) 55%, 
        transparent 100%);
    transition: left 0.8s ease;
    transform: skewX(-15deg);
}

@keyframes periodicShine {
    0%, 100% {
        left: -150%;
    }
    10% {
        left: 150%;
    }
    100% {
        left: -150%;
    }
}

.btn-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 45%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.2) 55%, 
        transparent 100%);
    transform: skewX(-15deg);
    animation: periodicShine 4s ease-in-out infinite;
}

.btn-large:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #f0c040 0%, var(--gold) 100%);
    animation-play-state: paused;
    border-color: #f5d060;
}

.btn-large:hover::before {
    left: 150%;
    transition: left 0.6s ease;
}

.btn-large:hover svg {
    animation-play-state: paused;
    transform: scale(1.3) rotate(15deg);
    transition: transform 0.3s ease;
}

.btn-large:active {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    transition: all 0.1s ease;
}

.btn-large:active svg {
transform: scale(1.1) rotate(0deg);
}

.project-nav {
text-align: center;
margin-top: 6rem;
}

/* Image Gallery Styles */
.image-gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin: 3rem 0;
}

.gallery-item {
background: var(--dark);
border: 1px solid var(--border);
border-radius: 8px;
overflow: hidden;
transition: all 0.3s var(--ease);
position: relative;
}

.gallery-item:hover {
transform: translateY(-5px);
border-color: var(--gold);
box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.gallery-image {
position: relative;
aspect-ratio: 16/10;
overflow: hidden;
}

.gallery-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-image img {
transform: scale(1.05);
}

.image-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s var(--ease);
cursor: pointer;
}

.gallery-item:hover .image-overlay {
opacity: 1;
}

.overlay-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
color: var(--gold);
font-weight: 600;
transition: transform 0.3s var(--ease);
}

.gallery-item:hover .overlay-content {
transform: translateY(-5px);
}

.overlay-content svg {
width: 32px;
height: 32px;
stroke-width: 2;
}

.image-caption {
padding: 1.5rem;
}

.image-caption p {
margin: 0;
font-size: 0.95rem;
line-height: 1.6;
color: var(--gray-light);
}

/* Lightbox functionality */
.lightbox {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.95);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}

.lightbox.active {
opacity: 1;
visibility: visible;
}

.lightbox-content {
max-width: 90vw;
max-height: 90vh;
position: relative;
transform: scale(0.9);
transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
transform: scale(1);
}

.lightbox img {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 8px;
}

.lightbox-close {
position: absolute;
top: -40px;
right: 0;
background: none;
border: none;
color: var(--gray-light);
font-size: 2rem;
cursor: pointer;
transition: color 0.3s ease;
}

.lightbox-close:hover {
color: var(--gold);
}

@media (max-width: 768px) {
.project-meta {
gap: 2rem;
}
    
.process-grid {
grid-template-columns: 1fr;
}
    
.showcase-number {
font-size: 6rem;
}
}