/* 
 * Custom Styles for Dr. Wayne Brandes
 * Using Emerald & Cream Palette
 */

:root {
    --color-emerald: #047857;
    --color-dark: #064e3b;
    --color-cream: #FDFBF7;
}

body {
    background-color: var(--color-cream);
}

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

/* Custom Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-card-1 {
    animation: float 6s ease-in-out infinite;
}

.float-card-2 {
    animation: float 5s ease-in-out infinite reverse;
}

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

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

/* Service Card Hover Effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-emerald);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

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

/* Form Focus States */
input:focus, textarea:focus {
    background-color: white;
}

/* Selection Color */
::selection {
    background-color: var(--color-emerald);
    color: white;
}
