/**
 * Engel Asset Management — Brand color overrides
 * Primary / accent: #B80909
 */

:root,
[data-bs-theme=light] {
    --ea-primary: #B80909;
    --ea-primary-hover: #960707;
    --ea-primary-dark: #6E0505;
    --ea-primary-rgb: 184, 9, 9;
    --ea-primary-subtle: #FCEAEA;
    --ea-primary-border: #F5B3B3;

    --bs-primary: #B80909;
    --bs-primary-rgb: 184, 9, 9;
    --bs-primary-text-emphasis: #6E0505;
    --bs-primary-bg-subtle: #FCEAEA;
    --bs-primary-border-subtle: #F5B3B3;
    --bs-link-color: #B80909;
    --bs-link-color-rgb: 184, 9, 9;
    --bs-link-hover-color: #960707;
    --bs-link-hover-color-rgb: 150, 7, 7;
    --bs-focus-ring-color: rgba(184, 9, 9, 0.25);
}

[data-bs-theme=dark] {
    --bs-primary: #B80909;
    --bs-primary-rgb: 184, 9, 9;
    --bs-primary-text-emphasis: #F06666;
    --bs-primary-bg-subtle: #2A0808;
    --bs-primary-border-subtle: #5C1010;
    --bs-link-color: #E84545;
    --bs-link-hover-color: #F06666;
    --bs-link-color-rgb: 232, 69, 69;
    --bs-link-hover-color-rgb: 240, 102, 102;
}

.fill-primary {
    fill: #B80909 !important;
}

.btn-primary-soft {
    color: #B80909;
    background-color: rgba(184, 9, 9, 0.1);
}

.btn-primary-soft:active,
.btn-primary-soft:hover,
.btn-primary-soft:focus {
    color: #fff;
    background-color: #B80909;
}

.form-check-input:checked,
.form-check-input[type=checkbox]:indeterminate {
    background-color: #B80909;
    border-color: #B80909;
}

.form-switch .form-check-input:checked {
    background-color: #B80909;
    border-color: #B80909;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(184, 9, 9, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(184, 9, 9, 0.15);
}

.bg-dark .text-primary,
[data-bs-theme=dark] .text-primary {
    color: #E84545 !important;
}

::selection {
    background-color: rgba(184, 9, 9, 0.2);
    color: inherit;
}

.header-sticky[data-bs-theme=dark] .nav-link.active,
.header-sticky[data-bs-theme=dark] .nav-link:hover {
    color: #F06666;
}

.header-sticky[data-bs-theme=dark] .btn-primary {
    background-color: #B80909;
    border-color: #B80909;
}

.header-sticky[data-bs-theme=dark] .btn-primary:hover,
.header-sticky[data-bs-theme=dark] .btn-primary:focus {
    background-color: #960707;
    border-color: #960707;
}

footer .icon-lg.bg-dark {
    background-color: #B80909 !important;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #B80909;
}
