
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'robotoserif-regular';
    src: url('../fonts/robotoserif-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'oldstandardtt-regular';
    src: url('../fonts/oldstandardtt-regular.ttf') format('truetype');
}

body {
    font-family: robotoserif-regular !important;
    letter-spacing: 2px;
    background: #070b14;
    overflow-x: hidden;
}



/*#0f172a*/
/* =========================
    SLIDER
========================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1s ease, transform 6s ease;
}

    .slide.active {
        opacity: 1;
        transform: scale(1);
        z-index: 1;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.slider-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(15,23,42,0.75));*/
    z-index: 2;
}



/* =========================
    ABOUT US
========================= */



.about-section {
    position: relative;
    width: 100%;
    padding: 120px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    background: linear-gradient( to bottom, #111827, #0f172a );
    color: white;
}

/* LEFT IMAGE */

.about-image {
    flex: 1;
}

    .about-image img {
        width: 100%;
        max-width: 650px;
        border-radius: 18px;
        object-fit: cover;
        box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    }

/* RIGHT CONTENT */

.about-content {
    flex: 1;
}

.about-tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    letter-spacing: 2px;
}

.about-content h2 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 28px;
}

.about-content p {
    color: rgba(255,255,255,0.75);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 22px;
}

/* BUTTON */

.about-btn {
    margin-top: 15px;
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    color: white;
    font-size: 15px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: 0.3s;
}

    .about-btn:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-2px);
    }


.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background: url('/img/parallax.jpg') center/cover;
    transform: translateZ(0);
    z-index: -1;
}

.parallax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: 1s;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* =========================
    RESPONSIVE
========================= */

@media(max-width:1000px) {

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-content h2 {
        font-size: 42px;
    }
}





/* =========================
    STATISTICS COUNTERS
========================= */

.stats-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 120px 8%;
}

.stat-card {
    width: 260px;
    padding: 50px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    text-align: center;
    color: white;
}

    .stat-card h2 {
        font-size: 60px;
    }



/* =========================
    TIMELINE
========================= */

.timeline-section {
    padding: 120px 8%;
    color: white;
}

.timeline-item {
    margin-bottom: 50px;
    padding-left: 30px;
    border-left: 3px solid rgba(255,255,255,0.3);
}


/* =========================
    FEATURES CARDS
========================= */

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
    padding: 120px 8%;
}

.feature-card {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    color: white;
    transition: 0.3s;
}

    .feature-card:hover {
        transform: translateY(-10px);
    }



/* =========================
    Clip Page
========================= */


/* PAGE ANIMATION */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LAYOUT */
.page-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

/* PLAYER */
.player-container video {
    width: 100%;
    max-height: 500px;
    border-radius: 12px;
    background: black;
}

/* TITLE */
#videoTitle {
    margin-top: 10px;
    color: white;
}

/* =========================
   THUMBNAIL STRIP (FINAL)
   ========================= */
.thumbnail-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

    /* scrollbar */
    .thumbnail-strip::-webkit-scrollbar {
        height: 6px;
    }

    .thumbnail-strip::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.2);
        border-radius: 10px;
    }

/* item */
.thumb {
    flex: 0 0 auto;
    width: 160px;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.2s ease;
    color: white;
    text-align: center;
}

    .thumb img {
        width: 100%;
        height: 90px;
        object-fit: cover;
        border-radius: 10px;
    }

/* hover فقط دسکتاپ */
@media (min-width: 768px) {
    .thumb:hover {
        transform: scale(1.05);
    }
}

/* موبایل */
@media (max-width: 768px) {
    .thumb {
        width: 120px;
    }

        .thumb img {
            height: 70px;
        }

    .player-container video {
       
        max-height: 300px;
    }

    
}




.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail {
    width: 180px;
    height: 110px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 14px;
}

.thumbnail-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
}


.video-slide video {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}
