/* Custom styles for Paw & Claw Pet Palace */

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

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

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

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

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

/* Fade in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.fade-in.delay-100 { transition-delay: 0.1s; }
.fade-in.delay-200 { transition-delay: 0.2s; }
.fade-in.delay-300 { transition-delay: 0.3s; }
.fade-in.delay-400 { transition-delay: 0.4s; }
.fade-in.delay-500 { transition-delay: 0.5s; }

/* Pulse animation for CTA buttons */
@keyframes pulse-soft {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 87, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 87, 0);
    }
}

.pulse-soft {
    animation: pulse-soft 2s infinite;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

#mobile-menu.open {
    max-height: 400px;
}

/* Image hover zoom effect */
img {
    transition: transform 0.3s ease;
}

/* Custom focus styles */
button:focus-visible,
a:focus-visible {
    outline: 3px solid #ff6b57;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .pulse-soft {
        animation: none;
    }
    
    .group-hover\:scale-105:hover img,
    img:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
    
    .group:hover .group-hover\:shadow-xl {
        box-shadow: none;
    }
}
