/* Custom styles for Home Health Depot */

/* Base animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #93DDBF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #60C9A0;
}

/* Selection color */
::selection {
    background: #C0EBD8;
    color: #0D3B40;
}

/* Mobile menu active state */
body.menu-open {
    overflow: hidden;
}

/* Navbar scrolled state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(13, 59, 64, 0.08);
}

/* Link hover underline animation */
.underline-hover {
    position: relative;
}

.underline-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #3DB384;
    transition: width 0.3s ease;
}

.underline-hover:hover::after {
    width: 100%;
}

/* Subtle line decorations */
.divider-line {
    width: 48px;
    height: 1px;
    background: linear-gradient(to right, #93DDBF, transparent);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #F2FBF8 inset !important;
    -webkit-text-fill-color: #0D3B40 !important;
}

/* Print styles */
@media print {
    header, footer, #contact-form, .animate-fade-in {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
