/* --- 1. الإعدادات الأساسية --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    overflow: hidden; /* لمنع السكرول المزعج */
}

/* --- 2. البار العلوي --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,1), transparent);
}

.nav-logo img {
    height: 16px;
}

/* --- 3. نظام الخلفيات الذكي --- */
.hero-section {
    width: 100%;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    /* [صورة التابلت هي الأساس] - عشان نضمن إنها تظهر لو المقاس مش موبايل ولا كمبيوتر */
    background-image: url('bg.jpg'); 
}

/* [تعديل للموبايل] - الشاشات الأصغر من 600 بكسل */
@media (max-width: 600px) {
    .hero-section {
        background-image: url('bg-mobile.jpg');
    }
}

/* [تعديل للكمبيوتر] - الشاشات الأكبر من 1100 بكسل */
@media (min-width: 1100px) {
    .hero-section {
        background-image: url('bg-desktop.jpg');
    }
}

/* --- 4. الشريط المتحرك --- */
.marquee-bar {
    position: fixed;
    bottom: 85px; 
    width: 100%;
    background: rgba(0,0,0,0.8);
    border-top: 0.5px solid #222;
    border-bottom: 0.5px solid #222;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 50;
}

.marquee-content {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    animation: scroll-left 18s linear infinite;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- 5. الأزرار السفلية --- */
.action-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    padding: 15px;
    gap: 10px;
    background: #000;
    z-index: 100;
}

.btn {
    flex: 1;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
}

.btn-white {
    background-color: #fff;
    color: #000;
}

.btn-dark {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

/* تحسين شكل الأزرار في الشاشات الكبيرة */
@media (min-width: 1100px) {
    .action-footer {
        justify-content: center;
        gap: 30px;
    }
    .btn {
        max-width: 280px;
    }
}
