/* Статичное мобильное меню - сетка */

.menu-grid-container {
    position: fixed;
    top: 120px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    height: calc(100vh - 180px); /* Adjust for header and footer */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 20px;
    box-sizing: border-box;
}

.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80%;
    max-width: 250px;
    margin: 0 auto;
}

.menu-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    overflow: hidden;
    position: relative;
}

.menu-grid-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.menu-grid-item.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.menu-item-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.menu-icon-text {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Background styles */
.background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
    filter: blur(2px); /* Light blur effect */
}

/* Footer styles */
#mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    z-index: 101;
    background-color: transparent;
}

.header-buttons {
    display: flex;
    gap: 1.5rem;
    text-transform: uppercase;
    font-size: 1.3rem;
}

.header-button {
    display: inline-block;
    padding: 0.7rem 0.5rem;
    background-color: beige;
    color: #4a7c59;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 25px;
    transition: all 0.3s ease;
    width: 120px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-button:hover {
    background-color: transparent;
    color: #ffffff;
}

.header-button.button {
    background-color: #4a7c59; /* Green color */
    border-color: #4a7c59;
    color: #fae7c9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-button.button:hover {
    background-color: #fae7c9;
    color: #4a7c59;
}

/* Mobile header logo styles */
#mobile-header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

#mobile-header-logo .logo-background {
    width: 47px;
    height: 47px;
    background-color: #fae7c9; /* Solid color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobile-header-logo .mobile-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Responsive adjustments for very small screens */
@media (max-height: 600px) {
    .menu-grid-container {
        height: calc(100vh - 150px);
        top: 100px;
    }

    .menu-grid {
        gap: 10px;
    }

    .menu-grid-item {
        min-height: 50px;
        padding: 10px;
    }

    .menu-icon-text {
        font-size: 16px;
    }
}