/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0d3f48;
    --secondary-dark: #0e5562;
    --accent-silver: #45a1ca;
    --accent-white: #ffffff;
    --text-light: #e9fcff;
    --text-dark: #08333a;
    --gradient-primary: linear-gradient(120deg, #1fe4b6 0%, #45a1ca 100%);
    --gradient-silver: linear-gradient(120deg, #2ef6c8 0%, #5db8ff 100%);
    --shadow-light: rgba(69, 161, 202, 0.22);
    --shadow-dark: rgba(6, 27, 36, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    overflow-x: hidden;
    background: var(--gradient-primary);
    color: var(--text-light);
}

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

/* إشعار علوي */
.top-notification {
    background: var(--gradient-primary);
    color: var(--accent-white);
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 999;
}

.top-notification::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { right: -100%; }
    100% { right: 100%; }
}

/* الهيدر */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px var(--shadow-dark);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--shadow-light);
}

.header.scrolled {
    top: 0;
    box-shadow: 0 8px 32px var(--shadow-dark);
    background: linear-gradient(120deg, rgba(31, 228, 182, 0.9) 0%, rgba(69, 161, 202, 0.9) 100%);
    backdrop-filter: blur(20px);
}

.header-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-silver);
    transform: scaleX(0);
    transform-origin: right;
    animation: lineExpand 0.8s ease forwards;
}

@keyframes lineExpand {
    to { transform: scaleX(1); }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 25px;
    position: relative;
}

/* اللوغو */
.logo-container {
    flex-shrink: 0;
    z-index: 10;
}

.logo-link {
    display: block;
    transition: var(--transition);
}

.logo {
    height: 65px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 12px var(--shadow-light));
    display: block;
}

.logo:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.2));
}

/* شريط البحث */
.search-container {
    flex: 1;
    max-width: 400px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-form {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    color: var(--accent-white);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-silver);
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.1);
    width: 100%;
}

.search-btn {
    position: absolute;
    left: 8px;
    background: transparent;
    border: none;
    color: var(--accent-white);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    background: linear-gradient(120deg, rgba(31, 228, 182, 0.95) 0%, rgba(69, 161, 202, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-dark);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    border: 1px solid var(--shadow-light);
}

.search-results.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* القائمة */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: var(--gradient-silver);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--gradient-silver);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-dark);
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0.15;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.dropdown-arrow {
    font-size: 10px;
    transition: var(--transition);
    display: inline-block;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* القائمة المنسدلة */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: linear-gradient(120deg, rgba(31, 228, 182, 0.95) 0%, rgba(69, 161, 202, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-dark);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border: 1px solid var(--shadow-light);
    padding: 10px 0;
    z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-white);
    padding-right: 25px;
}

/* أزرار الهيدر */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.search-toggle,
.notifications-btn,
.cart-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--accent-white);
    padding: 11px 13px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover,
.notifications-btn:hover,
.cart-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-silver);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.2);
}

/* زر الإشعارات */
.notifications-count {
    position: absolute;
    top: -6px;
    left: -6px;
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
    color: var(--accent-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
    border: 2px solid var(--primary-dark);
}

.notifications-btn.active {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.4);
}

/* قائمة الإشعارات - Sidebar */
.notifications-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: linear-gradient(120deg, rgba(31, 228, 182, 0.95) 0%, rgba(69, 161, 202, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 30px var(--shadow-dark);
    z-index: 2001;
    transform: translateX(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--shadow-light);
}

.notifications-sidebar.active {
    transform: translateX(0);
}

.notifications-sidebar-header {
    padding: 25px;
    border-bottom: 1px solid var(--shadow-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.notifications-sidebar-header h3 {
    font-size: 1.5rem;
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.notifications-close {
    background: transparent;
    border: none;
    color: var(--accent-white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.notifications-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.notifications-sidebar-actions {
    padding: 15px 25px;
    border-bottom: 1px solid var(--shadow-light);
    flex-shrink: 0;
}

.mark-all-read {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-silver);
    font-size: 13px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 8px;
    transition: var(--transition);
    width: 100%;
}

.mark-all-read:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-white);
    border-color: var(--accent-silver);
}

.notifications-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.notification-item {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
    background: rgba(255, 107, 107, 0.05);
    border-right: 3px solid #ff6b6b;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.notification-text {
    flex: 1;
}

.notification-text h4 {
    color: var(--accent-white);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.notification-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.notification-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    display: block;
}

.notifications-sidebar-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--shadow-light);
    text-align: center;
    flex-shrink: 0;
}

.view-all-link {
    color: var(--accent-silver);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.view-all-link:hover {
    color: var(--accent-white);
    transform: translateX(-3px);
}

.cart-count {
    background: var(--gradient-silver);
    color: var(--text-dark);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    position: absolute;
    top: -6px;
    left: -6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

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

/* زر القائمة للجوال */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.menu-toggle span {
    width: 22px;
    height: 2.5px;
    background: var(--accent-white);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.menu-toggle.active {
    background: rgba(255, 255, 255, 0.2);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* التصميم المتجاوب */
@media (max-width: 1200px) {
    .search-container {
        max-width: 300px;
    }
}

@media (max-width: 968px) {
    .header-content {
        gap: 15px;
        padding: 15px 0;
    }
    
    .logo {
        height: 55px;
    }
    
    .search-container {
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        left: 20px;
        max-width: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
        z-index: 1001;
    }
    
    .search-container.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .notifications-sidebar {
        width: 100%;
        max-width: 100%;
    }
    
    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        background: linear-gradient(120deg, rgba(31, 228, 182, 0.95) 0%, rgba(69, 161, 202, 0.95) 100%);
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 40px var(--shadow-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid var(--shadow-light);
        border-radius: 0 0 20px 20px;
    }
    
    .nav-menu.active {
        max-height: 600px;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 25px 20px;
        gap: 8px;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border-radius: 12px;
        justify-content: center;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-item-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.12);
        margin-top: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .search-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .header-content {
        padding: 12px 0;
    }
    
    .logo {
        height: 50px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 14px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .search-toggle,
    .notifications-btn,
    .cart-btn {
        padding: 9px 11px;
    }
    
    .search-toggle svg,
    .notifications-btn svg,
    .cart-btn svg {
        width: 20px;
        height: 20px;
    }
    
}

@media (max-width: 968px) {
    .hero-slider {
        height: 100vh;
        height: 100dvh; /* للجوال */
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    /* إخفاء أزرار التنقل في الجوال */
    .slider-nav {
        display: none !important;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
}

@media (max-width: 640px) {
    .hero-slider {
        height: 100vh;
        height: 100dvh;
    }
    
    .slide-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .slide-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* أزرار التنقل مخفية في الجوال */
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        height: 45px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .top-notification {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .hero-slider {
        height: 100vh;
        height: 100dvh;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-subtitle {
        font-size: 0.95rem;
    }
}

/* تأثيرات إضافية */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    animation: fadeInDown 0.6s ease;
}

.header.scrolled .logo {
    height: 55px;
}

/* المحتوى الرئيسي */
.main-content {
    min-height: 100vh;
    padding-top: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(192, 192, 192, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* السلايدر */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* خلفية احتياطية إذا لم توجد صورة */
    background-color: #0a0a0a;
    will-change: opacity;
}

/* خلفيات الصور للسلايدات - غيّر المسارات هنا */
.slide-1 {
    background-image: url('img/1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-2 {
    background-image: url('img/2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-3 {
    background-image: url('img/3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
    display: flex;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.slide-content {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.slide-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* مؤشرات السلايدر */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--accent-white);
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* أزرار التنقل */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-silver);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    right: 30px;
}

.slider-nav.next {
    left: 30px;
}

.section {
    min-height: 60vh;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.hero-section {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--accent-white);
}

.section-text {
    font-size: 1.2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* قسم عن المتجر */
.about-section {
    background: var(--gradient-primary);
}

.about-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 30px;
    align-items: flex-start;
}

.about-main {
    background: rgba(81, 163, 225, 0.28);
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 14px 45px rgba(6, 27, 36, 0.45);
    border: 1px solid rgba(93, 184, 255, 0.28);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(69, 161, 202, 0.14);
    border: 1px solid rgba(93, 184, 255, 0.45);
    font-size: 0.85rem;
    color: var(--accent-white);
    margin-bottom: 14px;
}

.about-subtitle {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.about-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-list {
    list-style: disc inside;
    margin: 0;
    padding: 0;
    color: rgba(255,255,255,0.85);
    font-size: 0.98rem;
}

.about-list li {
    margin-bottom: 6px;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.about-card {
    background: rgba(81, 163, 225, 0.28);
    border-radius: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(93, 184, 255, 0.28);
    box-shadow: 0 10px 30px rgba(6, 27, 36, 0.45);
}

.about-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--accent-white);
}

.about-card p {
    font-size: 0.95rem;
    color: rgba(230,230,230,0.9);
    line-height: 1.7;
}

.about-highlights {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.highlight-card {
    background: rgba(81, 163, 225, 0.28);
    padding: 18px 16px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(93, 184, 255, 0.24);
    box-shadow: 0 10px 25px rgba(6, 27, 36, 0.45);
}

.highlight-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-white);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.highlight-card p {
    margin: 0;
    color: rgba(230,230,230,0.8);
    font-size: 0.95rem;
}

.about-map {
    margin-top: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 25px;
    align-items: stretch;
}

.map-info {
    background: rgba(81, 163, 225, 0.28);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(93, 184, 255, 0.28);
    box-shadow: 0 15px 35px rgba(6, 27, 36, 0.5);
}

.map-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.map-info p {
    color: rgba(230,230,230,0.9);
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
}

.map-iframe-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(93, 184, 255, 0.32);
    box-shadow: 0 18px 40px rgba(6, 27, 36, 0.55);
    min-height: 260px;
}

.map-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-section {
    background: var(--gradient-primary);
}

.contact-content {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.contact-card {
    background: rgba(81, 163, 225, 0.28);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(93, 184, 255, 0.24);
    box-shadow: 0 15px 40px rgba(6, 27, 36, 0.5);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--accent-white);
}

.contact-card p {
    color: rgba(235,235,235,0.85);
    line-height: 1.7;
    margin-bottom: 16px;
}

.contact-details {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-details li {
    font-size: 0.95rem;
    color: rgba(230,230,230,0.85);
}

.contact-details span {
    display: block;
    font-weight: 600;
    color: var(--accent-silver);
}

.contact-details a {
    color: var(--accent-white);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: var(--accent-silver);
}

.social-card {
    background: rgba(81, 163, 225, 0.28);
}

.contact-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    flex: 1;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-btn.whatsapp {
    background: linear-gradient(120deg, #25D366, #22b358);
    box-shadow: 0 10px 20px rgba(34,179,88,0.35);
}

.social-btn.facebook {
    background: linear-gradient(120deg, #1877F2, #0f5ecc);
    box-shadow: 0 10px 20px rgba(15,94,204,0.35);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    box-shadow: 0 10px 20px rgba(220,39,67,0.35);
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.35);
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-map {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .about-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .about-main, .about-card {
        padding: 16px 14px;
    }
    .highlight-number { font-size: 1.4rem; }
    .map-info { padding: 18px; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInDown 1.2s ease;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(69, 161, 202, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(93, 184, 255, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-silver);
    transform: translateY(-3px);
}

/* تحسينات الأداء */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* شريط التمرير المخصص */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-silver);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-white);
}

/* قسم المنتجات */
.products-section {
    padding: 70px 0 60px 0;
    background: var(--gradient-primary);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 45px;
}
.product-card {
    display: flex;
    flex-direction: column;
    background: rgba(81, 163, 225, 0.28);
    border-radius: 22px;
    box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.25), 0 1.5px 16px 0 rgba(69, 161, 202, 0.18);
    overflow: hidden;
    transition: transform 0.21s cubic-bezier(0.65,0.05,0.36,1), box-shadow 0.21s;
    border: 1.5px solid rgba(93, 184, 255, 0.28);
    position: relative;
}
.product-card:hover {
    transform: translateY(-15px) scale(1.025);
    box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.35), 0 2px 24px 0 rgba(93, 184, 255, 0.28);
    border-color: #45a1ca;
}
.product-images {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(31, 228, 182, 0.9), rgba(69, 161, 202, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px;
}
.product-main-img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    transition: opacity 0.2s;
    margin: 0 auto 12px auto;
}
.product-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 10px;
}
.product-thumbs .thumb {
    width: 38px;
    height: 38px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    border: 2px solid transparent;
    background: rgba(69, 161, 202, 0.22);
    cursor: pointer;
    opacity: 0.8;
    transition: border 0.18s, opacity 0.18s;
}
.product-thumbs .thumb.active, .product-thumbs .thumb:hover {
    border: 2.2px solid var(--accent-silver);
    opacity: 1.0;
}
.product-info {
    padding: 22px 19px 19px 19px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}
.product-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--accent-white);
    margin-bottom: 9px;
}
.product-prices {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 9px;
}
.price-old {
    color: #f36a6a;
    font-size: 1rem;
    text-decoration: line-through;
    opacity: 0.68;
}
.price-new {
    color: #85e38b;
    font-size: 1.25rem;
    font-weight: bold;
}
.product-details {
    margin-bottom: 13px;
}
.product-details ul {
    list-style: disc inside;
    padding: 0;
    margin: 0 0 0 10px;
}
.product-details li {
    font-size: 0.98rem;
    margin-bottom: 2px;
    color: #e2e2e2;
    opacity: 0.94;
}
.buy-now-btn {
    background: var(--gradient-primary);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    padding: 12px 0;
    width: 100%;
    font-weight: 700;
    margin-top: 10px;
    box-shadow: 0 3px 18px #44cba422;
    transition: background 0.16s, box-shadow 0.2s, transform 0.2s;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
}
.buy-now-btn:hover {
    background: var(--gradient-silver);
    box-shadow: 0 6px 28px rgba(93, 184, 255, 0.32);
    transform: scale(1.035);
    color: #fff;
    text-decoration: none;
}

/* معرض صور المنتج (لايت بوكس) */
.product-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 27, 36, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 3000;
    backdrop-filter: blur(4px);
}
.product-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.product-lightbox {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: rgba(10, 55, 67, 0.9);
    border-radius: 16px;
    padding: 22px 52px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(95, 194, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
.product-lightbox img {
    max-width: 82vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(95, 194, 255, 0.32);
    background: #0c3b4a;
}
.lightbox-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(32, 227, 178, 0.2);
    color: #fff;
    border: 1px solid rgba(95, 194, 255, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, transform 0.18s;
}
.lightbox-close:hover {
    background: rgba(63, 194, 255, 0.3);
    transform: scale(1.06);
}
.lightbox-nav {
    background: rgba(32, 227, 178, 0.2);
    color: #fff;
    border: 1px solid rgba(95, 194, 255, 0.4);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, transform 0.18s;
}
.lightbox-nav:hover {
    background: rgba(63, 194, 255, 0.3);
    transform: scale(1.08);
}
.lightbox-nav.prev {
    order: 0;
}
.lightbox-nav.next {
    order: 2;
}
.lightbox-image {
    order: 1;
}
@media (max-width: 768px) {
    .product-lightbox {
        padding: 16px 32px;
        gap: 12px;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    .lightbox-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}
@media (max-width: 700px) {
    .products-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
    .product-images { aspect-ratio: 1; }
    .product-main-img { height: auto; max-height: 280px; }
    .product-card { border-radius: 13px; }
}

.header-icon {
    background: transparent;
    border: 1.5px solid var(--accent-silver);
    border-radius: 12px;
    color: var(--accent-silver);
    width: 44px;
    height: 44px;
    font-size: 21px;
    padding: 0;
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border 0.18s, color 0.18s;
    cursor: pointer;
    outline: none;
    position: relative;
    box-sizing: border-box;
}
.header-icon:hover,
.header-icon.active {
    background: rgba(255, 255, 255, 0.10);
    border-color: var(--accent-silver);
    color: var(--accent-white);
}

.lang-select-btn svg {
    display: block;
}

.lang-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-list-pop {
    position: absolute;
    top: 52px;
    right: 0;
    padding: 6px;
    background: rgba(20, 20, 22, 0.96);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75);
    display: none;
    flex-direction: column;
    gap: 5px;
    min-width: 80px;
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(192, 192, 192, 0.28);
    backdrop-filter: blur(12px);
    transition: opacity 0.18s, transform 0.18s;
    transform: translateY(-4px);
}
.lang-list-pop.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.lang-pop-option {
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: var(--accent-silver);
    padding: 7px 0;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border-radius: 999px;
    transition: background 0.14s, color 0.14s, transform 0.12s;
    width: 100%;
    text-align: center;
    outline: none;
}
.lang-pop-option:hover,
.lang-pop-option.active {
    background: var(--gradient-silver);
    color: #141418;
    transform: translateY(-1px);
}
@media (max-width: 700px) {
    .header-icon {
        width: 38px; height: 38px; font-size: 18px; border-radius: 9px;
    }
    .lang-list-pop {
        min-width: 50px; top: 43px;
    }
    .lang-pop-option { font-size: 12px; padding: 6px 0; }
}

.site-footer {
    background: linear-gradient(120deg, rgba(31, 228, 182, 0.14) 0%, rgba(69, 161, 202, 0.18) 100%), linear-gradient(120deg, #1fe4b6 0%, #45a1ca 100%);
    color: #eaeaea;
    padding: 44px 0 15px 0;
    border-top: 1.5px solid rgba(93, 184, 255, 0.28);
    text-align: center;
    margin-top: 0;
    font-size: 1.03em;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 31px;
    align-items: center;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    justify-content: center;
}
.footer-logo {
    width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 3px 16px #c0c0c01f; background: #101014;
    border: 1px solid #33334c; object-fit: contain;
}
.footer-brand-name {
    font-size: 1.4em;
    font-weight: bold;
    background: linear-gradient(90deg,#fff,#a0a0a0 95%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; letter-spacing: 2px;
}
.footer-links {
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
}
.footer-links a {
    color: #eaeaea; text-decoration: none; padding: 3px 9px; border-radius: 7px;
    font-weight: 500; font-size: 1em;
    transition: color .15s, background .15s;
}
.footer-links a:hover {
    color: #232442; background: #fff; text-decoration: underline;
}
.footer-socials {
    display: flex; gap: 20px; justify-content: center; }
.footer-social {
    display: flex; align-items: center; justify-content: center;
    width: 41px; height: 41px; border-radius: 50%; background: #22232b;
    box-shadow: 0 4px 14px #2e2f4350; font-size: 1.4em;
    color: #fff; transition: background-color 0.16s,transform 0.13s;
}
.footer-social.whatsapp { background: linear-gradient(123deg,#25D366,#128C7E); color: #fff;}
.footer-social.facebook { background: linear-gradient(123deg,#1877F2,#40558a); }
.footer-social.instagram {
  background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);}
.footer-social:hover { transform: scale(1.09); filter: brightness(1.07);}
.footer-copy {
    font-size: 0.97em;
    margin-top: 22px;
    color: #b8bac5;
    letter-spacing: 0.8px;
    opacity: 0.86;
}
@media (max-width: 600px) {
    .footer-content { gap: 17px; }
    .footer-links { gap: 11px; font-size: 0.98em; }
    .footer-logo { width: 34px; height: 34px; }
    .footer-socials { gap: 9px; }
    .footer-copy { font-size: 0.92em; }
}
