/* Custom styles for Kids Kingdom */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background-color: #f9d0b5;
    color: #702615;
}

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

/* Subtle gradient overlay for hero image */
.hero-gradient {
    background: linear-gradient(135deg, rgba(230, 96, 46, 0.1) 0%, rgba(253, 249, 236, 0) 100%);
}

/* Card hover lift effect */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(211, 69, 31, 0.15);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #d1451f 0%, #e6602e 50%, #f4ad82 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern background */
.pattern-bg {
    background-image: radial-gradient(circle at 1px 1px, rgba(211, 69, 31, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Animated underline for links */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e6602e;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

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

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

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.7s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Nav scroll effect */
.nav-scrolled {
    background-color: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Service card transition */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile menu animation */
.mobile-menu-enter {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom input autofill style */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

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

/* Print styles */
@media print {
    nav,
    footer,
    .float,
    .float-slow,
    .float-fast {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
