/* ==========================================
   Western Union — Campbell, OH
   Premium Dark Luxury Stylesheet
   ========================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A0A2E;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4AF37, #92600a);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #fbbf24, #D4AF37);
}

/* Selection */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #fbbf24;
}

/* ==========================================
   Hero Animations
   ========================================== */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.5) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    bottom: -5%;
    right: -5%;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
    top: 40%;
    right: 20%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ==========================================
   Navbar
   ========================================== */
#navbar.scrolled {
    background: rgba(26, 10, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   Service Cards
   ========================================== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0), transparent);
    transition: all 0.5s ease;
}

.service-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

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

/* ==========================================
   Feature Cards
   ========================================== */
.feature-card {
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateX(8px);
    border-color: rgba(212, 175, 55, 0.25);
}

/* ==========================================
   Scroll Reveal Animations
   (Progressive Enhancement — content visible without JS)
   ========================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Mobile Menu
   ========================================== */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link:last-of-type {
    border-bottom: none;
}

/* ==========================================
   Form Styles
   ========================================== */
select option {
    background: #1A0A2E;
    color: #fbbf24;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
    .hero-orb {
        filter: blur(60px);
        opacity: 0.3;
    }
    
    .orb-1 {
        width: 300px;
        height: 300px;
    }
    
    .orb-2 {
        width: 250px;
        height: 250px;
    }
    
    .orb-3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h1 br {
        display: none;
    }
}
