/* ===== Custom Styles for Bobby B's ===== */

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

/* Custom selection color */
::selection {
    background-color: rgba(232, 101, 58, 0.3);
    color: #fff;
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 149, 108, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Mobile Menu ===== */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E8653A, #FF8A52);
    transition: width 0.3s ease;
}

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

/* ===== Offering Cards ===== */
.offering-card {
    transform: translateY(0);
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(232, 101, 58, 0.08);
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .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; }
}

/* ===== Gold accent line animations ===== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ===== Subtle hover glow on coral elements ===== */
.bg-coral-500:hover {
    box-shadow: 0 0 30px rgba(232, 101, 58, 0.3);
}

/* ===== Image lazy load placeholder ===== */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

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

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

/* ===== Focus styles for accessibility ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #E8653A;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.15;
    }
}

/* ===== Print styles ===== */
@media print {
    #navbar,
    #mobileMenu {
        display: none;
    }

    body {
        background: white;
        color: #1a1a1a;
    }

    .bg-charcoal-950,
    .bg-charcoal-900,
    .bg-charcoal-800 {
        background: white !important;
    }

    .text-white,
    .text-gray-200,
    .text-gray-300,
    .text-gray-400 {
        color: #1a1a1a !important;
    }
}
