/* ============================================
   Auralis Medical (Zimbabwe) Pvt Ltd
   Custom Styles
   ============================================ */

:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --primary-light: rgba(13, 110, 253, 0.08);
    --secondary: #6c757d;
    --dark: #1e293b;
    --light: #f8fafc;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #f0f9ff 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: var(--dark);
}

.hero-section .hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
}

.hero-section .hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), rgba(13,110,253,0.15));
    position: absolute;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.08); opacity: 1; }
}

.hero-icon {
    position: relative;
    z-index: 1;
    font-size: 6rem;
}

.min-vh-60 {
    min-height: 60vh;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* Cards */
.category-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
}

.category-card:hover .category-icon {
    background: var(--primary) !important;
    color: white !important;
}

.category-card:hover .category-icon i {
    color: white !important;
}

.product-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
}

.product-img-wrapper {
    transition: background 0.3s ease;
}

.product-card:hover .product-img-wrapper {
    background: var(--primary-light) !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.page-header .breadcrumb-item a {
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    color: white !important;
}

/* Opacity helpers */
.opacity-40 {
    opacity: 0.4;
}

/* Avatar */
.avatar-circle {
    font-size: 1.1rem;
}

/* Footer */
footer a:hover {
    color: white !important;
}

/* Animations */
.animate__delay-1s {
    animation-delay: 0.2s;
}

.animate__delay-2s {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        text-align: center;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-circle {
        width: 180px;
        height: 180px;
    }

    .stats-bar .h3 {
        font-size: 1.25rem;
    }
}

/* Nav active state */
.nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Form focus */
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem var(--primary-light);
}

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

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

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

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

/* Star rating */
.text-warning .bi-star-fill {
    font-size: 0.8rem;
}

/* List group */
.list-group-item-action:hover {
    background: var(--primary-light);
}
