/* Custom styles for Calling All Paws */

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

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

::-webkit-scrollbar-track {
    background: #0d1133;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2d37c4;
}

/* Selection color */
::selection {
    background: #ffca00;
    color: #0d1133;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-20px) rotate(12deg); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(45deg); }
}

/* Floating geometric shapes */
.float-1 {
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(13, 17, 51, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Menu button animation */
.menu-line {
    transition: all 0.3s ease;
}

.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
}

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

/* Glow effects */
.glow-gold {
    box-shadow: 0 0 40px rgba(255, 202, 0, 0.3);
}

/* Image reveal animation */
.reveal-image {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-image.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse animation for badge */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 202, 0, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 202, 0, 0); }
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .float-1, .float-2 {
        display: none;
    }
}

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

/* Print styles */
@media print {
    nav, #contactForm, button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
