/* =========================
   ОБЩИЕ НАСТРОЙКИ
========================= */

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fffdf9;
    color: #333;
    line-height: 1.65;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   HEADER / NAVBAR
========================= */

.navbar-brand {
    font-size: 1.25rem;
    color: #d17b5f;
}

.navbar-brand:hover {
    color: #b8674e;
}

.nav-link {
    color: #555;
    margin-left: 10px;
}

.nav-link.active,
.nav-link:hover {
    color: #d17b5f;
    font-weight: 500;
}

/* =========================
   ЗАГОЛОВКИ
========================= */

h1 {
    font-size: 2rem;
}

h5 {
    font-size: 1.05rem;
}

/* =========================
   КАРТОЧКИ И БЛОКИ
========================= */

.card,
.border.rounded {
    background-color: #ffffff;
    border: 1px solid #f0e6df;
    border-radius: 12px;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.shadow-sm {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

/* =========================
   ALERT / ВАЖНЫЕ БЛОКИ
========================= */

.alert {
    border-radius: 12px;
    font-size: 0.95rem;
}

.alert-warning {
    background-color: #fff5e6;
    border-color: #f1d4a3;
}

.alert-light {
    background-color: #faf6f2;
}

/* =========================
   СПИСКИ
========================= */

ul {
    padding-left: 18px;
}

ul li {
    margin-bottom: 6px;
}

/* =========================
   КНОПКИ
========================= */

.btn {
    border-radius: 30px;
    padding: 6px 20px;
}

.btn-outline-primary {
    border-color: #d17b5f;
    color: #d17b5f;
}

.btn-outline-primary:hover {
    background-color: #d17b5f;
    border-color: #d17b5f;
}

/* =========================
   ИЗОБРАЖЕНИЯ
========================= */

img.rounded {
    border-radius: 16px !important;
}

/* =========================
   СЕКЦИИ
========================= */

section {
    margin-bottom: 30px;
}

/* =========================
   FOOTER
========================= */

footer {
    font-size: 0.9rem;
    background-color: #faf6f2;
}

/* =========================
   АДАПТИВНОСТЬ
========================= */

@media (max-width: 768px) {

    h1 {
        font-size: 1.6rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .nav-link {
        margin-left: 0;
    }

    .card {
        margin-bottom: 10px;
    }
}
