/* Enhanced Design CSS - تصميم محسن إضافي */
/* ملف إضافي للتأثيرات المتقدمة والتصميم المحسن */

/* تأثيرات إضافية للصفحة الرئيسية */
.header-title::before {
    animation: float 20s ease-in-out infinite;
}

.header-title::after {
    animation: float 15s ease-in-out infinite reverse;
}

/* تأثيرات إضافية للصور */
.menu-item img {
    filter: brightness(0.95) contrast(1.05);
}

.menu-item:hover img {
    filter: brightness(1.05) contrast(1.1);
}

/* تأثيرات إضافية للأزرار */
.category-tab,
.lang-btn {
    position: relative;
    overflow: hidden;
}

.category-tab::after,
.lang-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.category-tab:hover::after,
.lang-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* تأثيرات إضافية للقوائم - محسنة */
.menu-item {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.menu-item:hover::before {
    opacity: 0.1;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.8s ease;
    z-index: 2;
}

.menu-item:hover::after {
    left: 100%;
}

/* تأثيرات إضافية لبطاقات المنتجات */
.menu-item {
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(168, 212, 154, 0.1), transparent);
    transition: all 0.6s ease;
    z-index: 1;
    opacity: 0;
}

.menu-item:hover::before {
    opacity: 1;
    transform: rotate(180deg);
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.8s ease;
    z-index: 2;
}

.menu-item:hover::after {
    left: 100%;
}

/* تأثيرات محسنة للصور في القوائم */
.menu-item img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    filter: brightness(0.95) contrast(1.05);
}

.menu-item:hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* تأثيرات محسنة لمحتوى القوائم */
.menu-item-content {
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
}

.menu-item:hover .menu-item-content {
    transform: translateY(-5px);
}

/* تأثيرات محسنة لعناوين القوائم */
.menu-item h3 {
    position: relative;
    transition: all 0.3s ease;
}

.menu-item:hover h3 {
    color: var(--accent-color);
    transform: scale(1.05);
}

.menu-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
}

.menu-item:hover h3::after {
    width: 100%;
}

/* تأثيرات محسنة للأسعار */
.menu-item .price {
    position: relative;
    overflow: visible;
    transition: none;
}

.menu-item:hover .price {
    transform: none;
    color: #2c3e50;
}

.menu-item .price::before {
    display: none;
}

.menu-item .price::after {
    display: none;
}

/* تأثيرات إضافية للأسعار */
.menu-item .price {
    position: relative;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-shadow: none;
    color: #2c3e50;
}

.menu-item:hover .price {
    transform: none;
    filter: none;
    box-shadow: none;
}

/* تأثيرات محسنة للتصنيفات */
.category-tab {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.4s ease;
    z-index: -1;
}

.category-tab:hover::before {
    left: 0;
}



/* تأثيرات محسنة لأزرار اللغة */
.lang-btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.4s ease;
    z-index: -1;
}

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

.lang-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.lang-btn:hover::after {
    width: 200px;
    height: 200px;
}

/* تأثيرات محسنة للعنوان الرئيسي */
.header-title {
    position: relative;
    overflow: hidden;
}

.header-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.header-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="circles" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="200" height="200" fill="url(%23circles)"/></svg>');
    opacity: 0.2;
    animation: float 15s ease-in-out infinite reverse;
}

/* تأثيرات محسنة للعناوين */
.main-title {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.header-title:hover .main-title {
    transform: scale(1.02);
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.subtitle {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.header-title:hover .subtitle {
    transform: scale(1.05);
    opacity: 1;
}





/* تأثيرات محسنة للعناوين الفرعية */
.section-title {
    position: relative;
    transition: all 0.3s ease;
}

.section-title:hover {
    transform: scale(1.02);
}

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

/* تأثيرات محسنة للشريط العلوي */
.language-bar {
    position: relative;
    overflow: hidden;
}

.language-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: slideRight 3s ease-in-out infinite;
}

@keyframes slideRight {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

/* تأثيرات محسنة للتحميل */
.loading::before {
    content: '🍰';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: spin 2s linear infinite;
}

/* تأثيرات محسنة للرسائل */
.message::before {
    content: '💬';
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.message.success::before {
    content: '✅';
}

.message.error::before {
    content: '❌';
}

.message.info::before {
    content: 'ℹ️';
}

/* تأثيرات محسنة للجداول */
.admin-table th::before {
    content: '📋';
    margin-left: 0.5rem;
    opacity: 0.7;
}

.admin-table tr:hover td {
    background: rgba(168, 212, 154, 0.1);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* تأثيرات محسنة للنماذج */
.admin-form .form-group label::before {
    content: '✏️';
    margin-left: 0.5rem;
    opacity: 0.7;
}

.admin-form input:focus + label::before {
    content: '✨';
    opacity: 1;
}

/* تأثيرات محسنة للقوائم المنسدلة */
.admin-form select {
    position: relative;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23a8d49a"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

/* تأثيرات محسنة للرسائل */
.notification {
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    animation: slideRight 2s ease-in-out infinite;
}



/* تأثيرات محسنة للأيقونات */
.feature i {
    position: relative;
    transition: all 0.3s ease;
}

.feature:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-color);
}

/* تأثيرات محسنة للبطاقات */
.menu-item,
.contact-form,
.feature {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.menu-item::before,
.contact-form::before,
.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.menu-item:hover::before,
.contact-form:hover::before,
.feature:hover::before {
    opacity: 0.05;
}

/* تأثيرات محسنة للصور الخلفية */
.header-title::before,
.header-title::after {
    background-attachment: fixed;
}

/* تأثيرات محسنة للتمرير */
html {
    scroll-behavior: smooth;
}

/* تأثيرات محسنة للتركيز */
*:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* تأثيرات محسنة للطباعة */
@media print {
    .header-title::before,
    .header-title::after,
    .footer-section h3::before {
        display: none;
    }
}

/* تأثيرات محسنة للأجهزة المحمولة */
@media (max-width: 768px) {
    .footer-section h3::before {
        font-size: 1rem;
        top: -8px;
        right: -12px;
    }
}

/* تم إزالة الوضع المظلم */

/* تأثيرات محسنة للحركة المقللة */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* تأثيرات إضافية للتفاعل */
.menu-item:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(168, 212, 154, 0.3);
}

.category-tab:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(168, 212, 154, 0.4);
}

.lang-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(168, 212, 154, 0.3);
}

/* تأثيرات للعناصر النشطة */
.category-tab.active {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(168, 212, 154, 0.4);
}

.lang-btn.active {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(168, 212, 154, 0.3);
}

/* تأثيرات إضافية للتفاعل */
.menu-item:active {
    transform: scale(0.98);
    transition: all 0.1s ease;
}

.menu-item:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.menu-item:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* تأثيرات إضافية للتفاعل */
.category-tab:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
}

.category-tab:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.category-tab:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* تأثيرات إضافية للصور */
.menu-item img:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.menu-item img:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* تأثيرات إضافية للعناوين */
.section-title {
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-title:hover {
    transform: scale(1.02);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.section-title:hover::after {
    width: 120px;
    background: var(--gradient-secondary);
}

/* تأثيرات إضافية محسنة لبطاقات المنتجات */
.menu-item {
    position: relative;
    overflow: hidden;
}

.menu-item .glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(168, 212, 154, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 1;
    opacity: 0;
}

.menu-item:hover .glow-effect {
    width: 200%;
    height: 200%;
    opacity: 1;
}

.menu-item .corner-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(168, 212, 154, 0.1) 50%);
    border-radius: 0 30px 0 30px;
    transition: all 0.4s ease;
    z-index: 3;
}

.menu-item:hover .corner-decoration {
    transform: scale(1.2) rotate(45deg);
    background: linear-gradient(135deg, transparent 50%, rgba(168, 212, 154, 0.2) 50%);
}

.menu-item .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.menu-item .floating-elements::before,
.menu-item .floating-elements::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(168, 212, 154, 0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.menu-item .floating-elements::before {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.menu-item .floating-elements::after {
    top: 70%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 0.6;
    }
}

.menu-item .content-highlight {
    position: relative;
    z-index: 4;
}

.menu-item .content-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.8s ease;
    z-index: -1;
}

.menu-item:hover .content-highlight::before {
    left: 100%;
}

/* تأثيرات للصور المحسنة */
.menu-item img {
    position: relative;
    z-index: 2;
}

.menu-item img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(168, 212, 154, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(168, 212, 154, 0.05) 75%,
        transparent 100%
    );
    opacity: 0;
    transition: all 0.5s ease;
}

.menu-item:hover img::after {
    opacity: 1;
}

/* تأثيرات للعناوين المحسنة */
.menu-item h3 {
    position: relative;
    z-index: 4;
}

.menu-item h3 .title-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 212, 154, 0.1), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease;
    z-index: -1;
}

.menu-item:hover h3 .title-glow {
    transform: translateX(100%);
}

/* تأثيرات للأسعار المحسنة - تم إزالتها للتبسيط */
.menu-item .price {
    position: relative;
    z-index: 4;
}

.menu-item .price .price-ripple {
    display: none;
}

.menu-item:hover .price .price-ripple {
    display: none;
}

/* تأثيرات للتفاعل المحسن */
.menu-item .interaction-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(168, 212, 154, 0.05) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(168, 212, 154, 0.05) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.menu-item:hover .interaction-layer {
    opacity: 1;
}

/* تأثيرات للظلال المحسنة */
.menu-item .shadow-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.02) 100%);
    border-radius: 30px;
    transform: translateY(10px) scale(0.95);
    transition: all 0.5s ease;
    z-index: -1;
    opacity: 0;
}

.menu-item:hover .shadow-layer {
    opacity: 1;
    transform: translateY(20px) scale(0.9);
}

/* Enhanced Footer Effects */

/* Floating particles effect */
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="floating-particles" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(168,212,154,0.2)"/><circle cx="80" cy="40" r="0.8" fill="rgba(244,162,97,0.2)"/><circle cx="60" cy="80" r="1.2" fill="rgba(231,111,81,0.2)"/></pattern></defs><rect width="200" height="200" fill="url(%23floating-particles)"/></svg>');
    opacity: 0.4;
    animation: floatParticles 20s linear infinite;
    pointer-events: none;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* Enhanced social link hover effects */
.social-link-item {
    position: relative;
    overflow: hidden;
}

.social-link-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(168, 212, 154, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.social-link-item:hover::after {
    width: 200px;
    height: 200px;
}

/* Glowing border effect */
.social-link-item:hover {
    box-shadow: 
        0 15px 35px rgba(168, 212, 154, 0.3),
        0 0 0 1px rgba(168, 212, 154, 0.5),
        0 0 20px rgba(168, 212, 154, 0.3);
}

/* Contact item enhanced effects */
.contact-item {
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 212, 154, 0.1), transparent);
    transition: left 0.8s ease;
}

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

/* Enhanced icon animations */
.contact-item i,
.social-link-item i {
    position: relative;
    z-index: 2;
}

.contact-item:hover i {
    animation: iconPulse 0.6s ease-in-out;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.4);
    }
}

/* Footer title enhanced effects */
.footer-info h3,
.footer-social h3 {
    position: relative;
    overflow: hidden;
}

.footer-info h3::before,
.footer-social h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 212, 154, 0.2), transparent);
    transition: left 1s ease;
}

.footer-info:hover h3::before,
.footer-social:hover h3::before {
    left: 100%;
}

/* Enhanced footer bottom */
.footer-bottom {
    position: relative;
    overflow: hidden;
}

.footer-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 25%, 
        var(--secondary-color) 50%, 
        var(--primary-color) 75%, 
        transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Enhanced responsive effects */
@media (max-width: 768px) {
    .footer-section::before {
        animation: floatParticles 15s linear infinite;
    }
    
    .social-link-item::after {
        width: 150px;
        height: 150px;
    }
    
    .contact-item:hover {
        transform: translateX(3px);
    }
}

@media (max-width: 480px) {
    .footer-section::before {
        animation: floatParticles 10s linear infinite;
    }
    
    .social-link-item::after {
        width: 120px;
        height: 120px;
    }
}

/* Enhanced loading states */
.social-link-item.loading {
    position: relative;
}

.social-link-item.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Enhanced focus states */
.social-link-item:focus-within {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 15px;
    box-shadow: 0 0 0 3px rgba(168, 212, 154, 0.3);
}

.contact-item:focus-within {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 12px;
    box-shadow: 0 0 0 3px rgba(168, 212, 154, 0.3);
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
    .footer-section::before,
    .social-link-item::after,
    .contact-item::before,
    .footer-info h3::before,
    .footer-social h3::before,
    .footer-bottom::after {
        animation: none;
    }
    
    .social-link-item:hover,
    .contact-item:hover {
        transform: none;
    }
    
    .contact-item:hover i,
    .social-link-item:hover i {
        animation: none;
    }
}

/* Enhanced print styles */
@media print {
    .footer-section::before,
    .social-link-item::after,
    .contact-item::before,
    .footer-info h3::before,
    .footer-social h3::before,
    .footer-bottom::after {
        display: none;
    }
    
    .footer-section {
        background: #f5f5f5 !important;
        color: #333 !important;
        border-top: 2px solid #333 !important;
    }
    
    .social-link-item,
    .contact-item {
        background: white !important;
        border: 1px solid #ddd !important;
        color: #333 !important;
    }
}

/* Enhanced dark mode support */
@media (prefers-color-scheme: dark) {
    .footer-section {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    }
    
    .contact-item {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(168, 212, 154, 0.1);
    }
    
    .social-link-item {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(168, 212, 154, 0.1);
    }
}

/* Enhanced performance optimizations */
.footer-section {
    will-change: transform, opacity;
}

.social-link-item,
.contact-item {
    will-change: transform, box-shadow;
}

/* Enhanced touch interactions */
@media (hover: none) and (pointer: coarse) {
    .social-link-item:hover,
    .contact-item:hover {
        transform: none;
    }
    
    .social-link-item:active,
    .contact-item:active {
        transform: scale(0.98);
    }
}
