/* Custom styles for Desi Halal Meat and Fish */

:root {
    --color-forest-500: #2d7a2d;
    --color-gold-500: #c9a227;
    --color-charcoal-950: #0a0a0a;
}

body {
    background-color: var(--color-charcoal-950);
    color: #fdfbf7;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

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

.gold-gradient-text {
    background: linear-gradient(135deg, #e8d5a3 0%, #c9a227 40%, #a8841e 60%, #e8d5a3 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

/* Card hover effects */
.card-glow {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(201, 162, 39, 0.12), 0 0 0 1px rgba(201, 162, 39, 0.2);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Intersection observer animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

/* Image lazy load placeholder */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Selection color */
::selection {
    background: rgba(201, 162, 39, 0.3);
    color: #fdfbf7;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .fade-in {
        opacity: 1;
        transform: none;
    }
}
