/* Custom styles for Daniel At Tru Blendz website */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9d174d, #be185d);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #831443, #9d174d);
}

/* Selection color */
::selection {
    background: #f59e0b;
    color: white;
}

/* Focus styles */
*:focus {
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Utility animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-card {
        margin: 0 1rem;
    }
    
    .stat-card {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 1rem 0;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid currentColor;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: no-preference) {
    .floating {
        animation: float 6s ease-in-out infinite;
    }
    
    .floating-delayed {
        animation: float 6s ease-in-out 3s infinite;
    }
    
    @keyframes float {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-20px);
        }
    }
}
