/* === Custom Styles for BC Pharmacy === */

:root {
    --emerald-950: #022c22;
    --emerald-900: #064e3b;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
}

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

/* === Navbar Scroll State === */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(4, 120, 87, 0.08);
}

/* === Hero Section === */
.hero-section {
    background: linear-gradient(135deg, var(--cream-50) 0%, #e8f5e9 50%, var(--cream-100) 100%);
}

/* === Service Cards === */
.service-card {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(5, 150, 105, 0.2);
    transform: translateY(-4px);
}

/* === Testimonial Cards === */
.testimonial-card {
    border: 1px solid #e8f5e9;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(5, 150, 105, 0.3);
}

/* === Mobile Menu === */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* === Scroll Reveal Animations === */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* === Form Input Focus States === */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* === Button Hover Effects === */
a[href^="tel:"],
button[type="submit"] {
    transition: all 0.2s ease;
}

/* === Image Loading === */
img {
    image-rendering: auto;
}

/* === Selection Color === */
::selection {
    background-color: rgba(5, 150, 105, 0.2);
    color: var(--emerald-950);
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream-50);
}

::-webkit-scrollbar-thumb {
    background: #a7f3d0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6ee7b7;
}
