﻿/* =========================================
   OUR STORY SECTION
========================================= */

.qoumi-story {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================
   VIDEO - LEFT
========================================= */

.story-video {
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 24px;
    background: #111;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.gallery-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* Video Overlay */

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
    transition: opacity 0.3s ease;
}


/* Play Button */

.custom-play-btn {
    width: 72px;
    height: 72px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #6f42c1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
    transition: transform 0.3s ease, background 0.3s ease;
}

    .custom-play-btn:hover {
        transform: scale(1.08);
        background: #ffffff;
    }


/* =========================================
   MIDDLE - STORY CONTENT
========================================= */

.story-content {
    padding: 10px 15px;
}

.story-badge-wrapper {
    display: inline-block;
}

.story-badge {
    background: #f1e9ff;
    color: #6840a8;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .story-badge i {
        font-size: 18px;
    }


/* Heading */

.story-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    color: #24202b;
}


/* Decorative Line */

.story-line {
    width: 90px;
    height: 4px;
    background: #e6daf8;
    margin: 22px 0 25px;
    border-radius: 10px;
    position: relative;
}

    .story-line span {
        position: absolute;
        left: 0;
        top: 0;
        width: 38px;
        height: 4px;
        background: #7952b3;
        border-radius: 10px;
    }


/* Text */

.story-text {
    font-size: 16px;
    line-height: 1.75;
    color: #626262;
    margin-bottom: 18px;
}

    .story-text strong {
        color: #35264a;
    }


/* =========================================
   COMMITMENT BOX
========================================= */

.story-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    margin: 25px 0;
    border-radius: 15px;
    background: #faf7ff;
    border-left: 4px solid #7952b3;
}

.story-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee4ff;
    color: #7045ad;
    font-size: 22px;
}

.story-highlight-text small {
    display: block;
    font-size: 11px;
    letter-spacing: 1.2px;
    color: #8b7c9e;
    margin-bottom: 4px;
}

.story-highlight-text strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #3c3148;
}


/* =========================================
   BUTTON
========================================= */

.story-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 50px;
    background: #7952b3;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border: none;
    transition: all 0.3s ease;
}

    .story-btn:hover {
        background: #6840a8;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(121, 82, 179, 0.25);
    }


/* =========================================
   RIGHT - IMAGE GALLERY
========================================= */

.story-gallery {
    width: 100%;
}


/* Large Image */

.story-large-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.story-large {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-large-wrapper:hover .story-large {
    transform: scale(1.04);
}


/* Small Image Grid */

.story-small-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.story-small-item {
    height: 165px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

    .story-small-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .story-small-item:hover img {
        transform: scale(1.08);
    }


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1200px) {

    .qoumi-story {
        padding: 90px 0;
    }

    .video-wrapper {
        height: 500px;
    }

    .story-large-wrapper {
        height: 310px;
    }

    .story-small-item {
        height: 170px;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .qoumi-story {
        padding: 60px 0;
    }

    .video-wrapper {
        height: 430px;
    }

    .story-content {
        padding: 15px 5px;
    }

    .story-title {
        font-size: 30px;
    }

    .story-large-wrapper {
        height: 350px;
    }

    .story-small-item {
        height: 190px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .qoumi-story {
        padding: 50px 0;
    }

    /* Video */

    .video-wrapper {
        height: 400px;
        border-radius: 20px;
    }

    /* Story */

    .story-content {
        padding: 15px 5px;
    }

    .story-badge {
        font-size: 15px;
        padding: 9px 16px;
    }

    .story-title {
        font-size: 27px;
        line-height: 1.2;
    }

    .story-text {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Gallery */

    .story-large-wrapper {
        height: 300px;
    }

    .story-small-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .story-small-item {
        height: 130px;
        border-radius: 12px;
    }

    /* Button */

    .story-btn {
        width: 100%;
        padding: 13px 18px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .video-wrapper {
        height: 330px;
    }

    .custom-play-btn {
        width: 62px;
        height: 62px;
        font-size: 32px;
    }

    .story-title {
        font-size: 24px;
    }

    .story-large-wrapper {
        height: 250px;
    }

    .story-small-item {
        height: 105px;
    }

    .story-highlight {
        padding: 14px;
    }
}
