/* Projects Page Styles */
/* Overview Section */
.projects-overview {
    padding: 70px 0 40px;
    background: radial-gradient(circle at top, rgba(245, 247, 220, 0.6) 0%, #ffffff 55%, #ffffff 100%);
}

.projects-overview .container {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.projects-overview__content {
    text-align: left;
}

.projects-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(245, 166, 35, 0.2));
    color: #1a2340;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.projects-overview__content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-family: 'Krona One', sans-serif;
}

.projects-overview__content p {
    font-size: 1.1rem;
    color: var(--dark-text-for-light-bg-70-opacity);
    max-width: 650px;
}

.projects-overview__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.projects-highlight {
    background: white;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 24px rgba(22, 27, 64, 0.08);
    border: 1px solid #eef1f4;
    min-width: 150px;
}

.projects-highlight__value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a2340;
}

.projects-highlight__label {
    font-size: 0.9rem;
    color: #5a6b7d;
}

.projects-overview__cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.projects-overview__cta .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
}

.projects-overview__cta .btn-secondary {
    background: transparent;
    color: var(--medium-blue);
    border: 2px solid var(--medium-blue);
}

.projects-overview__cta .btn-secondary:hover {
    background: var(--medium-blue);
    color: white;
}

/* Projects Title Highlight - Pill Shaped Background */
.projects-title-highlight {
    display: inline-block;
    background: linear-gradient(135deg, var(--yellow) 0%, #f4f5a8 100%);
    color: var(--dark-blue);
    padding: 0.25rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(237, 231, 66, 0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-family: 'Krona One', sans-serif;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--dark-text-for-light-bg-70-opacity);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Projects Section */
.featured-projects {
    padding: 80px 0;
    background: var(--off-white);
}

/* Project Showcase Wrapper */
.project-showcase {
    margin-bottom: 4rem;
}

.project-showcase__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

/* All Projects Section */
.all-projects {
    padding: 80px 0;
    background: white;
}

.projects-filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
    background: #f9fbff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #eef1f4;
}

.projects-filter-panel__intro h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.projects-filter-panel__intro p {
    color: var(--dark-text-for-light-bg-70-opacity);
    font-size: 1rem;
}

.projects-filter-panel__filters .project-filters {
    margin-bottom: 0;
}

/* Project Filters */
.project-filters {
    margin-bottom: 3rem;
}

.project-filters__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--dark-text-for-light-bg-70-opacity);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-filter:hover {
    border-color: var(--light-blue);
    color: var(--light-blue);
}

.project-filter--active {
    background: var(--medium-blue);
    color: white;
    border-color: var(--medium-blue);
}

.project-filter--active:hover {
    background: var(--light-blue);
    border-color: var(--light-blue);
    color: white;
}

/* Projects Pagination */
.projects-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.projects-pagination .project-filters__container {
    margin-bottom: 0;
}

.projects-pagination .project-filter {
    text-decoration: none;
}

.projects-pagination .project-filter--disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* Shared projects grid + card styles live in components/project-card.css */

/* Call to Action Section */
.projects-cta {
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--off-white);
    margin-bottom: 1rem;
    font-family: 'Krona One', sans-serif;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--off-white);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--yellow);
    color: var(--dark-blue);
}

.btn-primary:hover {
    background: #f4f5a8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 231, 66, 0.3);
    color: var(--dark-blue);
}

.btn-secondary {
    background: transparent;
    color: var(--off-white);
    border: 2px solid var(--off-white);
}

.btn-secondary:hover {
    background: var(--off-white);
    color: var(--dark-blue);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-overview {
        padding: 50px 0 30px;
    }

    .projects-overview .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .projects-overview__content {
        text-align: center;
    }

    .projects-overview__content h2 {
        font-size: 2rem;
    }

    .projects-overview__highlights {
        justify-content: center;
    }

    .projects-overview__cta {
        align-items: center;
    }

    .projects-filter-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .projects-filter-panel__filters .project-filters__container {
        justify-content: center;
    }
    .section-header h2 {
        font-size: 2rem;
    }

    .project-filters__container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .project-filter {
        white-space: nowrap;
        flex-shrink: 0;
    }

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

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

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
}
