/* Qurbana Carousel */

.qurbana-intro {
  max-width: 700px;
  margin: 30px auto 40px;
  text-align: center;
  padding: 0 20px;
}

.qurbana-intro p {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
  margin: 0;
}

@keyframes qurbanaFill {
  from { width: 0%; }
  to { width: 100%; }
}

.qurbana-carousel {
  max-width: 700px;
  margin: 20px auto 40px;
}

.carousel-card {
  background: white;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e8e8e8;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f5f1eb 0%, #ebe4da 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 18px;
  font-weight: 400;
  position: relative;
  overflow: hidden;
}

#youtubeContainer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#youtubeContainer iframe {
  width: 100%;
  height: 100%;
}

#placeholderText {
  position: relative;
  z-index: 1;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #d4a017;
  width: 0;
}

.carousel-content {
  padding: 25px 30px;
  text-align: center;
}

.stage-counter {
  font-size: 11px;
  color: #999;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.stage-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.malayalam-section {
  background: #fafaf8;
  padding: 12px 15px;
  border-radius: 0;
  margin-bottom: 20px;
  border-left: 4px solid #d4a017;
  display: flex;
  align-items: center;
  gap: 12px;
}

.malayalam-content {
  flex: 1;
  text-align: center;
}

.malayalam-text {
  font-size: 22px;
  font-weight: 600;
  color: #a85555;
  margin-bottom: 4px;
  font-family: 'Meera', 'Noto Sans Malayalam', serif;
  line-height: 1.3;
}

.transliteration {
  font-size: 11px;
  color: #888;
  font-style: italic;
  letter-spacing: 0.3px;
}

.audio-button {
  background: #d4a017;
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-button:hover {
  background: #b8860b;
}

.audio-button:active {
  transform: scale(0.95);
}

.stage-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.icon-btn {
  background: #d4a017;
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: #b8860b;
}

.icon-btn:active {
  transform: scale(0.9);
}

.pause-btn {
  background: #95a5a6;
}

.pause-btn:hover {
  background: #7f8c8d;
}

.progress-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ecf0f1;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}

.dot:hover {
  background: #bdc3c7;
}

.dot.active {
  background: #d4a017;
}

/* Responsive */
@media (max-width: 600px) {
  .carousel-content {
    padding: 20px;
  }

  .stage-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .malayalam-text {
    font-size: 20px;
  }

  .malayalam-section {
    padding: 10px 12px;
    gap: 10px;
  }

  .audio-button {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .stage-description {
    font-size: 14px;
  }

  .icon-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}
