/* ==========================================================================
   Thurya Voyages. Dedicated Adventure Activity Pages Stylesheet
   Modern experience detail layout matching reference design
   Zero em-dashes used per project requirements.
   ========================================================================== */

/* Gallery Grid Layout (1 Large Left + 4 Grid Right) */
.activity-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  border-radius: 1.25rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .activity-gallery-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 0.65rem;
    height: 440px;
  }
}

@media (min-width: 1024px) {
  .activity-gallery-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 0.75rem;
    height: 480px;
  }
}

.gallery-main-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (min-width: 768px) {
  .gallery-main-img {
    height: 100%;
  }
}

.gallery-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
  height: 100%;
}

@media (min-width: 1024px) {
  .gallery-sub-grid {
    gap: 0.75rem;
  }
}

.gallery-main-img,
.gallery-sub-item,
.gallery-col-main,
.gallery-col-sub .gallery-sub-item {
  cursor: pointer;
}

.gallery-sub-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: #0f172a;
  cursor: pointer;
}

.gallery-sub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.activity-gallery-grid .gallery-main-img:hover,
.activity-gallery .gallery-col-main:hover img,
.gallery-sub-item:hover .gallery-sub-img,
.gallery-sub-item:hover img {
  transform: scale(1.03);
}

/* Floating Watch Video Pill on Main Collage Image */
.tv-collage-video-btn {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 107, 118, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(0, 107, 118, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.tv-collage-video-btn:hover {
  background: #00545c;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 107, 118, 0.6);
}

.tv-collage-video-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Floating View All Photos Button */
.view-all-photos-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #0f172a;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.view-all-photos-btn:hover {
  background: #ffffff;
  color: #006B76;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 107, 118, 0.25);
}

/* Key Features Badges Grid & Pills (Matching Reference Design) */
.activity-features-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .activity-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .activity-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.activity-feature-pill,
.feature-badge-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.875rem !important;
  padding: 0.25rem 0;
}

.activity-feature-icon-wrapper,
.feature-badge-icon {
  width: 2.75rem !important;
  height: 2.75rem !important;
  min-width: 2.75rem !important;
  max-width: 2.75rem !important;
  min-height: 2.75rem !important;
  max-height: 2.75rem !important;
  border-radius: 0.875rem !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
}

.activity-feature-icon-wrapper svg,
.feature-badge-icon svg,
svg.activity-feature-icon {
  width: 1.25rem !important;
  height: 1.25rem !important;
  min-width: 1.25rem !important;
  max-width: 1.25rem !important;
  min-height: 1.25rem !important;
  max-height: 1.25rem !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.activity-feature-title,
.feature-badge-item h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  color: #0f172a;
  line-height: 1.25;
}

.activity-feature-desc,
.feature-badge-item p {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Feature Badge Card */
.feature-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0;
}

/* Sticky Booking Card */
.sticky-booking-card {
  position: sticky;
  top: 5.5rem;
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 107, 118, 0.05);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.sticky-booking-card:hover {
  box-shadow: 0 16px 36px -6px rgba(0, 107, 118, 0.12), 0 6px 16px -2px rgba(0, 0, 0, 0.06);
}

/* AEO Quick Answer Box */
.aeo-answer-box {
  background: linear-gradient(135deg, rgba(0, 107, 118, 0.04) 0%, rgba(212, 154, 43, 0.04) 100%);
  border: 1.5px solid rgba(0, 107, 118, 0.18);
  border-left: 4.5px solid #006B76;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

/* Accordion FAQs */
.activity-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.activity-faq-item:hover {
  border-color: #cbd5e1;
}

.activity-faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #0f172a;
  user-select: none;
  list-style: none;
}

.activity-faq-summary::-webkit-details-marker {
  display: none;
}

.activity-faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #006B76;
  transition: transform 0.25s ease;
}

details[open] .activity-faq-icon {
  transform: rotate(180deg);
}

.activity-faq-content {
  padding: 0 1.35rem 1.25rem 1.35rem;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.65;
}

/* Reliable Sources & Citations Block */
.sources-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
}

/* Admin Quick Edit Bar */
.admin-quick-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  background: #0f172a;
  color: #ffffff;
  border-radius: 0.875rem;
  font-size: 0.78rem;
  font-weight: 600;
}
