/* ============================================
   Delete Pest Elimination — Custom Styles
   Premium Dark Luxury Theme
   Burgundy + Blush + Gold Accent
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

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

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #a83636, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #d4a843, transparent 70%);
    bottom: 5%;
    left: -5%;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #e06f6f, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

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

/* --- Hero Animations (above fold — always visible) --- */
.hero-badge {
    opacity: 1;
    animation: fadeInDown 0.8s ease-out forwards;
}

.hero-title {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-subtitle {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-cta {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-trust {
    opacity: 1;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Scroll Reveal (below fold only, progressive enhancement) --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Reduced motion: no animations */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .hero-trust {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .hero-orb {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* --- Navbar Scroll State --- */
.navbar-scrolled {
    background: rgba(66, 15, 15, 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);
}

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

::-webkit-scrollbar-track {
    background: #420f0f;
}

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

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

/* --- Selection --- */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #fff;
}

/* --- Select Dropdown Styling --- */
select option {
    background: #420f0f;
    color: #fff;
}

/* --- Focus Visible --- */
:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* --- Mobile Menu Transition --- */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

/* --- Gold Shimmer on Buttons --- */
button, a[type="submit"] {
    position: relative;
    overflow: hidden;
}

button::after, a[type="submit"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

button:hover::after, a[type="submit"]:hover::after {
    left: 100%;
}
