/* Custom Styles for Southeast Podiatry Center */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2B5432;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(28, 69, 50, 0.15);
}

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Navigation Active State */
nav a.active {
    color: #2B5432;
    font-weight: 600;
}

/* Button Ripple Effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Selection Color */
::selection {
    background-color: #427149;
    color: white;
}

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .hover-lift {
        transition: none;
    }
    
    .hover-lift:hover {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Print Styles */
@media print {
    nav,
    .animate-bounce,
    #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Mobile Optimizations */
@media (max-width: 640px) {
    .font-serif {
        font-size: 2rem;
    }
    
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .bg-forest-50 {
        background-color: #e0e0e0;
    }
    
    .text-forest-600 {
        color: #1a1a1a;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --color-forest-50: #1a2e22;
        --color-forest-100: #243d2c;
    }
}
