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

:root {
    --primary-red: #B91C1C;
    --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.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

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-gold) 100%);
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(212, 175, 55, 0.1) 50%, 
        transparent 70%);
    background-size: 200% 200%;
    animation: gradientMove 8s ease-in-out infinite;
    z-index: 1;
}

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

.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: 15px;
    margin-bottom: 30px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

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

.nav-link i {
    font-size: 1.1rem;
}

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

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.whatsapp-btn {
    background: #25D366;
    color: var(--white);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.call-btn {
    background: var(--primary-gold);
    color: var(--text-dark);
}

.call-btn:hover {
    background: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* الأقسام العامة */
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);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--primary-gold);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--primary-gold);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 20px;
    color: var(--text-dark);
    text-align: center;
}

.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: #530909;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: #128C7E;
    color: var(--white);
}

.order-btn i {
    font-size: 1.2rem;
}

/* قسم اتصل بنا */
.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: linear-gradient(135deg, var(--primary-red), var(--dark-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;
}

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

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px var(--shadow-hover);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-floating {
    background: #dd0707;
    color: var(--white);
}

.whatsapp-floating:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.call-floating {
    background: var(--primary-gold);
    color: var(--text-dark);
}

.call-floating:hover {
    background: var(--light-gold);
    transform: scale(1.1);
}

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

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .company-name {
        font-size: 2rem;
    }
    
    .navigation {
        gap: 10px;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        font-size: 1.2rem;
    }
    
    .quick-contact {
        gap: 15px;
    }
    
    .contact-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-buttons {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 20px 10px;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .navigation {
        justify-content: center;
    }
    
    .nav-link {
        min-width: 50px;
        padding: 8px 12px;
    }
    
    .contact-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .product-name {
        font-size: 1.2rem;
        padding: 15px;
    }
    
    .order-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .contact-item {
        padding: 20px 15px;
    }
    
    .contact-icon {
        font-size: 1.8rem;
    }
    
    .contact-details h3 {
        font-size: 1.2rem;
    }
    
    .contact-details p {
        font-size: 1rem;
    }
}

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

/* تأثيرات التمرير */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .product-card,
    .contact-item {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease 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; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
    .service-card:nth-child(6) { animation-delay: 0.6s; }
}

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

