/* ============================================
   Buzz Dawgs LLC — Custom Styles
   Bold Editorial | Teal + Slate Grey
   ============================================ */

/* Base & Typography */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d9488;
    transition: width 0.3s ease;
}

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

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    transition: color 0.2s ease;
}

/* Hamburger animation */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#mobile-menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Marquee
   ============================================ */
.marquee-track {
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Menu Cards
   ============================================ */
.menu-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover {
    border-color: #99f6e4;
    box-shadow: 0 20px 60px -20px rgba(13, 148, 136, 0.12);
    transform: translateY(-4px);
}

.menu-card .border-b {
    transition: border-color 0.2s ease;
}

.menu-card:hover .border-b:last-child {
    border-color: transparent;
}

/* ============================================
   Testimonial Cards
   ============================================ */
.testimonial-card {
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    border-color: #5eead4;
    box-shadow: 0 25px 60px -20px rgba(13, 148, 136, 0.15);
    transform: translateY(-6px);
}

/* ============================================
   Scroll Reveal Animations
   Progressive enhancement: content is visible
   by default; JS adds the animated state.
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }
    .marquee-track {
        animation: none;
    }
}

/* ============================================
   Image hover
   ============================================ */
img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Selection
   ============================================ */
::selection {
    background: #99f6e4;
    color: #042f2e;
}

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

/* ============================================
   Responsive adjustments
   ============================================ */
@media (max-width: 767px) {
    .menu-card {
        padding: 1.25rem;
    }
    
    .menu-card .flex.items-start {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .menu-card .pl-25 {
        padding-left: 0;
    }
}
