/* Custom CSS for Shopingo Template */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    padding-top: 76px; /* Offset for fixed navbar if needed */
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 25%;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.hero-banner {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.icon-wrapper {
    transition: transform 0.3s ease;
}

.card:hover .icon-wrapper {
    transform: translateY(-5px);
}

.category-card {
    transition: transform 0.3s ease;
    height: 250px;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.card-img-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent) !important;
}

footer a:hover {
    color: #ddd !important;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}
