/* Site header, navigation, mobile menu and floating WhatsApp button */

/* Sticky top navigation */
.arena-nav {
  position: sticky;
  top: 0;
  z-index: 1600;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(11, 79, 168, 0.08);
  transition: all 0.25s ease;
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 0;
  z-index: 2;
}

.brand-logo-img {
  height: 48px;
  max-height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-logo-container:hover .brand-logo-img {
  transform: scale(1.02);
}

/* Desktop menu links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
}

.nav-links li {
  display: inline-flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  padding: 6px 6px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary-blue);
  background: #F1F5F9;
}

/* Right-hand actions: phone and WhatsApp button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-phone:hover {
  background: #DBEAFE;
  color: var(--primary-blue-dark);
}

.nav-whatsapp-btn {
  font-size: 0.84rem;
  padding: 9px 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  font-weight: 800;
  font-size: 0.92rem;
  transition: transform 0.25s, box-shadow 0.25s, background-color 0.2s;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  background: #20BD5A;
  color: #FFFFFF;
}

.whatsapp-icon-round {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-pulse-ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 2px solid #25D366;
  animation: waPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes waPing {
  75%, 100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

/* Mobile hamburger button */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #0F172A;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: #EFF6FF;
  border-color: var(--primary-blue);
}

.mobile-toggle .icon-close {
  display: none;
}

.mobile-toggle.is-open .icon-hamburger {
  display: none;
}

.mobile-toggle.is-open .icon-close {
  display: block;
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #FFFFFF;
  padding: 16px 20px 24px;
  border-bottom: 3px solid var(--primary-blue);
  box-shadow: 0 16px 32px rgba(11, 79, 168, 0.12);
  max-height: calc(100vh - 78px);
  max-height: calc(100dvh - 78px);
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
  animation: menuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a.mobile-link {
  padding: 12px 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  color: #1E293B;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s, padding-left 0.15s;
}

.mobile-menu a.mobile-link:hover {
  color: var(--primary-blue);
  padding-left: 6px;
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
}

.mobile-menu-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #EFF6FF;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #BFDBFE;
}

@media (max-width: 1279px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
}

@media (max-width: 600px) {
  .brand-logo-img {
    height: 42px;
    max-width: 155px;
  }
  .nav-whatsapp-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .nav-whatsapp-text { display: none; }
}

@media (min-width: 1440px) {
  .nav-phone { display: inline-flex; }
}
