/* ========================================
   Enhanced Navbar & Footer Styles
   ======================================== */

/* ==================== NAVBAR ==================== */

/* Navbar Container */
.navbar {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
    padding: 12px 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(40, 40, 40, 0.98) 100%);
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Logo Styling */
.navbar-brand {
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 100px !important;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.navbar.scrolled .navbar-brand img {
    height: 55px !important;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.5));
}

/* Nav Links */
.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: #f8f9fa !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 16px !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    color: #D4AF37 !important;
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* Active Link - الصفحة الحالية */
.navbar-nav .nav-link.active {
    color: #D4AF37 !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Dropdown Menu */
.dropdown-menu {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(40, 40, 40, 0.98) 100%);
    border: 2px solid #D4AF37;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.dropdown-item {
    color: #f8f9fa;
    padding: 10px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, #D4AF37 0%, #f0d98d 100%);
    color: #1a1a1a;
    transform: translateX(5px);
    padding-right: 25px;
}

/* Language Switcher */
.language-switcher {
    color: #f8f9fa !important;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px 18px !important;
    border: 2px solid #D4AF37;
    border-radius: 25px;
    background: rgba(212, 175, 55, 0.15);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.language-switcher:hover {
    color: #1a1a1a !important;
    border-color: #f0d98d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.language-switcher i {
    font-size: 1.1rem;
}

/* Navbar Toggler */
.navbar-toggler {
    border: 2px solid #D4AF37;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.3);
}

/* ==================== FOOTER ==================== */

/* Footer Container */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #f8f9fa;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37 0%, #f0d98d 50%, #D4AF37 100%);
}

/* Footer Logo */
.footer-logo {
    color: #D4AF37;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-logo:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(212, 175, 55, 0.5);
}

/* Footer Text */
.footer-text {
    color: #d1d1d1;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Footer Headings */
.footer-heading {
    color: #D4AF37;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37 0%, transparent 100%);
    border-radius: 2px;
}

[lang="en"] .footer-heading::after {
    right: auto;
    left: 0;
    background: linear-gradient(90deg, #D4AF37 0%, transparent 100%);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

[lang="en"] .footer-links li:hover {
    transform: translateX(-5px);
}

.footer-links a {
    color: #d1d1d1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #D4AF37;
    padding-right: 5px;
}

[lang="en"] .footer-links a:hover {
    padding-right: 0;
    padding-left: 5px;
}

.footer-links i {
    color: #D4AF37;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    transform: scale(1.2);
}

/* Copyright Section */
.copyright {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.copyright p {
    color: #b0b0b0;
    margin: 8px 0;
    font-size: 0.9rem;
}

.copyright a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #f0d98d;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Social Icons (if needed) */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #f0d98d 100%);
    color: #1a1a1a;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 991px) {
    .navbar-brand img {
        height: 60px !important;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 50px !important;
    }
    
    .navbar-nav {
        padding: 20px 0;
        background: rgba(26, 26, 26, 0.95);
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .language-switcher {
        margin: 10px auto;
        display: inline-block;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    .footer-heading {
        font-size: 1.2rem;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 55px !important;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        font-size: 1.6rem;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 50px !important;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .footer-logo {
        font-size: 1.4rem;
    }
}
