/* Custom styles for Rosabelle Constela Medical */

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

/* Service card stagger animation setup */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    a,
    button {
        transition: none;
    }
    .animate-bounce {
        animation: none;
    }
    .animate-pulse {
        animation: none;
    }
}

/* Subtle pattern overlay for cream sections */
section:not(#contact) {
    background-image: radial-gradient(circle at 1px 1px, rgba(5, 150, 105, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.25s ease-out;
}

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

/* Geometric accent shapes */
.geo-accent {
    position: absolute;
    pointer-events: none;
}

/* Selection color */
::selection {
    background-color: rgba(5, 150, 105, 0.2);
    color: #0f1c17;
}
