/* Custom styles for Ashley Kerekes, MD website */

/* Base font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #4a7c4a;
    outline-offset: 2px;
}

/* Navbar scroll state */
.navbar-scrolled #navbar {
    box-shadow: 0 1px 20px rgba(31, 53, 31, 0.08);
}

/* Hero decorative shapes animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Custom selection color */
::selection {
    background-color: #4a7c4a;
    color: #faf9f6;
}

/* Subtle gradient for the hero section background */
.hero-gradient {
    background: linear-gradient(135deg, #faf9f6 0%, #f2f7f2 50%, #ebe8df 100%);
}

/* Service card hover lift */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Button ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

/* Print styles */
@media print {
    header, footer, #contact-form, .reveal { display: none; }
    body { background: white; color: black; }
    section { page-break-inside: avoid; }
}
