/* Плавный скролл по всей странице */
html {
    scroll-behavior: smooth;
}

/* Элегантный тонкий скроллбар (как на дорогих сайтах) */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--sh-gray);
}

::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--sh-black);
    }

/* Стилизация логотипа в центре */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

    .logo-container:hover {
        opacity: 0.7;
    }

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.5rem;
    color: var(--sh-black);
    text-decoration: none;
    margin-right: -0.5rem; /* Компенсация letter-spacing для центровки */
}

.logo-sub {
    font-size: 0.55rem;
    letter-spacing: 0.6rem;
    color: #999;
    margin-top: -2px;
    margin-right: -0.6rem;
    text-transform: uppercase;
}

/* Глобальное правило для ссылок в навигации */
.nav-links a {
    transition: all 0.3s ease;
    position: relative;
}
    /* Эффект подчеркивания при наведении */
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--sh-black);
        transition: width 0.3s ease;
    }

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