/* Custom styles for Fort Hill Pharmacy */

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #145f34;
}

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

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Intersection Observer animations */
.observe-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.observe-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero text animation delay */
.hero-delay-1 {
    animation-delay: 0.2s;
}

.hero-delay-2 {
    animation-delay: 0.4s;
}

.hero-delay-3 {
    animation-delay: 0.6s;
}
