/* Custom styles for Venos Garage Door Repair */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #4f4f61;
}

/* Selection color */
::selection {
    background: rgba(184, 34, 34, 0.4);
    color: #fff;
}

/* Hero content animation */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card stagger animation */
.service-card {
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    animation: cardFadeUp 0.5s ease forwards;
}

@keyframes cardFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(15, 15, 20, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(54, 54, 66, 0.5);
}

nav.scrolled .text-dark-300 {
    color: #ababb8 !important;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

.mobile-menu-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(54, 54, 66, 0.3);
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle hover glow for buttons */
button:hover, a:hover {
    /* handled by Tailwind utilities */
}

/* Image lazy loading placeholder */
img {
    background: linear-gradient(135deg, #2e2e38 0%, #1a1a22 100%);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    nav, #mobile-menu-btn, button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
