/* TAPUS! Custom Font Definitions */

@font-face {
    font-family: 'CUBAO';
    src: url('/assets/fonts/Cubao_Free_Wide.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/poppins.bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/poppins.extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/poppins.regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/poppins.semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'QUIAPO';
    src: url('/assets/fonts/Quiapo_Free.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Super Cartoon';
    src: url('/assets/fonts/Super Cartoon.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Font Utility Classes */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
}

.font-cubao {
    font-family: 'CUBAO', sans-serif;
}

.font-quiapo {
    font-family: 'QUIAPO', sans-serif;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-tapus {
    font-family: 'Super Cartoon', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'CUBAO', sans-serif;
    font-weight: normal;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

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

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

@keyframes pulse-slow {
    0%, 100% {
        box-shadow: 0 0 0 3px currentColor, 0 0 0 6px rgba(154, 27, 36, 0.1);
    }
    50% {
        box-shadow: 0 0 0 3px currentColor, 0 0 0 12px rgba(154, 27, 36, 0);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Custom color utilities */
.text-brand-red {
    color: #9a1b24;
}

.text-brand-red-dark {
    color: #70070e;
}

.text-brand-blue {
    color: #1D38BE;
}

.text-brand-blue-dark {
    color: #1B529B;
}

.text-brand-yellow {
    color: #ffd85f;
}

.text-brand-orange {
    color: #FFA600;
}

.text-dark-gray {
    color: #1E1E1E;
}

.text-medium-gray {
    color: #373737;
}

.bg-brand-red {
    background-color: #9a1b24;
}

.bg-brand-red-dark {
    background-color: #70070e;
}

.bg-brand-blue {
    background-color: #1D38BE;
}

.bg-brand-blue-dark {
    background-color: #1B529B;
}

.bg-brand-yellow {
    background-color: #ffd85f;
}

.bg-brand-orange {
    background-color: #FFA600;
}

.border-brand-red {
    border-color: #9a1b24;
}

.border-brand-blue {
    border-color: #1D38BE;
}

.border-brand-yellow {
    border-color: #ffd85f;
}

.hover\:bg-brand-red-dark:hover {
    background-color: #70070e;
}

.hover\:bg-brand-blue-dark:hover {
    background-color: #1B529B;
}

.hover\:text-brand-red:hover {
    color: #9a1b24;
}

.hover\:text-brand-blue:hover {
    color: #1D38BE;
}

/* Focus states */
.focus\:border-brand-blue:focus {
    border-color: #1D38BE;
    outline: none;
}

/* Enhanced card styling */
.card-enhanced {
    transition: all 0.3s ease;
}

.card-enhanced:hover {
    transform: translateY(-4px);
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Category badge */
.category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background-color: #FFA600;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}
