/* Global MVP enhancements for the static Hydrobox clone */
:root {
  --hb-focus: #3d9be9;
  --hb-accent: #fe4b4e;
  --hb-surface: #ffffff;
  --hb-text: #1f2937;
}

/* Sticky nav effect */
.site-header__nav.is-sticky {
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
}

/* Active menu state */
.main-menu__item.is-current > a,
.mobile-menu__item.is-current > a {
  color: var(--hb-accent) !important;
  font-weight: 700;
}

/* Contact form UX */
.hb-form-error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: 4px;
}

.hb-input-invalid {
  outline: 2px solid #ef4444 !important;
  outline-offset: 1px;
}

.hb-form-success {
  color: #166534;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Gallery filter */
.hb-gallery-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0 18px;
}

.hb-gallery-input {
  width: min(420px, 100%);
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
}

.hb-gallery-empty {
  display: none;
  color: #4b5563;
  margin-top: 8px;
}

/* Home quick actions */
.hb-quick-actions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px auto 10px;
  max-width: 1100px;
  padding: 0 16px;
}

.hb-quick-actions a {
  display: block;
  background: var(--hb-surface);
  color: var(--hb-text);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  font-weight: 600;
}

.hb-quick-actions a:hover {
  border-color: var(--hb-focus);
}

/* Floating language switch */
.hb-lang-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #111827;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

@media (max-width: 900px) {
  .hb-quick-actions {
    grid-template-columns: 1fr;
  }
}
