/* Custom styles for Randall Medical Building */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #3d9e88;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f4fbf8;
}
::-webkit-scrollbar-thumb {
    background: #c5eadd;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #95d8c4;
}

/* Subtle image hover zoom */
img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hero image subtle parallax on scroll */
.hero-image {
    will-change: transform;
}

/* Nav background transition */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(13, 31, 60, 0.06);
}

/* Mobile menu animation */
.mobile-menu {
    will-change: transform;
}

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(61, 158, 136, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.service-card:hover::before {
    opacity: 1;
}

/* Form input underline animation */
input:focus,
textarea:focus {
    border-bottom-color: #3d9e88 !important;
}

/* Print styles */
@media print {
    header, footer, .reveal, #mobile-menu, #mobile-overlay {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    section {
        page-break-inside: avoid;
    }
}
