/* Общие стили */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
}

/* Брендинг */
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: #f1c40f !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.85);
    transition: .3s;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: #f1c40f;
}

/* Удалены старые стили .hero-text, теперь используем hero-content */

.btn-primary {
    background-color: #f1c40f;
    border-color: #f1c40f;
    color: #1a2a3a;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: #d4ac0d;
    border-color: #d4ac0d;
    color: #1a2a3a;
}

.btn-outline-primary {
    color: #f1c40f;
    border-color: #f1c40f;
}
.btn-outline-primary:hover {
    background-color: #f1c40f;
    color: #1a2a3a;
}

/* Карточки */
.card {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.card-title {
    color: #1a2a3a;
    font-weight: 700;
}

/* Отзывы */
.blockquote {
    border-left: 4px solid #f1c40f;
    padding-left: 1.2rem;
}

/* Выравнивание карточек материалов */
.material-card .card-img-top {
    height: 200px;
    object-fit: cover;
}
.material-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.material-card .card-text {
    flex-grow: 1;
}

/* Полноэкранный баннер */
.hero-fullscreen {
    width: 100vw;
    min-height: 100vh; /* занимает минимум всю высоту экрана */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Затемнение для лучшей читаемости текста */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Контент внутри баннера */
.hero-content {
    color: #fff;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-content .lead {
    font-size: 1.3rem;
    color: #f1c40f;
    font-weight: 600;
}

.hero-content .sub-lead {
    font-size: 1.1rem;
    background: #2c3e50;
    color: #fff;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    margin-top: 1rem;
}

.hero-content .btn-primary {
    background-color: #f1c40f;
    border-color: #f1c40f;
    color: #1a2a3a;
    font-weight: 600;
}
.hero-content .btn-primary:hover {
    background-color: #d4ac0d;
    border-color: #d4ac0d;
    color: #1a2a3a;
}

/* Футер */
footer {
    background: #1a2a3a !important;
}
footer .container {
    color: #aaa;
}