/* style.css - QMC Production Styles */

/* 1. Global Variables & Palette */
:root {
    /* Brand Colors */
    --primary: #06b6d4;
    /* Cyan 500 */
    --primary-dark: #0891b2;
    /* Cyan 600 */
    --secondary: #3b82f6;
    /* Blue 500 */

    /* Neutral Colors */
    --dark: #1f2a44;
    /* Slate 900 */
    --darker: #020617;
    /* Slate 950 */
    --light: #f8fafc;
    /* Slate 50 */
    --white: #ffffff;

    /* Accent / Status Colors */
    --accent: #ef4444;
    /* Red 500 - For Urgent/Problem */
    --accent-light: #fef2f2;
    /* Red 50 */
    --success: #22c55e;
    /* Green 500 - For WhatsApp */

    /* Typography */
    --font-main: 'Inter', sans-serif;
}

/* 2. Base Styles */
body {
    font-family: var(--font-main);
    background-color: var(--light);
    color: var(--dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* 3. Hero Section Customizations */
.hero {
    /* Fallback if Tailwind classes fail, but mostly handled by HTML */
    background-color: var(--dark);
}

/* 4. Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.animate-pulse-slow {
    animation: pulse-glow 4s infinite ease-in-out;
}

/* 5. Components */

/* Floating Buttons */
.whatsapp-button,
.assist-button {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 50;
    cursor: pointer;
}

.whatsapp-button:hover,
.assist-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

/* Custom Scrollbar for Chat */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Card Hover Effects */
.hover-card-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}