/* ==========================================
   LUBEK - ENHANCED COLOR IMPROVEMENTS
   Modern, Vibrant, and Professional Colors
   ========================================== */

/* ==========================================
   IMPROVED LINK COLORS
   ========================================== */
a {
    color: #1976d2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

a:hover {
    color: #ffa726;
    text-decoration: none;
}

/* ==========================================
   ENHANCED CATEGORY & PRODUCT CARDS
   ========================================== */
.category-card,
.product-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover,
.product-card:hover {
    border-color: #ffa726;
    box-shadow: 0 12px 40px rgba(255, 167, 38, 0.25), 0 0 0 1px rgba(255, 167, 38, 0.1);
}

/* Category overlay with better colors */
.category-overlay,
.product-overlay {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.88) 0%, rgba(255, 167, 38, 0.82) 100%);
}

/* ==========================================
   IMPROVED BADGES
   ========================================== */
.badge {
    font-weight: 600;
    padding: 0.4em 0.8em;
    border-radius: 8px;
}

.badge.bg-primary,
.badge-primary {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%) !important;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.pulse-animation {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255, 167, 38, 0.6);
    }
    50% {
        box-shadow: 0 0 16px rgba(255, 167, 38, 0.9);
    }
}

/* ==========================================
   SECTION BACKGROUNDS - IMPROVED
   ========================================== */
.categories-section {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.facility-section {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    position: relative;
}

.facility-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

.distributor-section {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%) !important;
    position: relative;
}

.distributor-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* ==========================================
   STAT & VALUE CARDS - VIBRANT COLORS
   ========================================== */
.stat-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e0e0e0;
}

.stat-card:hover {
    border-color: #ffa726;
    box-shadow: 0 8px 32px rgba(255, 167, 38, 0.2);
}

.stat-number {
    color: #0d47a1;
    text-shadow: 2px 2px 4px rgba(13, 71, 161, 0.1);
}

.stat-card:hover .stat-number {
    color: #ffa726;
}

.value-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e0e0e0;
}

.value-card:hover {
    border-color: #1976d2;
    box-shadow: 0 8px 32px rgba(13, 71, 161, 0.2);
}

.value-icon {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.3);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    box-shadow: 0 8px 24px rgba(255, 167, 38, 0.4);
}

/* ==========================================
   CONTACT CARDS - MODERN COLORS
   ========================================== */
.contact-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e0e0e0;
}

.contact-card:hover {
    border-color: #ffa726;
    box-shadow: 0 8px 32px rgba(255, 167, 38, 0.2);
}

.contact-icon {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    box-shadow: 0 4px 16px rgba(255, 167, 38, 0.3);
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.4);
    transform: scale(1.1) rotate(5deg);
}

/* ==========================================
   FEATURE CARDS - ENHANCED
   ========================================== */
.feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e0e0e0;
}

.feature-card:hover {
    border-color: #1976d2;
    box-shadow: 0 8px 32px rgba(13, 71, 161, 0.2);
}

/* ==========================================
   IMPROVED TEXT COLORS
   ========================================== */
.text-primary {
    color: #1976d2 !important;
}

.text-accent {
    color: #ffa726 !important;
}

.bg-primary {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%) !important;
}

.bg-accent {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%) !important;
}

/* ==========================================
   SECTION TITLES - VIBRANT
   ========================================== */
.section-title::after {
    background: linear-gradient(90deg, #ffa726 0%, #ffb74d 50%, #ffa726 100%);
    box-shadow: 0 2px 8px rgba(255, 167, 38, 0.4);
}

.facility-section .section-title,
.distributor-section .section-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   HERO SECTION - IMPROVED OVERLAY
   ========================================== */
.hero-overlay {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.75) 0%, rgba(255, 167, 38, 0.65) 100%);
}

.hero-title {
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 167, 38, 0.3);
}

.hero-subtitle {
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   IMPROVED SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffa726 0%, #ffb74d 100%);
    border-radius: 6px;
    border: 2px solid #f5f5f5;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #fb8c00 0%, #ffa726 100%);
}

/* ==========================================
   IMPROVED FORM FOCUS COLORS
   ========================================== */
.form-control:focus,
.form-select:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}

.form-check-input:checked {
    background-color: #1976d2;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}

/* ==========================================
   IMPROVED ALERTS
   ========================================== */
.alert-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
    color: #2e7d32;
}

.alert-danger {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-color: #f44336;
    color: #c62828;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #ff9800;
    color: #e65100;
}

.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
    color: #1565c0;
}

/* ==========================================
   IMPROVED BUTTON VARIANTS
   ========================================== */
.btn-success {
    background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
    border: none;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #388e3c 0%, #66bb6a 100%);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #f44336 0%, #e57373 100%);
    border: none;
    box-shadow: 0 4px 16px rgba(244, 67, 54, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #ef5350 100%);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #2196f3 0%, #64b5f6 100%);
    border: none;
    box-shadow: 0 4px 16px rgba(33, 150, 243, 0.3);
}

.btn-info:hover {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* ==========================================
   FOOTER - KEEP ORIGINAL COLORS
   ========================================== */
/* Footer maintains original blue gradient - do not override */
.footer,
footer.footer {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%) !important;
}

/* ==========================================
   NAVBAR LINKS - BETTER HOVER
   ========================================== */
.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffa726 0%, #ffb74d 100%);
    transition: width 0.3s ease;
}

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

/* ==========================================
   DROPDOWN MENU - MODERN STYLE
   ========================================== */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    margin-bottom: 2px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #ffa726 0%, #ffb74d 100%);
    color: #ffffff;
    transform: translateX(5px);
}

/* ==========================================
   IMPROVED ANIMATIONS
   ========================================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ==========================================
   PRINT - MAINTAIN COLORS
   ========================================== */
@media print {
    .btn-primary,
    .badge {
        background: #1976d2 !important;
        color: #ffffff !important;
    }
}

