/**
 * AllOfBD Explore Bangladesh Portal Styles
 * Executive 2026 Posh & Modern National Discovery Engine
 * 
 * @package AllOfBD\Theme
 * @version 1.2.2
 */

/* ── Container & Global Reset ── */
.aofbd-explore-page {
  background: var(--aofbd-surface-canvas, #f4f7fb);
  color: var(--aofbd-navy-900, #10233f);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-bottom: 80px;
}

.aofbd-explore-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 1. Hero Command Center ── */
.aofbd-explore-hero {
  position: relative;
  background: radial-gradient(circle at 50% -20%, #172b4d 0%, #10233f 55%, #0a1628 100%);
  padding: 56px 0 68px;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aofbd-explore-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 75%);
  pointer-events: none;
  filter: blur(60px);
}

.aofbd-explore-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

/* Breadcrumb */
.aofbd-explore-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 18px;
}

.aofbd-explore-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.aofbd-explore-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Beacon */
.aofbd-hero-beacon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
  padding: 6px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #6ee7b7;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.aofbd-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: aofbdPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes aofbdPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.aofbd-explore-hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 16px;
}

.aofbd-explore-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  color: #94a3b8;
  max-width: 740px;
  margin: 0 auto 28px;
}

/* Seasonal Intelligence Banner */
.aofbd-season-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 28px;
}

/* Universal Search Capsule */
.aofbd-explore-search {
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.45);
  max-width: 800px;
  margin: 0 auto;
}

.aofbd-explore-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  flex: 1;
  position: relative;
}

.aofbd-explore-search__field--border {
  border-left: 1px solid #e2e8f0;
}

.aofbd-explore-search__icon {
  color: #64748b;
  flex-shrink: 0;
}

.aofbd-explore-search__input,
.aofbd-explore-search__select {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--aofbd-navy-900, #10233f);
}

.aofbd-explore-search__input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.aofbd-explore-search__btn {
  background: var(--aofbd-orange-500, #ff6b35);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.aofbd-explore-search__btn:hover {
  background: var(--aofbd-blue-600, #2563eb);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

/* ── 2. Vertical Discovery Switcher Ribbon ── */
.aofbd-explore-verticals-wrapper {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.aofbd-explore-verticals {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.aofbd-explore-verticals::-webkit-scrollbar {
  display: none;
}

.aofbd-vpill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--aofbd-surface-canvas, #f4f7fb);
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.aofbd-vpill svg {
  color: #0ea5e9;
  transition: transform 0.2s ease;
}

.aofbd-vpill:hover {
  background: #061122;
  color: #ffffff;
  border-color: #061122;
}

.aofbd-vpill:hover svg {
  color: #38bdf8;
  transform: scale(1.1);
}

.aofbd-vpill.active {
  background: var(--aofbd-blue-600, #2563eb);
  color: #ffffff;
  border-color: var(--aofbd-blue-600, #2563eb);
}

.aofbd-vpill.active svg {
  color: #ffffff;
}

/* ── Common Section Headers ── */
.aofbd-section-header {
  text-align: center;
  margin: 52px 0 32px;
}

.aofbd-section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aofbd-blue-600, #2563eb);
  background: #e0f2fe;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.aofbd-section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--aofbd-navy-900, #10233f);
  margin: 0 0 10px;
}

.aofbd-section-sub {
  font-size: 1rem;
  line-height: 1.5;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
}

/* ── 3. 8-Division Architectural Atlas ── */
.aofbd-divisions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.aofbd-div-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  background: #061122;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.aofbd-div-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(2, 132, 199, 0.25);
}

.aofbd-div-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.aofbd-div-card:hover .aofbd-div-card__img {
  transform: scale(1.06);
}

.aofbd-div-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 34, 0.25) 0%, rgba(6, 17, 34, 0.6) 45%, rgba(6, 17, 34, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
}

.aofbd-div-card__stats {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.aofbd-div-card__stat-badge {
  background: rgba(14, 165, 233, 0.25);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #7dd3fc;
  font-size: 0.7125rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.aofbd-div-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.aofbd-div-card__title span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 6px;
}

.aofbd-div-card__desc {
  margin: 6px 0 0;
  font-size: 0.775rem;
  line-height: 1.4;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 4. Signature Thematic Circuits ── */
.aofbd-circuits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.aofbd-circuit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.aofbd-circuit-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.1);
}

.aofbd-circuit-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #061122;
  overflow: hidden;
}

.aofbd-circuit-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.aofbd-circuit-card:hover .aofbd-circuit-card__img {
  transform: scale(1.05);
}

.aofbd-circuit-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 17, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.aofbd-circuit-card__content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aofbd-circuit-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--aofbd-blue-600, #2563eb);
}

.aofbd-circuit-card__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--aofbd-navy-900, #10233f);
}

.aofbd-circuit-card__desc {
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
  flex: 1;
}

.aofbd-circuit-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  gap: 10px;
}

.aofbd-circuit-card__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--aofbd-blue-600, #2563eb);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.aofbd-circuit-card__link:hover {
  text-decoration: underline;
}

.aofbd-circuit-card__bag-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.aofbd-circuit-card__bag-btn:hover {
  background: #061122;
  color: #ffffff;
  border-color: #061122;
}

/* ── 5. "Taste of Bangladesh" — Regional Culinary Delicacies ── */
.aofbd-cuisine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.aofbd-cuisine-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.aofbd-cuisine-card:hover {
  transform: translateY(-3px);
  border-color: #f59e0b;
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.15);
}

.aofbd-cuisine-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.aofbd-cuisine-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  flex-shrink: 0;
}

.aofbd-cuisine-card__region {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d97706;
}

.aofbd-cuisine-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--aofbd-navy-900, #10233f);
}

.aofbd-cuisine-card__desc {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
  flex: 1;
}

.aofbd-cuisine-card__link {
  font-size: 0.775rem;
  font-weight: 700;
  color: #d97706;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.aofbd-cuisine-card__link:hover {
  text-decoration: underline;
}

/* ── 6. Cross-Ecosystem Travel & Utility Matrix ── */
.aofbd-eco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.aofbd-eco-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.aofbd-eco-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.aofbd-eco-card__icon--hotel {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.aofbd-eco-card__icon--train {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.aofbd-eco-card__icon--card {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

.aofbd-eco-card__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--aofbd-navy-900, #10233f);
}

.aofbd-eco-card__desc {
  margin: 0 0 20px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
  flex: 1;
}

.aofbd-eco-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.aofbd-eco-card__btn--hotel {
  background: var(--aofbd-orange-500, #ff6b35);
  color: #ffffff;
}

.aofbd-eco-card__btn--hotel:hover {
  background: var(--aofbd-orange-600, #e85a28);
}

.aofbd-eco-card__btn--train {
  background: #2563eb;
  color: #ffffff;
}

.aofbd-eco-card__btn--train:hover {
  background: #1d4ed8;
}

.aofbd-eco-card__btn--card {
  background: #7c3aed;
  color: #ffffff;
}

.aofbd-eco-card__btn--card:hover {
  background: #6d28d9;
}

/* ── 7. Diaspora Homecoming Banner ── */
.aofbd-explore-probashi {
  margin-top: 56px;
  background: radial-gradient(circle at 85% 20%, #1e3a8a 0%, #061122 80%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 40px 48px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 20px 45px -15px rgba(6, 17, 34, 0.5);
}

.aofbd-explore-probashi__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.aofbd-explore-probashi__title {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff !important;
}

.aofbd-explore-probashi__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 600px;
}

.aofbd-explore-probashi__btn {
  background: #f59e0b;
  color: #061122;
  font-size: 0.9375rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.aofbd-explore-probashi__btn:hover {
  background: #d97706;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

/* ── Responsive Breakpoints ── */
@media (max-width: 1024px) {
  .aofbd-divisions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .aofbd-circuits-grid,
  .aofbd-cuisine-grid,
  .aofbd-eco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aofbd-explore-probashi {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .aofbd-explore-hero {
    padding: 40px 0 52px;
  }
  .aofbd-explore-search {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
  }
  .aofbd-explore-search__field--border {
    border-left: none;
    border-top: 1px solid #e2e8f0;
  }
  .aofbd-explore-search__btn {
    width: 100%;
    justify-content: center;
  }
  .aofbd-divisions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .aofbd-circuits-grid,
  .aofbd-cuisine-grid,
  .aofbd-eco-grid {
    grid-template-columns: 1fr;
  }
  .aofbd-explore-probashi {
    padding: 24px 20px;
  }
  .aofbd-explore-probashi__title {
    font-size: 1.4rem;
  }
  .aofbd-explore-probashi__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .aofbd-divisions-grid {
    grid-template-columns: 1fr;
  }
}
