/* Custom styles for Outlaw Headers */

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

/* Navbar scroll effect */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
    backdrop-filter: blur(10px);
}

#navbar.scrolled .font-display {
    color: #102a43;
}

#navbar.scrolled a:not([class*="bg-"]) {
    color: #243b53;
}

#navbar.scrolled a:not([class*="bg-"]):hover {
    color: #e69a00;
}

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

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

/* Service card hover effects */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Form styling */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 173, 0, 0.15);
}

/* Selection color */
::selection {
    background-color: #ffc233;
    color: #102a43;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .service-card:hover {
        transform: none;
    }

    img {
        transition: none;
    }

    .animate-bounce {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, .animate-bounce {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
