/* assets/css/custom.css */

/* Responsive Typography */
.text-responsive {
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.text-responsive-lg {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.text-responsive-xl {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.text-responsive-2xl {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.text-responsive-3xl {
    font-size: clamp(2rem, 5vw, 2.5rem);
}

/* Image Aspect Ratios */
.aspect-16-9 {
    aspect-ratio: 16/9;
}

.aspect-4-3 {
    aspect-ratio: 4/3;
}

.aspect-21-9 {
    aspect-ratio: 21/9;
}

.aspect-1-1 {
    aspect-ratio: 1/1;
}

/* Mobile Touch Optimization */
.touch-target {
    min-height: 44px;
    min-width: 44px;
}

/* Card Hover Effects */
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Video Player Custom Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile Menu Animation */
.mobile-menu-enter {
    transform: translateX(100%);
}

.mobile-menu-enter-active {
    transform: translateX(0);
    transition: transform 300ms ease-in-out;
}

.mobile-menu-exit {
    transform: translateX(0);
}

.mobile-menu-exit-active {
    transform: translateX(100%);
    transition: transform 300ms ease-in-out;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Form Input Focus Styles */
.input-focus:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge Animation */
.badge-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Table */
.responsive-table {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 768px) {
    .responsive-table table {
        display: block;
        width: 100%;
    }
    
    .responsive-table thead {
        display: none;
    }
    
    .responsive-table tbody,
    .responsive-table tr {
        display: block;
        width: 100%;
    }
    
    .responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 0.75rem;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #374151;
        text-align: left;
        margin-right: 1rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .page-break {
        page-break-before: always;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .dark\:invert {
        filter: invert(1);
    }
}


