/* Custom Styles for Pet Avenue */

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

/* Base Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(40px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Hero Animations */
.hero-anim {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.hero-anim:nth-child(2) { animation-delay: 0.2s; }
.hero-anim:nth-child(3) { animation-delay: 0.4s; }
.hero-anim:nth-child(4) { animation-delay: 0.6s; }

/* Scroll Reveal Classes */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up {
    transform: translate3d(0, 40px, 0);
    animation-name: fadeInUp;
}

.reveal-left {
    transform: translate3d(-40px, 0, 0);
    animation-name: fadeInLeft;
}

.reveal-right {
    transform: translate3d(40px, 0, 0);
    animation-name: fadeInRight;
}

/* Active states for scroll reveal (added by JS) */
.reveal-active.reveal-up {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-active.reveal-left {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-active.reveal-right {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8c4860;
}

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

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}
