/* Custom styles for Dogwood City Tattoo */

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

/* Custom clip-path for hero bottom accent */
.clip-path-slant {
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* Geometric shapes animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Apply floating animation to decorative elements */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Hover effects for buttons */
button, a {
    transition: all 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #FF6B6B;
    border-radius: 6px;
}

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

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .clip-path-slant {
        clip-path: polygon(0 100%, 100% 100%, 100% 20%);
    }
}

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