/* ===== Home Page Specific Styles ===== */

/* Swiper Hero Customization */
.hero-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.8)
  );
  z-index: 1;
}
.hero-content {
  z-index: 10;
}

/* Text Gradients */
.text-gradient-saffron {
  background: linear-gradient(to right, #ff671f, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Samuday Cards + Modal */
.samuday-card {
  cursor: pointer;
}

.samuday-card:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

body.samuday-modal-open {
  overflow: hidden;
}

.samuday-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.samuday-modal.hidden {
  display: none;
}

.samuday-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(4px);
}

.samuday-modal-card {
  position: relative;
  width: min(920px, 96vw);
  max-height: 90vh;
  background: linear-gradient(160deg, rgba(128, 0, 0, 0.97), rgba(18, 18, 18, 0.98));
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.samuday-modal-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  height: min(78vh, 620px);
}

.samuday-modal-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
}

.samuday-modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.18);
}

.samuday-modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.samuday-modal-badge {
  display: inline-block;
  width: fit-content;
  font-family: "Mukta", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #121212;
  background: linear-gradient(90deg, #ff671f, #ffd700);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.samuday-modal-title {
  font-family: "Mukta", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #ffd700;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.samuday-modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.samuday-modal-count {
  flex: 0 0 auto;
  border-radius: 1rem;
  padding: 0.55rem 0.8rem 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  text-align: right;
}

.samuday-modal-count-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.2rem;
}

.samuday-modal-count-value {
  font-family: "Mukta", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1;
  background: linear-gradient(90deg, #ffd700, #ff671f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 12px 30px rgba(255, 215, 0, 0.12);
}

.samuday-modal-text {
  font-family: "Mukta", sans-serif;
  color: #f2f2f2;
  font-size: 1rem;
  line-height: 1.72;
  white-space: pre-line;
}

.samuday-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.samuday-modal-close:hover {
  background: #ff671f;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .samuday-modal-content {
    grid-template-columns: 1fr;
    height: auto;
  }

  .samuday-modal-image-wrap {
    height: 280px;
  }

  .samuday-modal-body {
    padding: 1.3rem 1.2rem 1.5rem;
    max-height: calc(90vh - 300px);
  }

  .samuday-modal-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .samuday-modal-count {
    text-align: left;
  }
}
