/*
================================================================================
|  FamilyTool Layout CSS - Bootstrap Override                                  |
|  Version: 1.0                                                                 |
|  Überschreibt Bootstrap-Standards mit FamilyTool-Branding                    |
================================================================================
*/

/* ============================================================
   § 1. CSS Custom Properties (Farbschema FamilyTool)
   ============================================================ */
:root {
    /* FamilyTool Brand Colors */
    --brand-dark: #1a0505;
    --brand-card: #2b0e0e;
    --brand-red: #d31515;
    --brand-glow: #ff4d4d;
    --brand-silver: #d1d5db;

    /* Bootstrap Variable Overrides */
    --bs-primary: #d31515;
    --bs-primary-rgb: 211, 21, 21;
    --bs-secondary: #6c757d;
    --bs-success: #10b981;
    --bs-info: #06b6d4;
    --bs-warning: #f8b500;
    --bs-danger: #dc3545;
    --bs-dark: #1a0505;
    --bs-light: #d1d5db;
    --bs-body-bg: #1a0505;
    --bs-body-color: #d1d5db;
}

/* ============================================================
   § 2. Global Styles
   ============================================================ */
body {
    background-color: var(--brand-dark);
    color: var(--brand-silver);
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--brand-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-glow);
}

/* ============================================================
   § 3. Bootstrap Button Overrides
   ============================================================ */
.btn-primary {
    background: var(--brand-red);
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #b11313;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(209, 213, 219, 0.5);
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(209, 213, 219, 0.1);
    border-color: var(--brand-silver);
}

.btn-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ============================================================
   § 4. Bootstrap Card Overrides
   ============================================================ */
.card {
    background: var(--brand-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    color: var(--brand-silver);
}

.card-body {
    padding: 2rem;
}

/* ============================================================
   § 5. Bootstrap Badge Overrides
   ============================================================ */
.badge {
    font-weight: 700;
    padding: 0.35em 0.65em;
}

/* ============================================================
   § 6. Navbar Overrides
   ============================================================ */
.navbar-brand-heart {
    width: 32px;
    height: 32px;
    color: var(--brand-red);
    fill: currentColor;
    filter: drop-shadow(0 0 8px rgba(211, 21, 21, 0.6));
    transition: transform 0.3s;
}

.navbar-brand:hover .navbar-brand-heart {
    transform: scale(1.1);
}

.nav-link {
    color: rgba(209, 213, 219, 0.8) !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: white !important;
}
