:root {
  --bg-color: #f5efe6;
  --text-color: #3d3d3d;
  --glass-color: rgba(245, 239, 230, 0.7);
  --border-color: rgba(255, 255, 255, 0.4);
  --shadow-color: rgba(149, 137, 117, 0.2);
  --menu-bg: rgba(245, 239, 230, 0.95);
}

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/фотки/shee.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -4;
  opacity: 0.9;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

body {
  margin: 0;
  background-color: var(--bg-color);
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  position: relative;
}

.glass {
  background: var(--glass-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 30px var(--shadow-color);
}

.upper {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.upper-text {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s;
}

.upper-text:hover {
  opacity: 0.8;
}

.footer {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.footer-text {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* Полноэкранное меню */
.fullscreen-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px; /* фиксированная ширина */
  max-width: 90vw;
  padding: 30px 20px;
  background: rgba(245, 239, 230, 0.7); /* полупрозрачный светлый фон */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: none; /* убираем плавное появление */
}

.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
}

.menu-item {
  display: block; /* чтобы занять всю ширину контейнера */
  width: 100%; /* растянуть на всю ширину меню */
  text-align: center; /* выравнивание текста по центру */
  box-sizing: border-box; /* чтобы padding не влиял на ширину */
}

.menu-item {
  color: var(--text-color);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 20px;
}

.menu-item:hover {
  transform: translateX(10px);
}

.menu-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text-color);
  transition: width 0.3s ease;
}

.menu-item:hover::after {
  width: 100%;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .menu-item {
    font-size: 1.5rem;
  }

  .menu-items {
    gap: 15px;
  }
}
