/* Custom styles for Western Union Dale, TX */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F0F4;
}
::-webkit-scrollbar-thumb {
    background: #C4A1BF;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7B3F66;
}

/* Hero image fade */
.hero-img {
    animation: heroFade 1.2s ease-out forwards;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Service card hover lift */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(123, 63, 102, 0.2);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 63, 102, 0.08);
}

.nav-scrolled .font-serif {
    color: #7B3F66 !important;
}

.nav-scrolled a:not(.bg-plum-700):not(.bg-amber-500) {
    color: #5A2C49 !important;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

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

/* Print styles */
@media print {
    nav, #contactForm, button {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
