/* Custom styles beyond Tailwind */

/* Smooth scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #c4c5ca transparent;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c4c5ca;
    border-radius: 4px;
}

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

/* Navbar transitions */
.nav-text {
    transition: color 0.3s ease;
}

.nav-subtext {
    transition: color 0.3s ease;
}

.nav-link {
    transition: color 0.3s ease;
}

/* Scroll reveal base state - content is VISIBLE by default */
.reveal {
    opacity: 1;
    transform: none;
}

/* Scroll reveal for below-fold content - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal.revealed {
        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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Service card hover effects */
.service-card {
    transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.08);
}

/* Process step hover */
.process-step {
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
}

/* Mobile nav links */
.mobile-nav-link {
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-nav-link:hover {
    color: #F4845F;
    transform: scale(1.05);
}

/* Floating animation for hero accent elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-12px) rotate(12deg); }
}

.floating-accent {
    animation: float 6s ease-in-out infinite;
}

/* Pulse animation for decorative dots */
@keyframes soft-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

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

/* Selection color */
::selection {
    background: rgba(244, 132, 95, 0.2);
    color: #1e1f24;
}

/* Mobile menu transitions */
#mobileMenu {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

/* Subtle gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #F4845F 0%, #e86740 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, #contact, .cta-banner {
        display: none;
    }
}
