/* ==========================================================================
   RAVEN HAT — Royal Luxury Dark Red, Obsidian Black & White Theme
   ========================================================================== */

:root,
[data-bs-theme="light"],
[data-bs-theme="dark"] {
    --rh-bg-black: #070709;
    --rh-bg-surface: #111116;
    --rh-bg-elevated: #17171e;
    --rh-border: rgba(255, 255, 255, 0.09);
    --rh-border-red: rgba(163, 12, 38, 0.45);
    --rh-red-dark: #5c0011;
    --rh-red: #8b001a;
    --rh-red-bright: #b81432;
    --rh-red-soft: rgba(139, 0, 26, 0.2);
    --rh-text-white: #ffffff;
    --rh-text-muted: #b5b8c2;

    --bs-body-bg: #070709;
    --bs-body-color: #e6e7eb;
    --bs-primary: #9e0b26;
    --bs-primary-rgb: 158, 11, 38;
    --tc-theme-primary: #9e0b26;
    --tc-theme-primary-dark: #5c0011;
    --tc-neutral-0: #111116;
    --tc-neutral-900: #ffffff;
    --tc-neutral-500: #b5b8c2;
}

html,
body {
    background-color: var(--rh-bg-black) !important;
    color: var(--rh-text-white) !important;
}

/* Typography & Utility Text Overrides */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.text-900,
.navbar-brand span {
    color: #ffffff !important;
}

p, li, .text-500, .text-600 {
    color: var(--rh-text-muted) !important;
}

.text-primary,
.text-linear-2 {
    color: #e63956 !important;
    background: none !important;
    -webkit-text-fill-color: #e63956 !important;
}

a {
    color: #e63956;
}
a:hover {
    color: #ff6b84;
}

/* Preloader */
#preloader {
    background-color: var(--rh-bg-black) !important;
}
#preloader p {
    color: #ffffff !important;
}

/* Navbar & Mobile Header */
header .navbar {
    background-color: rgba(7, 7, 9, 0.92) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rh-border) !important;
}

.navbar .nav-link {
    color: #e5e7eb !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.text-primary {
    color: #e63956 !important;
}

.mobile-header-active {
    background-color: var(--rh-bg-surface) !important;
    color: #ffffff !important;
}
.mobile-menu li a {
    color: #ffffff !important;
    border-bottom-color: var(--rh-border) !important;
}
.burger-icon > span {
    background-color: #ffffff !important;
}
.burger-icon.border {
    border-color: var(--rh-border) !important;
    background-color: var(--rh-bg-elevated) !important;
}

/* Hide light/dark switcher since site is locked to luxury dark theme */
.dark-light-switcher {
    display: none !important;
}

/* Sections & Backgrounds */
.section-hero-2,
.section-page-header,
.section-padding,
.section-static-1,
.section-terms-conditions,
.section-privacy-policy {
    background-color: var(--rh-bg-black) !important;
}

.bg-4,
.bg-primary-soft {
    background-color: #0e0e13 !important;
}

.section-static-1 .inner {
    background-color: var(--rh-bg-surface) !important;
    border: 1px solid var(--rh-border-red) !important;
    border-radius: 20px;
    padding: 2.5rem !important;
}

.bg-primary {
    background: linear-gradient(135deg, #3b000b 0%, #7a0019 55%, #9e0b26 100%) !important;
}

.bg-white {
    background-color: var(--rh-bg-elevated) !important;
    color: #ffffff !important;
}

.border-white {
    border-color: var(--rh-border-red) !important;
}

.border,
.border-top,
.border-bottom {
    border-color: var(--rh-border) !important;
}

/* Badges & Pills */
.badge.bg-primary-soft,
.bg-primary-soft.rounded-pill {
    background-color: var(--rh-red-soft) !important;
    border: 1px solid var(--rh-border-red) !important;
    color: #ff7a90 !important;
}

.badge.bg-white {
    background-color: #ffffff !important;
    color: #7a0019 !important;
}

.border-linear-1 {
    background: linear-gradient(90deg, #6a0014, #c41e3a) !important;
    padding: 1px;
}
.border-linear-1 > div {
    background-color: var(--rh-bg-surface) !important;
    color: #ff8599 !important;
}

/* Cards & Feature Items */
.card {
    background-color: var(--rh-bg-surface) !important;
    border: 1px solid var(--rh-border) !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
    border-color: var(--rh-border-red) !important;
    box-shadow: 0 12px 32px rgba(139, 0, 26, 0.22) !important;
}

.icon-shape.bg-primary-soft {
    background-color: var(--rh-red-soft) !important;
    border: 1px solid var(--rh-border-red) !important;
}

.backdrop-filter {
    background: rgba(17, 17, 22, 0.88) !important;
    border: 1px solid var(--rh-border-red) !important;
    color: #ffffff !important;
}

/* Buttons */
.btn-gradient,
.btn-primary {
    background: linear-gradient(135deg, #6a0014 0%, #9e0b26 60%, #c41e3a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(139, 0, 26, 0.35);
}
.btn-gradient:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #7d0018 0%, #b81432 60%, #d92644 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(184, 20, 50, 0.5);
}

.btn-outline-secondary {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}
.btn-outline-secondary:hover {
    background-color: var(--rh-red-soft) !important;
    border-color: #c41e3a !important;
    color: #ffffff !important;
}

/* Forms & Accordion */
.form-control,
.form-select {
    background-color: var(--rh-bg-elevated) !important;
    border: 1px solid var(--rh-border) !important;
    color: #ffffff !important;
}
.form-control::placeholder {
    color: #7b8090 !important;
}
.form-control:focus,
.form-select:focus {
    border-color: #b81432 !important;
    box-shadow: 0 0 0 0.2rem rgba(158, 11, 38, 0.25) !important;
}
.form-label {
    color: #ffffff !important;
}

.accordion-item {
    background-color: var(--rh-bg-surface) !important;
    border-color: var(--rh-border) !important;
}
.accordion-button {
    background-color: var(--rh-bg-surface) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    background-color: #191216 !important;
    color: #ff7a90 !important;
}
.accordion-button::after {
    filter: invert(1);
}

/* Luxury Ambient Blobs */
.bouncing-blob--purple,
.bouncing-blob--primary,
.bouncing-blob--green,
.bouncing-blob--infor {
    background: radial-gradient(circle, rgba(158, 11, 38, 0.32) 0%, rgba(92, 0, 17, 0.08) 70%) !important;
}
.bouncing-blob--white {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%) !important;
}

/* Footer */
footer .section-footer,
footer .bg-primary-soft {
    background-color: #09090c !important;
    border-top: 1px solid var(--rh-border-red);
}
footer a.text-500:hover {
    color: #ff6b84 !important;
}

/* Scroll Top */
.btn-scroll-top {
    background-color: var(--rh-bg-elevated) !important;
    border: 1px solid var(--rh-border-red) !important;
}
.btn-scroll-top svg path {
    stroke: #c41e3a !important;
}

/* Custom Hero Mobile Incubator Showcase */
.rh-phone-frame {
    background: linear-gradient(160deg, #1b1b22 0%, #0b0b0f 100%);
    border: 1px solid rgba(196, 30, 58, 0.45);
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(139, 0, 26, 0.22);
}
.rh-phone-screen {
    background: #0e0e13;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    text-align: left;
}
.rh-app-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(139, 0, 26, 0.24);
    border: 1px solid rgba(196, 30, 58, 0.45);
    color: #ff8ca0;
    font-size: 12px;
    font-weight: 700;
}

