/* Custom styles for Uwharrie Podiatry LLC */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f5;
}
::-webkit-scrollbar-thumb {
    background: #d6d3d1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a29e;
}

/* Selection color */
::selection {
    background: #fce4d6;
    color: #702617;
}

/* Animation for hero elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-animate-delay-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.hero-animate-delay-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-animate-delay-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

/* Intersection observer animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 248, 245, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.6s ease;
}

.img-zoom:hover {
    transform: scale(1.03);
}

/* Service card hover lift */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(230, 82, 36, 0.1);
}

/* Form focus animations */
input:focus,
textarea:focus {
    border-color: #f49f78 !important;
    box-shadow: 0 0 0 3px rgba(244, 159, 120, 0.15) !important;
}

/* Print styles */
@media print {
    nav, #contact, .cta-banner {
        display: none;
    }
}
