/* أنماط الصفحة الرئيسية والمتجر فقط */
:root {
    --primary-color: #0052cc;
    --secondary-color: #2684ff;
    --accent-color: #00c7e6;
    --dark-color: #172b4d;
    --light-color: #f4f5f7;
    --success-color: #36b37e;
    --warning-color: #ffab00;
    --danger-color: #ff5630;
    --info-color: #00b8d9;
    --text-color: #253858;
    --text-light: #5e6c84;
    --text-muted: #97a0af;
    --border-color: #dfe1e6;
    --gradient-primary: linear-gradient(135deg, #0052cc 0%, #2684ff 100%);
    --box-shadow: 0 5px 20px rgba(0, 82, 204, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background-color: white;
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 38px;
    position: relative;
    transition: all 0.5s ease;
}

.logo:hover .logo-icon {
    animation: fullRotation 1s ease;
}

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

.logo-text {
    font-size: 36px;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 0.5px;
}

.logo-text-english {
    font-size: 14px;
    color: rgba(0, 102, 204, 0.7);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(0, 82, 204, 0.05);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(0, 82, 204, 0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 102, 204, 0.1);
    transform: scale(1.1);
}

.mobile-close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: #0066cc;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
}

.hero-tagline {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding: 0 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 20px;
    max-width: 800px;
    margin: 30px auto 40px;
    color: rgba(255, 255, 255, 1);
    line-height: 1.7;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.primary-cta, .secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.primary-cta {
    background-color: #ffdd00;
    color: #0066cc;
    border: 2px solid #ffdd00;
}

.primary-cta:hover {
    background-color: #ffe44d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.secondary-cta {
    background-color: white;
    color: #0066cc;
    border: 2px solid white;
    font-weight: 700;
}

.secondary-cta:hover {
    background-color: #f0f0f0;
    color: #0052cc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #60a5fa);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #0066cc, #004c99);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .nav-menu.mobile-open {
        right: 0;
    }

    .mobile-close-btn {
        display: block;
    }

    .nav-link {
        color: white;
        font-size: 20px;
        padding: 15px 30px;
        border-radius: 10px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateX(-10px);
    }

    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.3);
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-description {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .primary-cta, .secondary-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}