﻿/* ============================================================
   SOLÁRIA ROSE — Hamburger / Mobile Menu 2026
   (sidebar base styles defined in hlavicka.css)
   ============================================================ */

/* Ensure sidebar open animation works */
@keyframes liquid-glass-flow { from {} to {} }
@keyframes liquid-glass-close { from {} to {} }
@keyframes liquid-slide-in { from {} to {} }
@keyframes liquid-glow { from {} to {} }
@keyframes bubble-float { from {} to {} }
@keyframes wave-response { from {} to {} }
@keyframes liquid-wave-top { from {} to {} }
@keyframes shine-form { from {} to {} }

/* Sidebar overlay effect on mobile */
.sidebar::before,
.sidebar::after { content: none; }

/* Mobile nav items */
.sidebar .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  perspective: none;
}

.sidebar .mobile-nav a {
  display: block;
  justify-content: unset;
  align-items: unset;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast), background var(--transition-fast);
  position: relative;
  overflow: visible;
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}
.sidebar .mobile-nav a::before,
.sidebar .mobile-nav a::after { content: none; }

.sidebar .mobile-nav a:hover {
  color: var(--accent-dark);
  padding-left: 18px;
  background: var(--bg-secondary);
  transform: none;
  box-shadow: none;
}
.sidebar.open .mobile-nav a {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
#hamburger-button {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1.7rem;
  padding: 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
#hamburger-button:focus { outline: 0; }

/* Mobile menu (unused, kept for compat) */
.mobile-menu { display: none; }
#mobile-menu { display: none; }

/* Responsive */
@media (min-width: 1251px) {
  .sidebar { display: none; }
}
@media (max-width: 1250px) {
  nav.hlavicka-vpravo,
  #call_to_action_button,
  .desktop-only { display: none !important; }
  .hamburger { display: flex; }
  .sidebar { right: -320px; }
  .sidebar.open { right: 0; }
  nav.mobile-nav { display: flex !important; }
}
