@import url("https://use.typekit.net/zcq7hkx.css");

h1,
h2,
h3,
h4,
h5,
h6,
a,
p {
	font-family: marlik, sans-serif !important; 
	font-style: normal;
}



:root {
	--sf-orange: #fd5a16;
	--sf-black: #000000;
	--sf-radius-pill: 11px;
	--sf-transition: 0.4s ease;
}


body {
	margin: 0;
	padding: 0;
	direction: rtl;
	color: #fff;
	transition: background-color var(--sf-transition), color var(--sf-transition);
}


.sfv-page {
    min-height: 100vh;
    background: #000000;
    color: #ffffff;
    padding: 18px 34px 60px;
    box-sizing: border-box;
    font-family: marlik, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* الشريط العلوي */

.sfv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
	padding-bottom: 30px;
	padding-top: 10px;
	border-bottom: 1px solid #1B1B1B;
}

.sfv-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.sfv-back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-1px);
}

.sfv-logo-text {
    font-size: 40px;
    font-weight: 800;
    color: #fd5a16;
    letter-spacing: 1px;
}


.sfv-logo-img img{
	max-height: 35px;
	width: 100%;
	
}
/* تخطيط العمودين */

.sfv-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2.1fr);
    gap: 48px;
    align-items: flex-start;
}

/* شبكة الفيديوهات */

.sfv-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}

/* كارد الفيديو (يشتغل على أي .video-item داخل sfv-video-grid) */

.sfv-video-grid .video-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* مربع */
    border-radius: 28px;
    overflow: hidden;
    background: #111111;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.sfv-video-grid .video-item > a {
    position: absolute;
    inset: 0;
    display: block;
}

.sfv-video-grid .video-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.35s ease, filter 0.35s ease;
}

/* تدرج من تحت – لو احتجت نص مستقبلاً */

.sfv-video-grid .video-item::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
    pointer-events: none;
}

/* زر التشغيل */

.sfv-play-icon {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 66px;
    height: 66px;
    background-image: url(https://saadfaris.com/wp-content/uploads/2024/06/player-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 54%;
    z-index: 2;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

/* هوفر على الكارد */

.sfv-video-grid .video-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
}

.sfv-video-grid .video-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.04);
}

.sfv-video-grid .video-item:hover .sfv-play-icon {

}

/* العمود الأيمن */

.sfv-side {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: sticky;
    top: 70px;
    align-self: flex-start;
    height: fit-content;
}

.sfv-side-block {
    text-align: right;
}

.sfv-title {
    font-size: 40px;
    margin: 0 0 12px;
    color: #fd5a16;
    font-weight: 800;
}

.sfv-lead {
    font-size: 19px;
    margin: 0 0 10px;
    opacity: 0.9;
}

.sfv-text {
    font-size: 19px;
    margin: 0;
    opacity: 0.85;
}

/* التواصل */

.sfv-contact-title {
    font-size: 22px;
    margin: 0 0 18px;
    font-weight: 700;
}

.sfv-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sfv-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sfv-contact-btn img {
    width: 18px;
    height: 18px;
    display: block;
}

.sfv-contact-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

/* ================= Responsive ================= */

@media (max-width: 1024px) {
    .sfv-page {
        padding-inline: 18px;
    }

    .sfv-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.9fr);
        gap: 32px;
    }

    .sfv-video-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 22px;
    }

    .sfv-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .sfv-page {
        padding: 16px 14px 40px;
    }

    .sfv-header {
        margin-bottom: 26px;
    }

    .sfv-logo-text {
        font-size: 28px;
    }

    .sfv-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sfv-side {
        order: -1; /* النص يطلع فوق الفيديوهات في الجوال */
    }

    .sfv-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .sfv-video-grid .video-item {
        border-radius: 22px;
    }

    .sfv-play-icon {
        width: 60px;
        height: 60px;
        top: 6px;
        left: 6px;
    }

    .sfv-contact-row {
        gap: 8px;
    }

    .sfv-contact-btn {
        font-size: 13px;
        padding: 8px 13px;
    }
}

@media (max-width: 480px) {
    .sfv-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sfv-logo-text {
        font-size: 24px;
    }
}