/* Custom Styles for Central Valley Surgery Center */

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

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

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

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

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

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

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

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

/* Form Focus Styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

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

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