:root {
    --primary-dark: #001540;
    --primary-light: #002b80;
    --accent-gold: #ffcc00;
    --accent-gold-hover: #e6b800;
    --text-dark: #2c3e50;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    padding-top: 76px; /* Заради фиксирания бял хедър */
}

/* Модерен Бял Хедър */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.navbar-custom .nav-link {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
    color: var(--accent-gold);
    background-color: rgba(0, 21, 64, 0.03);
}

/* Hero Секция */
.hero-section {
    background-image: url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,21,64,0.95) 0%, rgba(0,21,64,0.6) 50%, rgba(0,21,64,0) 100%);
}

/* Заглавия на секции */
.section-title {
    color: var(--primary-dark);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}
.text-start .section-title::after {
    left: 0;
    transform: none;
}

/* Модерни Карти (Cards) */
.modern-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
}
.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 21, 64, 0.1);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    color: var(--primary-dark);
    transform: translateY(-2px);
}
/* КОГАТО Е ВКЛЮЧЕН ТЪМЕН РЕЖИМ */
[data-bs-theme="dark"] body {
    background-color: #121212 !important; /* Тъмен фон на екрана */
}

[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .modern-card {
    background-color: #1e1e1e !important; /* Тъмно сиви карти, вместо бели */
    color: #f8f9fa !important;
    border-color: #333 !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #2b2b2b !important;
}

[data-bs-theme="dark"] .text-dark {
    color: #f8f9fa !important; /* Черният текст става бял */
}

/* Опционално: Правим синьото малко по-светло, за да се чете на черен фон */
[data-bs-theme="dark"] {
    --primary-dark: #3b5998; 
}