/* Custom styles for Mary Belton LMFT website */

/* Font imports handled in HTML */

/* Custom properties */
:root {
    --color-emerald-950: #022c22;
    --color-emerald-900: #064e3b;
    --color-emerald-800: #065f46;
    --color-emerald-700: #047857;
    --color-emerald-600: #059669;
    --color-emerald-500: #10b981;
    --color-emerald-400: #34d399;
    --color-emerald-300: #6ee7b7;
    --color-amber-600: #d97706;
    --color-amber-500: #f59e0b;
    --color-amber-400: #fbbf24;
    --color-stone-950: #0c0a09;
    --color-stone-900: #1c1917;
    --color-stone-800: #292524;
    --color-stone-700: #44403c;
    --color-stone-600: #57534e;
    --color-stone-500: #78716c;
    --color-stone-400: #a8a29e;
    --color-stone-300: #d6d3d1;
    --color-stone-200: #e7e5e4;
    --color-stone-100: #f5f5f4;
}

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

body {
    font-family: 'Montserrat', sans-serif;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(12, 10, 9, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(68, 64, 60, 0.3);
}

/* Mobile menu */
.mobile-link {
    transition: all 0.3s ease;
}

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

::-webkit-scrollbar-track {
    background: var(--color-stone-950);
}

::-webkit-scrollbar-thumb {
    background: var(--color-stone-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-emerald-700);
}

/* Selection color */
::selection {
    background: rgba(6, 78, 59, 0.5);
    color: var(--color-stone-100);
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--color-emerald-500);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Reveal animations for scroll sections */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* Gold shimmer effect for special elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.text-shimmer {
    background: linear-gradient(90deg, var(--color-amber-400) 0%, var(--color-amber-200) 50%, var(--color-amber-400) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

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

.float-1 { animation: float 4s ease-in-out infinite; }
.float-2 { animation: float 5s ease-in-out infinite 0.5s; }
.float-3 { animation: float 4.5s ease-in-out infinite 1s; }
.float-4 { animation: float 5.5s ease-in-out infinite 1.5s; }

/* Gradient border effect */
.gradient-border {
    position: relative;
    background: var(--color-stone-900);
    border-radius: 1rem;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, var(--color-emerald-700), var(--color-amber-600));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
