/* Custom CSS for Ritual Tattoo */

/* Smooth scrolling is handled by Tailwind's scroll-smooth class */

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

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

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

::-webkit-scrollbar-thumb {
    background: #0f172a;
    border-radius: 5px;
}

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

/* Selection color */
::selection {
    background-color: #fbbf24;
    color: #0f172a;
}

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

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

/* 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);
    }
}

/* Form input focus animation */
input:focus,
textarea:focus,
select:focus {
    transform: translateY(-1px);
}

/* Button hover lift effect */
button,
a[href] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
a[href]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Gallery item hover effect */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion preferences */
@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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-slate-50 {
        background-color: #fff;
    }
    
    .text-slate-600 {
        color: #000;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Could add dark mode styles here if needed */
}

/* Tablet and up */
@media (min-width: 768px) {
    .clip-path-diagonal {
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .clip-path-diagonal {
        clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
    }
}
