﻿/* ===== HERO ===== */
.hero {
    height: 55vh; /* từ 55vh xuống */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.65);
    }

    .hero .hero-content {
        position: relative;
        color: #fff;
    }

    .hero h2 {
        color: #d4af37;
        text-align: center;
    }

    .hero p {
        text-align: center;
    }

    .hero .container {
        position: absolute;
        z-index: 2;
        justify-content: center;
        align-items: center;
        display: flex;
    }

/* ===== MAIN ===== */
section.main-container {
    padding: 40px 0 40px 0;
}

.project {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

/* ===== SLIDER ===== */
.slider-wrap {
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    gap: 20px;
    transition: transform .4s ease;
}

.slide {
    flex: 0 0 70%;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(.85);
    opacity: .4;
    transition: .4s;
}

    .slide.active {
        transform: scale(1);
        opacity: 1;
    }

    .slide img {
        width: 100%;
        height: 350px;
        object-fit: cover;
    }

/* BUTTON */
.slide-btn {
    position: absolute;
    /*top: 50%;*/
    top: 180px;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 2;
}

    .slide-btn.prev {
        left: 10px;
    }

    .slide-btn.next {
        right: 10px;
    }

/* ===== INFO ===== */
.info-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

    .info-box div {
        background: #2C3539;
        padding: 12px;
        border-radius: 10px;
        font-size: 14px;
        color: #fff;
    }

/* ===== DESC ===== */
.desc {
    line-height: 1.6;
    color: #000;
}

/* ===== GALLERY ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin-top: 40px;
}

    .gallery img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 10px;
    }

/* ===== VIDEO ===== */

.team-video {
    text-align: center;
    background: #2C3539;
    padding: 40px 20px;
}

.video-wrapper {
    margin: 20px 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* ===== CTA ===== */
.cta {
    text-align: center;
    margin: 60px 0;
}

.btn {
    background: #d4af37;
    color: #fff;
    padding: 12px 25px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    opacity: 1;
}

    .btn:hover {
        opacity: 1;
        background: #d4860a;
        color: #fff;
        border: none;
    }
/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 9999;
}

    .lightbox img:hover {
        transform: scale(1.05);
    }

    .lightbox.show {
        opacity: 1;
        pointer-events: auto;
    }

    .lightbox img {
        max-width: 90%;
        max-height: 85%;
        border-radius: 10px;
    }

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    padding: 10px;
    cursor: pointer;
}

.lb-prev {
    left: 20px;
}

.lb-next {
    right: 20px;
}

.slide img,
.gallery img {
    cursor: pointer;
    transition: .3s;
}

    .slide img:hover,
    .gallery img:hover {
        transform: scale(1.03);
        filter: brightness(0.9);
    }

.section-title {
    margin: 60px 0 25px;
}

    .section-title h2 {
        font-size: 34px;
        font-weight: 700;
        color: #222;
        margin-bottom: 10px;
    }

    .section-title .line {
        width: 70px;
        height: 4px;
        background: #d9b23c;
        border-radius: 50px;
    }

.project-video {
    /*padding: 70px 0;*/
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(360px,1fr));
    gap: 24px;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

    .video-card video {
        width: 100%;
        aspect-ratio: 16/9;
        display: block;
        background: #000;
    }

.video-info {
    padding: 16px;
}

    .video-info h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }

/* ===== MOBILE ===== */
@media(max-width:768px) {
    .project {
        grid-template-columns: 1fr;
    }

    .slide {
        flex: 0 0 85%;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .team-video {
        padding: 10px 0;
    }
}
