/* --- Project Showcase Page Specific Styles --- */

/* Apply padding to the body to account for the static fixed header */
body {
    padding-top: var(--header-height-desktop);
}

/* Page Hero/Title Section */
.page-hero {
    padding: 60px 0;
    background-color: var(--white-bg);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.page-hero h1 {
    margin-bottom: 15px;
}

.page-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Featured Project Section (Top of page) */
.featured-project-section {
    background-color: var(--white-bg);
}

.featured-project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.featured-project-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.featured-project-text h2 {
    margin-top: 0;
    color: var(--text-heading);
}

.featured-project-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.featured-project-text .btn {
    margin-top: 15px;
}

/* All Projects Section */
.all-projects-section {
    background-color: var(--light-bg);
}

/* Responsive Overrides for this page */
@media (max-width: 992px) {
    body {
        padding-top: calc(var(--header-height-desktop) - 10px);
    }
    .featured-project-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: var(--header-height-mobile);
    }
    .featured-project-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .featured-project-image {
        margin-bottom: 40px;
        order: -1; /* Puts image first on mobile */
    }
    .featured-project-text .btn {
        display: table; /* Centers button in a grid context */
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0;
    }
    .page-hero p {
        font-size: 1rem;
    }
}