/* Tailwind CSS Custom Styles */
/* Cardiff North TKD Website Styles */

/* Scrollbar hiding utility */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

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

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

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Button animations */
.btn-primary {
    background: linear-gradient(135deg, #ec1325 0%, #d61020 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d61020 0%, #c00e1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(236, 19, 37, 0.3);
}

/* Navigation active state */
.nav-active {
    color: #ec1325 !important;
    font-weight: bold;
}

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

.card-hover:hover {
    border-color: #ec1325;
    box-shadow: 0 0 20px rgba(236, 19, 37, 0.1);
}

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

/* Selection colors */
::selection {
    background-color: #ec1325;
    color: white;
}

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

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

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive typography */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #09090b;
}

::-webkit-scrollbar-thumb {
    background: #ec1325;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d61020;
}
