/* Custom Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    padding-top: 76px; /* Account for fixed header */
}

/* Product Cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-img-top {
    border-radius: 0.375rem 0.375rem 0 0;
}

/* Form Styling */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Badge Styling */
.badge {
    font-weight: 500;
}

/* Footer Styling */
footer a:hover {
    color: var(--light-color) !important;
    text-decoration: underline !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }
    
    .btn-group {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    body {
        padding-top: 66px;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Loading Animation */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Alert Styling */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding-left: 0;
}

/* Carousel */
.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 250px;
    }
}