/* :root {
    --primary-color: #3c28f5;
    --secondary-color: #e2a82b;
    --accent-color: #fd79a8;
    --success-color: #00b894;
    --light-color: #f9f7fe;
    --dark-color: #2d3436;
} */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: var(--dark-color);
}


/* Pindahkan semua style CSS dari tag <style> ke file ini */
        :root {
            --primary-color: #757575;
            --secondary-color: #2b2a29;
            --accent-color: #fd79a8;
            --success-color: #00b894;
            --light-color: #f9f7fe;
            --dark-color: #2d3436;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            color: var(--dark-color);
        }
        
        /* ============================================
   NAVBAR STICKY STYLES
   ============================================ */

/* Navbar sticky */
.navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Efek glassmorphism saat scroll */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Smooth transition */
.navbar {
    transition: all 0.3s ease-in-out;
}

/* Navbar shrink effect */
.navbar.shrink {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.navbar.shrink .navbar-brand {
    font-size: 1.5rem;
    transition: font-size 0.3s ease;
}

.navbar.shrink .nav-link {
    font-size: 0.95rem;
    transition: font-size 0.3s ease;
}

/* Navbar brand animation */
.navbar-brand {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    transition: all 0.3s ease;
}

.navbar.shrink .navbar-brand i {
    font-size: 1.5rem;
}

/* Navbar link hover effect */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Cart button animation */
.btn-outline-primary {
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

/* Navbar toggler animation */
.navbar-toggler {
    transition: all 0.3s ease;
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.25);
}

/* Navbar collapse animation */
.navbar-collapse.collapsing,
.navbar-collapse.show {
    transition: all 0.3s ease;
}

/* ============================================
   RESPONSIVE NAVBAR STICKY
   ============================================ */

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        margin-bottom: 0.25rem;
    }
    
    .nav-link:hover {
        background-color: rgba(108, 92, 231, 0.1);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .navbar.shrink .navbar-brand {
        font-size: 1.3rem;
    }
}

/* Fix untuk mobile */
@media (max-width: 767.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar.shrink {
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }
    
    .navbar-spacer {
        height: 60px !important;
    }
    
    .navbar.shrink ~ .navbar-spacer {
        height: 55px !important;
    }
}

/* Fix untuk tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-spacer {
        height: 65px;
    }
    
    .navbar.shrink ~ .navbar-spacer {
        height: 60px;
    }
}
        
        .hero-section {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 5rem 0;
            border-radius: 0 0 30px 30px;
            margin-bottom: 3rem;
        }
        
        .feature-card {
            border: none;
            border-radius: 15px;
            transition: transform 0.3s, box-shadow 0.3s;
            background-color: white;
            height: 100%;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        .card-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        
        .product-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s;
            background-color: white;
            height: 100%;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
        }
        
        .product-img {
            height: 200px;
            object-fit: cover;
            width: 100%;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
        }
        
        .btn-primary:hover {
            background-color: #5b4bd8;
            border-color: #5b4bd8;
        }
        
        .btn-accent {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
        }
        
        .btn-accent:hover {
            background-color: #e84393;
            border-color: #e84393;
            color: white;
        }
        
        .page-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 3rem 0;
            border-radius: 0 0 20px 20px;
            margin-bottom: 3rem;
        }
        
        .contact-form {
            background-color: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .address-card {
            border-left: 5px solid var(--primary-color);
            border-radius: 10px;
        }
        
        .about-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
        }
        
        .team-member {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .team-img {
            width: 150px;
            height: 150px;
            object-fit: cover;
            border-radius: 50%;
            border: 5px solid var(--light-color);
            margin-bottom: 1rem;
        }
        
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
        }
        
        .footer-link {
            color: #dfe6e9;
            text-decoration: none;
            transition: color 0.2s;
        }
        
        .footer-link:hover {
            color:#747474 ;
        }
        
        .social-icon {
            font-size: 1.5rem;
            margin-right: 1rem;
            color: #dfe6e9;
        }
        
        /* Active page indicator in navbar */
        .nav-link.active {
            color: var(--primary-color) !important;
            font-weight: 600;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .hero-section {
                padding: 3rem 0;
                border-radius: 0 0 20px 20px;
            }
            
            .display-4 {
                font-size: 2.5rem;
            }
        }


        /* ============================================
   PAGINATION STYLES
   ============================================ */

.pagination {
    margin-bottom: 0;
}

.page-link {
    color: var(--primary-color);
    border: 1px solid var(--gray-color);
    margin: 0 2px;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 92, 231, 0.2);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 8px rgba(108, 92, 231, 0.2);
}

.page-item.disabled .page-link {
    color: #6c757d;
    background-color: var(--light-color);
    border-color: var(--gray-color);
    opacity: 0.6;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-link {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
        margin: 2px;
    }
}

/* Pagination info */
#pageInfo {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Items per page selector */
#itemsPerPage {
    max-width: 100px;
}

/* Product counter */
#productCounter {
    font-size: 0.95rem;
    color: var(--dark-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    #productCounter {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        gap: 1rem;
    }
}

/* WhatsApp button style */
.btn-success {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
}

.btn-success:hover {
    background-color: #1da851 !important;
    border-color: #1da851 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Stok habis button */
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
    
        