/* Custom styles for Elite Nutrition */

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

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

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

::-webkit-scrollbar-thumb {
    background: #d6b5c2;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a86b7e;
}

/* Selection color */
::selection {
    background: #ffefc2;
    color: #532c37;
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(249, 245, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(168, 107, 126, 0.1);
}

/* Product card hover */
.product-card:hover .product-card-image {
    transform: scale(1.1);
}

/* Philosophy card hover */
.philosophy-card:hover {
    transform: translateY(-8px);
}

/* Form input focus transition */
input:focus,
textarea:focus {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Mobile menu transitions */
.mobile-link {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-link:hover {
    transform: scale(1.05);
}

/* Image hover effect */
.about-image img,
.product-card img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button hover effects */
button,
a[href="#"],
a[href^="#"] {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animation delays for staggered reveals */
.animate-delay-100 {
    animation-delay: 100ms;
}

.animate-delay-200 {
    animation-delay: 200ms;
}

.animate-delay-300 {
    animation-delay: 300ms;
}

.animate-delay-400 {
    animation-delay: 400ms;
}

.animate-delay-500 {
    animation-delay: 500ms;
}

/* Reduced motion */
@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 {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
