/* أنماط CSS المحسنة لـ Sea Zone */
:root {
    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary-color: #c4b5fd;
    --accent-color: #ddd6fe;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --light-bg: #fafaf9;
    --white: #ffffff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --purple-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --shadow-sm: 0 2px 4px rgba(139, 92, 246, 0.1);
    --shadow-md: 0 4px 8px rgba(139, 92, 246, 0.15);
    --shadow-lg: 0 8px 16px rgba(139, 92, 246, 0.2);
    --shadow-xl: 0 12px 24px rgba(139, 92, 246, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 50px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    direction: rtl;
    overflow-x: hidden;
}

body.no-video-bg {
    background: linear-gradient(135deg, #f9fafb 0%, #f5f3ff 100%);
}

/* فيديو الخلفية */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(167, 139, 250, 0.16) 50%, 
        rgba(196, 181, 253, 0.13) 100%);
    z-index: -1;
}

/* الأنيميشنات */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* شريط التنقل */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    animation: float 4s ease-in-out infinite;
}

.logo:hover {
    transform: rotate(10deg) scale(1.05);
}

.nav-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
    transform: none;
}

.nav-link.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
}

.nav-link.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.25rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(139, 92, 246, 0.2);
}

.bar {
    width: 22px;
    height: 2.5px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* قسم الهيرو */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 1.5rem 1rem;
    position: relative;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease-out, scaleIn 0.8s ease-out;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(-45deg, var(--primary-color), var(--primary-light), var(--secondary-color), var(--primary-color));
    background-size: 400% 400%;
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

.cta-button::after {
    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.7s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-button:hover::after {
    left: 100%;
}

.cta-button.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: none;
}

.cta-button.whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    animation: bounce 2s infinite;
}

/* الأقسام العامة */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--purple-gradient);
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* قسم عن الشركة */
.about-section {
    background: var(--white);
}

.about-text p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(139, 92, 246, 0.1);
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--purple-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    transform: rotateY(180deg) scale(1.1);
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.service-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* قسم الأصناف - 3 كروت بالسطر */
.categories-section {
    background: linear-gradient(135deg, #fafaf9 0%, #f8f7ff 100%);
}

.categories-grid,
.categories-grid-full,
.products-grid,
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--purple-gradient);
    color: white;
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.8rem;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(139, 92, 246, 0.1);
    transition: var(--transition);
}

.category-link:hover {
    gap: 0.7rem;
    background: rgba(139, 92, 246, 0.2);
    transform: none;
}

.view-all {
    text-align: center;
    margin-top: 2.5rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(-45deg, var(--primary-color), var(--primary-light), var(--secondary-color), var(--primary-color));
    background-size: 400% 400%;
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

.view-all-btn::after {
    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.7s;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.view-all-btn:hover::after {
    left: 100%;
}

/* قسم المميزات */
.features-section {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(139, 92, 246, 0.1);
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card i {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover i {
    transform: scale(1.2);
    color: var(--primary-dark);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* قسم المعلومات */
.info-section {
    background: linear-gradient(135deg, #f5f3ff, #faf5ff);
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(139, 92, 246, 0.1);
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.info-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.info-card:hover i {
    transform: translateY(-5px);
    color: var(--primary-dark);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* صفحة المنتجات */
.category-hero {
    background: var(--purple-gradient);
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.category-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.category-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.products-page {
    padding: 3rem 0;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.order-btn:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.order-btn:hover::before {
    left: 100%;
}

.more-products {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f5f3ff, #faf5ff);
    border-radius: var(--radius-lg);
}

.more-products h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.more-products-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-size: 1rem;
}

.more-products-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* صفحة الاتصال */
.contact-page {
    padding: 8rem 0 3rem;
    margin-top: 70px;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.page-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card,
.contact-form-card,
.shipping-info-card,
.payment-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(139, 92, 246, 0.1);
    margin-bottom: 2rem;
}

.contact-card h2,
.contact-form-card h2,
.shipping-info-card h2,
.payment-info-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-details,
.shipping-details,
.payment-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item,
.shipping-item,
.payment-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-item:hover,
.shipping-item:hover,
.payment-item:hover {
    background: rgba(139, 92, 246, 0.05);
    transform: translateX(-5px);
}

.contact-item i,
.shipping-item i,
.payment-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 0.2rem;
    min-width: 24px;
}

.contact-item h3,
.shipping-item h3,
.payment-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.contact-item p,
.shipping-item p,
.payment-item p,
.contact-item a {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.note {
    font-size: 0.9rem !important;
    color: var(--primary-color) !important;
    font-style: italic;
}

/* قسم التواصل الاجتماعي */
.social-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.social-contact h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
}

.social-contact h3 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.social-contact .social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
}

.social-contact .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    border: none;
    color: white;
    box-shadow: var(--shadow-sm);
}

.social-contact .social-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-contact .social-btn span {
    font-size: 0.95rem;
}

.social-contact .social-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #0d5fcc);
}

.social-contact .social-btn.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584);
}

.social-contact .social-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-contact .social-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.7s ease;
}

.social-contact .social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-contact .social-btn:hover::before {
    left: 100%;
}

.social-contact .social-btn:hover i {
    transform: scale(1.2);
}

/* نموذج الاتصال */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1.5px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(-45deg, var(--primary-color), var(--primary-light), var(--secondary-color), var(--primary-color));
    background-size: 400% 400%;
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

.submit-btn::after {
    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.7s;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:hover::after {
    left: 100%;
}

.direct-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.direct-contact h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.direct-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.direct-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.direct-btn::after {
    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.7s;
}

.direct-btn:hover::after {
    left: 100%;
}

.direct-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e, #25d366);
    background-size: 200% 200%;
    color: white;
}

.direct-btn.whatsapp-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.7s;
}

.direct-btn.whatsapp-btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.direct-btn.whatsapp-btn:hover::before {
    left: 100%;
}

.direct-btn.phone-btn {
    background: linear-gradient(-45deg, var(--primary-color), var(--primary-light), var(--secondary-color), var(--primary-color));
    background-size: 400% 400%;
    color: white;
    animation: gradientShift 3s ease infinite;
}

.direct-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* الأسئلة الشائعة */
.faq-section {
    background: linear-gradient(135deg, #f5f3ff, #faf5ff);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* التذييل - محسّن */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    padding: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    padding: 3px;
    transition: var(--transition);
}

.footer-logo img:hover {
    transform: rotate(15deg) scale(1.05);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.footer-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.8rem;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 3px;
    background: var(--purple-gradient);
    border-radius: var(--radius-full);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-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.7s;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn.facebook { 
    background: linear-gradient(135deg, #1877f2, #0d5fcc);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.social-btn.instagram { 
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584);
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.3);
}

.social-btn.whatsapp { 
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.social-btn:hover {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
    position: relative;
    padding-right: 1rem;
}

.footer-links li::before {
    content: '→';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links li:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: white;
    padding-right: 1.5rem;
}

.footer-links a i {
    font-size: 1.1rem;
    color: var(--primary-color);
    width: 24px;
}

.contact-info p,
.working-hours p {
    color: #cbd5e0;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.6;
}

.contact-info p i,
.working-hours p i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 24px;
}

.contact-info a {
    color: #cbd5e0;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.contact-info a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 1rem;
}

.made-with {
    margin-top: 0.8rem;
    opacity: 0.9;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.made-with i {
    color: #ff6b6b;
    animation: pulse 2s infinite;
}

/* الأزرار العائمة */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite, float 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--purple-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* أنيميشن للعناصر عند التمرير */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* قسم خطوط الانتاج - محسّن */
.production-lines-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f7ff 0%, #f5f3ff 100%);
}

.production-lines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.production-line-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.production-line-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.15);
}

.production-line-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--purple-gradient);
    transition: all 0.4s ease;
    opacity: 0;
}

.production-line-card:hover::before {
    height: 100%;
    opacity: 0.05;
    width: 100%;
}

.production-line-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.1));
    color: var(--primary-color);
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.production-line-card:hover .production-line-icon {
    transform: scale(1.15);
    background: var(--purple-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.production-line-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.production-line-card:hover h3 {
    color: var(--primary-color);
}

.production-line-card .line-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.production-line-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    z-index: 2;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.production-line-link:hover {
    background: var(--purple-gradient);
    color: white;
    border-color: transparent;
    transform: translateX(-5px);
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* تمييز قسم خطوط الانتاج في الصفحة الرئيسية */
.category-card.production-line-card {
    position: relative;
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(255, 255, 255, 0.95));
}

.category-card.production-line-card .category-icon {
    background: var(--purple-gradient) !important;
    color: white !important;
}

.category-card.production-line-card h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.special-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse 2s infinite;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.special-badge i {
    margin-left: 3px;
}

/* صفحة خطوط الانتاج المنفصلة */
.production-lines-catalog {
    padding: 4rem 0;
    background: white;
}

.catalog-inquiry {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.1));
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 4rem;
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.catalog-inquiry h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.catalog-inquiry h2 i {
    color: var(--primary-color);
}

.catalog-inquiry p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.catalog-inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.catalog-inquiry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    gap: 1.2rem;
}

/* قسم التفاصيل الرئيسي */
.production-line-details {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f8f7ff 100%);
    min-height: calc(100vh - 200px);
}

.line-description {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    border: 2px solid rgba(139, 92, 246, 0.15);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.line-description h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
}

.line-description p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.1rem;
    text-align: justify;
    padding-right: 0.5rem;
}

.line-description p:last-child {
    margin-bottom: 0;
}

/* معرض الصور */
.line-gallery {
    margin-bottom: 3rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(139, 92, 246, 0.15);
}

.line-gallery h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item p {
    padding: 1.2rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    background: var(--white);
    margin: 0;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

/* المواصفات الفنية */
.specifications {
    margin-bottom: 3rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(139, 92, 246, 0.15);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.spec-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(167, 139, 250, 0.05));
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.spec-item:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.1));
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.spec-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    transition: transform 0.3s ease;
}

.spec-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.spec-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.spec-item p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* قسم الملاحظات */
.notes-section {
    margin-bottom: 3rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(139, 92, 246, 0.15);
}

.notes-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border-right: 4px solid transparent;
}

.note-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-right-color: var(--primary-color);
    transform: translateX(-5px);
}

.note-item i {
    color: var(--success-color);
    font-size: 1.3rem;
    margin-top: 0.2rem;
    min-width: 24px;
}

.note-item p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* خطوط الإنتاج الأخرى */
.other-lines {
    margin-bottom: 3rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(139, 92, 246, 0.15);
}

.other-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.line-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.line-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.7s;
}

.line-link:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--white);
}

.line-link:hover::before {
    left: 100%;
}

/* قسم الاستفسار */
.inquiry-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark), #7c3aed);
    background-size: 400% 400%;
    padding: 4rem 0;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    animation: gradientShift 6s ease infinite;
}

.inquiry-box {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.inquiry-box h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.inquiry-box p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 3rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.inquiry-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.7s;
}

.inquiry-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: var(--primary-dark);
    border-color: var(--primary-light);
}

.inquiry-btn:hover::after {
    left: 100%;
}

.inquiry-btn i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.inquiry-btn:hover i {
    transform: scale(1.2);
}

/* مودال الصور */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-image {
    max-width: 85%;
    max-height: 65%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.4);
    border: 3px solid var(--primary-color);
    transform: scale(0.9);
    transition: transform 0.5s ease;
}

.image-modal.active .modal-image {
    transform: scale(1);
}

.modal-caption {
    color: white;
    margin: 1.5rem 0;
    font-size: 1.4rem;
    text-align: center;
    max-width: 80%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-modal:hover {
    background: var(--primary-dark);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-inquiry-btn {
    background: linear-gradient(135deg, #25d366, #128c7e, #25d366);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.whatsapp-inquiry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    background-position: right center;
}

/* تحسينات للشاشات الكبيرة جداً */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .categories-grid,
    .categories-grid-full,
    .products-grid {
        gap: 2rem;
    }
    
    .category-card,
    .product-card {
        min-height: 220px;
        padding: 2.5rem;
    }
}

/* تحسينات للشاشات المتوسطة */
@media (min-width: 769px) and (max-width: 1024px) {
    /* شاشات متوسطة - 3 كروت بالسطر */
    .categories-grid,
    .categories-grid-full,
    .products-grid,
    .info-grid,
    .contact-content,
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .production-lines-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    /* تعديل حجم الكروت لتناسب الشاشات المتوسطة */
    .category-card,
    .product-card {
        min-height: 180px;
        padding: 1.5rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    /* تحسينات لقسم التواصل الاجتماعي */
    .social-contact .social-btn {
        min-width: 130px;
        padding: 0.8rem 1.2rem;
    }
    
    .gallery-grid,
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* تحسينات للشاشات الصغيرة */
@media (min-width: 481px) and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    /* شاشات صغيرة - 2 كروت بالسطر */
    .categories-grid,
    .categories-grid-full,
    .products-grid,
    .info-grid,
    .production-lines-grid,
    .gallery-grid,
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .contact-content,
    .faq-grid,
    .notes-content,
    .other-links {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* تعديل حجم الكروت لتناسب الشاشات الصغيرة */
    .category-card,
    .product-card {
        min-height: 160px;
        padding: 1rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 0.95rem;
    }
    
    .product-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .order-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    /* تحسينات لقسم التواصل الاجتماعي */
    .social-contact .social-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-contact .social-btn {
        min-width: 120px;
        max-width: 180px;
        padding: 0.8rem 1rem;
        flex: none;
    }
    
    .social-contact .social-btn span {
        font-size: 0.9rem;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 85%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 0;
        transition: var(--transition);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        text-align: right;
    }

    .nav-link {
        justify-content: flex-start;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
        width: 100%;
    }

    .nav-whatsapp {
        margin-top: 1rem;
        padding: 0 2rem;
    }

    .nav-link.whatsapp-btn {
        margin: 0;
        width: 100%;
        border-radius: var(--radius-full);
    }

    .hero {
        min-height: 85vh;
        margin-top: 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* هواتف صغيرة - 2 كروت بالسطر */
    .categories-grid,
    .categories-grid-full,
    .products-grid,
    .info-grid,
    .production-lines-grid,
    .gallery-grid,
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .contact-content,
    .faq-grid,
    .notes-content,
    .other-links {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .category-hero h1 {
        font-size: 2rem;
    }

    .category-hero p {
        font-size: 1.1rem;
    }
    
    .category-card,
    .product-card {
        min-height: 140px;
        padding: 0.8rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .category-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .category-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-info {
        padding: 0.8rem;
    }
    
    .product-title {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .product-description {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }
    
    .order-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .service-item,
    .feature-card,
    .info-card {
        padding: 1.5rem;
    }

    .contact-card,
    .contact-form-card,
    .shipping-info-card,
    .payment-info-card {
        padding: 1.5rem;
    }

    .faq-section {
        padding: 2rem;
    }
    
    /* تحسينات لقسم التواصل الاجتماعي */
    .social-contact {
        padding: 1.2rem;
    }
    
    .social-contact .social-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .social-contact .social-btn {
        min-width: calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
        padding: 0.8rem 0.5rem;
    }
    
    .social-contact .social-btn i {
        font-size: 1.1rem;
    }
    
    .social-contact .social-btn span {
        font-size: 0.85rem;
    }
    
    .footer-logo {
        justify-content: center;
        flex-direction: column;
    }

    .social-links {
        justify-content: center;
    }

    .floating-whatsapp {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .scroll-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* تحسينات للشاشات الأفقية على الموبايل */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 70vh;
        margin-top: 60px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}

/* تحسينات للهواتف الصغيرة جداً */
@media (max-width: 360px) {
    /* هواتف صغيرة جداً - 1 كرت بالسطر */
    .categories-grid,
    .categories-grid-full,
    .products-grid,
    .info-grid,
    .production-lines-grid,
    .gallery-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    /* تحسينات لقسم التواصل الاجتماعي للهواتف الصغيرة جداً */
    .social-contact .social-links {
        flex-direction: column;
    }
    
    .social-contact .social-btn {
        min-width: 100%;
        max-width: 100%;
        padding: 0.9rem;
    }
}

/* منع التمرير الأفقي على الشاشات الصغيرة */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        padding: 0 0.8rem;
    }
}

/* فئة fade-in-up للأنيميشن */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stagger-delay-1 { animation-delay: 0.1s; }
.stagger-delay-2 { animation-delay: 0.2s; }
.stagger-delay-3 { animation-delay: 0.3s; }
.stagger-delay-4 { animation-delay: 0.4s; }
.stagger-delay-5 { animation-delay: 0.5s; }
.stagger-delay-6 { animation-delay: 0.6s; }

/* إصلاح مشكلة القائمة (الهامبرغر) على الموبايل */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 85%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 0;
        transition: var(--transition);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        text-align: right;
        margin: 0;
    }

    .nav-link {
        justify-content: flex-start;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
        width: 100%;
        font-size: 1rem;
    }

    .nav-link.whatsapp-btn {
        margin: 1rem 2rem 0;
        width: calc(100% - 4rem);
        border-radius: var(--radius-full);
        justify-content: center;
    }

    .hamburger.active {
        background: rgba(139, 92, 246, 0.2);
    }

    .nav-link i {
        margin-left: 0.5rem;
        width: 20px;
        text-align: center;
    }

    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    @media (max-width: 480px) {
        .nav-menu {
            width: 100%;
            padding: 1.5rem 0;
        }

        .nav-link {
            padding: 1rem 1.5rem;
            font-size: 0.95rem;
        }

        .nav-link.whatsapp-btn {
            margin: 1rem 1.5rem 0;
            width: calc(100% - 3rem);
        }
    }
}

/* إخفاء القائمة على الشاشات الكبيرة */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        flex-direction: row !important;
        padding: 0 !important;
        box-shadow: none !important;
        gap: 1rem !important;
    }

    .nav-backdrop {
        display: none !important;
    }
}

/* تحسينات إضافية للاستجابة */
@media (max-width: 1200px) {
    .production-lines-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .production-lines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .production-lines-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .production-line-card {
        padding: 1.5rem;
    }
    
    .production-line-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .production-line-card h3 {
        font-size: 1.1rem;
    }
    
    .production-line-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}