﻿
:root {
    --primary: #0b5d4f;
    --primary-dark: #063f36;
    --primary-light: #117866;

    --gold: #c9a227;
    --gold-dark: #a98416;
    --gold-light: #f5edcf;

    --dark: #17201d;
    --text: #65706b;

    --cream: #faf8f1;
    --white: #ffffff;

    --border: #e7e3d7;

    --shadow: 0 20px 50px rgba(6, 63, 54, 0.10);

    --container: 1180px;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.video-gallery-section {
    padding: 100px 0;
    background: var(--cream);
}

.video-gallery-container {
    width: min(92%, var(--container));
    margin: auto;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.video-gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 35px;

    margin-bottom: 50px;
}

.video-gallery-heading > div {
    max-width: 720px;
}

.video-gallery-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--gold-dark);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 14px;
}

.video-gallery-heading h2 {
    color: var(--dark);

    font-family: "Playfair Display", serif;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.2;

    margin: 0 0 15px;
}

.video-gallery-heading h2 span {
    color: var(--primary);
}

.video-gallery-heading p {
    color: var(--text);

    font-size: 16px;

    line-height: 1.8;

    margin: 0;
}


/* =========================================================
   VIEW ALL BUTTON
========================================================= */

.video-view-all-btn {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    flex-shrink: 0;

    padding: 14px 24px;

    border: 1px solid var(--primary);

    color: var(--primary);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s ease;
}

.video-view-all-btn:hover {
    background: var(--primary);

    color: var(--white);

    transform: translateY(-3px);
}

.video-view-all-btn:hover i {
    transform: translateX(4px);
}


/* =========================================================
   FEATURED VIDEO
========================================================= */

.featured-video {
    margin-bottom: 45px;

    overflow: hidden;

    box-shadow: var(--shadow);
}

.featured-video-thumbnail {
    position: relative;

    height: 520px;

    overflow: hidden;
}

.featured-video-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.7s ease;
}

.featured-video:hover .featured-video-thumbnail img {
    transform: scale(1.06);
}


/* =========================================================
   VIDEO OVERLAY
========================================================= */

.video-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(6, 63, 54, 0.92),
            rgba(6, 63, 54, 0.10),
            rgba(0, 0, 0, 0.15)
        );
}


/* =========================================================
   FEATURED PLAY BUTTON
========================================================= */

.featured-play-btn {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 90px;
    height: 90px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--gold);

    color: var(--primary-dark);

    font-size: 28px;

    text-decoration: none;

    transition: 0.35s ease;

    box-shadow:
        0 0 0 12px rgba(201, 162, 39, 0.20);
}

.featured-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);

    background: var(--white);
}


/* =========================================================
   FEATURED VIDEO INFORMATION
========================================================= */

.featured-video-info {
    position: absolute;

    left: 45px;
    bottom: 40px;

    max-width: 700px;

    color: var(--white);
}

.featured-video-info span {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 12px;
}

.featured-video-info h3 {
    font-family: "Playfair Display", serif;

    font-size: clamp(28px, 4vw, 48px);

    line-height: 1.25;

    margin: 0;
}


/* =========================================================
   VIDEO CATEGORIES
========================================================= */

.video-categories {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 35px;
}

.video-category {
    padding: 11px 18px;

    border: 1px solid var(--border);

    background: var(--white);

    color: var(--text);

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s ease;
}

.video-category:hover,
.video-category.active {
    background: var(--primary);

    border-color: var(--primary);

    color: var(--white);
}


/* =========================================================
   VIDEO GRID
========================================================= */

.video-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}


/* =========================================================
   VIDEO CARD
========================================================= */

.video-card {
    background: var(--white);

    border: 1px solid var(--border);

    overflow: hidden;

    transition: 0.35s ease;
}

.video-card:hover {
    transform: translateY(-8px);

    border-color: var(--gold);

    box-shadow: var(--shadow);
}


/* =========================================================
   VIDEO THUMBNAIL
========================================================= */

.video-thumbnail {
    position: relative;

    height: 230px;

    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.6s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.08);
}


/* =========================================================
   PLAY BUTTON
========================================================= */

.video-play-btn {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--gold);

    color: var(--primary-dark);

    font-size: 17px;

    text-decoration: none;

    transition: 0.3s ease;
}

.video-play-btn:hover {
    background: var(--white);

    transform:
        translate(-50%, -50%)
        scale(1.12);
}


/* =========================================================
   VIDEO DURATION
========================================================= */

.video-duration {
    position: absolute;

    right: 12px;
    bottom: 12px;

    padding: 6px 9px;

    background:
        rgba(0, 0, 0, 0.75);

    color: var(--white);

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   VIDEO CONTENT
========================================================= */

.video-card-content {
    padding: 24px;
}

.video-tag {
    display: inline-flex;

    align-items: center;
    gap: 6px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 12px;
}

.hotel-tag {
    color: var(--gold-dark);
}

.ziyarat-tag {
    color: #6b4b8b;
}

.transport-tag {
    color: #39746a;
}

.travel-tag {
    color: #1d657c;
}

.customer-tag {
    color: #a24b4b;
}

.video-card h4 {
    color: var(--dark);

    font-family: "Playfair Display", serif;

    font-size: 21px;

    line-height: 1.4;

    margin: 0 0 10px;
}

.video-card p {
    color: var(--text);

    font-size: 13px;

    line-height: 1.8;

    margin: 0;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.video-gallery-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 55px;

    padding: 45px;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    border-left: 5px solid var(--gold);
}

.video-gallery-cta span {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 12px;
}

.video-gallery-cta h3 {
    color: var(--white);

    font-family: "Playfair Display", serif;

    font-size: 30px;

    margin: 0 0 10px;
}

.video-gallery-cta p {
    color: rgba(255,255,255,0.75);

    font-size: 14px;

    margin: 0;
}

.video-cta-btn {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    flex-shrink: 0;

    padding: 15px 25px;

    background: var(--gold);

    color: var(--primary-dark);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s ease;
}

.video-cta-btn:hover {
    background: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1050px) {

    .video-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .video-gallery-section {
        padding: 70px 0;
    }

    .video-gallery-heading {
        flex-direction: column;

        align-items: flex-start;
    }

    .featured-video-thumbnail {
        height: 400px;
    }

    .featured-video-info {
        left: 30px;
        bottom: 30px;
    }

    .video-gallery-cta {
        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 580px) {

    .video-gallery-heading h2 {
        font-size: 36px;
    }

    .featured-video-thumbnail {
        height: 280px;
    }

    .featured-video-info {
        left: 20px;
        bottom: 20px;

        right: 20px;
    }

    .featured-video-info h3 {
        font-size: 26px;
    }

    .featured-play-btn {
        width: 65px;
        height: 65px;

        font-size: 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-thumbnail {
        height: 220px;
    }

    .video-gallery-cta {
        padding: 30px 22px;
    }

    .video-gallery-cta h3 {
        font-size: 25px;
    }

}
