/* Custom styles for Butte Valley Strawberry Patch */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf0f2;
}
::-webkit-scrollbar-thumb {
    background: #d4425c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8203e;
}

/* Selection color */
::selection {
    background: #fce7eb;
    color: #7d142b;
}

/* Animation for mobile menu */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar styles */
.nav-scrolled {
    background: rgba(255, 253, 249, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(125, 20, 43, 0.08);
}

.nav-scrolled .logo-text {
    color: #7d142b;
}

/* Hamburger animation */
.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 20px;
}

/* Button hover effects */
a[href^="tel:"],
a[href^="mailto:"] {
    text-decoration: none;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    * {
        transition: none !important;
    }
}
