/* Projects Hero */
.projects-hero {
    padding: 180px 0 120px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.projects-hero .hero-title {
    font-size: clamp(4rem, 8vw, 9rem);
    line-height: 0.95;
}

/* Projects Grid */
.projects-grid {
    padding-bottom: 160px;
}

.project-card {
    margin-bottom: 8rem;
    opacity: 1;
    transform: translateY(0);
}

.project-card:last-child {
    margin-bottom: 0;
}

/* Project Media */
.project-media {
    position: relative;
    height: 60vh;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3rem;
    cursor: pointer;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-media img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 2rem;
}

.btn-link {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border: 1px solid var(--text-primary);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* Project Content */
.project-content h3 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    margin: 1rem 0 1.5rem;
    line-height: 1.1;
}

.project-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-tags span {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-desc {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}

.project-stats {
    display: flex;
    gap: 2rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    border-top: 1px solid #1a1a1a;
    padding: 120px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 3rem;
    line-height: 1.1;
}

.cta-button {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1.5rem 3rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    transform: translateY(-4px);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
    .projects-hero {
        padding: 140px 0 80px;
        min-height: 80vh;
    }
    
    .projects-hero .hero-title {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }
    
    .projects-grid {
        padding-bottom: 100px;
    }
    
    .project-card {
        margin-bottom: 5rem;
    }
    
    .project-media {
        height: 40vh;
        margin-bottom: 2rem;
        border-radius: 8px;
    }
    
    .project-content h3 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin: 0.8rem 0 1.2rem;
    }
    
    .project-desc {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .project-tags {
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .project-tags span {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .project-stats {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .project-links {
        gap: 1rem;
    }
    
    .btn-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 2rem;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 1.2rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .projects-hero {
        padding: 120px 0 60px;
        min-height: 70vh;
    }
    
    .projects-hero .hero-title {
        font-size: clamp(2rem, 12vw, 4rem);
    }
    
    .projects-grid {
        padding-bottom: 80px;
    }
    
    .project-card {
        margin-bottom: 4rem;
    }
    
    .project-media {
        height: 35vh;
        margin-bottom: 1.5rem;
        border-radius: 6px;
    }
    
    .project-content h3 {
        font-size: clamp(1.3rem, 8vw, 2rem);
        margin: 0.6rem 0 1rem;
    }
    
    .project-desc {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .project-tags {
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .project-tags span {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.85rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-link {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
        text-align: center;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: clamp(1.8rem, 10vw, 3rem);
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 1rem 2rem;
        width: 100%;
        max-width: 280px;
    }
}
