
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    html {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background-color: #0B0C10;
        color: #F3F4F6;
        scroll-behavior: smooth;
    }
    
    h1, h2, h3, h4, h5, h6, .font-heading {
        font-family: 'Outfit', sans-serif;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B0C10;
}
::-webkit-scrollbar-thumb {
    background: #1F2430;
    border-radius: 4px;
    border: 1px solid rgba(255, 107, 0, 0.3);
}
::-webkit-scrollbar-thumb:hover {
    background: #FF6B00;
}

/* Glowing Elements and Borders */
.glow-orange {
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.45);
}
.glow-orange-sm {
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
}
.glow-orange-lg {
    box-shadow: 0 0 45px rgba(255, 107, 0, 0.6);
}

.border-glow {
    border: 1px solid rgba(255, 107, 0, 0.25);
    transition: all 0.3s ease;
}
.border-glow:hover {
    border-color: rgba(255, 107, 0, 0.65);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.25);
}

/* Background Gradients */
.bg-radial-gradient {
    background: radial-gradient(circle at 50% 30%, rgba(255, 107, 0, 0.12) 0%, rgba(11, 12, 16, 0.95) 70%);
}

.bg-tech-grid {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 107, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 107, 0, 0.05) 1px, transparent 1px);
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(18, 20, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
}
.glass-card:hover {
    border-color: rgba(255, 107, 0, 0.4);
}

/* Keyframes & Animations */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 35px rgba(255, 107, 0, 0.8);
        transform: scale(1.02);
    }
}
.animate-pulse-glow {
    animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes floatAppliance {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}
.animate-float {
    animation: floatAppliance 5s infinite ease-in-out;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
.whatsapp-pulse {
    animation: whatsappPulse 2s infinite;
}

/* Before / After Container */
.comparison-container {
    position: relative;
    overflow: hidden;
    user-select: none;
}
.comparison-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FF6B00;
    cursor: ew-resize;
    z-index: 30;
    box-shadow: 0 0 10px #FF6B00;
}
.comparison-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: #FF6B00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}
