/* Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.site-header {
    background: rgba(255, 252, 246, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #233033;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.15rem;
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(100% - 24px, 1180px);
    border-radius: 999px;
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 12px 28px rgba(35, 48, 51, 0.1);
    font-family: 'Roboto', Arial, sans-serif;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.site-title {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #233033;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-logo-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(35, 48, 51, 0.08);
    box-shadow: 0 6px 12px rgba(35, 48, 51, 0.12);
    background: #fff;
}

.language-button,
.menu-button {
    background: #fffdfa;
    color: #233033;
    border: 1px solid rgba(35, 48, 51, 0.08);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Roboto', Arial, sans-serif;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.language-button:hover,
.menu-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(23, 32, 34, 0.12);
}

.menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.28rem;
    padding: 0.7rem;
    min-width: 46px;
    height: 46px;
}

.burger-line {
    width: 20px;
    height: 2px;
    background: #233033;
    border-radius: 999px;
}

.fullscreen-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 250, 242, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: opacity 0.2s ease, top 0.4s ease;
    opacity: 0;
    overflow: hidden;
    font-family: 'Roboto', Arial, sans-serif;
}

.fullscreen-menu.visible {
    top: 0;
    opacity: 1;
}

.fullscreen-menu.hidden {
    top: -100%;
    opacity: 0;
}

.menu-content {
    text-align: center;
    width: min(100%, 760px);
    padding: 1rem;
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.menu-content ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #233033;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 110px;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.menu-content ul li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(23, 32, 34, 0.1);
}

.desktop-nav {
    display: flex;
    gap: 12px;
    margin-left: 16px;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: #233033;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.desktop-nav a:hover {
    background-color: rgba(199, 155, 106, 0.16);
}

body.has-site-header {
    padding-top: 100px;
}

@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .menu-content ul {
        grid-template-columns: 1fr;
    }
}
