/* Custom styles for Sirion Companion Care */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a85566, #8f3d50);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c57f8a, #a85566);
}

/* Selection color */
::selection {
    background: #f5a623;
    color: #2d1218;
}

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

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Floating animation for decorative elements */
.float {
    animation: float 3s ease-in-out infinite;
}

/* Shimmer effect for special text */
.shimmer {
    background: linear-gradient(90deg, #f5a623 0%, #ffca3d 50%, #f5a623 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient borders */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 1rem;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, #f5a623, #ffca3d, #a85566);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
    border-radius: 1rem;
}

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

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

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

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

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

.text-gradient-animated {
    background: linear-gradient(270deg, #f5a623, #ffca3d, #a85566, #f5a623);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, rgba(45, 18, 24, 0.9) 0%, rgba(85, 38, 48, 0.8) 100%);
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form button {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    .hero-overlay {
        background: rgba(255, 255, 255, 0.95) !important;
    }
}
