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

:root {
    --primary-color: #a8d49a;
    --primary-dark: #8bc085;
    --primary-light: #c4e4b8;
    --secondary-color: #f4a261;
    --accent-color: #e76f51;
    --text-color: #2d3748;
    --light-text: #718096;
    --white: #ffffff;
    --light-bg: #f7fafc;
    --border-color: #e2e8f0;
    --shadow: 0 10px 25px rgba(168, 212, 154, 0.15);
    --shadow-hover: 0 20px 40px rgba(168, 212, 154, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #a8d49a 0%, #8bc085 100%);
    --gradient-secondary: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Bar Styles */
.language-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(168, 212, 154, 0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(168, 212, 154, 0.1);
}

.language-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

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

.lang-btn.active,
.lang-btn:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 212, 154, 0.3);
}

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

/* Header Title Section */
.header-title {
    padding: 120px 0 60px;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.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;
}

.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;
}

.title-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    transition: var(--transition);
}

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

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 0;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 300;
    transition: var(--transition);
}

.header-title:hover .subtitle {
    opacity: 1;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.logo p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}

.nav-menu .nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-btn {
    padding: 0.5rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
    display: none; /* إخفاء زر تسجيل الدخول */
}

.admin-btn:hover {
    background: #3db1a9;
    transform: translateY(-2px);
}

/* إخفاء زر تسجيل الدخول بشكل كامل */
.admin-login {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::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;
}

.hero::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;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1.2s ease-out;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease-out 0.3s both;
    font-weight: 300;
}

.cta-btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.2s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: var(--transition);
    z-index: -1;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

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

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out 0.9s both;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.hero-img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text-color);
    position: relative;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

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

.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: var(--transition);
}

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



/* Menu Section */
.menu-section {
    padding: 80px 0;
    background: var(--light-bg);
    position: relative;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

.menu-categories {
    max-width: 900px;
    margin: 0 auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.category-tab {
    padding: 1.2rem 2.5rem;
    border: none;
    background: var(--white);
    color: var(--text-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

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

.category-tab.active,
.category-tab:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.menu-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(168, 212, 154, 0.1);
    cursor: pointer;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

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

.menu-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover img {
    transform: scale(1.1);
}

.menu-item-content {
    padding: 2rem;
    transition: var(--transition);
}

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

.menu-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
}

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

.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 p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
    transition: var(--transition);
}

.menu-item:hover p {
    color: var(--text-color);
}

.menu-item-price {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.menu-item:hover .menu-item-price {
    transform: scale(1.1);
}

.menu-item-price::before {
    content: '💰';
    font-size: 1.2rem;
    transition: var(--transition);
}

.menu-item:hover .menu-item-price::before {
    transform: rotate(360deg) scale(1.2);
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.about-image {
    text-align: center;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--light-text);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #e55a5a;
    transform: translateY(-2px);
}



.social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: var(--transition);
    z-index: -1;
}

.social-links a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(168, 212, 154, 0.4);
}

.social-links a:hover::before {
    left: 0;
}



/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* RTL Support */
[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .section-title::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}





/* Content Sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Loading and No Items */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--light-text);
    font-size: 1.2rem;
}

.no-items {
    text-align: center;
    padding: 3rem;
    color: var(--light-text);
    font-style: italic;
    font-size: 1.1rem;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
}

.scroll-to-top:hover {
    background: var(--gradient-secondary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-hover);
}

.scroll-to-top.show {
    display: flex;
}

/* Enhanced hover effects */
.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.menu-item:hover::after {
    opacity: 0.08;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 2px solid var(--white);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-left: 15px;
}

.notification-close:hover {
    opacity: 0.8;
}

/* Enhanced form styles */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-text);
    opacity: 0.7;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.5;
}

/* Enhanced button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

/* Enhanced table styles */
.admin-table {
    border-collapse: collapse;
    width: 100%;
}

.admin-table th {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Enhanced modal styles */
.modal-content {
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--admin-text);
    transition: var(--admin-transition);
}

.modal-close:hover {
    color: var(--admin-accent);
    transform: scale(1.1);
}

/* Enhanced accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    transition: var(--transition);
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced focus styles */
.nav-link:focus,
.lang-btn:focus,
.category-tab:focus,
.cta-btn:focus,
.submit-btn:focus,
.btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Enhanced loading states */
.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced image handling */
.menu-item img {
    transition: var(--transition);
    backface-visibility: hidden;
}

.menu-item img:hover {
    transform: scale(1.05);
}

/* Enhanced typography */
.hero-title,
.section-title {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced shadows */
.menu-item,
.contact-form,
.feature {
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-item:hover,
.contact-form:hover,
.feature:hover {
    box-shadow: var(--shadow-hover);
}

/* Enhanced transitions */
.nav-link,
.lang-btn,
.category-tab,
.cta-btn,
.submit-btn,
.btn {
    transition: var(--transition);
}

/* Enhanced responsive images */
.hero-img,
.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hero-img:hover,
.about-img:hover {
    transform: scale(1.03);
}

/* Enhanced social links */
.social-links a {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::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: var(--transition);
}

.social-links a:hover::after {
    left: 100%;
}

/* Enhanced footer */
.footer-section h3 {
    position: relative;
    padding-bottom: 0.5rem;
}

/* Footer Section Styles - Enhanced Design */
.footer-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

/* Background Pattern for Footer */
.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 100 100"><defs><pattern id="footer-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(168,212,154,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* Footer Info Section - Enhanced */
.footer-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e8f4fd;
    font-size: 1rem;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(168, 212, 154, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(168, 212, 154, 0.2);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* Footer Social Section - Enhanced */
.footer-social h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 2px solid rgba(168, 212, 154, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.social-link-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.6s ease;
}

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

.social-link-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(168, 212, 154, 0.3);
}

.social-link-item i {
    font-size: 1.4rem;
    width: 25px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.social-link-item:hover i {
    transform: scale(1.3) rotate(5deg);
}

.social-link-item a {
    color: #e8f4fd;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.social-link-item:hover a {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(168, 212, 154, 0.5);
}

/* Social Media Icons Colors - Enhanced */
.social-link-item .fa-facebook {
    color: #1877f2;
    text-shadow: 0 0 10px rgba(24, 119, 242, 0.5);
}

.social-link-item .fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-link-item .fa-map-marker-alt {
    color: #ea4335;
    text-shadow: 0 0 10px rgba(234, 67, 53, 0.5);
}

/* Footer Bottom - Enhanced */
.footer-bottom {
    border-top: 2px solid rgba(168, 212, 154, 0.3);
    padding-top: 25px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-bottom p:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(168, 212, 154, 0.3);
}

/* Responsive Design for Footer - Enhanced */
@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 25px;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-info h3,
    .footer-social h3 {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .footer-info h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info {
        align-items: center;
    }
    
    .social-links {
        align-items: center;
    }
    
    .social-link-item {
        min-width: 250px;
        justify-content: center;
        padding: 14px 18px;
    }
    
    .contact-item {
        min-width: 280px;
        justify-content: center;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 40px 0 20px;
        margin-top: 50px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .social-link-item {
        min-width: 220px;
        padding: 12px 16px;
    }
    
    .contact-item {
        min-width: 240px;
        padding: 8px 12px;
    }
    
    .footer-info h3,
    .footer-social h3 {
        font-size: 1.4rem;
    }
}

/* Enhanced Footer Animation */
.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Enhanced Hover Effects */
.social-link-item:hover i {
    animation: bounce 0.6s ease;
}

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

/* Focus States for Accessibility - Enhanced */
.social-link-item a:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 8px;
}

.contact-item:focus-within {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 12px;
}

/* Loading Animation for Social Links */
.social-link-item.loading {
    position: relative;
    overflow: hidden;
}

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

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

/* Enhanced Footer Decoration */
.footer-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 25%, 
        var(--secondary-color) 50%, 
        var(--primary-color) 75%, 
        transparent 100%);
    opacity: 0.8;
}
