/* Custom styles to complement Tailwind */

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

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero gradient animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(107, 33, 168, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: #7e22ce;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b21a8;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Product card hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion preference */
@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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Tablet and desktop adjustments */
@media (min-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}

/* Large screen optimizations */
@media (min-width: 1024px) {
    .lg\\:text-8xl {
        line-height: 1.05;
    }
}

/* Print styles */
@media print {
    nav, .animate-bounce, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-gradient-to-br {
        background: #7e22ce !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
