/* BPgear Carousel - Main Stylesheet v1.0.0 */

/* =====================
   Star color via CSS custom property
   (works on Slick cloned slides too)
   ===================== */
.bp-testimonial-carousel-wrapper .bp-star.filled {
  color: var(--bp-star-color, #f5a623) !important;
}
.bp-testimonial-carousel-wrapper .bp-quote-icon {
  color: var(--bp-quote-color, #e0e0e0) !important;
}

/* =====================
   Base Wrappers
   ===================== */
.bp-image-carousel-wrapper,
.bp-logo-carousel-wrapper,
.bp-testimonial-carousel-wrapper,
.bp-video-carousel-wrapper,
.bp-team-carousel-wrapper,
.bp-content-carousel-wrapper {
  width: 100%;
  position: relative;
}

/* =====================
   Placeholder
   ===================== */
.bp-placeholder {
  background: #f5f5f5;
  border: 2px dashed #ccc;
  border-radius: 6px;
  padding: 40px;
  text-align: center;
  color: #999;
}

/* =====================
   Image Carousel
   ===================== */
.bp-image-slide { outline: none; overflow: hidden; }
.bp-image-slide img { width: 100%; display: block; transition: transform 0.3s ease; }
.bp-image-slide:hover img { transform: scale(1.03); }
.bp-image-slide a { display: block; overflow: hidden; }

/* =====================
   Logo Carousel
   ===================== */
.bp-logo-slide { display: flex !important; align-items: center; justify-content: center; outline: none; }
.bp-logo-img { display: block; margin: 0 auto; transition: opacity 0.3s ease, filter 0.3s ease; }

/* =====================
   Testimonial Carousel
   ===================== */
.bp-testimonial-item { position: relative; outline: none; }
.bp-quote-icon {
  font-size: 60px;
  line-height: 1;
  font-family: Georgia, serif;
  position: absolute;
  top: 0;
  left: 20px;
  opacity: 0.4;
}
.bp-stars { margin-bottom: 12px; display: block; }
.bp-star { font-size: 20px; line-height: 1; }
.bp-star.filled { color: var(--bp-star-color, #f5a623); }
.bp-star.empty  { color: #ddd; }
.bp-testimonial-text { font-size: 15px; line-height: 1.7; margin-bottom: 20px; color: #555; }
.bp-author-wrap { display: flex; align-items: center; gap: 12px; }
.bp-avatar { flex-shrink: 0; object-fit: cover; }
.bp-avatar-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: #4a90e2; color: #fff; font-weight: bold; font-size: 18px; flex-shrink: 0;
}
.bp-author-info { display: flex; flex-direction: column; }
.bp-author-name { font-weight: 700; font-size: 15px; color: #222; }
.bp-author-title { font-size: 13px; color: #888; margin-top: 2px; }

/* =====================
   Video Carousel
   ===================== */
.bp-video-item { position: relative; outline: none; cursor: pointer; }
.bp-video-thumb-wrap { position: relative; overflow: hidden; }
.bp-video-thumb { width: 100%; display: block; object-fit: cover; }
.bp-video-overlay { position: absolute; inset: 0; transition: background 0.3s; }
.bp-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; transition: transform 0.2s ease; }
.bp-play-btn svg { width: 64px; height: 64px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.bp-video-item:hover .bp-play-btn { transform: translate(-50%, -50%) scale(1.12); }
.bp-video-title { padding: 10px 0 0; font-size: 14px; font-weight: 600; color: #333; }
.bp-video-lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}
.bp-video-lightbox-inner { position: relative; width: 90vw; max-width: 960px; }
.bp-video-lightbox-inner iframe,
.bp-video-lightbox-inner video { width: 100%; height: 54vw; max-height: 540px; border: none; display: block; }
.bp-video-lightbox-close {
  position: absolute; top: -40px; right: 0; color: #fff; font-size: 32px;
  cursor: pointer; line-height: 1; background: none; border: none; padding: 0;
}

/* =====================
   Team Carousel
   ===================== */
.bp-team-item { outline: none; text-align: center; transition: transform 0.2s ease; }
.bp-team-item:hover { transform: translateY(-4px); }
.bp-member-photo-wrap { margin-bottom: 16px; display: flex; justify-content: center; }
.bp-member-photo { display: block; object-fit: cover; }
.bp-member-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: #4a90e2; color: #fff; font-weight: bold; font-size: 28px;
}
.bp-member-info { padding: 0 12px 12px; }
.bp-member-name { font-size: 17px; font-weight: 700; margin: 0 0 4px; color: #222; }
.bp-member-position { font-size: 13px; color: #4a90e2; display: block; margin-bottom: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.bp-member-bio { font-size: 14px; line-height: 1.6; color: #666; margin-bottom: 12px; }
.bp-member-social { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.bp-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: #f0f4fb;
  text-decoration: none; font-size: 13px; font-weight: 700; color: #4a90e2;
  transition: background 0.2s, color 0.2s;
}
.bp-social-icon:hover { background: #4a90e2; color: #fff; text-decoration: none; }

/* Team overlay style */
.bp-team-style-overlay .bp-team-item { position: relative; overflow: hidden; }
.bp-team-style-overlay .bp-member-photo { width: 100%; border-radius: 8px; }
.bp-team-style-overlay .bp-member-photo-wrap { margin-bottom: 0; }
.bp-team-style-overlay .bp-member-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.7); color: #fff; padding: 16px;
  transform: translateY(100%); transition: transform 0.3s ease;
  border-radius: 0 0 8px 8px;
}
.bp-team-style-overlay .bp-team-item:hover .bp-member-info { transform: translateY(0); }
.bp-team-style-overlay .bp-member-name,
.bp-team-style-overlay .bp-member-position { color: #fff; }

/* =====================
   Content Carousel
   ===================== */
.bp-content-item { outline: none; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.bp-content-item:hover { transform: translateY(-4px); }
.bp-card-wrap { height: 100%; }
.bp-card-image-wrap { overflow: hidden; }
.bp-card-image { width: 100%; display: block; object-fit: cover; transition: transform 0.3s ease; }
.bp-content-item:hover .bp-card-image { transform: scale(1.04); }
.bp-card-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: #222; }
.bp-card-subtitle { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #4a90e2; font-weight: 600; margin-bottom: 8px; }
.bp-card-text { font-size: 14px; line-height: 1.7; color: #666; margin-bottom: 16px; }
.bp-card-btn {
  display: inline-block; padding: 8px 20px; border-radius: 4px; text-decoration: none;
  font-size: 14px; font-weight: 600; transition: opacity 0.2s ease;
}
.bp-card-btn:hover { opacity: 0.85; text-decoration: none; }

/* =====================
   Slick Arrow Overrides
   ===================== */
.bp-image-carousel-wrapper .slick-prev,   .bp-image-carousel-wrapper .slick-next,
.bp-logo-carousel-wrapper .slick-prev,    .bp-logo-carousel-wrapper .slick-next,
.bp-testimonial-carousel-wrapper .slick-prev, .bp-testimonial-carousel-wrapper .slick-next,
.bp-video-carousel-wrapper .slick-prev,   .bp-video-carousel-wrapper .slick-next,
.bp-team-carousel-wrapper .slick-prev,    .bp-team-carousel-wrapper .slick-next,
.bp-content-carousel-wrapper .slick-prev, .bp-content-carousel-wrapper .slick-next {
  z-index: 10; width: 40px; height: 40px;
  background: rgba(255,255,255,0.9); border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background 0.2s, box-shadow 0.2s;
}
.bp-image-carousel-wrapper .slick-prev:hover,   .bp-image-carousel-wrapper .slick-next:hover,
.bp-logo-carousel-wrapper .slick-prev:hover,    .bp-logo-carousel-wrapper .slick-next:hover,
.bp-testimonial-carousel-wrapper .slick-prev:hover, .bp-testimonial-carousel-wrapper .slick-next:hover,
.bp-video-carousel-wrapper .slick-prev:hover,   .bp-video-carousel-wrapper .slick-next:hover,
.bp-team-carousel-wrapper .slick-prev:hover,    .bp-team-carousel-wrapper .slick-next:hover,
.bp-content-carousel-wrapper .slick-prev:hover, .bp-content-carousel-wrapper .slick-next:hover {
  background: #4a90e2; box-shadow: 0 4px 16px rgba(74,144,226,0.3);
}
.bp-image-carousel-wrapper .slick-prev,   .bp-logo-carousel-wrapper .slick-prev,
.bp-testimonial-carousel-wrapper .slick-prev, .bp-video-carousel-wrapper .slick-prev,
.bp-team-carousel-wrapper .slick-prev,    .bp-content-carousel-wrapper .slick-prev { left: -20px; }

.bp-image-carousel-wrapper .slick-next,   .bp-logo-carousel-wrapper .slick-next,
.bp-testimonial-carousel-wrapper .slick-next, .bp-video-carousel-wrapper .slick-next,
.bp-team-carousel-wrapper .slick-next,    .bp-content-carousel-wrapper .slick-next { right: -20px; }

.bp-image-carousel-wrapper .slick-prev:before,   .bp-image-carousel-wrapper .slick-next:before,
.bp-logo-carousel-wrapper .slick-prev:before,    .bp-logo-carousel-wrapper .slick-next:before,
.bp-testimonial-carousel-wrapper .slick-prev:before, .bp-testimonial-carousel-wrapper .slick-next:before,
.bp-video-carousel-wrapper .slick-prev:before,   .bp-video-carousel-wrapper .slick-next:before,
.bp-team-carousel-wrapper .slick-prev:before,    .bp-team-carousel-wrapper .slick-next:before,
.bp-content-carousel-wrapper .slick-prev:before, .bp-content-carousel-wrapper .slick-next:before {
  color: #333; font-size: 18px; line-height: 40px;
}

/* =====================
   Slick Dots Overrides
   ===================== */
.bp-image-carousel-wrapper .slick-dots,   .bp-logo-carousel-wrapper .slick-dots,
.bp-testimonial-carousel-wrapper .slick-dots, .bp-video-carousel-wrapper .slick-dots,
.bp-team-carousel-wrapper .slick-dots,    .bp-content-carousel-wrapper .slick-dots { bottom: -30px; }

.bp-image-carousel-wrapper .slick-dots li button:before,
.bp-logo-carousel-wrapper .slick-dots li button:before,
.bp-testimonial-carousel-wrapper .slick-dots li button:before,
.bp-video-carousel-wrapper .slick-dots li button:before,
.bp-team-carousel-wrapper .slick-dots li button:before,
.bp-content-carousel-wrapper .slick-dots li button:before { font-size: 10px; color: #bbb; opacity: 1; }

.bp-image-carousel-wrapper .slick-dots li.slick-active button:before,
.bp-logo-carousel-wrapper .slick-dots li.slick-active button:before,
.bp-testimonial-carousel-wrapper .slick-dots li.slick-active button:before,
.bp-video-carousel-wrapper .slick-dots li.slick-active button:before,
.bp-team-carousel-wrapper .slick-dots li.slick-active button:before,
.bp-content-carousel-wrapper .slick-dots li.slick-active button:before { color: #4a90e2; }

/* =====================
   Scroller mode: hide arrows/dots
   ===================== */
.bp-scroller-mode .slick-prev,
.bp-scroller-mode .slick-next,
.bp-scroller-mode .slick-dots { display: none !important; }

/* =====================
   Responsive
   ===================== */
@media (max-width: 980px) {
  .bp-image-carousel-wrapper .slick-prev,
  .bp-content-carousel-wrapper .slick-prev { left: 0; }
  .bp-image-carousel-wrapper .slick-next,
  .bp-content-carousel-wrapper .slick-next { right: 0; }
}
@media (max-width: 767px) {
  .bp-member-name { font-size: 15px; }
  .bp-card-title { font-size: 16px; }
  .bp-testimonial-text { font-size: 14px; }
}
