/* Projects Page Specific Styles */

/* Hero Section */
.projects-hero {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.projects-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(43, 188, 138, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(100, 255, 218, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.projects-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #e8eaed;
    margin: 0 0 1.5rem 0;
    background: linear-gradient(135deg, #e8eaed 0%, #2bbc8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
    animation: fadeInUp 0.8s ease-out;
}

.projects-hero p {
    font-size: 1.25rem;
    color: #b0b3b8;
    margin: 0 0 3rem 0;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2bbc8a;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #b0b3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #e8eaed;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #e8eaed 0%, #2bbc8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #b0b3b8;
    margin: 0;
    line-height: 1.6;
}

/* Filter Container */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.filter-btn {
    background: rgba(43, 188, 138, 0.1);
    color: #2bbc8a;
    border: 1px solid rgba(43, 188, 138, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: rgba(43, 188, 138, 0.2);
    border-color: rgba(43, 188, 138, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 188, 138, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #2bbc8a, #1a9b6a);
    color: white;
    border-color: #2bbc8a;
    box-shadow: 0 8px 20px rgba(43, 188, 138, 0.3);
}

/* Enhanced Project Grid for Projects Page */
.projects-section .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.projects-section .project-card {
    border-radius: 20px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(43, 188, 138, 0.08);
}

.projects-section .project-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 25px 60px rgba(43, 188, 138, 0.2),
        0 0 0 1px rgba(43, 188, 138, 0.3);
}

.projects-section .project-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.projects-section .project-card.featured .project-image {
    height: 320px;
}

.projects-section .project-card.featured .project-title {
    font-size: 2rem;
}

.projects-section .project-card.featured .project-description {
    font-size: 1.1rem;
}

/* Filter Animation */
.project-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card.filtered-animation {
    animation: cardAppear 0.6s ease-out forwards;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(43, 188, 138, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(100, 255, 218, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e8eaed;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #e8eaed 0%, #2bbc8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.1rem;
    color: #b0b3b8;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

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

/* Footer */
.site-footer {
    background: #0f1419;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(43, 188, 138, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #e8eaed;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.footer-section p {
    color: #b0b3b8;
    margin: 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #2bbc8a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #64ffda;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(43, 188, 138, 0.1);
}

.footer-bottom p {
    color: #b0b3b8;
    margin: 0;
    font-size: 0.9rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-hero {
        padding: 6rem 1rem 4rem;
    }

    .projects-hero h1 {
        font-size: 2.5rem;
        letter-spacing: -2px;
    }

    .projects-hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .filter-container {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .projects-section .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-section .project-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .projects-section .project-card.featured .project-image {
        height: 220px;
    }

    .projects-section .project-card.featured .project-title {
        font-size: 1.4rem;
    }

    .cta-content h3 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .projects-hero {
        padding: 5rem 1rem 3rem;
    }

    .projects-hero h1 {
        font-size: 2rem;
    }

    .projects-hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .filter-container {
        justify-content: center;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
