/* ============================================================
   كازية عبد الحليم للمحروقات — جبلة، سوريا
   التصميم والواجهة الرقمية الإنتاجية للسائقين (Mobile-First)
   الخطوط: Cairo 700 / Tajawal (محلياً)
   الألوان: Fuel Yellow (#FACC15), Charcoal Dark (#0B0F17), White (#FFFFFF)
   ============================================================ */

/* استدعاء الخطوط المحلية WOFF2 لسرعة صفر تأخير */
@font-face {
    font-family: 'Cairo';
    src: url('fonts/Cairo-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Tajawal';
    src: url('fonts/Tajawal-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Tajawal';
    src: url('fonts/Tajawal-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    /* لوحة الألوان المعتمدة */
    --fuel-yellow: #FACC15;
    --fuel-yellow-hover: #FDE047;
    --fuel-yellow-dark: #CA8A04;
    --fuel-glow: rgba(250, 204, 21, 0.35);
    
    --bg-base: #080C14;
    --bg-surface: #0F172A;
    --bg-card: #141E33;
    --bg-elevated: #1E293B;
    --bg-glass: rgba(15, 23, 42, 0.85);
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-yellow: rgba(250, 204, 21, 0.3);
    
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-dark: #0F172A;

    /* حالات التوفر الحية */
    --status-green: #22C55E;
    --status-green-glow: rgba(34, 197, 94, 0.4);
    --status-red: #EF4444;
    --status-red-glow: rgba(239, 68, 68, 0.4);
    --status-amber: #F59E0B;

    --accent-blue: #2563EB;
    --accent-blue-glow: rgba(37, 99, 235, 0.35);
    --accent-whatsapp: #22C55E;

    --font-heading: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-body: 'Tajawal', system-ui, -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px var(--fuel-glow);

    --container-max: 1320px;
    --header-height: 76px;
    --bottom-bar-height: 68px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    direction: rtl;
    text-align: right;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    min-height: 100vh;
    padding-bottom: calc(var(--bottom-bar-height) + 20px);
    overflow-x: hidden;
    position: relative;
}

/* خلفية تدرج شبكي ناعم */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 85% 10%, rgba(250, 204, 21, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 15% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(34, 197, 94, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ------------------------------------------------------------
   الترويسة العلوية (Navbar)
   ------------------------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
    flex-shrink: 0;
}

.brand-eagle-badge {
    width: 34px;
    height: 26px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(201, 165, 87, 0.45));
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.brand-eagle-badge:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 3px 12px rgba(250, 204, 21, 0.75));
}

.brand-text h1 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.brand-text h1 span {
    color: var(--fuel-yellow);
}

.brand-text .brand-tagline {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--status-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--status-green);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.badge-247 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid var(--border-yellow);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--fuel-yellow);
}

.btn-header-call {
    display: none;
    align-items: center;
    gap: 0.45rem;
    background: var(--fuel-yellow);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.btn-header-call:hover {
    background: var(--fuel-yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--fuel-glow);
}

@media (min-width: 768px) {
    .btn-header-call {
        display: inline-flex;
    }
}

/* ------------------------------------------------------------
   شريط إجراءات السائق العائم بالسفل (Mobile Driver Bar)
   ------------------------------------------------------------ */
.driver-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-bar-height);
    background: rgba(11, 15, 23, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(250, 204, 21, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
}

@media (min-width: 769px) {
    .driver-action-bar {
        display: none;
    }
    body {
        padding-bottom: 0;
    }
}

.driver-actions-container {
    width: 100%;
    max-width: 650px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 0.5rem;
}

.driver-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 48px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: transform 0.15s ease, background-color 0.2s;
    text-align: center;
    white-space: nowrap;
}

.driver-btn:active {
    transform: scale(0.96);
}

.driver-btn-maps {
    background: linear-gradient(135deg, var(--fuel-yellow), var(--fuel-yellow-dark));
    color: var(--text-dark);
    box-shadow: 0 4px 12px var(--fuel-glow);
}

.driver-btn-call {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.driver-btn-call:hover {
    background: #28354A;
    border-color: var(--border-yellow);
}

.driver-btn-messenger {
    background: rgba(0, 132, 255, 0.2);
    border: 1px solid rgba(0, 132, 255, 0.5);
    color: #60A5FA;
}

.driver-btn-messenger:hover {
    background: rgba(0, 132, 255, 0.35);
    border-color: #93C5FD;
    color: #FFFFFF;
}

.driver-btn-whatsapp {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ADE80;
}

.driver-btn-whatsapp:hover {
    background: rgba(34, 197, 94, 0.25);
}

.driver-btn svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

/* ------------------------------------------------------------
   قسم البطل السينمائي المهيب (Cinematic Hero Stage)
   ------------------------------------------------------------ */
.hero-cinematic-section {
    position: relative;
    min-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
    padding: 0;
}

.hero-video-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: #000;
}

.hero-video-backdrop video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(0.6) contrast(1.15) saturate(1.1);
    transform: scale(1.02);
}

.hero-video-overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(8, 12, 20, 0.4) 0%, rgba(8, 12, 20, 0.82) 75%, rgba(8, 12, 20, 0.98) 100%),
        linear-gradient(180deg, rgba(8, 12, 20, 0.8) 0%, transparent 20%, transparent 75%, rgba(8, 12, 20, 1) 100%);
    pointer-events: none;
}

.hero-cinematic-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    justify-content: flex-start;
    padding: 3rem 1.5rem 2rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(250, 204, 21, 0.4);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: clamp(0.82rem, 1.5vw, 0.92rem);
    color: var(--fuel-yellow);
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(250, 204, 21, 0.15);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: #FFFFFF;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.95), 0 2px 5px rgba(0, 0, 0, 0.8);
}

.hero-title span {
    color: var(--fuel-yellow);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--fuel-yellow), transparent);
    border-radius: 2px;
}

.hero-description {
    font-size: clamp(0.92rem, 1.7vw, 1.05rem);
    color: #CBD5E1;
    line-height: 1.75;
    margin-bottom: 0;
    max-width: 720px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* شريط الكبسولات والأزرار الموحّد أسفل الهيرو */
.hero-bottom-bar {
    position: relative;
    z-index: 3;
    background: rgba(8, 12, 20, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.hero-features-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    width: auto;
}

.hero-chip {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.73rem;
    font-weight: 600;
    color: #94A3B8;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hero-chip:hover {
    border-color: rgba(250, 204, 21, 0.3);
    color: #E2E8F0;
    background: rgba(250, 204, 21, 0.07);
}

.hero-chip svg {
    color: var(--fuel-yellow);
    opacity: 0.8;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* فاصل رفيع بين الكبسولات والأزرار في الشريط */
.hero-bar-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* أزرار الإجراء في شريط الهيرو */
.hero-actions-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    align-items: center;
    margin: 0;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, var(--fuel-yellow), var(--fuel-yellow-dark));
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px var(--fuel-glow);
}

.hero-btn-primary:hover {
    background: var(--fuel-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--fuel-glow);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #E2E8F0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}

.hero-btn-secondary:hover {
    background: rgba(250, 204, 21, 0.15);
    border-color: var(--fuel-yellow);
    color: var(--fuel-yellow);
    transform: translateY(-2px);
}

.hero-btn-secondary svg {
    width: 15px;
    height: 15px;
}

.hero-btn-messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(0, 132, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 132, 255, 0.4);
    color: #60A5FA;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1.05rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 132, 255, 0.18);
}

.hero-btn-messenger:hover {
    background: rgba(0, 132, 255, 0.32);
    border-color: #93C5FD;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.3);
}

.hero-btn-messenger svg {
    width: 15px;
    height: 15px;
}

.hero-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ADE80;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}

.hero-btn-whatsapp:hover {
    background: rgba(34, 197, 94, 0.35);
    border-color: #4ADE80;
    transform: translateY(-2px);
}

.hero-btn-whatsapp svg {
    width: 19px;
    height: 19px;
}

/* شريط معلومات وتحكم الفيديو السينمائي */
/* أزرار التحكم بالفيديو المدمجة في شريط الأسفل */
.hero-video-controls-mini {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.video-hud-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94A3B8;
    padding: 0.28rem 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-hud-btn:hover {
    background: rgba(250, 204, 21, 0.15);
    border-color: rgba(250, 204, 21, 0.3);
    color: var(--fuel-yellow);
}

.video-hud-btn svg {
    width: 13px;
    height: 13px;
}

/* ------------------------------------------------------------
   لوحة حالة الوقود الحية (Live Fuel Status Dashboard)
   ------------------------------------------------------------ */
.fuel-dashboard-section {
    padding: 1rem 0 3.5rem;
}

.fuel-dashboard-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 4vw, 2.2rem);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.fuel-dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--status-green), var(--fuel-yellow), var(--accent-blue));
}

.dashboard-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.2rem;
}

@media (min-width: 640px) {
    .dashboard-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.dashboard-title-group h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.dashboard-title-group h2 svg {
    color: var(--fuel-yellow);
    width: 26px;
    height: 26px;
}

.dashboard-title-group p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.dashboard-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.timestamp-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timestamp-badge svg {
    width: 14px;
    height: 14px;
    color: var(--fuel-yellow);
}

.btn-refresh {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-refresh:hover {
    border-color: var(--fuel-yellow);
    color: var(--fuel-yellow);
}

.btn-refresh svg.spinning {
    animation: spin 0.8s linear;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* شبكة بطاقات الوقود */
.fuel-widgets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .fuel-widgets-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.fuel-widget {
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.fuel-widget.is-available {
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 8px 25px -5px var(--status-green-glow);
}

.fuel-widget.is-unavailable {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 8px 25px -5px var(--status-red-glow);
}

.fuel-widget-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.fuel-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.fuel-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
}

.fuel-icon-wrap svg {
    width: 28px;
    height: 28px;
}

.fuel-widget.is-available .fuel-icon-wrap svg {
    color: var(--fuel-yellow);
}

.fuel-widget.is-unavailable .fuel-icon-wrap svg {
    color: var(--text-muted);
}

.fuel-name-group h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.fuel-subtext {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.fuel-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.fuel-widget.is-available .fuel-status-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.fuel-widget.is-unavailable .fuel-status-badge {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.fuel-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.fuel-widget.is-available .fuel-status-dot {
    background-color: var(--status-green);
    box-shadow: 0 0 10px var(--status-green);
    animation: pulse 1.8s infinite;
}

.fuel-widget.is-unavailable .fuel-status-dot {
    background-color: var(--status-red);
}

.fuel-widget-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.fuel-condition {
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.fuel-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ADE80;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.fuel-live-pill svg {
    color: #22C55E;
}

/* مفتاح التبديل التفاعلي لتجربة الحالة (Simulation Toggle) */
.toggle-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.toggle-switch-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #334155;
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    right: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--status-green);
}

input:checked + .slider:before {
    transform: translateX(-20px);
}

/* شريط تنبيه أو ملاحظة تفريغ الوقود */
.dashboard-notice {
    margin-top: 1.25rem;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.25);
    padding: 0.95rem 1.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #FEF08A;
}

.dashboard-notice svg {
    color: var(--fuel-yellow);
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.dashboard-notice-text strong {
    color: var(--fuel-yellow);
    font-weight: 700;
    margin-left: 0.4rem;
}

/* ------------------------------------------------------------
   أقسام الصفحة العامة
   ------------------------------------------------------------ */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-tag {
    font-size: 0.85rem;
    color: var(--fuel-yellow);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ------------------------------------------------------------
   شبكة الخدمات والمرافق (Facilities & Services Grid)
   ------------------------------------------------------------ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-yellow);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(250, 204, 21, 0.1);
}

.service-card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid var(--border-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fuel-yellow);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.service-badge-unconfirmed {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: #FCD34D;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    margin-right: auto;
}

.service-footer-note {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--fuel-yellow);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ------------------------------------------------------------
   معرض الصور والمشاهد الحية (Authentic Gallery)
   ------------------------------------------------------------ */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    aspect-ratio: 4/3;
    cursor: pointer;
    group: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 23, 0.95) 0%, rgba(11, 15, 23, 0.3) 50%, transparent 100%);
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tag {
    font-size: 0.74rem;
    color: var(--fuel-yellow);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

/* ------------------------------------------------------------
   قسم الجودة والهندسة التفكيكية (Engineering & Quality Banner)
   ------------------------------------------------------------ */
.quality-feature-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.feature-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .feature-two-col {
        grid-template-columns: 1fr 1.1fr;
    }
}

.feature-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.feature-content h2 span {
    color: var(--fuel-yellow);
}

.feature-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

.quality-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quality-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.quality-checklist li svg {
    width: 22px;
    height: 22px;
    color: var(--fuel-yellow);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-image-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-yellow);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
    background: var(--bg-card);
}

.feature-image-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ------------------------------------------------------------
   قسم الموقع والوصول الجغرافي (Location & Navigation)
   ------------------------------------------------------------ */
.location-section {
    padding: 4rem 0;
}

.location-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .location-card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.location-details {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.location-details h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.location-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.location-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.location-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid var(--border-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fuel-yellow);
    flex-shrink: 0;
}

.location-info-icon svg {
    width: 22px;
    height: 22px;
}

.location-info-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.location-info-text span {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.btn-directions-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--fuel-yellow), var(--fuel-yellow-dark));
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px var(--fuel-glow);
}

.btn-directions-lg:hover {
    background: var(--fuel-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--fuel-glow);
}

.btn-directions-lg svg {
    width: 22px;
    height: 22px;
}

/* بطاقة المعاينة البصرية للموقع */
.location-preview-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    aspect-ratio: 16/11;
}

.location-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-preview-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    background: rgba(11, 15, 23, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-yellow);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-preview-tag svg {
    color: var(--fuel-yellow);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ------------------------------------------------------------
   التذييل (Footer)
   ------------------------------------------------------------ */
.site-footer {
    background: #06090F;
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--fuel-yellow);
    margin-bottom: 0.6rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 420px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--fuel-yellow);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* كتلة الهوية: عمود واحد في المنتصف، التوقيع ثم العقاب ثم الحسابات أيقونات بلا نص (قواعد الويب 5.13.3) */
.footer-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.author-signature {
    font-size: 0.88rem;
    color: var(--fuel-yellow);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.25);
    unicode-bidi: isolate;
}

.footer-eagle {
    width: 88px;
    height: auto;
    opacity: 0.9;
}

.social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social a {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--fuel-yellow);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social a:hover,
.social a:focus-visible {
    background: rgba(250, 204, 21, 0.12);
    border-color: var(--border-yellow);
    transform: translateY(-1px);
}

/* ------------------------------------------------------------
   النافذة المنبثقة للصور (Lightbox Modal)
   ------------------------------------------------------------ */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.lightbox-modal.is-active {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-yellow);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    left: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-caption {
    margin-top: 0.75rem;
    text-align: center;
    color: var(--fuel-yellow);
    font-family: var(--font-heading);
    font-size: 1rem;
}

/* ------------------------------------------------------------
   قسم عراقة الطريق • رفيق السفر عبر الأجيال (Heritage & Video)
   ------------------------------------------------------------ */
.heritage-section {
    position: relative;
    padding: 5rem 0;
    background: radial-gradient(circle at 50% 30%, rgba(202, 138, 4, 0.08) 0%, rgba(11, 15, 23, 1) 70%);
    border-top: 1px solid rgba(250, 204, 21, 0.15);
    border-bottom: 1px solid rgba(250, 204, 21, 0.15);
    overflow: hidden;
}

.heritage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fuel-yellow), transparent);
}

.heritage-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.heritage-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(202, 138, 4, 0.15);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: var(--fuel-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.8rem;
}

.heritage-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.heritage-title span {
    color: var(--fuel-yellow);
}

.heritage-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* بطاقة مشغل الفيديو السينمائي */
.heritage-video-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(250, 204, 21, 0.4);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(234, 179, 8, 0.15);
    margin-bottom: 2.5rem;
}

.heritage-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 600px;
    overflow: hidden;
}

.heritage-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay-ui {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.5) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    pointer-events: none;
}

.video-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-badge {
    background: rgba(11, 15, 23, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(250, 204, 21, 0.4);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    color: var(--fuel-yellow);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.video-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
}

.video-caption-group h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.video-caption-group p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.video-action-btns {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.video-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.9);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.video-toggle-btn:hover {
    background: #fff;
    transform: scale(1.08);
}

.video-toggle-btn svg {
    width: 20px;
    height: 20px;
}

.video-mute-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.video-mute-btn:hover {
    border-color: var(--fuel-yellow);
    color: var(--fuel-yellow);
}

.video-mute-btn svg {
    width: 18px;
    height: 18px;
}

/* شبكة كروت التوثيق التاريخي */
.heritage-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .heritage-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.heritage-card {
    background: var(--bg-card);
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.heritage-card:hover {
    transform: translateY(-4px);
    border-color: var(--fuel-yellow);
}

.heritage-card-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.heritage-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.heritage-card:hover .heritage-card-media img {
    transform: scale(1.04);
}

.heritage-media-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-yellow);
    color: var(--fuel-yellow);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.heritage-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.heritage-card-body h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.heritage-card-body p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.heritage-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.8rem;
}

.heritage-meta-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* اقتباس ختامي رصين للقسم */
.heritage-quote-box {
    background: rgba(250, 204, 21, 0.05);
    border: 1px solid var(--border-yellow);
    border-right: 4px solid var(--fuel-yellow);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    text-align: right;
    max-width: 900px;
    margin: 0 auto;
}

.heritage-quote-box blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.heritage-quote-box cite {
    font-style: normal;
    font-size: 0.88rem;
    color: var(--fuel-yellow);
}

/* ------------------------------------------------------------
   تحسين إمكانية الوصول والأداء
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------------------------------------------------------------

   حالة "غير مؤكد" للوحة الوقود + إخفاء ملصقات الجاهزية عند عدم التوفر
   ------------------------------------------------------------ */
.fuel-widget.is-unknown {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 8px 25px -5px rgba(245, 158, 11, 0.3);
}

.fuel-widget.is-unknown .fuel-icon-wrap svg {
    color: var(--text-muted);
}

.fuel-widget.is-unknown .fuel-status-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.fuel-widget.is-unknown .fuel-status-dot {
    background-color: var(--status-amber);
}

.fuel-widget:not(.is-available) .fuel-live-pill {
    display: none;
}

   تأثيرات حركية دقيقة (Hover Micro-interactions) مضافة للتجربة
   ------------------------------------------------------------ */

/* تحسين كروت الخدمات عند المرور فوقها */
.service-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.3);
}
.service-card:hover .service-card-icon {
    transform: scale(1.1);
    color: var(--fuel-yellow);
}

/* تحسين كروت العراقة */
.heritage-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.heritage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.heritage-card:hover img {
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

/* تحسين معرض الصور */
.gallery-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(250, 204, 21, 0.2);
    z-index: 2;
}

/* تفاعل إضافي لأزرار Hero */
.hero-chip {
    transition: all 0.3s ease;
}
.hero-chip:hover {
    background: rgba(250, 204, 21, 0.15);
    border-color: var(--fuel-yellow);
    transform: translateY(-3px);
}





/* ------------------------------------------------------------
   لوحة المدير داخل الصفحة (admin-panel.js)
   ------------------------------------------------------------ */
.btn-header-admin {
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-yellow);
    background: transparent;
    color: var(--fuel-yellow);
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-header-admin:hover { background: var(--bg-elevated); }
.btn-header-admin[hidden] { display: none; }

.admin-lock {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-inline-start: 0.4rem;
    vertical-align: middle;
    background: none;
    border: 0;
    color: var(--text-muted);
    opacity: 0.45;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.admin-lock:hover, .admin-lock:focus-visible { opacity: 1; color: var(--fuel-yellow); }

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(8, 12, 20, 0.82);
    overflow-y: auto;
}
.admin-modal[hidden] { display: none; }

.admin-card {
    position: relative;
    width: min(460px, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.6rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-yellow);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.admin-card h2 {
    margin: 0 0 0.4rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--fuel-yellow);
}
.admin-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
}
.admin-card h3.admin-sep {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-subtle);
}
.admin-card label {
    display: block;
    margin: 0.9rem 0 0.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.admin-card input[type=email],
.admin-card input[type=password],
.admin-card input[type=file] {
    width: 100%;
    padding: 0.8rem;
    font: inherit;
    color: var(--text-primary);
    background: var(--bg-base);
    border: 1px solid var(--bg-elevated);
    border-radius: var(--radius-md);
}
.admin-close {
    position: absolute;
    inset-block-start: 0.5rem;
    inset-inline-start: 0.5rem;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-secondary);
    background: none;
    border: 0;
    cursor: pointer;
}
.admin-close:hover { color: var(--text-primary); }

.admin-msg {
    min-height: 1.6em;
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
}
.admin-msg.ok { color: var(--status-green); }
.admin-msg.err { color: var(--status-red); }

.admin-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}
.admin-opt {
    min-height: 52px;
    font: inherit;
    font-size: 1.05rem;
    color: var(--text-primary);
    background: var(--bg-elevated);
    border: 2px solid var(--bg-elevated);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.admin-opt.active.yes { border-color: var(--status-green); background: rgba(34, 197, 94, 0.18); }
.admin-opt.active.no { border-color: var(--status-red); background: rgba(239, 68, 68, 0.18); }

.admin-btn {
    width: 100%;
    min-height: 52px;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--fuel-yellow);
    border: 0;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.admin-btn:hover { background: var(--fuel-yellow-hover); }
.admin-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.admin-btn[hidden] { display: none; }
.admin-btn-outline { margin-top: 1.6rem; color: var(--fuel-yellow); background: transparent; border: 1px solid var(--border-yellow); }
.admin-btn-outline:hover { background: var(--bg-elevated); }
.admin-btn-danger { color: var(--status-red); background: transparent; border: 1px solid var(--status-red); }
.admin-btn-danger:hover { background: rgba(239, 68, 68, 0.12); }
.admin-preview {
    width: 100%;
    max-height: 180px;
    margin-top: 0.7rem;
    object-fit: cover;
    border: 1px solid var(--bg-elevated);
    border-radius: var(--radius-sm);
}
.admin-preview[hidden] { display: none; }


/* ------------------------------------------------------------
   ضوءا الوقود في شارة الواجهة: G للبنزين (Gasoline) وD للمازوت (Diesel)
   الأخضر متوفر: دائرة ممتلئة تومض. الأحمر نفد: حلقة فارغة ثابتة. الكهرماني غير مؤكد.
   الامتلاء والوميض يفرّقان الحالة لمن لا يميّز الأحمر من الأخضر.
   ------------------------------------------------------------ */
.fuel-lights {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}
.fuel-light {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    --light: var(--status-amber);
}
.fuel-light i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--light);
    box-shadow: 0 0 10px var(--light);
}
.fuel-light b {
    font-family: var(--font-heading);
    font-size: 0.95em;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}
.fuel-light.is-available { --light: var(--status-green); }
.fuel-light.is-available i { animation: pulse 2s infinite ease-in-out; }
.fuel-light.is-unavailable { --light: var(--status-red); }
.fuel-light.is-unavailable i {
    width: 11px;
    height: 11px;
    background: transparent;
    border: 2px solid var(--light);
}
.fuel-light.is-unavailable b { color: var(--text-secondary); }
.fuel-light.is-unknown i { opacity: 0.7; }
