/* ============================================================
   NAMASTE NETWORK — Main Hero Section
   File: assets/css/sections/mob-hero.css
   Loaded only when [mob_hero] shortcode is present
   ============================================================ */

/* ── Section shell ────────────────────────────────────────── */
.mob-hero {
  font-family: var(--mob-font-sans);
  background-color: var(--mob-primary-dark);
  color: #dceaef;
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
}
.mob-hero * { box-sizing: border-box; }

/* ── Background slides ────────────────────────────────────── */
.mob-hero__bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
  will-change: opacity;
}
.mob-hero__bg-slide--active {
  opacity: 1;
}

/* ── Gradient overlay ─────────────────────────────────────── */
.mob-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 62, 80, 0.88) 0%,
    rgba(10, 62, 80, 0.68) 38%,
    rgba(10, 62, 80, 0.44) 72%,
    rgba(10, 62, 80, 0.40) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Slide indicators ─────────────────────────────────────── */
.mob-hero__indicators {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}
.mob-hero__indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--mob-transition), width var(--mob-transition), border-radius var(--mob-transition);
}
.mob-hero__indicator--active {
  background: var(--mob-accent);
  width: 24px;
  border-radius: 4px;
}
.mob-hero__indicator:hover:not(.mob-hero__indicator--active) {
  background: rgba(255, 255, 255, 0.60);
}

/* ── Content wrapper ──────────────────────────────────────── */
.mob-hero__inner {
  position: relative;
  z-index: 2;
  width: 100vw;
  /* max-width: 860px; */
  margin: 0 auto;
  padding: 138px 32px 150px;
  text-align: center;

}

/* ── Badge ────────────────────────────────────────────────── */
.mob-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  font-family: var(--mob-font-sans);
}
.mob-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mob-success);
  box-shadow: 0 0 0 3px rgba(45, 158, 107, 0.25);
  flex-shrink: 0;
}

/* ── Headline ─────────────────────────────────────────────── */
.mob-hero__title {
  margin: 0 0 20px;
  font-size: clamp(36px, 5.6vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
  font-family: var(--mob-font-sans);
}
.mob-hero__title span { color: var(--mob-accent); }

.mob-hero__sub {
  margin: 0 auto 44px;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.6;
  color: #d0e0e6;
  max-width: 560px;
  font-family: var(--mob-font-sans);
}

/* ── Search bar ───────────────────────────────────────────── */
.mob-hero__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  background: var(--mob-surface);
  border: 1.5px solid transparent;
  border-radius: 100px;
  padding: 9px 9px 9px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.40);
  transition: border-color var(--mob-transition), box-shadow var(--mob-transition);
}
.mob-hero__search:focus-within {
  border-color: var(--mob-accent);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.50);
}
.mob-hero__search-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--mob-text-light);
  stroke: currentColor;
}
.mob-hero__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--mob-font-sans);
  font-size: 16px;
  color: var(--mob-text);
  -webkit-appearance: none;
}
.mob-hero__input::placeholder { color: var(--mob-text-light); }
/* Remove default search cancel button */
.mob-hero__input::-webkit-search-cancel-button,
.mob-hero__input::-webkit-search-decoration { -webkit-appearance: none; }

.mob-hero__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: var(--mob-accent);
  color: var(--mob-primary-dark);
  font-family: var(--mob-font-sans);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--mob-transition), transform var(--mob-transition);
  white-space: nowrap;
}
.mob-hero__btn:hover {
  background: #f0bd97;
  transform: translateY(-1px);
}
.mob-hero__btn svg { width: 18px; height: 18px; }

/* ── Category pills ───────────────────────────────────────── */
.mob-hero__pills-label {
  margin: 34px 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #bcd0d8;
  font-family: var(--mob-font-sans);
}
.mob-hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
}
.mob-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #ffffff;
  font-family: var(--mob-font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition:
    background var(--mob-transition),
    border-color var(--mob-transition),
    color var(--mob-transition),
    transform var(--mob-transition),
    box-shadow var(--mob-transition);
  white-space: nowrap;
}
.mob-hero__pill:hover {
  background: var(--mob-accent);
  border-color: var(--mob-accent);
  color: var(--mob-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.30);
}
.mob-hero__pill:focus-visible {
  outline: 2px solid var(--mob-accent);
  outline-offset: 2px;
}

/* ── Trust row ────────────────────────────────────────────── */
.mob-hero__trust {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #cfe0e6;
  font-family: var(--mob-font-sans);
}
.mob-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mob-hero__trust-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--mob-accent);
}
.mob-hero__trust-sep {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.30);
  flex-shrink: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .mob-hero__inner {
    padding: 110px 24px 120px;
  }
}

@media (max-width: 600px) {
  .mob-hero__inner {
    padding: 96px 20px 104px;
  }
  .mob-hero__search {
    padding: 7px 7px 7px 16px;
  }
  .mob-hero__btn {
    padding: 13px 14px;
  }
  .mob-hero__btn-label {
    display: none;
  }
  .mob-hero__trust-sep {
    display: none;
  }
  .mob-hero__trust {
    gap: 14px;
  }
  .mob-hero__pills {
    gap: 8px;
  }
  .mob-hero__pill {
    font-size: 13px;
    padding: 8px 13px;
  }
  .mob-hero__indicators {
    bottom: 20px;
  }
}

@media (max-width: 400px) {
  .mob-hero__title {
    font-size: 30px;
  }
  .mob-hero__search {
    flex-wrap: nowrap;
  }
}
