/* Custom styles for Danny R Gann Surveying */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Service card hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Mobile nav active state */
.mobile-nav-link.active {
    background: rgba(10, 35, 66, 0.05);
    color: #0A2342;
}

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF9F0;
}
::-webkit-scrollbar-thumb {
    background: #0A2342;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #113A6B;
}

/* Selection color */
::selection {
    background: #C8960C;
    color: #0A2342;
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s ease forwards;
}

.fade-in-up-delay-1 { animation-delay: 0.1s; }
.fade-in-up-delay-2 { animation-delay: 0.2s; }
.fade-in-up-delay-3 { animation-delay: 0.3s; }
.fade-in-up-delay-4 { animation-delay: 0.4s; }

/* Header shadow on scroll */
.header-scrolled {
    box-shadow: 0 4px 20px rgba(10, 35, 66, 0.08);
}
