/* Custom styles for Bubbas Shop */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FEFAE0;
}
::-webkit-scrollbar-thumb {
    background: #2D6A4F;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1B4332;
}

/* Subtle pattern overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(27, 67, 50, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Service card icon animation */
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}
.service-icon {
    transition: transform 0.3s ease;
}

/* Button ripple effect */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transition: opacity 0.3s ease;
}
.btn-primary:hover::after {
    opacity: 1;
}

/* Decorative line */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1B4332, #2D6A4F);
    border-radius: 2px;
}

/* Floating animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.hero-card:nth-child(1) { animation: float 6s ease-in-out infinite; }
.hero-card:nth-child(2) { animation: float 6s ease-in-out infinite 1s; }
.hero-card:nth-child(3) { animation: float 6s ease-in-out infinite 2s; }
.hero-card:nth-child(4) { animation: float 6s ease-in-out infinite 3s; }

/* Print styles */
@media print {
    nav, #contact, .btn-primary { display: none; }
    body { background: white; color: black; }
}
