/* --- الإعدادات العامة والمتغيرات المأخوذة من ألوان الشعار --- */
:root {
    --primary-gradient: linear-gradient(135deg, #1d75bd 0%, #9d2a8c 50%, #f39c12 100%);
    --insta-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --color-blue: #1d75bd;
    --color-purple: #9d2a8c;
    --color-gold: #f39c12;
    --color-cyan: #00b4d8;
    --dark-text: #1a202c;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- بار الشحن العلوي المضاف حديثاً (مثل الموقع المطلوب) --- */
.top-shipping-bar {
    background: #1a202c;
    color: #ffffff;
    padding: 8px 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 2px solid var(--color-gold);
    z-index: 1001;
    position: relative;
}

.top-shipping-bar p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.top-shipping-bar i {
    color: var(--color-gold);
    font-size: 1.1rem;
}

/* تأثير حركة اهتزاز للشاحنة لزيادة التفاعل التسويقي */
.animate-truck {
    animation: truckWobble 2.5s ease infinite;
}

@keyframes truckWobble {
    0% { transform: translateX(0); }
    5% { transform: translateX(-3px) rotate(-2deg); }
    10% { transform: translateX(2px) rotate(2deg); }
    15% { transform: translateX(-2px) rotate(-1deg); }
    20% { transform: translateX(1px) rotate(1deg); }
    25% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

/* --- زر الواتساب العائم بتأثير نبضي جذاب --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- القائمة العلوية الهيدر --- */
.main-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 999;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* حركات هافير (Hover Effects) ناعمة */
.nav-menu a:hover {
    color: var(--color-purple);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* تنسيق مميز لرابط موقعنا الرياض بجانب اتصل بنا */
.nav-menu .nav-location-link {
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px dashed var(--color-gold);
    padding: 4px 12px;
    border-radius: 20px;
}

.nav-menu .nav-location-link::after {
    display: none; /* إلغاء الخط السفلي الافتراضي */
}

.nav-menu .nav-location-link:hover {
    background-color: var(--color-gold);
    color: var(--white);
    border-style: solid;
    transform: translateY(-2px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.instagram-top-link {
    font-size: 24px;
    color: #e1306c;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.instagram-top-link:hover {
    transform: scale(1.2) rotate(-8deg);
    background: var(--insta-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- الأزرار --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(157, 42, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29, 117, 189, 0.4);
}

.btn-secondary {
    background-color: var(--dark-text);
    color: var(--white);
    border: none;
}

.btn-secondary:hover {
    background-color: var(--color-blue);
    transform: translateY(-2px);
}

.btn-outline-insta {
    border: 2px solid #e1306c;
    color: #e1306c;
}

.btn-outline-insta:hover {
    background: var(--insta-gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

/* --- القسم الرئيسي البصري Hero --- */
.hero-section {
    padding: 80px 0;
    background: radial-gradient(circle at 10% 20%, rgba(29, 117, 189, 0.05) 0%, rgba(157, 42, 140, 0.03) 90%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.badge {
    background-color: rgba(29, 117, 189, 0.1);
    color: var(--color-blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.highlight-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-img {
    max-width: 80%;
    height: auto;
    animation: floatAnimation 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- العناوين المشتركة للأقسام --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-title p {
    color: #718096;
}

/* --- قسم الخدمات الخدمات --- */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
    transition: var(--transition-smooth);
    text-align: center;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(157, 42, 140, 0.08);
    color: var(--color-purple);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    transition: var(--transition-smooth);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #4a5568;
    font-size: 0.95rem;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(29, 117, 189, 0.12);
    border-color: rgba(29, 117, 189, 0.2);
}

.service-card:hover .icon-box {
    background: var(--primary-gradient);
    color: var(--white);
    transform: rotateY(180deg);
}

/* --- قسم المميزات وعوامل الثقة --- */
.features-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.features-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.feature-item i {
    font-size: 24px;
    color: var(--color-cyan);
    margin-top: 5px;
}

.feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.feature-item p {
    color: #4a5568;
    font-size: 0.95rem;
}

.features-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-box {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
}

/* --- معرض الأعمال والمطبوعات --- */
.products-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.product-item {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-img-wrapper {
    background-color: #edf2f7;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img {
    transition: transform 0.5s ease;
}

.product-item:hover .product-img {
    transform: scale(1.08);
}

.product-info {
    padding: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تصميم زر طلب الواتساب الذكي والمخصص تحت كل منتج */
.btn-product-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25d366;
    color: var(--white);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
}

.btn-product-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(18, 140, 126, 0.4);
    color: var(--white);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* --- قسم الاتصال والخريطة المدمجة --- */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--dark-text);
    border: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
}

.info-card i {
    font-size: 28px;
    color: var(--color-blue);
    width: 50px;
    height: 50px;
    background-color: rgba(29, 117, 189, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.info-card p {
    color: #718096;
    font-size: 0.95rem;
}

/* تأثيرات حركات هافير المخصصة والملونة لقنوات السوشيال ميديا */
.info-card:hover {
    transform: translateX(-8px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-card-whatsapp:hover {
    border-color: #25d366;
}
.info-card-whatsapp:hover i {
    background-color: #25d366;
    color: var(--white);
}

.info-card-instagram:hover {
    border-color: #e1306c;
}
.info-card-instagram:hover i {
    background: var(--insta-gradient);
    color: var(--white);
}

.info-card:not(.info-card-whatsapp):not(.info-card-instagram):hover {
    border-color: var(--color-purple);
}
.info-card:not(.info-card-whatsapp):not(.info-card-instagram):hover i {
    background-color: var(--color-purple);
    color: var(--white);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 350px;
}

/* --- التذييل (Footer) --- */
.main-footer {
    background-color: var(--dark-text);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 22px;
    transition: var(--transition-smooth);
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-socials a:hover {
    color: var(--white);
    transform: translateY(-5px);
}

.footer-socials a:nth-child(1):hover {
    background: var(--insta-gradient);
    border-color: transparent;
}

.footer-socials a:nth-child(2):hover {
    background-color: #25d366;
    border-color: transparent;
}

.footer-socials a:nth-child(3):hover {
    background-color: var(--color-blue);
    border-color: transparent;
}

.footer-bottom p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.footer-bottom strong {
    color: var(--white);
}

/* --- Atlantic Responsive والتوافقية للهواتف --- */
@media (max-width: 992px) {
    .hero-container, .features-wrapper, .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu ul {
        gap: 15px;
    }
    .features-stats {
        flex-direction: row;
    }
    .stat-box {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .features-stats {
        flex-direction: column;
    }
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}