/* Menú principal (pages/menu.html) — tema .page-olive definido en index.css */

main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-menu {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  padding: 40px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-items {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.menu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 2px solid var(--page-text);
  text-decoration: none;
  gap: 16px;
  min-height: 60px;
  transition: opacity 0.2s ease;
}

.menu-item:active {
  opacity: 0.7;
}

.menu-text {
  flex: 1;
  min-width: 0;
  transition: transform 0.2s ease;
}

.menu-label,
.menu-label span {
  display: block;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 32px;
  color: var(--page-text);
  line-height: 1.15;
  overflow-wrap: break-word;
}

.arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  transition: transform 0.2s ease;
}

.arrow img {
  width: 100%;
  height: 100%;
  display: block;
}

@media (hover: hover) {
  .menu-item:hover .menu-text {
    transform: translateX(6px);
  }

  .menu-item:hover .arrow {
    transform: translate(3px, -3px);
  }
}

.menufooter {
  margin-top: auto;
  padding-top: 40px;
  flex-shrink: 0;
}

.rrss {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.rrss > a {
  color: var(--page-text);
  text-decoration: none;
  font-size: 18px;
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.rrss-icons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.rrss-icons img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
