@charset "UTF-8";
/**
 * SmartMenus Modern Museum Theme (sm-simple.css)
 * Clean, responsive, accessible navigation for desktop & mobile
 * Solid layout, zero hover jitter, high-contrast markers
 */

/* -------------------------------------------------------------------------
   1. Base & Mobile Layout (Mobile-first, collapsible mode)
   ------------------------------------------------------------------------- */
.sm-simple {
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.sm-simple,
.sm-simple * {
  box-sizing: border-box;
}

.sm-simple a,
.sm-simple a:link,
.sm-simple a:visited,
.sm-simple a:hover,
.sm-simple a:focus,
.sm-simple a:active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--nav-text, #2c1e10);
  text-decoration: none;
  position: relative;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sm-simple a:hover,
.sm-simple a:focus {
  background: rgba(255, 255, 255, 0.55);
  color: var(--link-hover, #6b1d2f);
}

.sm-simple a.disabled {
  color: #8c7660;
  cursor: default;
}

/* Sub-indicator: Clear, solid, high-contrast marker - NO movement */
.sm-simple a .sub-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex: 0 0 14px;
  pointer-events: none;
}

.sm-simple a .sub-arrow::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--nav-text, #2c1e10);
  transform: none !important;
  transition: none !important;
}

/* Remove all plus/minus text content indicators */
.sm-simple a .sub-arrow::before,
.sm-simple a.highlighted .sub-arrow::before,
.sm-simple ul a .sub-arrow::before,
.sm-simple ul a.highlighted .sub-arrow::before {
  content: none !important;
  display: none !important;
}

/* Mobile list items & sub-menus */
.sm-simple li {
  position: relative;
  border-top: 1px solid rgba(80, 50, 15, 0.08);
}

.sm-simple > li:first-child {
  border-top: 0;
}

.sm-simple ul {
  position: static;
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(240, 223, 184, 0.65);
  border-top: 1px solid rgba(80, 50, 15, 0.08);
  border-bottom: 1px solid rgba(80, 50, 15, 0.08);
}

.sm-simple ul a,
.sm-simple ul a:link,
.sm-simple ul a:visited {
  padding: 10px 18px 10px 32px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--nav-text, #2c1e10);
  border-left: 3px solid transparent;
}

.sm-simple ul a:hover,
.sm-simple ul a:focus {
  background: rgba(255, 255, 255, 0.7);
  color: var(--link-hover, #6b1d2f);
  border-left-color: var(--link-hover, #6b1d2f);
}

.sm-simple ul ul a {
  padding-left: 44px;
}

.sm-simple ul a img {
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.sm-simple .menu-globe-icon {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 6px;
}

/* -------------------------------------------------------------------------
   2. Desktop Layout (min-width: 769px) - Horizontal Top Bar
   ------------------------------------------------------------------------- */
@media (min-width: 769px) {
  .topmenu-mobile-bar {
    display: none !important;
  }

  #layoutMenu {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }

  #topmenu-nav {
    height: 32px;
  }

  #main-menu {
    display: block !important;
    height: 32px;
  }

  .sm-simple {
    display: flex;
    align-items: center;
    width: 100%;
    height: 32px;
  }

  .sm-simple > li {
    float: left;
    height: 32px;
    border-top: 0;
    border-left: 0;
  }

  .sm-simple > li.langglobe {
    margin-left: auto;
  }

  .sm-simple > li.langglobe > a .sub-arrow {
    display: none !important;
  }

  .sm-simple > li > a,
  .sm-simple > li > a:link,
  .sm-simple > li > a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 32px !important;
    white-space: nowrap;
    color: var(--nav-text, #2c1e10) !important;
    text-decoration: none;
    background: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .sm-simple > li > a:hover,
  .sm-simple > li > a:focus,
  .sm-simple > li > a.highlighted {
    background: rgba(255, 255, 255, 0.35) !important;
    color: var(--nav-text, #2c1e10) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0 12px !important;
    height: 32px !important;
    line-height: 32px !important;
    transform: none !important;
  }

  .sm-simple > li > a.has-submenu {
    padding: 0 12px !important;
  }

  .sm-simple > li.langglobe > a {
    padding: 0 10px !important;
  }

  .sm-simple > li.langglobe .lang-menu-text {
    display: none;
  }

  .sm-simple > li.langglobe > ul {
    right: 0 !important;
    left: auto !important;
    min-width: 9em;
  }

  .sm-simple > li > a .sub-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 9px;
    height: 9px;
    margin-left: 6px;
    margin-right: 0;
    flex: 0 0 9px;
  }

  .sm-simple > li > a .sub-arrow::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--nav-text, #2c1e10);
  }

  /* Desktop Dropdown Panels */
  .sm-simple ul {
    position: absolute;
    top: 100%;
    width: auto;
    min-width: 13em;
    background: #ffffff;
    padding: 6px 0;
    border: 1px solid rgba(80, 50, 15, 0.2);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 24px rgba(30, 20, 10, 0.18);
    z-index: 9999;
  }

  .sm-simple ul li {
    float: none;
    border: 0;
  }

  .sm-simple ul a,
  .sm-simple ul a:link,
  .sm-simple ul a:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding: 7px 16px !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4 !important;
    color: #2c1e10 !important;
    white-space: nowrap;
    border-left: 3px solid transparent;
    background: transparent;
    transition: background 0.12s ease, border-color 0.12s ease;
  }

  .sm-simple ul a:hover,
  .sm-simple ul a:focus,
  .sm-simple ul a.highlighted {
    background: rgba(184, 134, 11, 0.12) !important;
    color: #1a0f05 !important;
    border-left-color: #b8860b;
    transform: none !important;
  }

  .sm-simple ul a .sub-arrow {
    width: 8px;
    height: 8px;
    margin-left: 10px;
  }

  .sm-simple ul a .sub-arrow::after {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #2c1e10;
    border-right: 0;
  }

  .sm-simple ul ul {
    top: -6px;
    left: 100%;
    border-radius: 6px;
  }
}

/* -------------------------------------------------------------------------
   3. Mobile Specific Layout (max-width: 768px)
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  #layoutMenu {
    position: relative;
    height: auto !important;
    min-height: 42px !important;
    z-index: 1000;
  }

  .topmenu-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 10px;
    box-sizing: border-box;
  }

  /* Hamburger toggle button */
  .main-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 11px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(80, 50, 15, 0.22);
    border-radius: 6px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--nav-text, #2c1e10);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  }

  .main-menu-btn:active {
    transform: scale(0.97);
  }

  .main-menu-btn:hover {
    background: rgba(255, 255, 255, 0.6);
  }

  /* Animated hamburger bars */
  .main-menu-btn-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 15px;
    height: 12px;
  }

  .main-menu-btn-icon .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--nav-text, #2c1e10);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  #layoutMenu.menu-open .main-menu-btn-icon .bar-1 {
    transform: translateY(5px) rotate(45deg);
  }

  #layoutMenu.menu-open .main-menu-btn-icon .bar-2 {
    opacity: 0;
  }

  #layoutMenu.menu-open .main-menu-btn-icon .bar-3 {
    transform: translateY(-5px) rotate(-45deg);
  }

  /* Mobile quick language buttons */
  .mobile-quick-lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .mobile-quick-lang .m-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(80, 50, 15, 0.2);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--nav-text, #2c1e10);
    text-decoration: none;
    transition: all 0.15s ease;
  }

  .mobile-quick-lang .m-lang-btn:hover {
    background: rgba(255, 255, 255, 0.7);
  }

  .mobile-quick-lang .m-lang-btn.is-active {
    background: #ffffff;
    border-color: #ffffff;
    color: #6b1d2f;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  }

  .mobile-quick-lang .m-lang-btn img {
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  }

  /* Collapsible mobile drawer for #main-menu */
  #main-menu {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    width: 100% !important;
    background: #fdfaf4;
    border-bottom: 2px solid #b8860b;
    border-top: 1px solid rgba(80, 50, 15, 0.15);
    box-shadow: 0 10px 24px rgba(40, 25, 10, 0.2);
    z-index: 1000;
  }

  #main-menu.is-open {
    display: block;
  }

  .sm-simple a {
    padding: 12px 18px;
    font-size: 14px;
  }

  .sm-simple > li {
    float: none;
    width: 100%;
    border-top: 1px solid rgba(80, 50, 15, 0.08);
  }

  .sm-simple > li:first-child {
    border-top: 0;
  }

  /* Hide language submenu in mobile drawer as quick flag buttons are already in the mobile bar */
  .sm-simple > li.langglobe {
    display: none !important;
  }
}
