/* =============================================
   Inner page styles — excursion detail page
   ============================================= */

/* Hero banner */
.inner-hero {
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 0;
  position: relative;
  background-size: cover;
  background-position: center;
}
.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.7) 100%);
}
.inner-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 40px 0 50px;
  width: 100%;
}
.inner-hero-content .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 16px;
}
.inner-hero-content .breadcrumb a { color: var(--white); }
.inner-hero-content .breadcrumb i { font-size: 0.7rem; }
.inner-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}
.inner-hero-content p {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 600px;
}
.inner-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.inner-hero-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
}
.inner-hero-meta i { color: var(--orange-light); }

/* Price badge on hero */
.hero-price-badge {
  position: absolute;
  bottom: -28px;
  right: 40px;
  background: var(--white);
  border-radius: var(--r);
  padding: 20px 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2;
}
.hero-price-badge .price-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.hero-price-badge .price-num sup { font-size: 1.2rem; vertical-align: super; }
.hero-price-badge .price-info { font-size: 0.82rem; color: var(--gray); }
.hero-price-badge .price-info strong { display: block; font-size: 0.9rem; color: var(--dark); }

/* Main content layout */
.inner-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 70px 0 80px;
  align-items: start;
}

/* Content blocks */
.inner-section { margin-bottom: 36px; }
.inner-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.inner-section h2 i { color: var(--orange); }

/* Program list */
.program-list { list-style: none; }
.program-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 1rem;
  line-height: 1.5;
}
.program-list li:last-child { border-bottom: none; }
.program-list li i {
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* Included / not included */
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.included-box {
  background: var(--gray-light);
  border-radius: var(--r-sm);
  padding: 20px;
}
.included-box.not { background: #fff5f5; }
.included-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.included-box h3 i { color: var(--blue); }
.included-box.not h3 i { color: #e53e3e; }
.included-box ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.included-box ul li i { font-size: 0.75rem; margin-top: 4px; flex-shrink: 0; }
.included-box ul li i.yes { color: #22c55e; }
.included-box ul li i.no { color: #e53e3e; }

/* Description text */
.inner-desc { font-size: 1rem; line-height: 1.8; color: #374151; }
.inner-desc p { margin-bottom: 16px; }
.inner-desc strong { color: var(--dark); }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-item {
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* Sidebar */
.inner-sidebar { position: sticky; top: 90px; }

.sidebar-book-card {
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 24px;
}
.sidebar-book-top {
  background: var(--grad-blue);
  padding: 24px;
  color: var(--white);
  text-align: center;
}
.sidebar-book-top .price-big {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}
.sidebar-book-top .price-big sup { font-size: 1.4rem; vertical-align: super; }
.sidebar-book-top .price-child { font-size: 0.85rem; opacity: 0.8; margin-top: 4px; }
.sidebar-book-body { padding: 24px; }
.sidebar-book-body .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.sidebar-meta { list-style: none; }
.sidebar-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.9rem;
}
.sidebar-meta li:last-child { border-bottom: none; }
.sidebar-meta li i { color: var(--blue); width: 18px; text-align: center; }
.sidebar-meta li strong { margin-left: auto; color: var(--dark); font-weight: 700; }

/* Related tours */
.related-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  transition: var(--t);
  text-decoration: none;
  color: var(--dark);
}
.related-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.related-card img {
  width: 70px; height: 60px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.related-card-info { flex: 1; }
.related-card-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.related-card-price { font-size: 0.85rem; color: var(--blue); font-weight: 700; }

/* Lightbox overlay */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9998;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; border-radius: var(--r-sm); }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none; border: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .inner-layout { grid-template-columns: 1fr; }
  .inner-sidebar { position: static; }
  .hero-price-badge { position: static; margin: 20px 0 0; }
  .included-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .inner-hero { min-height: 360px; }
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid #e2e8f0; border-radius: var(--r-sm); overflow: hidden; }
.faq-q {
  padding: 16px 20px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: var(--t);
  gap: 12px;
}
.faq-q:hover { background: var(--gray-light); }
.faq-q i { flex-shrink: 0; transition: transform .3s; color: var(--blue); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 20px 16px;
  font-size: .92rem;
  color: #374151;
  line-height: 1.7;
  background: var(--white);
}
.faq-item.open .faq-a { display: block; }

/* SEO block */
.seo-block { font-size: .92rem; color: #4b5563; }
.seo-block h3 { font-size: 1.1rem; font-weight: 700; margin: 18px 0 8px; color: var(--dark); }
.seo-block ul { padding-left: 20px; margin-bottom: 12px; }
.seo-block ul li { margin-bottom: 5px; }

/* Inner hero mobile fix */
@media (max-width: 768px) {
  .hero-price-badge {
    position: static;
    margin: 16px 0 0;
    right: auto;
    bottom: auto;
    flex-wrap: wrap;
    gap: 14px;
  }
  .inner-hero { min-height: 320px; }
  .inner-hero-content h1 { font-size: 1.6rem; }
  .inner-layout { padding: 40px 0 50px; }
  .included-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar-book-body .btn { width: 100%; justify-content: center; }
}

@media (max-width: 500px) {
  .inner-hero { min-height: 260px; padding: 80px 0 0; }
  .inner-hero-content h1 { font-size: 1.35rem; }
  .inner-hero-content p { font-size: .9rem; }
  .inner-hero-meta { gap: 8px; }
  .inner-hero-meta span { font-size: .78rem; padding: 6px 10px; }
  .hero-price-badge { padding: 14px 16px; gap: 14px; }
  .hero-price-badge .price-num { font-size: 2rem; }
  .inner-layout { padding: 28px 0 40px; gap: 24px; }
  .inner-section h2 { font-size: 1.15rem; }
  .program-list li { font-size: .9rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .sidebar-book-top .price-big { font-size: 2.2rem; }
  .faq-q { font-size: .88rem; padding: 13px 14px; }
}
