/* Custom styles for Schroeder Greer Appraisal Company */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8eb;
}
::-webkit-scrollbar-thumb {
    background: #C4724E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a85535;
}

/* Hero animations */
.hero-badge {
    animation: fadeInUp 0.8s ease-out both;
}
.hero-badge {
    animation-delay: 0.1s;
}
#hero h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
#hero p {
    animation: fadeInUp 0.8s ease-out 0.35s both;
}
#hero .flex.flex-wrap {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}
#hero .flex.gap-10 {
    animation: fadeInUp 0.8s ease-out 0.65s both;
}
#hero .relative {
    animation: fadeInRight 0.9s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Service card hover */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
    transform: translateY(-4px);
}

/* Process step hover */
.process-step:hover .font-display {
    color: #C4724E !important;
    transition: color 0.3s ease;
}

/* Mobile menu */
.mobile-link {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}
.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateX(0);
}
.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 39, 68, 0.08);
}
.navbar-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

/* Intersection observer animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Selection */
::selection {
    background: #C4724E;
    color: white;
}
