// ─── Colors ───────────────────────────────────────────────────────────────────
// Hex values live in the `site_colors` database table and are injected as
// CSS custom properties by `resources/views/layouts/app.blade.php`. Edit
// them under the "Site Colors" page in the Filament admin panel — these
// Sass aliases just re-export them so existing partials keep working.
//
// For semi-transparent colors, prefer the `--{name}-rgb` companion var,
// which is the same color expressed as `r, g, b` (no alpha). Compose
// alpha-tinted colors with the CSS Color 4 syntax:
//
//     rgb(from var(--red-primary) r g b / 10%)
//
// …or, if you prefer the older form:
//
//     rgba(var(--red-primary-rgb), 0.1)

// Brand reds
$red-primary: var(--red-primary);
$red-dark: var(--red-dark);
$red-light: var(--red-light);
$red-pale: var(--red-pale);
$red-faint: var(--red-faint);
$red-ghost: var(--red-ghost);

// Dark
$navy: var(--navy);
$gray-900: var(--gray-900);
$gray-700: var(--gray-700);
$gray-600: var(--gray-600);
$gray-500: var(--gray-500);
$gray-400: var(--gray-400);
$gray-300: var(--gray-300);
$gray-200: var(--gray-200);
$gray-100: var(--gray-100);
$gray-50: var(--gray-50);

// Accent
$green: var(--green);
$indigo: var(--indigo);
$indigo-dark: var(--indigo-dark);

// Surface
$white: var(--white);
$body-bg: var(--body-bg);

// ─── Typography ───────────────────────────────────────────────────────────────
$font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
$font-mono: "SF Mono", "Fira Mono", monospace;

// ─── Borders ──────────────────────────────────────────────────────────────────
$border-color: var(--border-color);
$border-width: 1.5px;

// ─── Layout ───────────────────────────────────────────────────────────────────
$max-width: 1200px;

// ─── Z-indices ────────────────────────────────────────────────────────────────
$z-navbar: 100;
$z-dropdown: 200;
$z-modal: 2000;
$z-tooltip: 9999;

// ─── Breakpoints ──────────────────────────────────────────────────────────────
$bp-tablet: 768px;
$bp-mobile: 480px;

// ─── Mixins ───────────────────────────────────────────────────────────────────

// Repeated "overline label" pattern throughout the app
@mixin section-label($spacing: 0.07em) {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: $spacing;
    color: $gray-500;
}

// White card with standard border
@mixin card {
    background: $white;
    border: $border-width solid $border-color;
}

// Transition for interactive elements
@mixin quick-transition($props...) {
    transition-property: #{$props};
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
