/* Стили для плавающей плашки */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.floating-menu {
    position: fixed;
    bottom: 2rem; /* 32px от низа */
    left: 50%;
    transform: translateX(-50%);
    height: 3rem; /* 48px */
    background: linear-gradient(-45deg, #4a7c59, #6a9979, #8ac299, #6a9979);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    border-radius: 25px; /* 8px - закругленные углы */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem; /* 16px - отступы между элементами */
    z-index: 1000;
    padding: 0 1.5rem; /* 24px - внутренние отступы */
}

/* Когда меню "пристыковано" к футеру */
.floating-menu.is-docked {
    position: absolute;
    bottom: 5.5rem; /* Высота футера + отступ */
}

/* Стили для кнопок */
.menu-button {
    background: none;
    border: none;
    color: #fae7c9;
    /* font-size: clamp(0.75rem, 2vw, 0.875rem); Адаптивный: 12px-14px */
    cursor: pointer;
    padding: 0.5rem; /* 8px */
    border-radius: 0.25rem; /* 4px */
    transition: background-color 0.2s;
    font-size: 21px; 
    letter-spacing: 1.9px;
}

.menu-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Стили для логотипа по центру */
.logo-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem; /* 72px - в 1.5 раза больше */
    height: 5.5rem; /* 72px */
    border-radius: 50%; /* Делаем круглым */
    background-color: #fae7c9; /* фон для логотипа */
    overflow: hidden; /* Обрезаем все, что выходит за круг */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1001;
}

.logo-center img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Масштабирует изображение, чтобы оно полностью покрыло контейнер */
}

@media (max-width: 768px) {
    .floating-menu {
        height: 2.5rem;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .menu-button {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .logo-center {
        width: 4rem;
        height: 4rem;
    }

    .floating-menu.is-docked {
        bottom: 5rem;
    }
}