/* Глобальные базовые стили сайта */

/* Фикс ширины страницы */
html {
    overflow-y: scroll;
    height: 100%;
}

/* Унифицированная модель коробки */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;

    /* фиксируем футер внизу */
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* ----------------------------- */
/* ВЕРХНЯЯ ТОНКАЯ ПОЛОСА — ГЛОБАЛЬНАЯ */
/* ----------------------------- */

.top-mini-bar {
    background: white;
    padding: 32px 120px;
    border-bottom: 1px solid #e6e6e6;
}

.top-mini-bar ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.top-mini-bar a {
    color: #7a7a7a;
    font-size: 0.72rem;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.3s;
}

.top-mini-bar a:hover,
.top-mini-bar a.active {
    color: #e2b07a;
}

/* ----------------------------- */
/* ГЛОБАЛЬНОЕ ПАРЯЩЕЕ МЕНЮ */
/* ----------------------------- */

.nav-wrapper {
    position: sticky;
    top: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-logo-small {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1a1a1b;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-logo-small span {
    color: #e2b07a;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1b;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

/* Подсветка активного пункта меню */
.nav-links a.active {
    color: #e2b07a;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e2b07a;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #e2b07a;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ----------------------------- */
/* ЦВЕТНАЯ ПОЛОСА — ГЛОБАЛЬНАЯ */
/* ----------------------------- */

.category-bar {
    display: flex;
    width: 100%;
    height: 6px;
    background: #eee;
}

.cat-item {
    flex: 1;
    transition: 0.3s;
    opacity: 0.8;
}

.cat-item:hover {
    opacity: 1;
    flex: 1.2;
}

.bg-green { background: #00796b; }
.bg-orange { background: #d38b45; }
.bg-brown { background: #7a3a3a; }
.bg-pink { background: #cc7a93; }
.bg-blue { background: #1b4f72; }

/* ----------------------------- */
/* ФУТЕР */
/* ----------------------------- */

footer {
    margin-top: auto;
}

.footer {
    background: white;
    padding: 40px 0 50px;
    text-align: center;
    color: #6a6a6a;
    font-size: 0.9rem;
    border-top: 1px solid #e6e6e6;
}

.footer-socials img {
    width: 32px;
    height: 32px;
    opacity: 0.9;
    transition: 0.3s;
    filter: sepia(1) saturate(5) hue-rotate(330deg) brightness(1.1);
}

.footer-socials img:hover {
    opacity: 1;
    transform: scale(1.12);
    filter: sepia(1) saturate(6) hue-rotate(330deg) brightness(1.25);
}

/* ----------------------------- */
/* УТИЛИТЫ */
/* ----------------------------- */

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}
