/* Custom styles for Rabun Lakes Painting */

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

/* Navbar text color based on scroll state */
.navbar-text {
    color: #1a1714;
    transition: color 0.3s ease;
}

/* Hero navbar override */
header[data-scrolled="false"] .navbar-text {
    color: #faf9f6;
}

header[data-scrolled="true"] .navbar-text {
    color: #1a1714;
}

header[data-scrolled="false"] nav a {
    color: #f0ede8;
}

header[data-scrolled="false"] nav a:hover {
    color: #6ee7b7;
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
}

/* Service card hover */
.service-card {
    will-change: transform;
}

/* Gallery items */
.gallery-item {
    overflow: hidden;
}

/* Testimonial cards */
.testimonial-card {
    will-change: transform;
}

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

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

::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Selection color */
::selection {
    background: #065f46;
    color: #fefce8;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .gallery-item,
    .testimonial-card {
        transition: none;
    }
    
    .service-card img,
    .gallery-item img {
        transition: none;
    }
    
    .service-card:hover img,
    .gallery-item:hover img {
        transform: none;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger delay classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
