@import "tailwindcss";

@theme {
    --color-primary: hsl(24 95% 53%);
    --color-brand-orange: hsl(24 95% 53%);
    --color-foreground: hsl(222.2 84% 4.9%);
    --color-secondary: hsl(210 40% 96%);
    --color-muted: hsl(210 40% 96%);
    --color-accent: hsl(210 40% 96%);
    --color-destructive: hsl(0 84% 60%);

    --font-family-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
}

/* Custom Utilities based on workflow */
@utility container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    color: var(--color-foreground);
    background-color: #f8fafc;
    /* Slate 50 */
    background-image:
        radial-gradient(at 0% 0%, hsla(24, 95%, 53%, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(210, 100%, 50%, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(24, 95%, 53%, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(210, 100%, 50%, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Workflow specific classes */
.gradient-text {
    background: linear-gradient(135deg, hsl(24, 95%, 53%), hsl(45, 93%, 47%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.6);
    /* Slate 900 with opacity */
    border-color: rgba(255, 255, 255, 0.8);
}

.rb-service-card-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Shiny Button Effect */
.shiny-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.shiny-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: all 0.5s;
}

.shiny-button:hover::after {
    left: 100%;
    transition: 0.7s;
}

.shiny-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* =========================================================
   Footer Social Icons – RB Care Service (SAFE ADDITION)
   Affects ONLY .footer-social
   ========================================================= */

.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social text {
    fill: var(--color-primary);
    font-size: 9px;
    font-weight: 700;
    font-family: Arial, sans-serif;
}

.footer-social:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-social:hover svg,
.footer-social:hover text {
    stroke: #ffffff;
    fill: #ffffff;
}