/* Custom styles and overrides */

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

/* Prevent content flash on load */
body {
    opacity: 1;
}

/* Service card hover glow */
.service-card:hover {
    border-color: rgba(157, 23, 77, 0.2);
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 4px 30px rgba(157, 23, 77, 0.1);
    backdrop-filter: blur(10px);
}

nav.scrolled a:not(.bg-gradient-to-r) {
    color: rgb(127, 29, 79) !important;
}

nav.scrolled .bg-gradient-to-br {
    background: linear-gradient(135deg, rgb(157, 23, 77), rgb(245, 158, 11)) !important;
}

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

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

/* Form input focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(157, 23, 77, 0.1);
}

/* Condition card hover */
.bg-gradient-to-br:hover {
    transform: translateY(-2px);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #be185d, #f59e0b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9d174d, #d97706);
}

/* Selection color */
::selection {
    background: rgba(157, 23, 77, 0.2);
    color: #500724;
}

/* Print styles */
@media print {
    nav, #contact-form, button {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
