/* ============================================================
   Armour Hub - Projects Module Styles
   ============================================================ */

.projects-section {
    background-color: #FFFFFF;
    position: relative;
}

.projects-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.projects-header-left {
    max-width: 650px;
}

.projects-header-left .section-subtitle-tag {
    color: #D4AF37;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 6px;
}

.projects-header-left h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0B1B2B;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.projects-header-left h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 60px;
    height: 3.5px;
    background-color: #D4AF37;
    border-radius: 2px;
}

.projects-header-left p {
    color: #555555;
    font-size: 1.02rem;
    margin-top: 14px;
}

.btn-view-all {
    color: #0B1B2B;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 2px solid #D4AF37;
    border-radius: 6px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: #D4AF37;
    color: #0B1B2B;
    transform: translateX(4px);
}

/* Projects Cards Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #EAEAEA;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(11, 27, 43, 0.12);
    border-color: rgba(212, 175, 55, 0.5);
}

.project-img-box {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img-box img {
    transform: scale(1.08);
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0B1B2B;
    color: #D4AF37;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid #D4AF37;
}

.project-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-location {
    font-size: 0.82rem;
    color: #888888;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-location i {
    color: #D4AF37;
}

.project-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0B1B2B;
    margin-bottom: 10px;
    line-height: 1.3;
}

.project-desc {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.55;
    margin-bottom: 18px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    margin-top: auto;
}

.project-tag {
    background: #F4F6F8;
    color: #0B1B2B;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    border-left: 3px solid #D4AF37;
}

.btn-project-detail {
    color: #0B1B2B;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease;
    border-top: 1px solid #EEEEEE;
    padding-top: 16px;
}

.btn-project-detail:hover {
    color: #D4AF37;
}

.btn-project-detail i {
    transition: transform 0.25s ease;
}

.btn-project-detail:hover i {
    transform: translateX(5px);
}

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

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .projects-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}
