/* Default CSS */
html {
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* All Page Header Section */
nav .logo a {
    font-size: 35px;
    font-weight: 700;
    color: #0f22af;
}

nav .logo a span {
    color: #ef4444;
}

.nav-link {
    transition: all 0.5s ease;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    color: #374151;
}

.nav-link:hover {
    color: #ef4444;
}

/* Active nav link styles */
.nav-link.active {
    color: #ef4444;
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #0f22af);
    border-radius: 2px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.mobile-menu.show {
    max-height: 300px;
    opacity: 1;
}

.mobile-menu-item {
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.show .mobile-menu-item {
    transform: translateX(0);
    opacity: 1;
    transition: all 0.3s ease;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px;
}

.mobile-menu.show .mobile-menu-item:hover {
    color: #ef4444;
}

/* Active mobile menu item */
.mobile-menu-item.active {
    color: #ef4444;
    font-weight: 700;
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
}

.mobile-menu.show .mobile-menu-item:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.show .mobile-menu-item:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu.show .mobile-menu-item:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu.show .mobile-menu-item:nth-child(4) {
    transition-delay: 0.4s;
}

.hamburger {
    transition: all 0.3s ease;
    padding: 0 10px;
}

.hamburger.active {
    transform: rotate(90deg);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.cart-count {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
}

.cart-dropdown {
    transition: all 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.cart-dropdown.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.cart-dropdown:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

.cart-item {
    transition: all 0.3s ease;
}

.cart-item:hover {
    background-color: #f9fafb;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .cart-dropdown {
        position: fixed !important;
        top: 70px !important;
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
        max-width: none !important;
        z-index: 9999 !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .cart-dropdown {
        width: 320px;
        right: -50px;
    }
}

/* Desktop adjustments */
@media (min-width: 1025px) {
    .cart-dropdown {
        width: 380px;
    }
}

/* Page Function CSS */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* All Banner Section */
/* All Banner Section */
/* All Banner Section */
.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 95vh;
    position: relative;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3;
}

.banner-container {
    position: relative;
    z-index: 5;
}

/* Home Banner Section */
.banner.home-banner {
    background: url(../images/home-banner.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


/* Product Section */
/* Product Banner */
.product-banner {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 0;
}

.product-banner .gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}




/* Category Section */
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.category-banner .slide-animation {
    animation: slideLeft 15s infinite linear;
}

.category-banner .slide-animation:hover {
    animation-play-state: paused;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.category-banner .float-animation {
    animation: float 3s ease-in-out infinite;
}

.category-banner .gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.category-banner .card-hover {
    transition: all 0.3s ease;
}

.category-banner .card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hover-float {
    transition: all 0.3s ease;
}

.hover-float:hover {
    transform: translateY(-5px);
}

.category-card {
    transition: all 0.3s ease;
    position: relative;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: all 0.4s ease;
}

.category-card .category-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.category-card:hover .category-content {
    opacity: 1;
    transform: translateY(0);
}

.category-card:hover::before {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Reviews Product */
.star-filled i,
.star-empty i {
    color: #f7941f;
}