/* Custom styles for Bada Bing Bada Boom */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #4f4f4f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E8734A;
}

/* Selection color */
::selection {
    background: rgba(232, 115, 74, 0.3);
    color: #f6f6f6;
}

/* Scroll reveal base - content is always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply animation on systems that prefer motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar transition */
.nav-scrolled {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Coral glow effect for buttons */
.btn-coral-glow:hover {
    box-shadow: 0 0 30px rgba(232, 115, 74, 0.3) !important;
}

/* Image hover zoom container */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.7s ease;
}
.img-zoom:hover img {
    transform: scale(1.05);
}

/* Decorative line animation */
.deco-line {
    position: relative;
}
.deco-line::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E8734A;
    transition: width 0.3s ease;
}
.deco-line:hover::after {
    width: 100%;
}

/* Input focus animation */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(232, 115, 74, 0.3);
}

/* Subtle pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(rgba(232, 115, 74, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}
