/* Main Styles for Digital Ashim */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Category Grid */
.category-card {
    transition: transform 0.3s ease;
    height: 100%;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4e73df;
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    height: 100%;
}

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

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1cc88a;
}

.product-price {
    font-weight: bold;
    color: #e74a3b;
    font-size: 1.2rem;
}

/* Admin Panel */
.admin-sidebar {
    background-color: #343a40;
    min-height: calc(100vh - 56px);
    color: white;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    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: 3px solid #4e73df;
}

/* Stats Cards */
.stats-card {
    border-left: 4px solid;
    transition: transform 0.3s ease;
}

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

.stats-card.products {
    border-color: #4e73df;
}

.stats-card.categories {
    border-color: #1cc88a;
}

.stats-card.orders {
    border-color: #36b9cc;
}

.stats-card.users {
    border-color: #f6c23e;
}

/* Status Badges */
.badge.pending {
    background-color: #ffc107;
}

.badge.processing {
    background-color: #17a2b8;
}

.badge.completed {
    background-color: #28a745;
}

.badge.cancelled {
    background-color: #dc3545;
}

/* Footer styles moved to custom.css */

/* Hover Effects */
.hover-shadow {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px);
}

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Product Image Styles */
.product-image {
    transition: transform 0.3s ease;
    object-fit: contain;
}

.card:hover .product-image {
    transform: scale(1.05);
}

/* Text Styles */
.text-glow {
    text-shadow: 0 0 10px rgba(78, 115, 223, 0.3);
}

/* Category Page Specific */
.category-image {
    max-height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Payment Methods Page Specific */
.payment-method-card {
    transition: all 0.3s ease;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Staggered Animation for Items */
@media (prefers-reduced-motion: no-preference) {
    .stagger-item-1 { animation-delay: 0.1s; }
    .stagger-item-2 { animation-delay: 0.2s; }
    .stagger-item-3 { animation-delay: 0.3s; }
    .stagger-item-4 { animation-delay: 0.4s; }
    .stagger-item-5 { animation-delay: 0.5s; }
    .stagger-item-6 { animation-delay: 0.6s; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .admin-sidebar {
        min-height: auto;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Extra Small Devices */
@media (max-width: 576px) {
    .card-body {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.375rem 0.75rem;
    }
}
