/* Custom styles for NewYou Laser & Skin Studios */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f1419;
}
::-webkit-scrollbar-thumb {
    background: #3d0715;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #831635;
}

/* Selection color */
::selection {
    background: rgba(192, 34, 72, 0.4);
    color: #fce7eb;
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(7, 10, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(131, 22, 53, 0.2);
}

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

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

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #f5a5b8 0%, #ff748a 50%, #f5a5b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(rgba(131, 22, 53, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card {
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
}

/* Mobile menu link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #f5a5b8;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Floating cards animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Apply float to specific cards */
.absolute.-top-6.-left-6 {
    animation: float 4s ease-in-out infinite;
}

.absolute.-bottom-4.-right-4 {
    animation: float 4s ease-in-out infinite 1s;
}

.absolute.top-1/2.-right-8 {
    animation: float 4s ease-in-out infinite 2s;
}

/* Testimonial card hover */
.bg-neutral-950.border.border-neutral-800.rounded-2xl {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.bg-neutral-950.border.border-neutral-800.rounded-2xl:hover {
    transform: translateY(-2px);
}

/* Form input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0f1419 inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Select dropdown arrow */
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}
