/* Custom styles for Women's Care Center */

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

/* Custom selection color */
::selection {
    background-color: #d94f22;
    color: white;
}

/* Navbar scroll state */
.navbar-scrolled {
    background-color: rgba(250, 248, 245, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar-scrolled .font-serif,
.navbar-scrolled .text-warm-900 {
    color: #2d2622 !important;
}

/* Service card hover - text transition handled via group */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile menu transition */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent FOUC on scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal-up.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default state for scroll elements - always visible */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d94f22;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Image loading placeholder */
img {
    background-color: #f5d8c4;
}

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

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

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

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