/* Custom styles for TNT Bodyworx */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf4f6;
}
::-webkit-scrollbar-thumb {
    background: #f5a8b8;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ed708a;
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover effect */
.group:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 244, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(140, 26, 45, 0.08);
}

/* Selection color */
::selection {
    background: #ffd647;
    color: #4a0c14;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #ffd647;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .animate-bounce {
        animation: none;
    }
    .animate-pulse {
        animation: none;
    }
}
