﻿/* ============================================
   Site.Master.Header.css - تنسيقات الهيدر والقائمة العلوية
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tahoma', 'Segoe UI', 'Cairo', sans-serif;
    background: linear-gradient(135deg, #0a0f1e 0%, #0c1222 100%);
    color: #e2e8f0;
    line-height: 1.6;
}

/* Hero Header */
.hero-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #fbbf24;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

    .hero-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(251,191,36,0.1) 0%, transparent 70%);
        animation: rotate 20s linear infinite;
    }

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1;
    flex: 1;
}

.logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #0f172a;
    box-shadow: 0 0 20px rgba(251,191,36,0.5);
}

.hero-text h1 {
    font-size: 28px;
    margin: 0;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    margin: 5px 0 0;
    color: #94a3b8;
    font-size: 14px;
}

.hero-badge {
    background: rgba(251,191,36,0.2);
    border: 1px solid #fbbf24;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    z-index: 1;
    flex: 1;
    text-align: left;
}

    .hero-badge i {
        color: #fbbf24;
        margin-left: 8px;
    }

/* الشعار في المنتصف */
.hero-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-logo-wrapper {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

    .hero-logo-wrapper:hover {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
    }

.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.5));
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(251,191,36,0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0 20px;
}

.navbar a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 15px 25px;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

    .navbar a i {
        margin-left: 8px;
    }

    .navbar a::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 50%;
        width: 0;
        height: 3px;
        background: #fbbf24;
        transition: all 0.3s ease;
        transform: translateX(50%);
    }

    .navbar a:hover::before,
    .navbar a.active::before {
        width: 80%;
    }

    .navbar a:hover {
        color: #fbbf24;
        transform: translateY(-2px);
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .hero-left {
        flex-direction: column;
        width: 100%;
    }

    .hero-center {
        order: 2;
        width: 100%;
    }

    .hero-badge {
        order: 3;
        text-align: center;
        width: 100%;
    }

    .hero-logo-wrapper {
        width: 120px;
        height: 120px;
    }

    .hero-logo {
        width: 90px;
        height: 90px;
    }

    .logo {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .hero-text h1 {
        font-size: 20px;
    }

    .hero-text p {
        font-size: 11px;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .navbar a {
        padding: 10px 15px;
        font-size: 12px;
    }
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
}


