/* ═══════════════════════════════════════════════════════════════
   HABIBAYAN INFO PAGE STYLES (habi-bayan.html)
   ═══════════════════════════════════════════════════════════════ */

/* ─── PAGE HERO ─── */
.hb-info-hero {
  position: relative;
  padding: 56px 40px;
  text-align: center;
  color: white;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(22, 33, 62, 0.88), rgba(15, 52, 96, 0.85)),
    url('/images/weave2.1.png') center / cover no-repeat;
  background-color: var(--ocean);
}

.hb-info-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin: 0 0 20px 0;
  font-weight: 900;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  color: #fff;
}

.hb-info-hero p {
  font-size: 1.2rem;
  margin: 0;
  max-width: 900px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  opacity: 0.85;
  font-weight: 300;
  color: #fff;
}

/* ─── SECTIONS ─── */
.hb-info-section {
  padding: 50px 40px;
  margin: 0 auto;
  max-width: 1400px;
}

.hb-info-section h3 {
  font-family: 'Playfair Display', serif;
  color: var(--sunset);
  font-size: 2rem;
  margin: 0 0 25px 0;
  font-weight: 700;
  text-align: center;
}

.hb-info-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 20px 0;
  color: var(--text-mid);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── WHAT IS HB SECTION ─── */
.hb-info-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.hb-info-main {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.hb-info-title {
  background: linear-gradient(135deg, var(--gold), var(--sunset));
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 900;
  padding: 18px 25px;
  margin: -30px -30px 25px -30px;
  border-radius: 20px 20px 0 0;
  text-align: center;
}

.hb-info-description p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 15px 0;
  color: var(--text-mid);
  text-align: left;
}

.hb-info-cta {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.hb-info-cta a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.hb-info-cta a:first-child {
  background: var(--sunset);
  color: white;
  box-shadow: 0 6px 20px rgba(232,98,42,0.3);
}

.hb-info-cta a:first-child:hover {
  background: var(--sunset-dark);
  transform: translateY(-2px);
}

.hb-info-cta a.signup-btn {
  background: transparent;
  color: var(--sunset);
  border: 2px solid var(--sunset);
}

.hb-info-cta a.signup-btn:hover {
  background: var(--sunset);
  color: white;
}

/* ─── SIDEBAR ─── */
.hb-info-sidebar {
  background: linear-gradient(135deg, var(--cream), var(--sand));
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.hb-info-sidebar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  font-style: italic;
  margin: 0 0 20px 0;
  color: var(--text-dark);
  text-align: center;
}

.hb-community-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.hb-community-preview img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.hb-community-preview img:hover {
  transform: scale(1.05);
}

.hb-more-link {
  display: block;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sunset);
  text-decoration: none;
  margin-top: 15px;
  transition: color 0.3s;
}

.hb-more-link:hover {
  color: var(--sunset-dark);
}

/* ─── MISSION + DYNAMIC CONTENT ─── */
.hb-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.hb-content-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hb-content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hb-content-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--sunset);
  font-size: 1.4rem;
  margin: 0 0 20px 0;
  text-align: center;
  font-weight: 700;
}

.hb-content-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 15px 0;
  color: var(--text-mid);
  text-align: left;
}

/* ─── ABOUT US ─── */
.hb-about-section {
  background: var(--cream);
  border-radius: 20px;
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.hb-about-content {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.hb-about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 15px 0;
  color: var(--text-mid);
}

.hb-about-content p strong {
  color: var(--sunset);
}

/* ─── VIDEO SHOWCASE ─── */
.hb-video-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 0;
}

.hb-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
}

.hb-video-container {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.hb-video-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--sunset), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.hb-video-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.hb-video-container:hover::before {
  opacity: 1;
}

.hb-vid-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, rgba(15,52,96,0.1), rgba(22,33,62,0.1));
  overflow: hidden;
}

.hb-vid-wrapper video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.hb-video-container:hover .hb-vid-wrapper video {
  transform: scale(1.02);
}

.hb-vid-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  background: var(--sunset);
  border: 3px solid white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
}

.hb-vid-wrapper:hover .hb-vid-play-btn {
  opacity: 1;
  pointer-events: auto;
}

.hb-vid-play-btn:hover {
  background: var(--sunset-dark);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(232,98,42,0.4);
}

.hb-vid-play-btn::after {
  content: '';
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

.hb-vid-play-btn.playing::after {
  border-width: 0;
  width: 8px; height: 28px;
  background: white;
  margin-left: 0;
  box-shadow: 12px 0 0 white;
}

.hb-vid-info {
  padding: 22px 28px;
  background: white;
}

.hb-vid-info h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  font-size: 1.2rem;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.hb-vid-info p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 968px) {
  .hb-info-content-wrapper {
    grid-template-columns: 1fr;
  }

  .hb-mission-grid {
    grid-template-columns: 1fr;
  }

  .hb-video-grid {
    grid-template-columns: 1fr;
  }

  .hb-info-section {
    padding: 40px 20px;
  }

  .hb-about-section {
    padding: 26px 20px;
  }

  .hb-about-content {
    max-width: none;
    width: 100%;
    padding: 24px;
  }

  .hb-info-hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .hb-info-hero {
    padding: 30px 20px;
  }

  .hb-info-hero h1 {
    font-size: 1.8rem;
  }

  .hb-info-section {
    padding: 30px 16px;
  }

  .hb-about-section {
    padding: 16px 10px;
    border-radius: 16px;
  }

  .hb-about-content {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .hb-about-content p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hb-info-title {
    font-size: 1.4rem;
  }

  .hb-vid-play-btn {
    width: 56px; height: 56px;
  }

  .hb-vid-play-btn::after {
    border-width: 10px 0 10px 18px;
  }

  .hb-community-preview {
    grid-template-columns: 1fr;
  }
}
