/* Custom styles for Singh Dr DDS */

:root {
    --cream: #FAF8F5;
    --cream-dark: #F3EFE8;
    --emerald-950: #041F14;
    --emerald-900: #064E3B;
    --emerald-800: #065F46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10B981;
    --emerald-100: #D1FAE5;
    --emerald-50: #ECFDF5;
}

/* Base font setup */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--cream);
    color: #041F14;
}

.font-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Custom color classes for consistency */
.bg-cream { background-color: var(--cream); }
.bg-cream-dark { background-color: var(--cream-dark); }
.text-emerald-950 { color: var(--emerald-950); }
.text-emerald-900 { color: var(--emerald-900); }
.text-emerald-800 { color: var(--emerald-800); }
.text-emerald-700 { color: var(--emerald-700); }
.text-emerald-600 { color: var(--emerald-600); }
.text-emerald-500 { color: var(--emerald-500); }
.text-cream { color: var(--cream); }
.text-dark-green { color: var(--emerald-950); }
.bg-emerald-50 { background-color: var(--emerald-50); }
.bg-emerald-100 { background-color: var(--emerald-100); }

/* Navbar text colors based on scroll state */
.nav-text { color: #041F14; }
.nav-text-xs { color: #047857; }
.nav-link { color: #041F14; }

/* Scrolled navbar styles */
.navbar-scrolled .nav-text { color: #041F14; }
.navbar-scrolled .nav-text-xs { color: #047857; }
.navbar-scrolled .nav-link { color: #041F14; }

/* Floating animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile nav links */
.mobile-nav-link {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Smooth focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #047857;
    color: #FAF8F5;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #065F46;
}
