/* ============================================
   CSS Variables - Al-Kharif Brand Colors
   ============================================ */
:root {
    /* Brand Colors - Purple Primary, Green & Orange Secondary */
    --color-primary: #693390;              /* Purple - Primary Color */
    --color-primary-light: #8b5fa8;       /* Light Purple */
    --color-primary-dark: #4a2563;        /* Dark Purple */
    --color-secondary-green: #8bc53c;     /* Green - Secondary Color */
    --color-secondary-orange: #f5921d;    /* Orange - Accent Color */
    --color-accent: #f5921d;              /* Orange - Accent Color (CTAs) */
    --color-accent-light: #ffa94d;        /* Light Orange */
    
    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    
    /* Dark Theme - Purple */
    --bg-primary-dark: #4a2563;
    --bg-secondary-dark: #693390;
    --bg-tertiary-dark: #8b5fa8;
    --text-primary-dark: #ffffff;
    --text-secondary-dark: #e0e0e0;
    --text-light-dark: #d0b0e0;
    --border-color-dark: #693390;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #693390 0%, #8b5fa8 50%, #4a2563 100%);
    --gradient-hero: linear-gradient(135deg, #4a2563 0%, #693390 50%, #8b5fa8 100%);
    --gradient-accent: linear-gradient(135deg, #f5921d 0%, #ffa94d 100%);
    --gradient-green: linear-gradient(135deg, #8bc53c 0%, #a5d85c 100%);
    --gradient-combined: linear-gradient(135deg, #693390 0%, #8bc53c 50%, #f5921d 100%);
    --gradient-blue: linear-gradient(135deg, #693390 0%, #8b5fa8 100%);
    
    /* Typography */
    --font-arabic: 'Cairo', sans-serif;
    --font-english: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Dark Theme
   ============================================ */
[data-theme="dark"] {
    --bg-primary: var(--bg-primary-dark);
    --bg-secondary: var(--bg-secondary-dark);
    --bg-tertiary: var(--bg-tertiary-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-light: var(--text-light-dark);
    --border-color: var(--border-color-dark);
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-arabic);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

[dir="ltr"] body {
    font-family: var(--font-english);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

[data-theme="dark"] .header {
    background: linear-gradient(135deg, 
        rgba(105, 51, 144, 0.98) 0%,
        rgba(255, 255, 255, 0.15) 20%,
        rgba(105, 51, 144, 0.98) 40%,
        rgba(255, 255, 255, 0.15) 60%,
        rgba(105, 51, 144, 0.98) 80%,
        rgba(255, 255, 255, 0.15) 100%
    );
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
    box-shadow: 0 4px 20px rgba(105, 51, 144, 0.3);
}

[data-theme="dark"] .header.scrolled {
    box-shadow: 0 6px 30px rgba(105, 51, 144, 0.4);
}

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

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo {
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

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

/* لوغو دارك بنفس حجم لوغو لايت */
[data-theme="dark"] .nav-logo .logo,
[data-theme="dark"] .footer-logo-wrapper .footer-logo {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-fast);
    border-radius: 8px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-combined);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:nth-child(even):hover {
    color: var(--color-secondary-green);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.theme-toggle,
.language-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.theme-toggle::before,
.language-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 0;
}

.theme-toggle i,
.language-toggle .lang-text {
    position: relative;
    z-index: 1;
    transition: transform 0.3s, color 0.3s;
}

.theme-toggle:hover,
.language-toggle:hover {
    border-color: var(--color-primary);
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 6px 20px rgba(105, 51, 144, 0.3);
}

.theme-toggle:hover::before,
.language-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.theme-toggle:hover i,
.language-toggle:hover .lang-text {
    color: white;
    transform: rotate(360deg);
}

.language-toggle {
    width: auto;
    min-width: 45px;
    padding: 0 var(--spacing-md);
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

.language-toggle .lang-text {
    font-family: var(--font-english);
    letter-spacing: 1px;
}

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .language-toggle {
    background: var(--bg-secondary-dark);
    border-color: rgba(139, 197, 60, 0.2);
    color: var(--text-primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .language-toggle:hover {
    border-color: var(--color-secondary-green);
    box-shadow: 0 6px 20px rgba(139, 197, 60, 0.3);
}

[data-theme="dark"] .theme-toggle:hover::before,
[data-theme="dark"] .language-toggle:hover::before {
    background: var(--gradient-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-combined);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-wrapper {
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter var(--transition-normal);
}

.footer-logo:hover {
    filter: brightness(1);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-arabic);
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 0;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s;
}

.social-link:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(105, 51, 144, 0.3);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover i {
    transform: rotate(360deg);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-arabic);
    position: relative;
    padding-bottom: var(--spacing-sm);
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-combined);
    border-radius: 2px;
    animation: slideInRight 0.6s ease-out;
    display: block;
}

@keyframes slideInRight {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-menu li {
    position: relative;
    padding-right: 0;
    padding-left: 0;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    text-align: center;
    width: 100%;
}

.footer-menu li:nth-child(1) { animation-delay: 0.1s; }
.footer-menu li:nth-child(2) { animation-delay: 0.2s; }
.footer-menu li:nth-child(3) { animation-delay: 0.3s; }
.footer-menu li:nth-child(4) { animation-delay: 0.4s; }
.footer-menu li:nth-child(5) { animation-delay: 0.5s; }
.footer-menu li:nth-child(6) { animation-delay: 0.6s; }
.footer-menu li:nth-child(7) { animation-delay: 0.7s; }

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

.footer-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-arabic);
    display: inline-block;
    position: relative;
}

.footer-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.footer-menu a:hover {
    color: var(--color-primary);
    transform: scale(1.05);
}

.footer-menu a:hover::after {
    width: 100%;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
    width: 100%;
    font-family: var(--font-arabic);
    font-weight: 600;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-contact-list li:nth-child(1) { animation-delay: 0.1s; }
.footer-contact-list li:nth-child(2) { animation-delay: 0.2s; }
.footer-contact-list li:nth-child(3) { animation-delay: 0.3s; }
.footer-contact-list li:nth-child(4) { animation-delay: 0.4s; }

.footer-contact-list i {
    color: var(--color-secondary-green);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 22px;
    transition: all 0.3s ease;
}

.footer-contact-list li:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--color-secondary-orange);
}

.footer-contact-list a,
.footer-contact-list span {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-contact-list a:hover {
    color: var(--color-primary);
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    text-align: center;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: var(--font-arabic);
    font-weight: 600;
    margin: 0;
}

.footer-legal {
    display: none;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-arabic);
    font-weight: 600;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-primary);
}

.footer-legal a:hover::after {
    width: 100%;
}

.footer-legal .separator {
    color: var(--text-light);
    font-weight: 300;
}

/* Dark Theme - Footer */
[data-theme="dark"] .footer {
    background: linear-gradient(180deg, var(--bg-primary-dark) 0%, var(--bg-secondary-dark) 100%);
    border-top-color: var(--border-color-dark);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: var(--border-color-dark);
}

[data-theme="dark"] .social-link {
    background: var(--bg-tertiary-dark);
    color: var(--text-secondary-dark);
}

[data-theme="dark"] .social-link:hover {
    background: var(--gradient-primary);
    color: white;
}

[data-theme="dark"] .footer-title {
    color: var(--color-secondary-green);
}

[data-theme="dark"] .footer-menu a {
    color: var(--text-secondary-dark);
}

[data-theme="dark"] .footer-menu a:hover {
    color: var(--color-secondary-green);
}

[data-theme="dark"] .footer-contact-list li {
    color: var(--text-secondary-dark);
}

[data-theme="dark"] .footer-contact-list a {
    color: var(--text-secondary-dark);
}

[data-theme="dark"] .footer-contact-list a:hover {
    color: var(--color-secondary-green);
}

[data-theme="dark"] .footer-contact-list i {
    color: var(--color-secondary-green);
}

[data-theme="dark"] .footer-copyright {
    color: var(--text-secondary-dark);
}

[data-theme="dark"] .footer-legal a {
    color: var(--text-secondary-dark);
}

[data-theme="dark"] .footer-legal a:hover {
    color: var(--color-secondary-green);
}

/* Responsive - Header */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: 0;
        width: 100%;
        max-width: 300px;
        background: var(--bg-primary);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        padding: var(--spacing-lg);
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    [data-theme="dark"] .nav-menu {
        background: var(--bg-primary-dark);
        border-left-color: var(--border-color-dark);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    [dir="ltr"] .nav-menu {
        right: auto;
        left: 0;
        border-left: none;
        border-right: 1px solid var(--border-color);
        transform: translateX(-100%);
    }

    [dir="ltr"] .nav-menu.active {
        transform: translateX(0);
    }
}

/* ============================================
   Hero Section - Same as Zmrd Food
   ============================================ */
.hero {
    position: relative;
    height: 80vh;
    min-height: 80vh;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    overflow: hidden;
}

/* Background Swiper */
.hero-product-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-product-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: block !important;
}

.hero-product-swiper .swiper-slide-active {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-product-swiper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0 !important;
}

.slide-image {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
}

/* Gradient Overlay - Al-Kharif Colors */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(105, 51, 144, 0.5) 0%,
        rgba(139, 197, 60, 0.5) 50%,
        rgba(105, 51, 144, 0.5) 100%
    );
    z-index: 1;
    pointer-events: none;
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.7) 0%,
        rgba(42, 42, 42, 0.7) 50%,
        rgba(26, 26, 26, 0.7) 100%
    );
}

/* Hero Container - 80% height، النصوص والأزرار في الوسط لكل الشاشات */
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xxl) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    height: 80vh;
    min-height: 80vh;
    max-height: 80vh;
    flex: 1;
    text-align: center;
}

/* Hero Content - متوسطة في الشاشة الكبيرة والموبايل */
.hero-content {
    color: white;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1.15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.title-line {
    display: block;
    color: white;
    letter-spacing: -1px;
    transition: transform var(--transition-normal);
}

.title-line:hover {
    transform: translateX(5px);
}

.title-line.highlight {
    background: linear-gradient(135deg, #ffffff 0%, #8bc53c 40%, #f5921d 60%, #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    position: relative;
}

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

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-secondary-orange);
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.6s both;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.9;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.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.5s ease;
}

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

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(105, 51, 144, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(105, 51, 144, 0.6);
    background: linear-gradient(135deg, #8b5fa8 0%, #693390 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    color: white;
}

/* Hero Stats Section (20% height) */
.hero-stats-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    min-height: 20vh;
    max-height: 20vh;
    z-index: 3;
    display: flex !important;
    visibility: visible !important;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.stats-3d-swiper {
    width: 100%;
    height: 100%;
    padding: 0 var(--spacing-lg);
}

.stats-3d-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.stat-card-3d {
    width: 100%;
    max-width: 250px;
    height: 100%;
    max-height: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.stats-3d-swiper .swiper-slide-active .stat-card-3d {
    transform: translateZ(20px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--color-secondary-orange);
    box-shadow: 0 15px 40px rgba(245, 146, 29, 0.4);
}

.stat-icon-3d {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(105, 51, 144, 0.4);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stats-3d-swiper .swiper-slide-active .stat-icon-3d {
    transform: translateZ(15px) rotate(5deg) scale(1.1);
    background: var(--gradient-accent);
    box-shadow: 0 6px 20px rgba(245, 146, 29, 0.5);
}

.stat-content-3d {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number-3d {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--color-secondary-orange);
    line-height: 1;
    text-shadow: 0 2px 10px rgba(245, 146, 29, 0.3);
}

.stat-label-3d {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 60px;
    }
    
    .hero-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .hero-stats-section {
        height: 20vh;
        min-height: 20vh;
        max-height: 20vh;
        padding: var(--spacing-xs) 0;
    }
    
    .stat-card-3d {
        max-width: 150px;
        max-height: 80px;
        padding: var(--spacing-sm);
        gap: var(--spacing-xs);
    }
    
    .stat-icon-3d {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 1.1rem;
    }
    
    .stat-number-3d {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }
    
    .stat-label-3d {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-container {
        height: 80vh;
        min-height: 80vh;
        max-height: 80vh;
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .hero-content {
        padding: var(--spacing-sm) 0;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-description {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        margin-bottom: var(--spacing-md);
        line-height: 1.7;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }
    
    .btn {
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
        text-align: center;
    }
    
    .hero-stats-section {
        height: 20vh;
        min-height: 20vh;
        max-height: 20vh;
        display: flex !important;
        visibility: visible !important;
        padding: var(--spacing-xs) 0;
    }
    
    .stat-card-3d {
        max-width: 100px;
        max-height: 60px;
        padding: var(--spacing-xs);
        gap: 4px;
    }
    
    .stat-icon-3d {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.85rem;
    }
    
    .stat-number-3d {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }
}

/* Hero Section - Old Styles (for compatibility) */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 60px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #693390 0%, #4a2563 50%, #8b5fa8 100%);
    transition: background var(--transition-normal);
}

[data-theme="dark"] .hero-gradient {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: 
        linear-gradient(rgba(139, 197, 60, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 197, 60, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transition: opacity var(--transition-normal);
}

[data-theme="dark"] .hero-grid-pattern {
    opacity: 0.1;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    mix-blend-mode: multiply;
    opacity: 0.2;
    animation: blob 7s infinite;
}

.hero-orb-1 {
    top: 80px;
    left: 40px;
    width: 288px;
    height: 288px;
    background: #8bc53c;
}

.hero-orb-2 {
    top: 160px;
    right: 40px;
    width: 288px;
    height: 288px;
    background: #f5921d;
    animation-delay: 2s;
}

.hero-orb-3 {
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 288px;
    height: 288px;
    background: #693390;
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-orb-3 {
    animation: blob 7s infinite;
}

.hero-container {
    position: relative;
    z-index: 10;
    padding: 0 var(--spacing-md);
}

.hero-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-left {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 1024px) {
    .hero-left {
        text-align: right;
    }
}

[dir="ltr"] .hero-left {
    text-align: center;
}

@media (min-width: 1024px) {
    [dir="ltr"] .hero-left {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.hero-badge i {
    color: #f5921d;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-main {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #693390 0%, #8bc53c 50%, #f5921d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

[data-theme="dark"] .hero-title-main {
    background: linear-gradient(135deg, #8bc53c 0%, #f5921d 50%, #693390 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-sub {
    display: block;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

[data-theme="dark"] .hero-title-sub {
    color: #f0f0f0;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.8vw, 1.875rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        margin: 0 0 32px 0;
    }
}

[data-theme="dark"] .hero-subtitle {
    color: rgba(240, 240, 240, 0.9);
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (min-width: 640px) {
    .hero-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

[data-theme="dark"] .hero-feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

[data-theme="dark"] .hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-feature-item i {
    color: #8bc53c;
    font-size: 1.125rem;
}

.hero-feature-item:nth-child(3) i {
    color: #f5921d;
}

.hero-feature-item span {
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: center;
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #f5921d 0%, #ffa94d 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(245, 146, 29, 0.4);
}

.hero-btn-primary:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 12px 32px rgba(245, 146, 29, 0.5);
}

.hero-btn-primary i {
    transition: transform 0.3s ease;
}

.hero-btn-primary:hover i {
    transform: translateX(-5px);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

[data-theme="dark"] .hero-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05) translateY(-4px);
}

[data-theme="dark"] .hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-btn-secondary i {
    transition: transform 0.3s ease;
}

.hero-btn-secondary:hover i {
    transform: rotate(12deg);
}

.hero-right {
    display: none;
    position: relative;
}

@media (min-width: 1024px) {
    .hero-right {
        display: block;
    }
}

.hero-visual-wrapper {
    position: relative;
}

.hero-visual-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

[data-theme="dark"] .hero-visual-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.hero-visual-card:hover {
    transform: scale(1.05);
}

.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hero-service-card {
    border-radius: 16px;
    padding: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-service-card-1 {
    background: linear-gradient(135deg, #693390 0%, #8b5fa8 100%);
}

.hero-service-card-2 {
    background: linear-gradient(135deg, #8bc53c 0%, #a5d85c 100%);
}

.hero-service-card-3 {
    background: linear-gradient(135deg, #f5921d 0%, #ffa94d 100%);
}

.hero-service-card-4 {
    background: linear-gradient(135deg, #693390 0%, #4a2563 100%);
}

.hero-service-card:hover {
    transform: scale(1.1);
}

.hero-service-card-1:hover,
.hero-service-card-4:hover {
    transform: scale(1.1) rotate(2deg);
}

.hero-service-card-2:hover,
.hero-service-card-3:hover {
    transform: scale(1.1) rotate(-2deg);
}

.hero-service-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.hero-service-icon i {
    font-size: 1.875rem;
}

.hero-service-card h3 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.hero-service-card p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
    animation: pulse 2s ease-in-out infinite;
}

.hero-floating-orb-1 {
    top: -40px;
    right: -40px;
    width: 96px;
    height: 96px;
    background: #8bc53c;
}

.hero-floating-orb-2 {
    bottom: -40px;
    left: -40px;
    width: 128px;
    height: 128px;
    background: #f5921d;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.hero-scroll-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .hero-scroll-content {
    color: rgba(224, 224, 224, 0.6);
}

.hero-scroll-content span {
    font-size: 0.875rem;
    font-weight: 700;
}

.hero-scroll-content i {
    font-size: 1.5rem;
}

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

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

/* Responsive - Footer */
@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-section {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo-wrapper {
        display: flex;
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
        display: inline-block;
        width: 100%;
    }
    
    .footer-title::after {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
    
    .footer-menu {
        align-items: center;
    }
    
    .footer-menu li {
        padding-right: 0;
        text-align: center;
    }
    
    .footer-contact-list {
        align-items: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: var(--spacing-xs);
        align-items: center;
    }
    
    .footer-legal .separator {
        display: none;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-menu a,
    .footer-contact-list a,
    .footer-contact-list span {
        font-size: 0.95rem;
    }
    
    .footer-copyright {
        font-size: 0.9rem;
    }
}

/* ============================================
   Authentic Taste Section
   ============================================ */
.authentic-taste-section {
    position: relative;
    height: 300px;
    background-image: url('../images/sec.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.authentic-taste-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(105, 51, 144, 0.4) 0%,
        rgba(139, 197, 60, 0.3) 50%,
        rgba(245, 146, 29, 0.4) 100%
    );
    z-index: 1;
}

[data-theme="dark"] .authentic-taste-section::before {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.authentic-taste-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-align: right;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 0;
    padding-right: 2rem;
}

.authentic-taste-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0 auto 0 0;
    margin-right: 4rem;
    line-height: 1.7;
    letter-spacing: 1px;
    text-align: right;
    white-space: nowrap;
}

.authentic-taste-title .text-primary {
    color: var(--color-primary);
    text-shadow: 2px 2px 8px rgba(105, 51, 144, 0.8);
}

@media (max-width: 768px) {
    .authentic-taste-section {
        height: 300px;
        background-attachment: scroll;
    }
    
    .authentic-taste-title {
        font-size: 2rem;
        white-space: normal;
        line-height: 1.65;
        margin-right: 0;
        padding: 0 1rem;
    }
    
    .authentic-taste-content {
        padding: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .authentic-taste-title {
        font-size: 2.5rem;
    }
}

/* ============================================
   Services Section - Modern Grid Style
   ============================================ */
.services-section {
    position: relative;
    padding: 5rem 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Service Card */
.service-card {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .service-card {
    background: var(--bg-secondary-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--color-secondary-green);
}

/* Service Card Background Image — تحميل كسول: لا تُحمّل الصورة حتى يدخل البطاقة نطاق الشاشة */
.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    transition: opacity 0.4s ease, background-image 0.2s ease;
    z-index: 0;
    border-radius: 1.5rem 1.5rem 0 0;
}

/* مكان مؤقت للخلفية قبل التحميل — يمنع القفز ويسرّع ظهور الصفحة */
.service-card-bg.lazy-bg:not(.lazy-bg-loaded) {
    background-color: var(--bg-tertiary);
    background-image: none;
}

.service-card-bg.lazy-bg.lazy-bg-loaded {
    background-color: transparent;
}

.service-card:hover .service-card-bg {
    opacity: 1;
}

/* Overlay for better text readability — طبقة بنفسجية خفيفة جداً شفافة */
.service-card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--color-primary) 0%,
        var(--color-secondary-green) 50%,
        var(--color-secondary-orange) 100%
    );
    opacity: 0.03;
    transition: opacity 0.4s ease;
    border-radius: 1.5rem 1.5rem 0 0;
    z-index: -1;
}

.service-card:hover .service-card-bg::after {
    opacity: 0;
}

/* Service Card Content */
.service-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Service Card Icon */
.service-card-icon {
    margin-bottom: 1.5rem;
}

.service-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover .service-icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.service-icon-circle::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.2;
    filter: blur(10px);
    z-index: -1;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-circle::after {
    opacity: 0.4;
    transform: scale(1.2);
}

/* Service Card Title */
.service-card-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

[data-theme="dark"] .service-card-title {
    color: var(--color-secondary-green);
}

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

[data-theme="dark"] .service-card:hover .service-card-title {
    color: var(--color-secondary-green);
}

/* Service Card Description */
.service-card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

[data-theme="dark"] .service-card-description {
    color: var(--text-secondary-dark);
}

/* Service Card Footer */
.service-card-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

[data-theme="dark"] .service-card-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover .service-card-footer {
    border-top-color: var(--color-primary);
    padding-top: 1.25rem;
}

[data-theme="dark"] .service-card:hover .service-card-footer {
    border-top-color: var(--color-secondary-green);
}

.service-card-link {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .service-card-link {
    color: var(--color-secondary-green);
}

.service-card:hover .service-card-link {
    transform: translateX(-5px);
}

.service-card-footer i {
    color: var(--color-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .service-card-footer i {
    color: var(--color-secondary-green);
}

.service-card:hover .service-card-footer i {
    transform: translateX(-5px);
}

/* Featured Service Card */
.service-card-featured {
    border: 2px solid var(--color-primary);
    background: linear-gradient(135deg, 
        rgba(105, 51, 144, 0.03) 0%,
        rgba(139, 197, 60, 0.03) 50%,
        rgba(245, 146, 29, 0.03) 100%
    );
}

[data-theme="dark"] .service-card-featured {
    border-color: var(--color-secondary-green);
    background: linear-gradient(135deg, 
        rgba(105, 51, 144, 0.1) 0%,
        rgba(139, 197, 60, 0.1) 50%,
        rgba(245, 146, 29, 0.1) 100%
    );
}

/* Responsive Design */
@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon-circle {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .service-card-title {
        font-size: 1.3rem;
    }
    
    .service-card-description {
        font-size: 0.9rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    
    .service-card {
        padding: 1.75rem;
    }
}

@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .service-card-featured {
        grid-column: span 1;
    }
}

@media (min-width: 1400px) {
    .services-grid {
        gap: 2.5rem;
    }
}

/* ============================================
   Mission & Vision Section - Enhanced Styling
   ============================================ */
.mission-vision-section {
    padding: 5rem 0;
}

.mission-vision-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Vision Content Styling */
.vision-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.vision-content h1 {
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.vision-content h5 {
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.vision-content p {
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Text Justify for RTL and LTR */
.vision-content .text-justify {
    text-align: justify;
    text-align-last: right;
}

[dir="ltr"] .vision-content .text-justify {
    text-align-last: left;
}

/* Vision Content Button - Fit to Content */
.vision-content a {
    width: auto !important;
    max-width: fit-content !important;
    display: inline-flex !important;
}

/* Vision Image Wrapper */
.vision-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    height: 100%;
    min-height: 300px;
    box-shadow: none !important;
}

.vision-image-wrapper img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
    .mission-vision-section .grid {
        grid-template-columns: 1fr;
    }
    
    .vision-image-wrapper {
        order: 2;
        min-height: 250px;
        max-width: 400px;
        margin: 2rem auto;
    }
    
    .vision-content {
        order: 1;
    }
    
    .vision-content:last-child {
        order: 3;
    }
}

@media (min-width: 1024px) {
    .vision-image-wrapper {
        max-width: 100%;
        padding: 1rem;
    }
    
    .vision-image-wrapper img {
        max-width: 350px;
    }
}

@media (min-width: 1280px) {
    .vision-image-wrapper img {
        max-width: 400px;
    }
}

/* Enhanced Typography for Vision Section */
.mission-vision-section h2 {
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .mission-vision-section h2 {
        font-size: 3rem;
    }
}

/* Check Icons Styling */
.vision-content .fa-check-circle {
    color: var(--color-secondary-green);
    flex-shrink: 0;
}

[data-theme="dark"] .vision-content .fa-check-circle {
    color: var(--color-secondary-green);
}

/* ============================================
   Gallery Section (Company Photos)
   ============================================ */
.gallery-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.gallery-swiper {
    padding: 2rem 0 4rem;
    position: relative;
    width: 100%;
}

.gallery-swiper .swiper-wrapper {
    align-items: center;
    display: flex;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-swiper .swiper-slide {
    height: auto;
    transition: all 0.6s ease;
}

.gallery-card {
    position: relative;
    background: var(--bg-primary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    border: 4px solid var(--border-color);
    width: 100%;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 90px rgba(105, 51, 144, 0.5);
    border-color: var(--color-primary);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
    transition: all 0.4s ease;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(105, 51, 144, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    pointer-events: auto;
    box-shadow: 0 8px 25px rgba(105, 51, 144, 0.4);
    opacity: 0;
    visibility: hidden;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    visibility: visible;
    background: rgba(105, 51, 144, 1);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(105, 51, 144, 0.6);
}

.gallery-swiper .swiper-pagination {
    bottom: 0 !important;
    position: relative;
    margin-top: 2rem;
}

.gallery-swiper .swiper-pagination-bullet {
    background: var(--color-primary);
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: var(--transition-normal);
}

.gallery-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--color-primary);
    transition: all var(--transition-normal);
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: scale(1.1);
}

[data-theme="dark"] .gallery-swiper .swiper-button-next,
[data-theme="dark"] .gallery-swiper .swiper-button-prev {
    background: var(--bg-primary);
    border-color: var(--border-color);
    color: var(--color-secondary-green);
}

[data-theme="dark"] .gallery-swiper .swiper-button-next:hover,
[data-theme="dark"] .gallery-swiper .swiper-button-prev:hover {
    background: var(--color-secondary-green);
    color: white;
    border-color: var(--color-secondary-green);
}

[data-theme="dark"] .gallery-overlay {
    background: rgba(139, 197, 60, 0.9);
    box-shadow: 0 8px 25px rgba(139, 197, 60, 0.4);
}

[data-theme="dark"] .gallery-card:hover .gallery-overlay {
    background: rgba(139, 197, 60, 1);
    box-shadow: 0 12px 35px rgba(139, 197, 60, 0.6);
}

[data-theme="dark"] .gallery-swiper .swiper-pagination-bullet {
    background: var(--color-secondary-green);
}

/* ============================================
   Videos Section (Company Videos)
   ============================================ */
.videos-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.videos-swiper {
    padding: 2rem 0 4rem;
    position: relative;
    width: 100%;
}

.videos-swiper .swiper-wrapper {
    align-items: center;
    display: flex;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.videos-swiper .swiper-slide {
    width: 33.333% !important;
    height: auto;
    transition: all 0.6s ease;
    opacity: 0.6;
    flex-shrink: 0;
    filter: brightness(0.9);
}

@media (max-width: 767.98px) {
    .videos-swiper .swiper-slide {
        width: 100% !important;
    }
}

.videos-swiper .swiper-slide-active {
    opacity: 1;
    z-index: 10;
    filter: brightness(1);
    transform: scale(1.05);
}

.videos-swiper .swiper-slide-prev,
.videos-swiper .swiper-slide-next {
    opacity: 0.75;
    filter: brightness(0.95);
}

.video-card {
    position: relative;
    background: var(--bg-primary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    border: 4px solid var(--border-color);
    width: 100%;
    cursor: pointer;
}

.videos-swiper .swiper-slide-active .video-card {
    border-color: var(--color-primary);
    box-shadow: 0 40px 100px rgba(105, 51, 144, 0.45);
    border-width: 5px;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 90px rgba(105, 51, 144, 0.5);
    border-color: var(--color-primary);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
    transition: all 0.4s ease;
}

.video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(105, 51, 144, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    pointer-events: auto;
    box-shadow: 0 8px 25px rgba(105, 51, 144, 0.4);
    opacity: 1;
    visibility: visible;
}

.video-overlay i {
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.video-card:hover .video-overlay {
    background: rgba(105, 51, 144, 1);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(105, 51, 144, 0.6);
}

.videos-swiper .swiper-pagination {
    bottom: 0 !important;
    position: relative;
    margin-top: 2rem;
}

.videos-swiper .swiper-pagination-bullet {
    background: var(--color-primary);
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: var(--transition-normal);
}

.videos-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.videos-swiper .swiper-button-next,
.videos-swiper .swiper-button-prev {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--color-primary);
    transition: all var(--transition-normal);
}

.videos-swiper .swiper-button-next::after,
.videos-swiper .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.videos-swiper .swiper-button-next:hover,
.videos-swiper .swiper-button-prev:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: scale(1.1);
}

[data-theme="dark"] .videos-swiper .swiper-slide-active .video-card {
    border-color: var(--color-secondary-green);
    box-shadow: 0 40px 100px rgba(139, 197, 60, 0.45);
}

[data-theme="dark"] .video-card:hover {
    box-shadow: 0 35px 90px rgba(139, 197, 60, 0.5);
    border-color: var(--color-secondary-green);
}

[data-theme="dark"] .video-overlay {
    background: rgba(139, 197, 60, 0.9);
    box-shadow: 0 8px 25px rgba(139, 197, 60, 0.4);
}

[data-theme="dark"] .video-card:hover .video-overlay {
    background: rgba(139, 197, 60, 1);
    box-shadow: 0 12px 35px rgba(139, 197, 60, 0.6);
}

[data-theme="dark"] .videos-swiper .swiper-pagination-bullet {
    background: var(--color-secondary-green);
}

[data-theme="dark"] .videos-swiper .swiper-button-next,
[data-theme="dark"] .videos-swiper .swiper-button-prev {
    background: var(--bg-primary);
    border-color: var(--border-color);
    color: var(--color-secondary-green);
}

[data-theme="dark"] .videos-swiper .swiper-button-next:hover,
[data-theme="dark"] .videos-swiper .swiper-button-prev:hover {
    background: var(--color-secondary-green);
    color: white;
    border-color: var(--color-secondary-green);
}

/* Responsive Styles for Gallery and Videos */
@media (max-width: 768px) {
    .gallery-swiper,
    .videos-swiper {
        padding: 1rem 0 3rem;
    }
    
    .gallery-card,
    .video-card {
        border-width: 2px;
    }
    
    .videos-swiper .swiper-slide-active .video-card {
        border-width: 3px;
    }
    
    .gallery-overlay,
    .video-overlay {
        width: 60px;
        height: 60px;
    }
    
    .gallery-overlay i,
    .video-overlay i {
        font-size: 1.5rem;
    }
}

/* ريسبونسف الموبايل: حجم خط وترتيب العناصر */
@media (max-width: 768px) {
    .section-title,
    .text-4xl {
        font-size: 1.75rem !important;
        line-height: 1.35;
    }
    
    .section-subtitle,
    .text-xl {
        font-size: 1rem !important;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .service-card-title,
    .product-info .product-value {
        font-size: 0.95rem;
    }
    
    #contactForm input,
    #contactForm textarea {
        font-size: 16px;
    }
}

/* ============================================
   Image Performance Optimizations — تقليل التعليق بسبب الصور الثقيلة
   ============================================ */
/* Ensure logos maintain consistent size */
.nav-logo .logo,
.footer-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Smooth image loading — الصور الكسولة تظهر تدريجياً ولا توقف الرسم */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded,
img[loading="eager"] {
    opacity: 1;
}

/* Prevent layout shift during image load */
img {
    max-width: 100%;
    height: auto;
}

/* أقسام تحت الطيّ: المتصفح يؤجل الرسم حتى قربها — يسرّع فتح الصفحة */
section#about,
section#services,
section#products,
section#gallery,
section#videos,
section#contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 300px;
}

/* تحسين أداء التمرير: المعرض والفيديو لا يعيدان حساب التخطيط خارج إطارهما */
section#gallery .gallery-swiper,
section#videos .videos-swiper {
    contain: layout style paint;
}

/* تواصل معنا: قسم اليمين (معلومات التواصل) بنفس طول قسم الفورم مع gap عامودي */
.contact-two-cols {
    align-items: stretch;
}
.contact-info-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 1.5rem;
    min-height: 100%;
}

/* Optimize image rendering */
img {
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Ensure logo size consistency in dark mode */
[data-theme="dark"] .nav-logo .logo {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
}

[data-theme="dark"] .footer-logo {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* ============================================
   Products Section - نفس تصميم زمرد الغذائية
   ============================================ */
.products-section .section-header .section-title { margin-bottom: 0.5rem; }
.products-filters-modern {
    margin-bottom: var(--spacing-xxl);
    display: flex;
    justify-content: center;
}
.filter-dropdown-wrapper {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}
.filter-dropdown {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}
.filter-dropdown-btn {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    transition: all var(--transition-normal);
    font-family: var(--font-arabic);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}
.filter-dropdown-btn:hover {
    border-color: var(--color-primary);
    background: rgba(105, 51, 144, 0.05);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.filter-dropdown-btn.active { border-color: var(--color-primary); background: var(--gradient-primary); color: #fff; box-shadow: 0 4px 15px rgba(105, 51, 144, 0.3); }
.filter-dropdown-btn.active .filter-arrow { transform: rotate(180deg); }
.filter-dropdown-btn i:first-child { font-size: 1.1rem; color: var(--color-primary); }
.filter-dropdown-btn.active i:first-child { color: #fff; }
.filter-selected-text { flex: 1; text-align: right; font-family: var(--font-arabic); }
[dir="ltr"] .filter-selected-text { text-align: left; }
.filter-arrow { font-size: 0.85rem; transition: transform var(--transition-normal); color: var(--text-secondary); }
.filter-dropdown-btn.active .filter-arrow { color: #fff; }
.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + var(--spacing-xs));
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    max-height: 0;
    overflow: hidden;
}
.filter-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 400px;
    overflow-y: auto;
}
.filter-dropdown-item {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all var(--transition-normal);
    font-family: var(--font-arabic);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: right;
}
.filter-dropdown-item:last-child { border-bottom: none; }
.filter-dropdown-item:hover { background: rgba(105, 51, 144, 0.08); color: var(--color-primary); padding-right: var(--spacing-xl); }
[dir="ltr"] .filter-dropdown-item:hover { padding-right: var(--spacing-lg); padding-left: var(--spacing-xl); }
.filter-dropdown-item.active { background: var(--gradient-primary); color: #fff; font-weight: 700; }
.filter-dropdown-item.active i { color: #fff; }
.filter-dropdown-item i { font-size: 1rem; color: var(--color-primary); width: 20px; text-align: center; }
.filter-dropdown-item span { flex: 1; }
.products-load-more-wrapper { display: flex; justify-content: center; margin-top: var(--spacing-xxl); padding-top: var(--spacing-xl); }
.products-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    padding: var(--spacing-md) var(--spacing-xxl);
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all var(--transition-normal);
    font-family: var(--font-arabic);
    box-shadow: 0 4px 15px rgba(105, 51, 144, 0.3);
}
.products-load-more-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(105, 51, 144, 0.4); color: #fff; }
.load-more-text { position: relative; z-index: 1; }
.load-more-icon { position: relative; z-index: 1; transition: transform var(--transition-normal); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}
.product-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}
.product-card.hidden { display: none !important; }
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-secondary);
}
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.product-card:hover .product-image { transform: scale(1.1); }
.product-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(105, 51, 144, 0.4);
    font-family: var(--font-arabic);
    z-index: 2;
}
[dir="ltr"] .product-badge { right: auto; left: var(--spacing-sm); }
.product-info {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex: 1;
}
.product-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--border-color);
}
.product-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.product-label { font-size: 0.9rem; font-weight: 700; color: var(--text-secondary); min-width: 70px; flex-shrink: 0; }
.product-value { font-size: 0.95rem; color: var(--text-primary); font-family: var(--font-arabic); flex: 1; line-height: 1.5; }
.product-category { font-size: 0.95rem; font-weight: 600; color: var(--color-secondary-green); }
.product-name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.product-description { font-size: 0.9rem; color: var(--text-secondary); }

/* Products Page - نفس زمرد الغذائية */
.products-page-hero {
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    background: var(--gradient-hero);
    text-align: center;
    color: #fff;
    margin-top: 70px;
}
.products-hero-content { position: relative; z-index: 1; }
.products-hero-title { font-size: 3rem; font-weight: 800; margin-bottom: var(--spacing-md); font-family: var(--font-arabic); }
.products-hero-subtitle { font-size: 1.2rem; max-width: 700px; margin: 0 auto; opacity: 0.95; line-height: 1.6; }
.products-page-section { padding: var(--spacing-xxl) 0; background: var(--bg-primary); }
.product-card.hidden-by-load-more { display: none !important; }
.product-card.show-more { display: flex !important; }
@media (max-width: 768px) {
    .products-page-hero { padding: var(--spacing-xl) 0 var(--spacing-lg); }
    .products-hero-title { font-size: 2rem; }
    .products-hero-subtitle { font-size: 1rem; }
}

