:root {
    --primary: #000000; /* Black from the logo */
    --secondary: #333333;
    --accent: #666666;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #0dcaf0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    background-image: linear-gradient(161deg, rgb(0 6 10) 1%, rgb(1 190 237 / 68%) 91.4%);
}

/* Header Styles */
header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    position: relative;
}

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

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

/* Button Styles */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

/* Product Card Styles */
.product-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card .card-img-top {
    height: 300px;
    object-fit: cover;
}

.product-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card .card-text.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.product-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

/* Product Detail Styles */
.product-detail-img {
    max-height: 500px;
    object-fit: contain;
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    border-color: var(--primary);
}

.size-selector .btn,
.color-selector .color-option {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.size-selector .btn.active {
    background-color: var(--primary);
    color: white;
}

.color-option {
    width: fit-content;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-option.active {
    border-color: var(--primary);
}

/* Cart Styles */
.cart-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-item img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.cart-summary {
    /* background-color: var(--light); */
    padding: 1.5rem;
    border-radius: 0.25rem;
}
.cart-container{
    border-radius: 10px;
    color: white;
    font-weight: 500;
}

/* Checkout Styles */

.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.btn-quantity {
    border-radius: 10px;
}
.btn-remove {
    border-radius: 10px;
}

.checkout-step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background-color: transparent;
    position: relative;
}

.checkout-step.active {
    background-color: transparent;
    color: white;
}

.checkout-wrapper{
    backdrop-filter: contrast(0.6);
    padding: 2%;
    border: 1px solid blueviolet;
    border-radius: 20px;
}


.checkout-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 2px;
    background-color: var(--light);
    z-index: 1;
}

.checkout-step.active:not(:last-child):after {
    background-color: var(--primary);
}

/* Footer Styles */
footer {
    background-color: var(--primary);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer .social-icons a {
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

footer .social-icons a:hover {
    opacity: 0.8;
}

footer .payment-methods span {
    font-size: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .product-card .card-img-top {
        height: 250px;
    }

    .container, .container-sm {
        max-width: 100%;
    }
    .continue-shopping{
        width: 50%;
    }
    .checkout-btn {
        width: 50%;
    }
    .product-detail-img {
        max-height: 350px;
    }
    
    .checkout-steps {
        flex-direction: column;
    }
    
    .checkout-step:not(:last-child) {
        margin-bottom: 1rem;
    }
    
    .checkout-step:not(:last-child):after {
        display: none;
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Admin Dashboard Styles */
.admin-sidebar {
    min-height: calc(100vh - 56px);
    background-color: var(--dark);
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary);
}

.admin-sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.admin-content {
    padding: 2rem;
}

.admin-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.admin-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
}

.admin-card .card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.stat-card {
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.stat-card.primary {
    background-color: var(--primary);
}

.stat-card.success {
    background-color: var(--success);
}

.stat-card.warning {
    background-color: var(--warning);
}

.stat-card.danger {
    background-color: var(--danger);
}

.stat-card .stat-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-card .stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}