/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333;
}

.navbar-dark,
.navbar[data-bs-theme="dark"] {
    background: linear-gradient(135deg, #0a1628, #1a3a5c) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.footer-dark {
    background: linear-gradient(135deg, #0a1628, #1a3a5c) !important;
}

.main-content {
    min-height: 60vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* Product Card */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e9ecef;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.product-card .card-img-top {
    padding: 10px;
    background: #f8f9fa;
}

/* Category Card */
.category-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #e9ecef;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

/* Active list group item */
.list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Carousel fix */
.carousel-item img {
    max-height: 450px;
    object-fit: contain;
}

/* Price tag */
.text-danger {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .product-card .card-img-top {
        height: 150px !important;
    }
}

/* Product Swiper */
.product-swiper {
    padding: 0 40px;
}

.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
    color: #0d6efd;
}

.product-swiper .swiper-slide {
    height: auto;
}

.product-swiper .swiper-slide > .col {
    width: 100%;
}

/* Banner Swiper */
.banner-section {
    width: 100%;
}

.banner-swiper {
    width: 100%;
    height: 375px;
}

.banner-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 375px;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    text-align: center;
}

.banner-overlay h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.banner-overlay p {
    font-size: 1.2rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.banner-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.banner-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}
