/* Custom styles for Johnny G&B */

:root {
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060f17;
}
::-webkit-scrollbar-thumb {
    background: #1e3f5e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2a527c;
}

/* Selection */
::selection {
    background: rgba(74, 222, 128, 0.3);
    color: white;
}

/* Service card stagger animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.5s ease, border-color 0.5s ease;
    }
    .service-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Floating cards animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: no-preference) {
    .float-1 { animation: float 4s ease-in-out infinite; }
    .float-2 { animation: float-delayed 5s ease-in-out infinite 0.5s; }
    .float-3 { animation: float-slow 6s ease-in-out infinite 1s; }
}

/* Navbar scroll state */
.nav-scrolled #navbar {
    background: rgba(6, 15, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 63, 94, 0.3);
}
.nav-scrolled #navbar .text-white {
    color: white;
}
