/* ===================================
   RADIO LYNGDAL - INDEX PAGE STYLES
   Modern Design 2024
   =================================== */

/* ===================================
   HERO BANNER ENHANCEMENTS
   =================================== */
.banner-slider {
  position: relative;
}

.banner-slider .slick-slide {
  outline: none;
}

/* Add subtle pattern overlay */
.banner-oly::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 1;
}

/* Animated text appearance */
.banner-content h1 {
  animation: slideInUp 0.8s ease forwards;
}

.banner-content p {
  animation: slideInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.banner-content .btn {
  animation: slideInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bingo banner special styling */
.banner-1 .banner-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  max-width: 700px;
}

.banner-1 .btn-inline {
  background: linear-gradient(135deg, #f77f00 0%, #e63946 100%);
  border: none;
  font-size: 1rem;
  padding: 1rem 2rem;
}

.banner-1 .btn-inline span {
  display: block;
  line-height: 1.4;
}

/* ===================================
   QUICK ACTION BUTTONS
   =================================== */
.show-part .section-heading:first-child {
  margin-bottom: 2rem;
}

.blog-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.blog-btn .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--light-gray);
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 3rem;
  transition: all 0.3s ease;
}

.blog-btn .btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.25);
}

.blog-btn .btn i {
  font-size: 0.875rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.blog-btn .btn:hover i {
  color: var(--white);
}

.blog-btn .btn .badge {
  background: linear-gradient(135deg, #f77f00 0%, #e63946 100%);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ===================================
   PROGRAM GRID
   =================================== */
.show-part {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.show-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.show-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.show-content {
  position: relative;
  padding-top: 70%;
  overflow: hidden;
}

.show-bg {
  position: absolute;
  inset: 0;
}

.show-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.show-card:hover .show-bg img {
  transform: scale(1.08);
}

.show-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.95) 0%,
    rgba(26, 26, 46, 0.5) 50%,
    rgba(26, 26, 46, 0.2) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.show-time {
  position: relative;
}

.show-time p {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
}

.show-time h4 {
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.show-meta {
  display: none;
}

/* ===================================
   NEWS FEED SECTION
   =================================== */
.blog-part {
  background: var(--white);
  padding-bottom: 4rem;
}

.blog-part .section-heading {
  text-align: left;
  margin-bottom: 1.5rem;
}

.blog-part .section-heading h2 {
  font-size: 1.375rem;
  color: var(--heading);
}

.blog-part .section-heading h2::after {
  left: 0;
  transform: none;
  width: 40px;
}

.feedDiv {
  float: none;
  padding: 0;
}

#lister24,
#l-a {
  background: var(--bg-light);
  border-radius: 1rem;
  padding: 0;
  max-height: 400px;
  overflow-y: auto;
}

/* Custom scrollbar */
#lister24::-webkit-scrollbar,
#l-a::-webkit-scrollbar {
  width: 6px;
}

#lister24::-webkit-scrollbar-track,
#l-a::-webkit-scrollbar-track {
  background: var(--light-gray);
  border-radius: 3px;
}

#lister24::-webkit-scrollbar-thumb,
#l-a::-webkit-scrollbar-thumb {
  background: var(--medium-gray);
  border-radius: 3px;
}

#lister24::-webkit-scrollbar-thumb:hover,
#l-a::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Feed item styling */
#lister24 .itemTitle,
#l-a .itemTitle {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--light-gray);
  transition: background 0.2s ease;
}

#lister24 .itemTitle:last-child,
#l-a .itemTitle:last-child {
  border-bottom: none;
}

#lister24 .itemTitle:hover,
#l-a .itemTitle:hover {
  background: rgba(230, 57, 70, 0.05);
}

#lister24 .itemTitle a,
#l-a .itemTitle a {
  font-weight: 500;
  color: var(--heading);
  font-size: 0.9375rem;
  line-height: 1.5;
  display: block;
  transition: color 0.2s ease;
}

#lister24 .itemTitle a:hover,
#l-a .itemTitle a:hover {
  color: var(--primary);
}

#lister24 .itemDate,
#l-a .itemDate {
  font-size: 0.8125rem;
  color: var(--medium-gray);
  margin-top: 0.375rem;
}

/* ===================================
   RESPONSIVE ENHANCEMENTS
   =================================== */
@media (max-width: 575px) {
  .banner-1 .banner-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .blog-btn {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-btn .btn {
    justify-content: center;
  }

  .show-card {
    margin-bottom: 1rem;
  }

  .show-overlay {
    padding: 1rem;
  }

  .show-time h4 {
    font-size: 0.9375rem;
  }

  #lister24,
  #l-a {
    max-height: 300px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .banner-1 .banner-content {
    padding: 2.5rem 2rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .blog-part .col-lg-6:first-child {
    margin-bottom: 2.5rem;
  }
}

/* ===================================
   LIVE INDICATOR
   =================================== */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230, 57, 70, 0.1);
  color: var(--primary);
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.live-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* ===================================
   STATISTICS / COUNTER SECTION
   =================================== */
.counter-part {
  background: var(--bg-gradient);
  padding: 4rem 0;
  margin-top: 2rem;
}

.counter-card {
  text-align: center;
  padding: 2rem;
}

.counter-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.counter-card h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.counter-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* ===================================
   SPONSOR SECTION (if applicable)
   =================================== */
.sponsor-part {
  padding: 3rem 0;
  background: var(--bg-light);
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 1rem;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.sponsor-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.sponsor-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
