/* Custom Styles for 405 Drive Smart */

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

/* Clip Path for Hero Diagonal */
.clip-path-diagonal {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

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

::-webkit-scrollbar-track {
    background: #1E1E24;
}

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

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Button Hover Effects */
button, a {
    transition: all 0.2s ease-in-out;
}

/* Form Focus States */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(255, 95, 109, 0.2);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    .clip-path-diagonal {
        clip-path: none;
    }
}
