@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800&display=swap');

html { scroll-behavior: smooth; }

@layer utilities {
    .bg-pest-primary { background-color: #10B981; } /* Emerald Green - Safe / Eco */
    .bg-pest-secondary { background-color: #047857; } /* Dark Green */
    .bg-pest-dark { background-color: #111827; } /* Very Dark Gray for contrast */
    .bg-pest-light { background-color: #F3F4F6; }
    
    .text-pest-primary { color: #10B981; }
    .text-pest-secondary { color: #047857; }
    .text-pest-dark { color: #111827; }
    
    .font-rubik { font-family: 'Rubik', sans-serif; }
}

body {
    font-family: 'Rubik', sans-serif;
    color: #374151;
    background-color: #FFFFFF;
}

.pest-btn {
    @apply inline-flex items-center justify-center px-8 py-3.5 bg-[#10B981] text-white font-bold rounded-lg hover:bg-[#047857] transition-all duration-300 shadow-lg shadow-emerald-500/30 transform hover:-translate-y-1;
}

.pest-btn-outline {
    @apply inline-flex items-center justify-center px-8 py-3.5 border-2 border-[#10B981] text-[#10B981] font-bold rounded-lg hover:bg-[#10B981] hover:text-white transition-all duration-300;
}

.service-card {
    @apply bg-white p-8 rounded-2xl shadow-sm hover:shadow-xl transition-all duration-300 border border-gray-100 group relative overflow-hidden z-10;
}

.service-card::before {
    content: '';
    @apply absolute top-0 left-0 w-full h-1 bg-[#10B981] transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300 origin-left z-[-1];
}

/* Radar / Scan animation effect */
.radar-bg {
    position: relative;
    overflow: hidden;
}

.radar-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 70%, rgba(16, 185, 129, 0.1) 80%, rgba(16, 185, 129, 0.4) 100%);
    transform-origin: center;
    animation: radarScan 4s linear infinite;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
}

@keyframes radarScan {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Floating Bug Target */
.target-crosshair {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(16, 185, 129, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-center;
    animation: pulseTarget 2s infinite alternate;
}
.target-crosshair::before, .target-crosshair::after {
    content: '';
    position: absolute;
    background-color: rgba(16, 185, 129, 0.8);
}
.target-crosshair::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.target-crosshair::after { height: 100%; width: 2px; left: 50%; top: 0; transform: translateX(-50%); }

@keyframes pulseTarget {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}
