/* Custom styles for BlackSea Auto Sales */

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

/* Clip diagonal for hero */
.clip-diagonal {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Navbar transition */
.nav-text {
    transition: color 0.3s ease;
}

/* Active nav links */
.nav-link.active {
    color: #ff6b4a !important;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

::-webkit-scrollbar-track {
    background: #f8f8fa;
}

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

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

/* Reduced motion */
@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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .clip-diagonal {
        clip-path: none;
    }
}
