/* Custom styles for Apollo Tint and D/S Vehicle Wraps */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Selection color */
::selection {
    background: #d4af37;
    color: #0a192f;
}

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Hover effects for cards */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Image hover effects */
img {
    transition: all 0.5s ease;
}

/* Custom underline animation */
.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Gradient text support */
.text-transparent {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Glass morphism effect */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

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

/* Print styles */
@media print {
    nav,
    footer,
    button,
    form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
