/* Custom styles for Black Friday Deals */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #051610;
}
::-webkit-scrollbar-thumb {
    background: #0B3D2E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C9A84C;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(3, 14, 9, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero animations */
.hero-badge {
    animation: fadeInDown 0.8s ease-out both;
}
.hero-badge h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-badge p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-badge a {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

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

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

/* Deal cards */
.deal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.deal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Category items */
.category-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.category-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Gold shimmer effect on hover */
.gold-shimmer {
    position: relative;
    overflow: hidden;
}
.gold-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.1), transparent);
    transition: left 0.5s ease;
}
.gold-shimmer:hover::after {
    left: 100%;
}

/* Nav links */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C9A84C;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Menu lines animation */
.menu-line {
    transition: all 0.3s ease;
}
#mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#mobile-menu-btn.active .menu-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .font-display {
        line-height: 1.1;
    }
}
