/* Custom styles for Billie Dunaway Tattoos */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

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

::-webkit-scrollbar-track {
    background: #fdf4f6;
}

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

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

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

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Subtle pattern overlay */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(184, 34, 74, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Hover card lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(184, 34, 74, 0.15);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #b8224a, #d43d64);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #d43d64;
    outline-offset: 2px;
}

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