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

:root {
    --primary-red: #830c0c;
    --primary-gold: #D4AF37;
    --dark-red: #991B1B;
    --light-gold: #F7D794;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #374151;
    --text-dark: #1F2937;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    direction: rtl;
    text-align: right;
}

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

/* الهيدر */
.header {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 50%, var(--primary-red) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.animated-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    background-size: 200% 200%;
    animation: pulseGold 10s ease-in-out infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseGold {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.4; }
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}



.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 40px 20px;
}

.logo-section {
    margin-bottom: 40px;
}

.logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px var(--shadow-hover);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.company-name {
    font-family: 'Amiri', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--white), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* التنقل */
.navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
    padding: 0 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-large);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    backdrop-filter: blur(15px);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: var(--primary-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    border-color: var(--primary-gold);
}

.nav-link:active {
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.nav-link:hover i {
    transform: scale(1.1);
}

/* أزرار التواصل السريع */
.quick-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    text-decoration: none;
    border-radius: var(--border-radius-large);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #0d6b5c 100%);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.call-btn {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    color: var(--text-dark);
}

.call-btn:hover {
    background: linear-gradient(135deg, var(--light-gold) 0%, #e6c76f 100%);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.contact-btn:active {
    transform: translateY(-2px);
}

.contact-btn i {
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.contact-btn:hover i {
    transform: scale(1.15) rotate(5deg);
}

/* الأقسام العامة */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-red);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-gold));
    border-radius: 2px;
}

/* قسم من نحن */
.about-section {
    background: var(--light-gray);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    color: var(--dark-gray);
}

/* قسم الخدمات */
.services-section {
    background: var(--white);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 49%, rgba(212, 175, 55, 0.02) 50%, transparent 51%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px var(--shadow-hover);
    border-color: var(--primary-gold);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 25px;
    transition: var(--transition);
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.service-card:hover .service-icon {
    color: var(--primary-gold);
    transform: scale(1.15);
}

.service-card:hover .service-icon::after {
    transform: translate(-50%, -50%) scale(1);
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.service-card:hover h3 {
    color: var(--primary-red);
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* قسم المنتجات */
.products-section {
    background: var(--light-gray);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(131, 12, 12, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    group: hover;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px var(--shadow-hover);
    border-color: var(--primary-gold);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-name {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 25px 20px 20px;
    color: var(--text-dark);
    text-align: center;
    transition: var(--transition-fast);
    position: relative;
    z-index: 2;
}

.product-card:hover .product-name {
    color: var(--primary-red);
}

.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(135deg, #530909 0%, #830c0c 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    overflow: hidden;
    font-size: 1.05rem;
}

.order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transition: left 0.4s ease;
}

.order-btn:hover::before {
    left: 0;
}

.order-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.order-btn i {
    font-size: 1.3rem;
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
}

.order-btn span {
    position: relative;
    z-index: 1;
}

.order-btn:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* قسم اتصل بنا */
.contact-section {
    background: var(--white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    background: var(--white);
    box-shadow: 0 5px 20px var(--shadow);
    border-color: var(--primary-gold);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-red);
    min-width: 50px;
    text-align: center;
}

.contact-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* الفوتر */
.footer {
    background: var(--primary-red);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.footer-logo h3 {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-text p {
    font-size: 1rem;
    opacity: 0.9;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.quick-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.quick-links a:hover {
    color: var(--primary-gold);
    padding-right: 10px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px var(--shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
    color: var(--gray);
}


/* الأزرار العائمة */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    left: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 1000;
}

.floating-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.6rem;
    box-shadow: 0 8px 25px var(--shadow-strong);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
    opacity: 0.3;
}

.floating-btn:hover::before {
    transform: translate(-50%, -50%) scale(1.4);
}

.whatsapp-floating {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
}

.whatsapp-floating:hover {
    background: linear-gradient(135deg, #128C7E 0%, #0d6b5c 100%);
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.call-floating {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    color: var(--text-dark);
}

.call-floating:hover {
    background: linear-gradient(135deg, var(--light-gold) 0%, #e6c76f 100%);
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

.floating-btn:active {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .company-name {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .navigation {
        gap: 8px;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .nav-link {
        padding: 12px 18px;
        font-size: 0.9rem;
        border-radius: 15px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        font-size: 1.3rem;
    }
    
    .quick-contact {
        gap: 15px;
        margin-top: 20px;
    }
    
    .contact-btn {
        padding: 14px 22px;
        font-size: 1rem;
        border-radius: 15px;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .about-text {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .service-card {
        padding: 35px 25px;
        margin: 0 10px;
    }
    
    .service-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .product-card {
        margin: 0 10px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-name {
        font-size: 1.3rem;
        padding: 20px 15px 15px;
    }
    
    .order-btn {
        padding: 16px 15px;
        font-size: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin: 0 10px 15px;
        padding: 20px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 15px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 25px 15px;
    }
    
    .logo {
        width: 130px;
        height: 130px;
        margin-bottom: 15px;
    }
    
    .company-name {
        font-size: 1.9rem;
        margin-bottom: 20px;
    }
    
    .navigation {
        justify-content: center;
        gap: 6px;
        padding: 0 10px;
    }
    
    .nav-link {
        min-width: 50px;
        padding: 10px 14px;
        border-radius: 12px;
    }
    
    .nav-link i {
        font-size: 1.2rem;
    }
    
    .contact-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
        gap: 8px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.9rem;
        margin-bottom: 35px;
    }
    
    .service-card {
        padding: 30px 20px;
        margin: 0 5px;
    }
    
    .service-icon {
        font-size: 2.8rem;
        margin-bottom: 18px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .product-card {
        margin: 0 5px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-name {
        font-size: 1.2rem;
        padding: 18px 12px 12px;
    }
    
    .order-btn {
        padding: 14px 12px;
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .contact-item {
        padding: 18px 12px;
        margin: 0 5px 12px;
    }
    
    .contact-icon {
        font-size: 1.8rem;
    }
    
    .contact-details h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .quick-links {
        gap: 8px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}

/* تحسينات إضافية للتفاعل */
.nav-link:active,
.contact-btn:active,
.order-btn:active,
.floating-btn:active {
    transform: scale(0.96);
}

/* تحسين الأداء */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* تأثيرات التمرير المحسنة */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .product-card,
    .contact-item {
        opacity: 0;
        transform: translateY(40px);
        animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    
    .product-card:nth-child(1) { animation-delay: 0.1s; }
    .product-card:nth-child(2) { animation-delay: 0.15s; }
    .product-card:nth-child(3) { animation-delay: 0.2s; }
    .product-card:nth-child(4) { animation-delay: 0.25s; }
    .product-card:nth-child(5) { animation-delay: 0.3s; }
    .product-card:nth-child(6) { animation-delay: 0.35s; }
}

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

/* تحسين إمكانية الوصول */
.nav-link:focus,
.contact-btn:focus,
.order-btn:focus,
.floating-btn:focus {
    outline: 3px solid var(--primary-gold);
    outline-offset: 2px;
}

/* تحسين التباين للنصوص */
.service-card p,
.about-text,
.contact-details p {
    color: #2d3748;
}

/* تأثيرات تحميل محسنة */
.product-image,
.logo {
    opacity: 0;
    animation: fadeInImage 0.8s ease forwards;
}

.logo {
    animation-delay: 0.2s;
}

.product-card:nth-child(1) .product-image { animation-delay: 0.3s; }
.product-card:nth-child(2) .product-image { animation-delay: 0.4s; }
.product-card:nth-child(3) .product-image { animation-delay: 0.5s; }
.product-card:nth-child(4) .product-image { animation-delay: 0.6s; }
.product-card:nth-child(5) .product-image { animation-delay: 0.7s; }
.product-card:nth-child(6) .product-image { animation-delay: 0.8s; }

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

/* تحسين الخطوط والقراءة */
body {
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

/* تحسين التمرير */
html {
    scroll-padding-top: 80px;
}

/* تحسين الظلال والتأثيرات */
.service-card,
.product-card,
.contact-item {
    will-change: transform, box-shadow;
}

/* تحسين الانتقالات */
.nav-link,
.contact-btn,
.order-btn,
.floating-btn {
    will-change: transform, background-color, box-shadow;
}



/* تأثيرات احترافية إضافية */

/* تأثير الشعار المتحرك */
.logo {
    animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 10px 30px var(--shadow-hover);
    }
    50% {
        box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    }
}

/* تأثير النص المتدرج للعنوان */
.company-name {
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% {
        background: linear-gradient(45deg, var(--white), var(--light-gold));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    50% {
        background: linear-gradient(45deg, var(--light-gold), var(--white), var(--primary-gold));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* تأثير الجسيمات المتحركة في الخلفية */
.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(212, 175, 55, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes sparkle {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

/* تأثير التمرير السلس للأقسام */
.section-title {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInTitle 0.8s ease forwards;
}

@keyframes slideInTitle {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأثير الهوفر المحسن للبطاقات */
.service-card,
.product-card {
    position: relative;
    overflow: hidden;
}

.service-card::before,
.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::before,
.product-card:hover::before {
    animation: shimmer 0.6s ease;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* تأثير النبض للأزرار العائمة */
.floating-btn {
    position: relative;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* تأثير التدرج المتحرك للأزرار */
.order-btn,
.contact-btn {
    background-size: 200% 100%;
    transition: all 0.3s ease;
}

.order-btn {
    background: linear-gradient(45deg, #530909, #830c0c, #530909);
}

.order-btn:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(83, 9, 9, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #128C7E, #25D366);
}

.whatsapp-btn:hover {
    background-position: 100% 0;
}

.call-btn {
    background: linear-gradient(45deg, var(--primary-gold), var(--light-gold), var(--primary-gold));
}

.call-btn:hover {
    background-position: 100% 0;
}

/* تأثير الانزلاق للروابط في التنقل */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
    transition: left 0.3s ease;
}

.nav-link:hover::after {
    left: 0;
}

/* تأثير التوهج للأيقونات */
.service-icon,
.contact-icon {
    filter: drop-shadow(0 0 10px transparent);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}

.contact-item:hover .contact-icon {
    filter: drop-shadow(0 0 15px rgba(131, 12, 12, 0.5));
}

/* تأثير الكتابة المتحركة للنصوص */
.about-text {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInText 0.8s ease forwards;
}

.about-text:nth-child(2) {
    animation-delay: 0.2s;
}

.about-text:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideInText {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* تحسين الاستجابة للأجهزة المحمولة */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .header::after {
        background-size: 150px 75px;
    }
    
    .animated-background::before {
        animation-duration: 8s;
    }
}

/* تأثير التحميل السلس للصور */
.product-image,
.logo {
    opacity: 0;
    animation: fadeInImage 0.6s ease forwards;
}

.product-card:nth-child(1) .product-image { animation-delay: 0.1s; }
.product-card:nth-child(2) .product-image { animation-delay: 0.2s; }
.product-card:nth-child(3) .product-image { animation-delay: 0.3s; }
.product-card:nth-child(4) .product-image { animation-delay: 0.4s; }
.product-card:nth-child(5) .product-image { animation-delay: 0.5s; }
.product-card:nth-child(6) .product-image { animation-delay: 0.6s; }

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

/* تأثير الخط السفلي المتحرك للعناوين */
.section-title::after {
    animation: expandLine 1s ease forwards;
    transform-origin: center;
    transform: translateX(-50%) scaleX(0);
}

@keyframes expandLine {
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

