@font-face {
    font-family: 'DINNextLT';
    src: url('fonts/DINNextLT.ttf');
}

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

body {
    font-family: 'DINNextLT', Arial, sans-serif;
    padding-bottom: 65px;
    /* مساحة للشريط الإخباري */
}

/* شريط الأخبار المتحرك */
.news-ticker-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e40af 0%, #0f766e 100%);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    overflow: hidden;
    border-top: 2px solid #f59e0b;
}

.news-ticker-wrapper {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.news-ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll-rtl 300s linear infinite;
    gap: 50px;
    padding: 0 20px;
    animation-delay: -150s;
}

.news-ticker-content:hover {
    animation-play-state: paused;
}

/* الحركة من اليسار إلى اليمين - بطيئة جداً */
@keyframes scroll-rtl {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.news-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    min-width: fit-content;
}

.news-item:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.news-item i {
    font-size: 1.3rem;
    color: #f59e0b;
}

.news-item .text {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.news-item .phone {
    color: #f59e0b;
    font-weight: 700;
    text-decoration: none;
    padding: 5px 12px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 15px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-item .phone:hover {
    background: #f59e0b;
    color: #ffffff;
    transform: scale(1.05);
}

/* استجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .news-ticker-wrapper {
        height: 55px;
    }

    .news-ticker-content {
        gap: 35px;
        animation: scroll-rtl 250s linear infinite;
        animation-delay: -125s;
    }

    .news-item {
        padding: 8px 16px;
        gap: 8px;
    }

    .news-item i {
        font-size: 1.1rem;
    }

    .news-item .text {
        font-size: 0.85rem;
    }

    .news-item .phone {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    body {
        padding-bottom: 55px;
    }
}

@media (max-width: 480px) {
    .news-ticker-wrapper {
        height: 50px;
    }

    .news-ticker-content {
        gap: 25px;
        animation: scroll-rtl 250s linear infinite;
        animation-delay: -125s;
    }

    .news-item {
        padding: 6px 12px;
        gap: 6px;
    }

    .news-item i {
        font-size: 1rem;
    }

    .news-item .text {
        font-size: 0.8rem;
    }

    .news-item .phone {
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    body {
        padding-bottom: 50px;
    }
}