/* =========================================================
   Anas Osman — Elite Coach
   ملف التنسيقات (CSS) — منفصل عن الصفحة والسكربت
   ========================================================= */

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #0A0B0D;
}

.font-display {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.04em;
}

.packages-slider::-webkit-scrollbar { display: none; }
.packages-slider { -ms-overflow-style: none; scrollbar-width: none; }

/* -----------------------------------------------------------
   خلفية "فيتنيس" حقيقية للهيرو
   - صورة نادي رياضي + طبقة تعتيم (gradient overlay) تحافظ على
     وضوح النص وتباين الألوان (contrast) فوقها.
   - لاستبدالها بصورة النادي الخاصة بك: غيّر رابط url() تحت
     فقط، بدون لمس أي شيء آخر في الملف.
   ----------------------------------------------------------- */
.hero-bg {
    background-image:
        linear-gradient(180deg, rgba(10,11,13,0.55) 0%, rgba(10,11,13,0.88) 65%, #0A0B0D 100%),
        url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1600&q=70");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

/* شبكة خفيفة (لمسة "ملعب/صالة") تُستخدم فوق الخلفية في أقسام أخرى */
.track-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 34px 34px;
}

/* نسيج "حبيبات" خفيف لإحساس أكثر واقعية بدل التسطح الكامل */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* العنصر البصري المميز: خط مائل قبل كل عنوان صغير (kicker) */
.lane-tick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lane-tick::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 3px;
    background: currentColor;
    transform: skewX(-25deg);
}
.lane-tick::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 3px;
    background: currentColor;
    opacity: 0.5;
    transform: skewX(-25deg);
}

/* قواطع الأقسام المائلة */
.cut-bottom {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.cut-top {
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}
@media (min-width: 640px) {
    .cut-bottom { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
    .cut-top { clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%); }
}

.ghost-num {
    font-family: 'Bebas Neue', sans-serif;
    line-height: 0.75;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.08);
}

/* ظهور تدريجي عند التمرير */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* شريط "الأكثر طلباً" على باقة VIP — يعمل تلقائياً صح
   في العربية (RTL) والإنجليزية/التركية (LTR) بدون كود إضافي */
.ribbon {
    position: absolute;
    top: 14px;
    inset-inline-start: -34px;
    background: linear-gradient(90deg, #FF4429, #FF6A3D);
    color: #0A0B0D;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 5px 38px;
    transform: rotate(-8deg);
    box-shadow: 0 4px 14px rgba(255,68,41,0.35);
    white-space: nowrap;
}

input:focus, select:focus {
    box-shadow: 0 0 0 3px #FF442933;
}

/* وضوح أفضل لحالة التركيز عبر لوحة المفاتيح (إمكانية وصول) */
a:focus-visible, button:focus-visible {
    outline: 2px solid #FF4429;
    outline-offset: 2px;
}

.card-tick {
    width: 34px;
    height: 4px;
    background: #FF4429;
    transform: skewX(-20deg);
}
