/* Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom button hover effect */
.btn-hover {
    transition: all 0.3s ease;
}

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

/* Card hover effect */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Navbar dropdown animation */
.dropdown-menu {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile menu animation */
.mobile-menu {
    transition: all 0.3s ease;
}

/* Image hover zoom effect */
.img-zoom {
    transition: transform 0.5s ease;
}

.img-zoom:hover {
    transform: scale(1.05);
}

/* Custom form styles */
.form-input {
    @apply w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-300;
}

.form-label {
    @apply block text-sm font-medium text-gray-700 mb-1;
}

/* Custom table styles */
.custom-table {
    @apply w-full border-collapse;
}

.custom-table th {
    @apply bg-gray-50 px-4 py-3 text-left text-sm font-semibold text-gray-700 border-b;
}

.custom-table td {
    @apply px-4 py-3 text-sm text-gray-600 border-b;
}

.custom-table tr:hover {
    @apply bg-gray-50 transition-colors;
}

/* Custom pagination styles */
.pagination {
    @apply flex space-x-2 justify-center;
}

.pagination a {
    @apply px-4 py-2 rounded-lg border border-gray-300 text-gray-700 hover:bg-blue-50 hover:text-blue-600 hover:border-blue-300 transition-colors;
}

.pagination a.active {
    @apply bg-blue-600 text-white border-blue-600;
}

/* Custom badge styles */
.badge {
    @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium;
}

.badge-primary {
    @apply bg-blue-100 text-blue-800;
}

.badge-success {
    @apply bg-green-100 text-green-800;
}

.badge-warning {
    @apply bg-yellow-100 text-yellow-800;
}

.badge-danger {
    @apply bg-red-100 text-red-800;
}

/* Custom shadow styles */
.shadow-custom {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Custom gradient backgrounds */
.gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .dark-mode-support {
        color-scheme: dark;
    }
}