/* Custom styles */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Smooth transitions */
* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

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

.card-hover:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

/* Pulse animation */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Accordion styles */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

/* Tab styles */
.tab-button {
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.tab-button.active {
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Mobile menu animation */
#mobile-menu.active #mobile-menu-content {
    transform: translateX(0);
}

/* Image loading */
img {
    background-color: #f3f3f5;
}

/* Button styles */
.btn-primary {
    background-color: #030213;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: rgba(3, 2, 19, 0.9);
}

.btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #030213;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.btn-outline:hover {
    background-color: #ececf0;
}

/* Gradient backgrounds */
.gradient-primary {
    background: linear-gradient(to bottom, rgba(236, 236, 240, 0.5), #ffffff);
}

.gradient-accent {
    background: linear-gradient(to right, rgba(3, 2, 19, 0.05), rgba(3, 2, 19, 0.1));
}
