/* Custom styles for Port Neches Family Medicine */

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

/* Custom gradient for hero overlay */
.hero-gradient {
    background: linear-gradient(135deg, #722F37 0%, #b92f50 50%, #ff748a 100%);
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
}

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

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

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

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

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(114, 47, 55, 0.1);
}

/* Back to top button */
#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #f3a8b8;
}

/* Print styles */
@media print {
    #navbar,
    #back-to-top,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
