﻿/*==================================================
HERO
==================================================*/

.gallery-hero {
    height: 350px;
    background: url('/images/about.png') center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.60);
}

.hero-content {
    position: relative;
    color: #fff;
    text-align: center;
}

    .hero-content h1 {
        font-size: 52px;
        font-weight: 800;
        margin-bottom: 15px;
    }

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
}

    .breadcrumb-custom a {
        color: #fff;
        text-decoration: none;
    }

    .breadcrumb-custom span {
        color: #fff;
    }

/*==================================================
SECTION TITLE
==================================================*/

.video-gallery {
    padding: 100px 0;
    background: #f8fafc;
}

.subtitle {
    display: inline-block;
    color: #0B4EA2;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #222;
}

.section-title p {
    width: 65%;
    margin: auto;
    color: #666;
    font-size: 18px;
    line-height: 30px;
}

/*==================================================
VIDEO CARD
==================================================*/

.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0,0,0,.08);
    transition: .5s;
}

.video-preview {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: .7s;
}

/*==================================================
OVERLAY
==================================================*/

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(8,50,120,.10), rgba(8,50,120,.88));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: .45s;
}

/*==================================================
PLAY BUTTON
==================================================*/

.play-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    color: #0B4EA2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    transform: scale(.3);
    transition: .45s;
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255,255,255,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

/*==================================================
HOVER
==================================================*/

.video-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 60px rgba(0,0,0,.18);
}

    .video-card:hover .video-preview {
        transform: scale(1.12);
        filter: brightness(.65);
    }

    .video-card:hover .video-overlay {
        opacity: 1;
    }

    .video-card:hover .play-btn {
        transform: scale(1);
    }

/*==================================================
MODAL
==================================================*/

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 99999;
}

    .video-modal.show {
        opacity: 1;
        visibility: visible;
    }

.video-wrapper {
    width: 80%;
    position: relative;
}

    .video-wrapper video {
        width: 100%;
        border-radius: 18px;
    }

.close-video {
    position: absolute;
    right: -20px;
    top: -50px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #0B4EA2;
    font-size: 22px;
}

/*==================================================
ANIMATION
==================================================*/

.reveal {
    opacity: 0;
    transition: 1s;
}

.left {
    transform: translateX(-120px);
}

.right {
    transform: translateX(120px);
}

.top {
    transform: translateY(-120px);
}

.bottom {
    transform: translateY(120px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0);
}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:992px) {

    .section-title p {
        width: 90%;
    }
}

@media(max-width:768px) {

    .hero-content h1 {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .video-preview {
        height: 240px;
    }

    .video-wrapper {
        width: 95%;
    }
}
