/* Custom CSS for Tracy Mitchell Real Estate */

/* Base Styles */
:root {
    --color-emerald-950: #064E3B;
    --color-emerald-900: #065F46;
    --color-emerald-800: #047857;
    --color-emerald-700: #059669;
    --color-emerald-600: #10B981;
    --color-emerald-500: #34D399;
    --color-emerald-200: #6EE7B7;
    --color-emerald-100: #A7F3D0;
    --color-stone-50: #FAFAF9;
    --color-stone-100: #F5F5F4;
    --color-stone-200: #E7E5E4;
    --color-stone-500: #78716C;
    --color-stone-600: #57534E;
    --color-stone-800: #292524;
    --color-stone-950: #0C0A09;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-stone-800);
    background-color: var(--color-stone-50);
}

/* Typography */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Navbar */
#navbar {
    background-color: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Hero Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(32px);
}

/* Service Cards */
.service-card {
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Form Focus States */
input:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

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

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

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

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

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}
