/* ============================================
   HOMEPAGE PROJECTS - COMPLETELY CUSTOM STYLES
   ============================================ */

/* Projects Section Container */
.hp-projects-section {
    padding: 5rem 0;
    background: #eff0ef;
}

.hp-projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hp-projects-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-content-heading);
}

.hp-projects-header p {
    font-size: 1.1rem;
    color: var(--color-content-text);
}

/* Projects Grid - 3 columns, 2 rows */
.hp-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 1024px) {
    .hp-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hp-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual Project Card */
.hp-project-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.hp-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Project Image */
.hp-project-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.hp-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Project Content */
.hp-project-content {
    padding: 1.25rem;
}

.hp-project-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-content-heading);
    line-height: 1.3;
}

.hp-project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.hp-project-location i {
    color: #999;
    font-size: 1rem;
}

/* View All Button */
.hp-projects-footer {
    text-align: center;
    margin-top: 3rem;
}

.hp-view-all-btn {
    display: inline-block;
    background: white;
    color: #131613;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.3s ease;
    margin: 0 0 20px;
}

.hp-view-all-btn:hover {
    transform: scale(1.05);
}

/* Override l-section height_medium padding */
.l-section.height_medium {
    padding-bottom: 5rem;
}
