/* =========================================================
   GENERAL
========================================================= */

body {
  background: #f6f8fb;

  color: #212529;

  font-family: Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
}

/* =========================================================
   TOUR PAGE HEADER - PREMIUM DESIGN
========================================================= */

/* =========================================================
   GLOBAL BRAND COLORS
========================================================= */

:root {
  --brand-orange: #ff5722;
  --brand-orange-dark: #e64a19;
  --brand-yellow: #ffc107;
  --card-border: #fae4a1;
  --dark-text: #212529;
  --footer-bg: #07162c;
  --footer-border: #132a4a;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: var(--dark-text);
}

a {
  text-decoration: none;
}

/* =========================================================
   TOUR PAGE HEADER
========================================================= */

.tour-page-header {
  position: relative;
  padding: 45px 0 22px;
  margin-bottom: 30px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(255, 255, 255, 0.16),
      transparent 28%
    ),
    linear-gradient(
      125deg,
      var(--brand-orange-dark) 0%,
      var(--brand-orange) 55%,
      #ff7043 100%
    );
  overflow: hidden;
  isolation: isolate;
}

/* Decorative Background */
.tour-page-header::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  top: -210px;
  right: 8%;
  z-index: -1;
}

.tour-page-header::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  bottom: -190px;
  left: 8%;
  z-index: -1;
}

/* =========================================================
   HEADER CONTENT
========================================================= */

.page-header-content {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 2;
  animation: headerFadeUp 0.65s ease both;
}

/* Header Icon */
.page-header-icon {
  width: 76px;
  height: 76px;
  min-width: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.page-header-icon i {
  font-size: 32px;
  color: var(--brand-yellow);
}

.page-header-content:hover .page-header-icon {
  transform: translateY(-4px) rotate(-4deg);
  background: rgba(255, 255, 255, 0.25);
}

/* Header Label */
.page-header-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  margin-bottom: 10px;
  border-radius: 50px;
  background: var(--brand-yellow);
  color: var(--footer-bg);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

/* Page Title */
.tour-page-header .page-title {
  color: #ffffff;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 0 0 12px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

/* Location */
.page-location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.page-location i {
  color: var(--brand-yellow);
  font-size: 17px;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.tour-breadcrumb {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(7, 22, 44, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  animation: headerFadeUp 0.8s ease both;
}

.tour-breadcrumb .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

.tour-breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 500;
}

.tour-breadcrumb .breadcrumb-item a {
  color: #ffffff;
  transition: all 0.25s ease;
}

.tour-breadcrumb .breadcrumb-item a:hover {
  color: var(--brand-yellow);
}

.tour-breadcrumb .breadcrumb-item.active {
  color: var(--brand-yellow);
  font-weight: 700;
}

/* Breadcrumb Separator */
.tour-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
  content: "/";
  padding-right: 9px;
}

/* =========================================================
   HEADER ANIMATION
========================================================= */

@keyframes headerFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 991px) {
  .tour-page-header {
    padding: 38px 0 20px;
  }

  .page-header-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 17px;
  }

  .page-header-icon i {
    font-size: 28px;
  }

  .tour-page-header .page-title {
    font-size: 32px;
  }

  .tour-breadcrumb {
    margin-top: 25px;
  }
}

/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 575px) {
  .tour-page-header {
    padding: 30px 0 17px;
    margin-bottom: 22px;
  }

  .page-header-content {
    align-items: flex-start;
    gap: 14px;
  }

  .page-header-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 13px;
  }

  .page-header-icon i {
    font-size: 23px;
  }

  .page-header-label {
    font-size: 10px;
    padding: 5px 10px;
    margin-bottom: 8px;
    letter-spacing: 0.7px;
  }

  .tour-page-header .page-title {
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: -0.4px;
    margin-bottom: 8px;
  }

  .page-location {
    font-size: 13px;
  }

  .page-location i {
    font-size: 14px;
  }

  .tour-breadcrumb {
    margin-top: 22px;
    padding: 11px 13px;
    border-radius: 9px;
  }

  .tour-breadcrumb .breadcrumb-item {
    font-size: 11px;
  }
}

/* =========================================================
   EXTRA SMALL DEVICES
========================================================= */

@media (max-width: 360px) {
  .page-header-content {
    gap: 10px;
  }

  .page-header-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }

  .page-header-icon i {
    font-size: 20px;
  }

  .tour-page-header .page-title {
    font-size: 21px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .page-header-content,
  .tour-breadcrumb {
    animation: none;
  }

  .page-header-icon {
    transition: none;
  }
}

/* =========================================================
   HERO
========================================================= */

/* =========================================================
   BRAND COLORS & GENERAL
========================================================= */

:root {
  --brand-orange: #ff5722;
  --brand-orange-dark: #e64a19;
  --brand-yellow: #ffc107;
  --card-border: #fae4a1;
  --dark-text: #212529;
  --footer-bg: #07162c;
  --footer-border: #132a4a;

  --light-bg: #f8f9fa;
  --muted-text: #6c757d;
  --white: #ffffff;
  --card-radius: 18px;
  --card-shadow: 0 5px 25px rgba(7, 22, 44, 0.07);
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--light-bg);
  color: var(--dark-text);
}

a {
  text-decoration: none;
}

/* =========================================================
   TOUR HERO CARD
========================================================= */

.tour-hero {
  position: relative;
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(250, 228, 161, 0.65);
  transition: all 0.3s ease;
}

.tour-hero:hover {
  box-shadow: 0 12px 35px rgba(7, 22, 44, 0.11);
}

/* =========================================================
   TOUR IMAGE
========================================================= */

.tour-image-wrapper {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #e9ecef;
}

.tour-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 22, 44, 0.35), transparent 40%);
  pointer-events: none;
}

.tour-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.tour-hero:hover .tour-main-image {
  transform: scale(1.035);
}

/* Image Placeholder */

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f1f3f5, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  color: #adb5bd;
}

/* =========================================================
   IMAGE BADGES
========================================================= */

.tour-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--footer-bg);
  color: var(--white);
  padding: 9px 17px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.tour-badge i {
  color: var(--brand-yellow);
}

.featured-badge {
  background: var(--brand-yellow);
  color: var(--footer-bg);
}

.featured-badge i {
  color: var(--footer-bg);
}

/* =========================================================
   HERO CONTENT
========================================================= */

.tour-summary {
  padding: 35px;
}

.tour-title {
  color: var(--footer-bg);
  font-size: 36px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 15px;
}

.tour-location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted-text);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.tour-location i {
  color: var(--brand-orange);
  font-size: 17px;
  margin-right: 7px;
}

/* =========================================================
   TOUR QUICK INFO
========================================================= */

.quick-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 25px;
}

.quick-info-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light-bg);
  border: 1px solid #edf0f3;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
}

.quick-info-item:hover {
  background: #fff8f4;
  border-color: var(--card-border);
  transform: translateY(-3px);
}

.quick-info-item i {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 87, 34, 0.1);
  color: var(--brand-orange);
  border-radius: 10px;
  font-size: 17px;
}

.quick-label {
  display: block;
  color: var(--muted-text);
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 4px;
}

.quick-value {
  display: block;
  color: var(--footer-bg);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

/* =========================================================
   PRICE BOX
========================================================= */

.price-box {
  position: relative;
  background: linear-gradient(135deg, #fff8f3, #fffdf5);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px;
  margin-top: 25px;
}

.price-label {
  display: block;
  color: var(--muted-text);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
}

.current-price {
  color: var(--brand-orange);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
}

.old-price {
  color: #8b929a;
  text-decoration: line-through;
  font-size: 17px;
  font-weight: 500;
  margin-left: 8px;
}

.discount {
  display: inline-block;
  background: var(--brand-yellow);
  color: var(--footer-bg);
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  margin-left: 8px;
  vertical-align: middle;
}

/* =========================================================
   CONTENT CARD
========================================================= */

.content-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 25px;
  border: 1px solid #f0f1f2;
  box-shadow: 0 4px 20px rgba(7, 22, 44, 0.05);
  transition: box-shadow 0.3s ease;
}

.content-card:hover {
  box-shadow: 0 8px 28px rgba(7, 22, 44, 0.08);
}

.section-title {
  position: relative;
  color: var(--footer-bg);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 22px;
  padding-bottom: 13px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-yellow));
  border-radius: 10px;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.description-content {
  color: #495057;
  font-size: 15px;
  line-height: 1.9;
}

.description-content p {
  margin-bottom: 15px;
}

.description-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 15px 0;
}

.description-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.description-content td,
.description-content th {
  border: 1px solid #e9ecef;
  padding: 12px;
}

.description-content th {
  background: #fff3ed;
  color: var(--brand-orange-dark);
  font-weight: 700;
}

.description-content blockquote {
  border-left: 4px solid var(--brand-orange);
  padding: 15px 20px;
  background: #fff8f3;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  color: #495057;
}

.description-content h1,
.description-content h2,
.description-content h3 {
  color: var(--footer-bg);
  font-weight: 750;
  margin-top: 25px;
  margin-bottom: 12px;
}

.description-content ul li::marker {
  color: var(--brand-orange);
}

/* =========================================================
   BOOKING CARD
========================================================= */

.booking-card {
  position: sticky;
  top: 20px;
  background: var(--white);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid var(--card-border);
  box-shadow: 0 5px 25px rgba(7, 22, 44, 0.07);
}

.booking-card h3 {
  color: var(--footer-bg);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}

.booking-card h3 i {
  color: var(--brand-orange);
  margin-right: 7px;
}

.booking-input {
  border: 1px solid #dee2e6;
  border-radius: 9px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.25s ease;
}

.booking-input:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.12);
  outline: none;
}

/* Booking Button */

.booking-card .btn-primary {
  background: linear-gradient(
    135deg,
    var(--brand-orange),
    var(--brand-orange-dark)
  );
  border: none;
  border-radius: 9px;
  padding: 13px 20px;
  font-weight: 700;
  color: var(--white);
  transition: all 0.3s ease;
}

.booking-card .btn-primary:hover {
  background: var(--footer-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(7, 22, 44, 0.18);
}

/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: var(--white);
  border: none;
  border-radius: 9px;
  padding: 12px 18px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.25);
}

/* =========================================================
   RELATED TOURS
========================================================= */

.related-card {
  position: relative;
  background: var(--white);
  border: 1px solid #f0f1f2;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 3px 15px rgba(7, 22, 44, 0.06);
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border);
  box-shadow: 0 10px 28px rgba(7, 22, 44, 0.12);
}

.related-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.related-card:hover .related-image {
  transform: scale(1.05);
}

.related-placeholder {
  height: 210px;
  background: linear-gradient(135deg, #f1f3f5, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 45px;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {
  .tour-image-wrapper {
    height: 380px;
  }

  .tour-title {
    font-size: 29px;
  }

  .booking-card {
    position: static;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 575px) {
  .tour-image-wrapper {
    height: 280px;
  }

  .tour-summary {
    padding: 22px;
  }

  .tour-title {
    font-size: 25px;
    line-height: 1.35;
  }

  .quick-info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-info-item {
    padding: 13px;
  }

  .current-price {
    font-size: 29px;
  }

  .price-box {
    padding: 17px;
  }

  .content-card {
    padding: 20px;
  }

  .section-title {
    font-size: 21px;
  }

  .booking-card {
    padding: 20px;
  }

  .related-image {
    height: 190px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================================
   RELATED TOUR CARD - PREMIUM DESIGN
========================================================= */

.related-card {
  position: relative;
  height: 100%;
  background: #ffffff;
  border: 1px solid #f0e7df;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(7, 22, 44, 0.06);
  transition: all 0.35s ease;
}

/* Card Hover */
.related-card:hover {
  transform: translateY(-7px);
  border-color: var(--card-border);
  box-shadow: 0 12px 30px rgba(7, 22, 44, 0.12);
}

/* =========================================================
   TOUR IMAGE
========================================================= */

.related-card > a:first-child {
  position: relative;
  display: block;
  height: 215px;
  overflow: hidden;
  background: #f1f3f5;
}

.related-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.related-card:hover .related-image {
  transform: scale(1.08);
}

/* Image Overlay */
.related-card > a:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 22, 44, 0.25), transparent 55%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.related-card:hover > a:first-child::after {
  opacity: 1;
}

/* =========================================================
   CARD CONTENT
========================================================= */

.related-card .p-3 {
  padding: 20px !important;
}

/* Location */
.related-card .small.text-primary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-orange) !important;
  background: #fff3ed;
  padding: 6px 11px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 10px !important;
}

.related-card .small.text-primary i {
  color: var(--brand-orange);
}

/* Tour Title */
.related-card h5 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
  min-height: 52px;
}

.related-card h5 a {
  color: var(--footer-bg) !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

.related-card h5 a:hover {
  color: var(--brand-orange) !important;
}

/* =========================================================
   TOUR DURATION
========================================================= */

.related-card .text-muted {
  color: #7b8490 !important;
}

.related-card .small.text-muted {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
}

.related-card .small.text-muted i {
  color: var(--brand-orange);
  font-size: 14px;
}

/* =========================================================
   TOUR PRICE
========================================================= */

.related-card .p-3 > div > strong {
  display: inline-block;
  color: var(--brand-orange);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.related-card del {
  color: #9299a1 !important;
  font-size: 12px;
  font-weight: 500;
}

/* =========================================================
   VIEW TOUR BUTTON
========================================================= */

.related-card .btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 17px;
  border: 1.5px solid var(--brand-orange);
  border-radius: 8px;
  background: transparent;
  color: var(--brand-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.related-card .btn-outline-primary:hover {
  background: linear-gradient(
    135deg,
    var(--brand-orange),
    var(--brand-orange-dark)
  );
  border-color: var(--brand-orange);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 13px rgba(255, 87, 34, 0.22);
}

.related-card .btn-outline-primary i {
  transition: transform 0.3s ease;
}

.related-card .btn-outline-primary:hover i {
  transform: translateX(4px);
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 991px) {
  .related-card > a:first-child {
    height: 200px;
  }

  .related-card h5 {
    font-size: 17px;
  }
}

@media (max-width: 575px) {
  .related-card {
    border-radius: 13px;
  }

  .related-card > a:first-child {
    height: 190px;
  }

  .related-card .p-3 {
    padding: 16px !important;
  }

  .related-card h5 {
    font-size: 16px;
    min-height: auto;
  }

  .related-card .p-3 > div > strong {
    font-size: 19px;
  }

  .related-card .btn-outline-primary {
    padding: 8px 14px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .related-card,
  .related-image,
  .related-card .btn-outline-primary,
  .related-card .btn-outline-primary i {
    transition: none;
  }
}
