:root {
    --bs-body-bg: #1a1413;
    --bs-body-color: #e0d6d0;
    --bs-primary: #d97d26;
    --bs-secondary: #8a7968;
    --bs-border-color: #3a2c26;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

section, footer {
    z-index: 10;
    position: relative;
    background: #1a1413;
}



.text-primary { color: var(--bs-primary) !important; }
.bg-primary { background-color: var(--bs-primary) !important; }
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #1a1413;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: #b8641b;
    border-color: #b8641b;
    color: #1a1413;
}
.navbar {
    background: linear-gradient(to bottom, rgba(26, 20, 19, 0.9), transparent);
    transition: background-color 0.3s ease;
}




/* ─── Обёртка резервирует место hero ─── */
.hero-spacer {
    height: 100svh;
    position: relative;
}

/* ─── Hero: fixed, БЕЗ background ─── */
.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    z-index: 1;
    overflow: hidden;              /* важно: обрезаем увеличенный фон */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* ─── ФОН с зумом ─── */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/wp-content/themes/brave-theme/assets/img/hero-1.jpg') center/cover no-repeat;
    transform: scale(var(--hero-scale, 1));
    transform-origin: center center;
    will-change: transform;
    z-index: 0;
}

/* ─── Затемнение ─── */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 20, 19, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ─── Контент накрывает hero ─── */
.site-content {
    position: relative;
    z-index: 2;
    background: #1a1413;
}




.section-padding {
    padding: 6rem 0;
}
.card {
    background-color: #241c18;
    border: 1px solid var(--bs-border-color);
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-5px);
}
.card-img-top {
    height: 200px;
    object-fit: cover;
}
.gallery-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    border-radius: 0.5rem;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--bs-primary);
}
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: #241c18;
    border-top: 1px solid var(--bs-border-color);
    padding: 1rem;
    font-size: 0.875rem;
}
.footer {
    background-color: #0f0c0a;
    padding: 3rem 0;
    border-top: 1px solid var(--bs-border-color);
}