/* Custom Styles for Vida Sana Medical Group */

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

/* Base Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Staggered delays for children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Image Hover Effect */
img {
    max-width: 100%;
    height: auto;
}

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

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

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

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

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Focus States for Accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #E07A5F;
    outline-offset: 2px;
}

/* Form Styles */
input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #2C3E50;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #E07A5F;
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.1);
    background: #fff;
}

input::placeholder, textarea::placeholder {
    color: #9ca3af;
}

/* Button Hover Effects */
button[type="submit"], .btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button[type="submit"]:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 122, 95, 0.3);
}
