/* Custom styles for Windfall Vineyard */

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

/* Hero section - warm gradient background */
.hero {
    background: linear-gradient(135deg, #faf5ff 0%, #fef3c7 50%, #fffbeb 100%);
    min-height: 100vh;
}

/* Navbar scroll effect */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(126, 34, 206, 0.12);
}

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

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

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

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

/* Selection color */
::selection {
    background: #d8b4fe;
    color: #3b0764;
}

/* Floating badge animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle at 20% 50%, rgba(216, 180, 254, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(253, 211, 77, 0.08) 0%, transparent 50%);
}

/* Product card hover effect */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
}

#mobileMenu.open {
    max-height: 300px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .floating-badge {
        animation: none;
    }
    
    img {
        transition: none;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 3.75rem);
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .hero {
        padding-top: 0;
    }
}
