﻿/*=========================================
  FEATURED PROJECTS
=========================================*/

.featured-projects {
    padding: 120px 0;
    background: #071A2E;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    height: 320px;
}

    .project-card.large {
        height: 660px;
    }

    .project-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .5s;
    }

    .project-card:hover img {
        transform: scale(1.08);
    }

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    background: linear-gradient( rgba(5,10,18,0), rgba(5,10,18,.85) );
}

    .project-overlay span {
        color: var(--accent);
        font-size: .9rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .project-overlay h3 {
        color: #fff;
        margin: 0;
        font-size: 1.8rem;
        font-weight: 700;
    }

@media(max-width:992px) {

    .project-card.large {
        height: 420px;
    }
}


/* IMAGE GALLERY */
.image-gallery {
    padding: 120px 0;
    background: #071A2E;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 20px;
}

    .gallery-grid img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        border-radius: 20px;
        transition: .35s;
        cursor: pointer;
    }

        .gallery-grid img:hover {
            transform: scale(1.03);
        }