/* ================= GALLERY SECTION ================= */

.gallery-section {
    padding: 150px 0 80px 0;
    background: #f8f9fc;
    overflow: hidden;
}

/* ================= TITLE ================= */

.gallery-title {
    text-align: center;
    max-width: 850px;
    margin: auto auto 70px;
}

.section-tag {
    display: inline-block;

    background: rgba(212,160,23,0.12);
    color: #d4a017;

    padding: 10px 22px;

    border-radius: 30px;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 22px;
}

.gallery-title h2 {
    font-size: 48px;
    color: #111;
    line-height: 1.3;
    margin-bottom: 20px;
}

.gallery-title p {
    color: #666;
    line-height: 1.9;
    font-size: 16px;
}

/* ================= CATEGORY ================= */

.gallery-category {
    margin-bottom: 80px;
}

/* HEADER */

.category-header {
    margin-bottom: 35px;
}

.category-header h3 {
    font-size: 34px;
    color: #111;
    position: relative;
    display: inline-block;
}

.category-header h3::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: -10px;

    width: 70px;
    height: 4px;

    border-radius: 20px;

    background: #d4a017;
}

/* ================= GRID ================= */

.gallery-grid {
    display: grid;
    gap: 25px;
}

/* FABRICATION GRID */

.fabrication-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* SMALL GRID */

.small-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ITEM */

.gallery-item {
    position: relative;

    overflow: hidden;

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.08);

    cursor: pointer;
}

/* IMAGE */

.gallery-item img {
    width: 100%;
    height: 320px;

    object-fit: cover;

    display: block;

    transition: 0.5s ease;
}

/* HOVER */

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ================= RESPONSIVE ================= */

@media(max-width: 992px) {

    .fabrication-grid,
    .small-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-title h2 {
        font-size: 40px;
    }

}

@media(max-width: 768px) {

    .gallery-section {
        padding: 120px 0;
    }

    .fabrication-grid,
    .small-grid {
        grid-template-columns: 1fr;
    }

    .gallery-title h2 {
        font-size: 34px;
    }

    .gallery-item img {
        height: 280px;
    }

    .category-header h3 {
        font-size: 28px;
    }

}

@media(max-width: 480px) {

    .gallery-title h2 {
        font-size: 28px;
        line-height: 1.4;
    }

    .gallery-title p {
        font-size: 14px;
    }

    .gallery-item img {
        height: 240px;
    }

    .category-header h3 {
        font-size: 24px;
    }

}

/* ================= VIDEO SECTION ================= */

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.video-item {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.video-item video {
    width: 100%;
    height: 280px;
    object-fit: fit;
    display: block;
}

/* ================= RESPONSIVE ================= */

@media(max-width: 992px) {

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width: 768px) {

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-item video {
        height: 240px;
    }

}