/* ============================
   TOUR DETAIL PAGE STYLES
   ============================ */

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Tour Info Grid */
.t-info-grid {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}

.t-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.t-info-item i {
  color: #3b82f6;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.t-info-item strong {
  display: block;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.t-info-item span {
  color: #64748b;
  font-size: 14px;
}

.t-info-item a {
  color: #3b82f6;
  text-decoration: none;
}

.t-info-item a:hover {
  text-decoration: underline;
}

/* Prose Content */
.t-prose {
  line-height: 1.7;
  color: #374151;
}

.t-prose h3 {
  color: #1e293b;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.t-prose h4 {
  color: #1e293b;
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 12px;
}

.t-prose p {
  margin-bottom: 16px;
}

.t-prose ul, .t-prose ol {
  margin: 16px 0;
  padding-left: 24px;
}

.t-prose li {
  margin-bottom: 8px;
}

/* Included/Excluded Boxes */
.t-included-excluded {
  margin: 32px 0;
}

.t-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  height: 100%;
}

.t-box--included {
  border-left: 4px solid #10b981;
}

.t-box--excluded {
  border-left: 4px solid #ef4444;
}

.t-box__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
}

.t-box--included .t-box__title i {
  color: #10b981;
}

.t-box--excluded .t-box__title i {
  color: #ef4444;
}

.t-box__content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.t-box__content li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: #64748b;
  font-size: 14px;
}

.t-box__content li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  width: 16px;
}

.t-box--excluded .t-box__content li::before {
  content: "✗";
  color: #ef4444;
}

/* Program Timeline */
.t-program {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.t-program-note {
  margin-top: 20px;
  padding: 16px;
  background: #fef3c7;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
}

.t-program-note p {
  margin: 0;
  color: #92400e;
  font-size: 14px;
  font-style: italic;
}

.t-program h3 {
  color: #1e293b;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.t-program-timeline {
  position: relative;
}

.t-program-timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.t-program-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
}

.t-program-item:last-child {
  margin-bottom: 0;
}

.t-program-time {
  background: #3b82f6;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  min-width: 60px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.t-program-content {
  flex: 1;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.t-program-content h4 {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.t-program-content p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Important Info Cards */
.t-important-info {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.t-important-info h3 {
  color: #1e293b;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.t-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.t-info-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.t-info-card i {
  color: #3b82f6;
  font-size: 20px;
  margin-top: 2px;
}

.t-info-card h4 {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.t-info-card p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

.t-info-content {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  line-height: 1.6;
  color: #374151;
}

.t-info-content p {
  margin-bottom: 12px;
}

.t-info-content p:last-child {
  margin-bottom: 0;
}

/* Tags */
.t-tags {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.t-tags h4 {
  color: #1e293b;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.t-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.t-tag {
  display: inline-block;
  padding: 6px 12px;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}

.t-tag:hover {
  background: #3b82f6;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* ============================
   SIDEBAR STYLES
   ============================ */

.t-aside {
  padding-left: 24px;
}

.t-widget--sticky {
  position: sticky;
  top: 24px;
}

/* Price Box */
.t-pricebox {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.t-pricebox__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.t-pricebox__header h4 {
  color: #1e293b;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.t-pricebox__prices {
  margin-bottom: 20px;
}

.t-pricebox__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.t-pricebox__row:last-child {
  border-bottom: none;
}

.t-pricebox__row span {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

.t-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-price__old {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: line-through;
}

.t-price__new {
  color: #1e293b;
  font-size: 18px;
  font-weight: 700;
}

.t-pricebox__features {
  margin-bottom: 20px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.t-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #64748b;
}

.t-feature:last-child {
  margin-bottom: 0;
}

.t-feature i {
  color: #10b981;
  font-size: 12px;
}

.t-pricebox__note {
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.t-pricebox__note small {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}

/* Aside Boxes */
.t-aside__box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.t-aside__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.t-aside__title i {
  color: #3b82f6;
  font-size: 16px;
}

.t-aside__content {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.t-aside__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.t-aside__item:last-child {
  border-bottom: none;
}

.t-aside__item i {
  color: #3b82f6;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.t-aside__item strong {
  display: block;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.t-aside__item span {
  color: #64748b;
  font-size: 13px;
}

/* Category Links */
.t-category-link {
  display: inline-block;
  padding: 6px 12px;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}

.t-category-link:hover {
  background: #3b82f6;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Contact Info */
.t-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.t-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.t-contact-item i {
  color: #3b82f6;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.t-contact-item a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.t-contact-item a:hover {
  color: #3b82f6;
  text-decoration: none;
}

/* Share Buttons */
.t-share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.t-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}

.t-share-btn i {
  font-size: 16px;
}

.t-share-btn--fb {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}

.t-share-btn--tw {
  background: #1da1f2;
  color: white;
  border-color: #1da1f2;
}

.t-share-btn--tg {
  background: #0088cc;
  color: white;
  border-color: #0088cc;
}

.t-share-btn--vk {
  background: #4680c2;
  color: white;
  border-color: #4680c2;
}

.t-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* ============================
   RESPONSIVE STYLES
   ============================ */

@media (max-width: 991.98px) {
  .t-aside {
    padding-left: 0;
    margin-top: 32px;
  }
  
  .t-info-cards {
    grid-template-columns: 1fr;
  }
  
  .t-program-timeline::before {
    left: 50px;
  }
  
  .t-program-time {
    min-width: 50px;
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 767.98px) {
  .t-info-grid {
    padding: 16px;
  }
  
  .t-box, .t-program, .t-important-info, .t-tags {
    padding: 16px;
  }
  
  .t-pricebox {
    padding: 20px;
  }
  
  .t-aside__box {
    padding: 16px;
  }
  
  .t-program-timeline::before {
    left: 40px;
  }
  
  .t-program-time {
    min-width: 40px;
    font-size: 11px;
    padding: 4px 8px;
  }
  
  .t-program-content {
    padding: 12px 16px;
  }
  
  .t-share-buttons {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .t-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }
  
  .t-info-item i {
    align-self: flex-start;
  }
  
  .t-program-item {
    flex-direction: column;
    gap: 12px;
  }
  
  .t-program-timeline::before {
    display: none;
  }
  
  .t-program-time {
    align-self: flex-start;
  }
}
