/* Public Components CSS - Extracted from inline styles for better caching */

/* Modern Cards */
.modern-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.modern-card-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.modern-card:hover,
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: white;
}

.gradient-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
    color: white;
}

/* Hover Effects */
.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(23, 162, 184, 0.5);
    transition: box-shadow 0.3s ease;
}

.hover-primary:hover {
    color: #17a2b8 !important;
    transition: color 0.2s ease;
}

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

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

.animate-fade-in-up {
    animation: fadeIn 0.8s ease-out;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Category Badges */
.badge.bg-primary {
    background-color: #17a2b8 !important;
}

.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}

.badge.bg-info {
    background-color: #17a2b8 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

/* Utility Classes */
.position-relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.z-index-2 {
    z-index: 2;
}

.opacity-10 {
    opacity: 0.1;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-90 {
    opacity: 0.9;
}

/* Text Colors */
.text-white {
    color: white !important;
}

.text-light {
    color: #f8f9fa !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .modern-card {
        padding: 1rem;
    }

    .hover-lift:hover {
        transform: none;
    }
}
