/* ===== Modern Home Page Styling ===== */

/* Video Cards */
.single-video {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.single-video:hover {
  transform: translateY(-8px);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-video {
  position: relative;
  overflow: hidden;
  height: 300px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #1a1f3a 0%, #1e293b 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.video-img {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.video-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-link:hover .video-img img {
  transform: scale(1.1);
}

.video-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 100%);
  color: #f1f5f9;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  z-index: 3;
  min-height: 80px;
  display: flex;
  align-items: flex-end;
}

/* Premium Badge */
.vid-lab-premium {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ec4899, #db2777);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.vid-lab-premium img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
  color: #f1f5f9;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}

.section-header p {
  color: rgba(241, 245, 249, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Owl Carousel Overrides */
.owl-carousel .owl-stage-outer {
  overflow: visible;
}

.owl-carousel .owl-item {
  padding: 0 0.75rem;
}

.owl-carousel .owl-prev,
.owl-carousel .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.9) !important;
  border: none !important;
  border-radius: 50%;
  color: white !important;
  font-size: 0;
  transition: all 0.3s ease;
}

.owl-carousel .owl-prev:hover,
.owl-carousel .owl-next:hover {
  background: #6366f1 !important;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.owl-carousel .owl-prev {
  left: -50px;
}

.owl-carousel .owl-next {
  right: -50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .owl-carousel .owl-prev,
  .owl-carousel .owl-next {
    display: none;
  }

  .owl-carousel .owl-item {
    padding: 0 0.5rem;
  }
}

/* Breadcrumb Styling */
.breadcrumb-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  background-size: cover;
  background-position: center;
}

.breadcrumb-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  z-index: 1;
}

.breadcrumb-section h2 {
  position: relative;
  z-index: 2;
  color: #f1f5f9;
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.breadcrumb-section nav {
  position: relative;
  z-index: 2;
}

.breadcrumb-section nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.breadcrumb-section nav li {
  color: #f1f5f9;
}

.breadcrumb-section nav li a {
  color: #6366f1;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.breadcrumb-section nav li a:hover {
  color: #818cf8;
}

/* Grid Layout for Collections */
.view-all-video-area {
  padding: 3rem 0;
}

.view-all-video-area .row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .view-all-video-area .row {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .view-all-video-area .row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .view-all-video-area .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* Container adjustments */
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1200px) {
  .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Hero Section Title Animation */
.text-gradient {
  background: linear-gradient(135deg, #818cf8 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in animation for hero content */
.fade-in {
  animation: fadeIn 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slider actions on mobile */
@media (max-width: 576px) {
  .slider-actions {
    flex-direction: column !important;
  }

  .slider-actions .btn {
    width: 100% !important;
    justify-content: center;
  }
}

/* Smooth transition for all cards */
.card,
.single-video,
.card-video,
.feature-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Home Redesign (Dynamic Content Compatible) ===== */
body {
  background: #0b0f1a;
  color: #ffffff;
}

.home-hero-section {
  padding: 0 0 1.25rem;
}

.home-hero-section .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.home-hero-splide .splide__slide {
  width: 100% !important;
}

.hero-slide {
  height: 72vh;
  min-height: 440px;
  position: relative;
}

.hero-slide-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.9s ease;
}

.hero-slide:hover .hero-bg {
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.85) 10%, transparent 60%),
    linear-gradient(to top, #0b0f1a 10%, transparent 60%);
}

.hero-content {
  position: absolute;
  left: 3.5rem;
  bottom: 3.5rem;
  z-index: 3;
  max-width: 520px;
}

.hero-title {
  font-size: clamp(1.8rem, 4.8vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.watch-btn,
.plan-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.35rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.watch-btn {
  background: #f5a623;
}

.plan-btn {
  background: #e74c3c;
}

.watch-btn img,
.plan-btn img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.section {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

.section-header {
  text-align: left;
  margin-bottom: 0.85rem !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.section-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 700;
}

.single-video {
  border-radius: 8px;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.25s ease;
}

.single-video:hover {
  transform: scale(1.08);
}

.card-video,
.video-img {
  height: 100%;
  min-height: 0;
  border-radius: 8px;
  border: 0;
  background: transparent;
}

.video-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-item-content {
  min-height: 0;
  padding: 0.85rem;
  background: linear-gradient(to top, rgba(11, 15, 26, 0.96), rgba(11, 15, 26, 0));
  font-size: 0.82rem;
  font-weight: 600;
}

.vid-lab-premium {
  top: 0.5rem;
  right: 0.5rem;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.95);
  box-shadow: none;
}

.vid-lab-premium img {
  width: 16px;
  height: 16px;
  filter: none;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.btn-outline:hover {
  background: #ffffff;
  color: #0b0f1a;
}

.owl-carousel .owl-prev,
.owl-carousel .owl-next {
  width: 36px;
  height: 36px;
  background: rgba(11, 15, 26, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.owl-carousel .owl-prev:hover,
.owl-carousel .owl-next:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  box-shadow: none;
}

.owl-carousel .owl-prev {
  left: -15px;
}

.owl-carousel .owl-next {
  right: -15px;
}

@media (max-width: 768px) {
  .hero-slide {
    height: 45vh;
    min-height: 300px;
  }

  .hero-content {
    left: 1.25rem;
    right: 1rem;
    bottom: 1.5rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }

  .watch-btn,
  .plan-btn {
    font-size: 0.8rem;
    padding: 0.55rem 0.75rem;
  }

  .section {
    padding-top: 0.75rem;
    padding-bottom: 1rem;
  }

  .section-header {
    margin-bottom: 0.65rem !important;
  }
}

.collection-page-header {
  padding: 1.5rem 0 0.25rem;
}

.collection-home-link {
  display: inline-block;
  color: #c7ced9;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.collection-home-link:hover {
  color: #ffffff;
}

.collection-page-header h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 800;
}

.collection-grid-area {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.collection-grid .single-video:hover {
  transform: scale(1.04);
}

@media (max-width: 992px) {
  .collection-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .collection-page-header {
    padding-top: 1rem;
  }

  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
  }
}

@media (max-width: 576px) {
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Forced Redesign Overrides ===== */
body .home-hero-section,
body .collection-grid-area,
body .collection-page-header,
body .section {
  background: transparent !important;
}

body .hero-slide {
  height: 72vh !important;
  min-height: 440px !important;
}

body .hero-overlay {
  background: linear-gradient(to right, rgba(0,0,0,.85) 10%, transparent 60%), linear-gradient(to top, #0b0f1a 10%, transparent 60%) !important;
}

body .hero-title {
  color: #fff !important;
  font-weight: 800 !important;
}

body .watch-btn,
body .plan-btn {
  color: #fff !important;
  border: 0 !important;
}

body .watch-btn { background: #f5a623 !important; }
body .plan-btn { background: #e74c3c !important; }

body .section-header h2,
body .collection-page-header h1 {
  color: #fff !important;
  font-weight: 700 !important;
}

body .collection-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 0.85rem !important;
}

body .video-img,
body .card-video {
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 0 !important;
}

body .single-video {
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: transform .25s ease !important;
}

body .single-video:hover {
  transform: scale(1.06) !important;
}

body .video-item-content {
  background: linear-gradient(to top, rgba(11,15,26,.96), rgba(11,15,26,0)) !important;
  color: #fff !important;
}

body .redesign-filter-list {
  margin-bottom: 1rem !important;
}

@media (max-width: 768px) {
  body .hero-slide { height: 45vh !important; min-height: 300px !important; }
  body .collection-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
}

@media (max-width: 576px) {
  body .collection-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}

/* ===== Navbar Redesign (Reference Match) ===== */
header.modern-navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050 !important;
  border-bottom: 0 !important;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

body {
  padding-top: 84px;
}

header.modern-navbar .navbar {
  padding: 14px 0 !important;
}

header.modern-navbar .logo-img {
  height: 34px !important;
  width: auto;
}

header.modern-navbar .navbar-menu {
  margin-right: 0 !important;
}

header.modern-navbar .navbar-nav {
  gap: 0.35rem !important;
}

header.modern-navbar .nav-link {
  color: #cfcfcf !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 0.45rem 0.7rem !important;
}

header.modern-navbar .nav-link:hover,
header.modern-navbar .nav-link.active {
  color: #ffffff !important;
}

header.modern-navbar .nav-link::after {
  display: none !important;
}

header.modern-navbar .btn-premium {
  background: #e50914 !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: 7px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  transform: none !important;
}

header.modern-navbar .btn-premium:hover {
  opacity: 0.92;
}

header.modern-navbar .btn-premium::before {
  display: none !important;
}

header.modern-navbar .whatsapp-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: #25D366 !important;
  box-shadow: none !important;
  transform: none !important;
}

header.modern-navbar .search-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

header.modern-navbar .user-menu-btn,
header.modern-navbar .btn-login {
  border-radius: 20px !important;
}

header.modern-navbar .dropdown-menu {
  border-radius: 8px !important;
  background: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 991px) {
  body {
    padding-top: 72px;
  }

  header.modern-navbar .navbar-collapse {
    background: #0b0f1a !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,0.08);
  }

  header.modern-navbar .nav-link {
    color: #e7e7e7 !important;
    font-size: 14px !important;
  }
}

@media (max-width: 768px) {
  header.modern-navbar .nav-link {
    font-size: 13px !important;
  }

  header.modern-navbar .navbar-nav .nav-item:not(:last-child) .nav-link {
    display: none;
  }

  header.modern-navbar .search-item-wrapper {
    display: none;
  }
}

header.modern-navbar .whatsapp-btn img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}
