/* Custom Styles for Big Sky Automotive */

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

body {
    background-color: #0f1215;
    color: #e8d5c4;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c05640;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9c402c;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll effect */
.nav-scrolled {
    background-color: rgba(15, 18, 21, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Hero text animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header h1 {
    animation: fadeInUp 1s ease-out forwards;
}

header p {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

header a {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Service card hover effects */
.group:hover .group-hover\:bg-sky-terracotta {
    background-color: #c05640;
}

/* Button focus states */
button:focus,
input:focus,
textarea:focus {
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
}
