/* Custom Styles for Prime Nutrition */

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

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

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

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* Hero Image Parallax */
.hero-bg {
    will-change: transform;
}

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

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

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Image Hover Effects */
img {
    transition: transform 0.3s ease;
}

/* Button Hover Glow */
button:hover,
a:hover {
    box-shadow: 0 10px 40px -10px rgba(13, 148, 136, 0.3);
}

/* Section Transitions */
section {
    opacity: 1;
    transition: opacity 0.6s ease;
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    nav,
    button,
    form {
        display: none;
    }
}
