/* Custom styles for Westwater Country Hams */

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

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .nav-logo-text {
    color: #171717;
}

/* Hero animations */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-image {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product card hover */
.product-card {
    will-change: transform;
}

/* Process card hover */
.process-card {
    will-change: transform;
}

.process-card:hover .w-20 {
    transform: scale(1.1);
}

/* About images animation */
.about-images {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.about-images.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Visit map animation */
.visit-map {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.visit-map.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Section reveal animations */
section > .max-w-7xl > div > .text-center {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

section > .max-w-7xl > div > .text-center.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

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

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

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

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

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #ff5722;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu-btn,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
