/* Modern Header & Footer Styles for Amiran System */

/* Header Button Hover Effects */
.nav-item a {
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-2px);
}

/* Glassmorphism Effect for Login/Register */
[style*="backdrop-filter"]:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* Phone Button Hover */
[style*="background: linear-gradient(135deg, #dc2626"]:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5) !important;
    transform: scale(1.05);
}

/* Instagram Button Hover */
[style*="background: linear-gradient(135deg, #e1306c"]:hover {
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5) !important;
    transform: scale(1.05);
}

/* Cart Button Hover */
[style*="background: linear-gradient(135deg, #f59e0b"]:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
    transform: scale(1.05);
}

/* Navigation Menu Hover */
.navbar-nav .nav-link {
    color: white !important;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 15px !important;
}

.navbar-nav .nav-link:hover {
    color: #3b82f6 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Dropdown Menu */
.dropdown-menu {
    animation: fadeInDown 0.3s ease;
}

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

/* Footer Hover Effects */
.hover-blue {
    transition: all 0.3s ease;
}

.hover-blue:hover {
    color: #3b82f6 !important;
    transform: translateX(-5px);
}

/* Social Links */
.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4) !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-item {
        margin: 5px 0 !important;
    }
    
    .social-link {
        width: 90%;
        justify-content: center;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Logo Glow Effect on Hover */
footer img:hover,
header img:hover {
    filter: drop-shadow(0 4px 20px rgba(59, 130, 246, 0.6)) !important;
    transition: filter 0.3s ease;
}

/* Text Shadow for Better Readability */
.text-white {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Mega Menu Enhancement */
.megamenu {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: none;
    animation: fadeInDown 0.3s ease;
}

.megamenu .dropdown-item {
    transition: all 0.2s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.megamenu .dropdown-item:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white !important;
    transform: translateX(5px);
}

/* Navbar Toggle Button */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6;
}

.navbar-toggler-icon {
    color: white !important;
}

/* Accessibility Improvements */
a:focus, button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    header, footer {
        background: white !important;
        color: black !important;
    }
}

