/* Custom styles for Borlie's Bounty */

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

/* Navbar transitions */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #781c21;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section label animation */
.section-label {
    position: relative;
    display: inline-block;
}

.section-label::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #781c21;
    margin-bottom: 8px;
}

/* Product card hover effects */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(120, 28, 33, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card > * {
    position: relative;
    z-index: 2;
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Form focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(120, 28, 33, 0.1);
}

/* Button hover lift effect */
button[type="submit"],
a[href="#products"],
a[href="#contact"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button[type="submit"]:hover,
a[href="#products"]:hover,
a[href="#contact"]:hover {
    transform: translateY(-2px);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #64181d;
}

/* Print styles */
@media print {
    nav, #contactForm, button[type="submit"] {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-burgundy-700 {
        background: #333 !important;
        color: #fff !important;
    }
}
