/* Custom CSS for ZamPos Landing Page */

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Animated elements */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

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

/* Custom gradient backgrounds */
.gradient-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Custom hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Custom button styles */
.btn-primary-custom {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

/* Custom card styles */
.card-shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

/* Custom navigation */
.nav-blur {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.9);
}

/* Custom typography */
.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* Custom form styles */
.form-input-custom {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-input-custom:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Custom badge styles */
.badge-glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    animation: pulse 2s infinite;
}

/* Custom loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

/* Custom tooltip styles */
.tooltip-custom {
    position: relative;
}

.tooltip-custom::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip-custom:hover::after {
    opacity: 1;
}

/* Custom responsive utilities */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .mobile-menu-slide {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-slide.active {
        transform: translateX(0);
    }
}

/* Custom dark mode support */
@media (prefers-color-scheme: dark) {
    .dark-mode-auto {
        background-color: #1f2937;
        color: #f9fafb;
    }
}

/* Custom print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
}

/* Custom accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
.focus-visible:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Custom skeleton loading */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Custom progress bar */
.progress-bar-custom {
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Custom notification styles */
.notification-custom {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification-custom.show {
    transform: translateX(0);
}

/* Custom modal styles */
.modal-custom {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-custom.show {
    display: flex;
    opacity: 1;
}

.modal-custom-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    margin: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-custom.show .modal-custom-content {
    transform: scale(1);
}

/* Custom table styles */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom th {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.table-custom td {
    border-bottom: 1px solid #e5e7eb;
}

.table-custom tr:hover td {
    background: #f9fafb;
}

/* Custom tab styles */
.tab-custom {
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-custom:hover {
    border-bottom-color: #e5e7eb;
}

.tab-custom.active {
    border-bottom-color: #3b82f6;
    color: #3b82f6;
}

/* Custom accordion styles */
.accordion-custom {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-custom-header {
    background: #f9fafb;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-custom-header:hover {
    background: #f3f4f6;
}

.accordion-custom-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-custom.open .accordion-custom-content {
    max-height: 500px;
}

/* Custom breadcrumb styles */
.breadcrumb-custom {
    display: flex;
    align-items: center;
    space-x: 0.5rem;
}

.breadcrumb-custom-item {
    color: #6b7280;
    transition: color 0.3s ease;
}

.breadcrumb-custom-item:hover {
    color: #3b82f6;
}

.breadcrumb-custom-separator {
    color: #9ca3af;
    margin: 0 0.5rem;
}

/* Custom pagination styles */
.pagination-custom {
    display: flex;
    align-items: center;
    space-x: 0.25rem;
}

.pagination-custom-item {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.pagination-custom-item:hover {
    background: #f9fafb;
    border-color: #3b82f6;
}

.pagination-custom-item.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Custom dropdown styles */
.dropdown-custom {
    position: relative;
}

.dropdown-custom-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-custom.show .dropdown-custom-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Custom carousel styles */
.carousel-custom {
    position: relative;
    overflow: hidden;
}

.carousel-custom-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-custom-slide {
    min-width: 100%;
}

.carousel-custom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-custom-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-custom-nav.prev {
    left: 1rem;
}

.carousel-custom-nav.next {
    right: 1rem;
}

/* Custom timeline styles */
.timeline-custom {
    position: relative;
    padding-left: 2rem;
}

.timeline-custom::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-custom-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-custom-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #3b82f6;
    border: 2px solid white;
    box-shadow: 0 0 0 4px #e5e7eb;
}

/* Custom rating styles */
.rating-custom {
    display: flex;
    space-x: 0.25rem;
}

.rating-custom-star {
    color: #fbbf24;
    transition: transform 0.2s ease;
}

.rating-custom-star:hover {
    transform: scale(1.2);
}

/* Custom switch styles */
.switch-custom {
    position: relative;
    width: 3rem;
    height: 1.5rem;
    background: #e5e7eb;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.switch-custom.active {
    background: #3b82f6;
}

.switch-custom-thumb {
    position: absolute;
    top: 0.125rem;
    left: 0.125rem;
    width: 1.25rem;
    height: 1.25rem;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch-custom.active .switch-custom-thumb {
    transform: translateX(1.5rem);
}

/* Custom file upload styles */
.file-upload-custom {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.file-upload-custom input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-custom-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed #e5e7eb;
    border-radius: 0.5rem;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.file-upload-custom:hover .file-upload-custom-label {
    border-color: #3b82f6;
    background: #eff6ff;
}

/* Custom range slider styles */
.range-slider-custom {
    width: 100%;
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 9999px;
    outline: none;
    -webkit-appearance: none;
}

.range-slider-custom::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.range-slider-custom::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-slider-custom::-moz-range-thumb {
    width: 1.5rem;
    height: 1.5rem;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: none;
    transition: transform 0.2s ease;
}

.range-slider-custom::-moz-range-thumb:hover {
    transform: scale(1.2);
}
