/*
Theme Name: Astra Child - Tech Pro
Theme URI: https://tech.3ezit.com
Description: هوية tech pro الكاملة - ألوان مودرن جريئة
Author: tech pro
Template: astra
Version: 2.0.0
*/

/* استيراد خط Tajawal من Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ===================================
   ألوان الهوية - مودرن وجريئة
   =================================== */
:root {
    /* الألوان الأساسية - نيون أزرق وبرتقالي برّاق */
    --tech-primary: #00D9FF;      /* أزرق نيون مودرن */
    --tech-secondary: #FF3D00;    /* برتقالي أحمر جريء */
    --tech-dark: #0A0E27;         /* أزرق داكن عميق */
    --tech-darker: #050816;       /* أغمق للخلفيات */
    --tech-light: #FFFFFF;        /* أبيض نقي */
    --tech-gray: #8B92A9;         /* رمادي للنصوص الثانوية */
    --tech-success: #00F5A0;      /* أخضر نيون */
    --tech-gradient-primary: linear-gradient(135deg, #00D9FF 0%, #0099FF 100%);
    --tech-gradient-secondary: linear-gradient(135deg, #FF3D00 0%, #FF6B35 100%);
    --tech-gradient-dark: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 100%);
}

/* ===================================
   الخطوط - Tajawal
   =================================== */
* {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body {
    font-weight: 400;
    background: #F8F9FD;
    color: var(--tech-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tajawal', sans-serif !important;
    font-weight: 800;
}

/* ===================================
   الهيدر - تصميم مودرن جريء
   =================================== */
.site-header {
    background: var(--tech-gradient-dark);
    padding: 20px 0;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
    border-bottom: 3px solid var(--tech-primary);
}

.site-header .site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
}

.site-title a {
    color: var(--tech-light) !important;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--tech-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
    transition: all 0.3s ease;
}

.site-title a:hover {
    letter-spacing: 5px;
}

.site-description {
    color: var(--tech-primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* قائمة الهيدر */
.main-header-menu {
    display: flex;
    gap: 10px;
}

.main-header-menu > .menu-item > a {
    color: var(--tech-light) !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-header-menu > .menu-item > a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--tech-gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
    border-radius: 50px;
}

.main-header-menu > .menu-item:hover > a:before,
.main-header-menu > .menu-item.current-menu-item > a:before {
    left: 0;
}

.main-header-menu > .menu-item:hover > a,
.main-header-menu > .menu-item.current-menu-item > a {
    color: var(--tech-dark) !important;
    transform: translateY(-2px);
}

/* ===================================
   الأزرار - جريئة ومودرن
   =================================== */
.button, .btn, 
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.ast-button,
.wp-block-button__link {
    background: var(--tech-gradient-secondary) !important;
    color: var(--tech-light) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 61, 0, 0.4);
    position: relative;
    overflow: hidden;
}

}

.button:hover, .btn:hover {
    background: var(--tech-gradient-primary) !important;
}

.button:hover, .btn:hover,
.woocommerce a.button:hover {
    background: var(--tech-gradient-primary) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.5);
}

}

/* ===================================
   بطاقات المنتجات - مودرن
   =================================== */
.woocommerce ul.products li.product {
    background: var(--tech-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(10, 14, 39, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
}

.woocommerce ul.products li.product:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--tech-gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: 20px;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
    border-color: var(--tech-primary);
}

.woocommerce ul.products li.product:hover:before {
    opacity: 0.05;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--tech-dark);
    font-weight: 800;
    font-size: 1.2rem;
    margin-top: 15px;
}

.woocommerce ul.products li.product .price {
    color: var(--tech-secondary);
    font-weight: 900;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(255, 61, 0, 0.2);
}

/* Badge التخفيضات */
.woocommerce span.onsale {
    background: var(--tech-gradient-secondary);
    border-radius: 50px;
    font-weight: 800;
    padding: 8px 20px;
    box-shadow: 0 5px 20px rgba(255, 61, 0, 0.4);
}

/* ===================================
   الفوتر - مودرن وجريء
   =================================== */
.site-footer {
    background: var(--tech-gradient-dark);
    color: var(--tech-light);
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 3px solid var(--tech-primary);
    position: relative;
}

.site-footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tech-gradient-primary);
}

.site-footer h3,
.site-footer h4 {
    color: var(--tech-primary);
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.site-footer a {
    color: var(--tech-gray);
    transition: all 0.3s ease;
    font-weight: 500;
}

.site-footer a:hover {
    color: var(--tech-primary);
    padding-right: 5px;
}

.site-footer .widget {
    margin-bottom: 30px;
}

.site-info {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--tech-gray);
    font-weight: 500;
}

.site-info a {
    color: var(--tech-primary);
    font-weight: 700;
}

/* ===================================
   صفحة المنتج الواحد
   =================================== */
.woocommerce div.product {
    background: var(--tech-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(10, 14, 39, 0.1);
}

.woocommerce div.product .product_title {
    color: var(--tech-dark);
    font-weight: 900;
    font-size: 2.5rem;
}

.woocommerce div.product p.price {
    color: var(--tech-secondary);
    font-weight: 900;
    font-size: 2rem;
}

/* ===================================
   الأقسام والعناوين
   =================================== */
.entry-title,
.page-title,
.woocommerce-products-header__title {
    font-weight: 900;
    color: var(--tech-dark);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.entry-title:after,
.page-title:after,
.woocommerce-products-header__title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 4px;
    background: var(--tech-gradient-primary);
    border-radius: 2px;
}

/* ===================================
   رسائل النجاح والإشعارات
   =================================== */
.woocommerce-message,
.woocommerce-info {
    border-top-color: var(--tech-success);
    background: rgba(0, 245, 160, 0.1);
    border-right: 4px solid var(--tech-success);
    font-weight: 600;
}

.woocommerce-error {
    border-top-color: var(--tech-secondary);
    background: rgba(255, 61, 0, 0.1);
    border-right: 4px solid var(--tech-secondary);
    font-weight: 600;
}

/* ===================================
   حقول الإدخال
   =================================== */
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
textarea,
select {
    border: 2px solid #E0E6ED;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
textarea:focus,
select:focus {
    border-color: var(--tech-primary);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
    outline: none;
}

/* ===================================
   التوافق مع RTL
   =================================== */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .entry-title:after,
body.rtl .page-title:after {
    right: auto;
    left: 0;
}

/* ===================================
   التوافق مع الموبايل
   =================================== */
@media (max-width: 768px) {
    .site-title a {
        font-size: 1.8rem !important;
        letter-spacing: 2px;
    }
    
    .main-header-menu > .menu-item > a {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .button, .btn {
        padding: 12px 30px !important;
        font-size: 1rem !important;
    }
    
    .woocommerce ul.products li.product .price {
        font-size: 1.3rem;
    }
}

/* ===================================
   تأثيرات إضافية
   =================================== */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 217, 255, 0.5); }
    50% { text-shadow: 0 0 30px rgba(0, 217, 255, 0.8); }
}

.site-title a:hover {
    animation: glow 2s ease-in-out infinite;
}
