/* =======================================================
   BASE STYLES
======================================================= */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
  color: #333;
  overflow-x: hidden;
}

/* Reserve space for the fixed header so content doesn't hide under it */


header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Make container padding a bit more forgiving on very small screens */
@media (max-width: 420px) {
  .container { padding: 0 12px; }
}

/* =======================================================
   HERO SECTION
======================================================= */
.dubai-tour-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  /* responsive hero height: scales with viewport but clamps to sensible limits */
  height: clamp(360px, 60vh, 820px);
  margin-bottom: 30px;
  color: white;
  background-color: #000;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  transition: all 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
}

.dubai-tour-meta {
  display: flex;
  gap: 30px;
  padding: 15px 30px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50px;
}

.dubai-meta-item {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

/* Add a dark overlay */
.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
  z-index: 1;
}

/* =======================================================
   TOUR DETAIL CONTENT
======================================================= */
#dubai-tour-detail {
  background-color: #fff;
  /* responsive vertical padding */
  padding: clamp(40px, 8vh, 100px) 0;
}

.dubai-tour-content {
  margin-top: 30px;
}




.dubai-tour-description h2 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
  color: #222;
}


.dubai-tour-description p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

/* Small, attractive table for the About section */
.about-table {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
  margin: 18px 0 8px 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17,24,39,0.06);
  border-radius: 10px;
  overflow: hidden;
}
.about-table th,
.about-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
}
.about-table th {
  width: 35%;
  background: white;
  color: #1a1a1a;
  font-weight: 600;
}
.about-table td {
  color: #444;
  font-weight: 500;
}
.about-table tr + tr td {
  border-top: 1px solid #eef3f7;
}
.about-intro {
  margin-top: 12px;
  font-size: 0.98rem;
  color: #555;
}

/* Make about-table responsive on small screens */
@media (max-width: 600px) {
  .about-table {
    display: block;
    max-width: 100%;
  }
  .about-table tbody {
    display: block;
  }
  .about-table tbody tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 12px;
    border-top: 1px solid #eef3f7;
  }
  .about-table tbody tr:first-child { border-top: none; }
  .about-table th, .about-table td {
    display: block;
    padding: 0;
    margin: 0;
  }
  .about-table th { width: 40%; font-weight: 600; }
  .about-table td { width: 60%; text-align: right; }
}

/* Make itinerary table horizontally scrollable on small screens */
@media (max-width: 768px) {
  .dubai-tour-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dubai-tour-table thead,
  .dubai-tour-table tbody,
  .dubai-tour-table tr {
    display: table; /* keep table semantics for larger viewports, but allow scroll */
    width: 100%;
    table-layout: fixed;
  }
  .dubai-tour-table th, .dubai-tour-table td { white-space: normal; }
}


/* =======================================================
   TABLE STYLE - UPDATED LIKE AMRITSAR SCREENSHOT
======================================================= */
.dubai-tour-table {
  width: 100%;
  table-layout: fixed; /* allow column widths to be honored */
  border-collapse: separate;
  border-spacing: 0 8px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  margin-top: 20px;
}

.dubai-tour-table th {
  background-color: #f5f5f5;
  color: #333;
  font-weight: 600;
  text-align: left;
  padding: 15px 20px;
  font-size: 1rem;
  border: none;
}

.dubai-tour-table td {
  background-color: #fafafa;
  padding: 15px 20px;
  border: none;
  font-size: 0.95rem;
  color: #444;
}

.dubai-tour-table tr td:first-child {
  font-weight: 500;
  color: #000;
}

.dubai-tour-table tr:nth-child(even) td {
  background-color: #f0f0f0;
}

.dubai-tour-table tr:hover td {
  background-color: #e8f0fe;
  transition: 0.3s ease;
}

/* Column width adjustments: make first column (Day) narrow, second (Destination) moderate, third flexible */
.dubai-tour-table th:nth-child(1),
.dubai-tour-table td:nth-child(1) {
  width: 90px; /* small fixed column for Day */
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dubai-tour-table th:nth-child(2),
.dubai-tour-table td:nth-child(2) {
  width: 220px; /* moderate width for Destination */
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dubai-tour-table th:nth-child(3),
.dubai-tour-table td:nth-child(3) {
  width: auto; /* Details column takes remaining space */
}

/* Rounded corners for a smooth look */
.dubai-tour-table th:first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.dubai-tour-table th:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* =======================================================
   INCLUSIONS / EXCLUSIONS SECTION
======================================================= */
.includes-excludes-grid {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
  min-height: 200px;
}

.include-card,
.exclude-card {
  flex: 1 1 0;
  background: #ffffff;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.include-card h2,
.exclude-card h2 {
  font-size: 1.25rem;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-weight: 700;
}

.icon-include {
  background: #e9f8f0;
  color: #1e7e34;
}

.icon-exclude {
  background: #fff0f0;
  color: #c82333;
}

.include-card ul,
.exclude-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}

.include-card li,
.exclude-card li {
  padding: 10px 0;
  border-bottom: 1px solid #f3f6f8;
  color: #444;
}

.include-card li:last-child,
.exclude-card li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .includes-excludes-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* =======================================================
   FOOTER
======================================================= */
/*footer {*/
/*  background-color: #1a1a1a;*/
/*  color: #bbb;*/
/*  padding: 40px 0;*/
/*  text-align: center;*/
/*  font-size: 14px;*/
/*}*/

/*footer a {*/
/*  color: #fff;*/
/*  text-decoration: none;*/
/*}*/

/*footer a:hover {*/
/*  text-decoration: underline;*/
/*}*/

 =======================================================
   RESPONSIVE DESIGN
======================================================= 
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  #dubai-tour-detail {
    padding: 50px 0;
  }

  .dubai-tour-table th,
  .dubai-tour-table td {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  /* On small screens, allow wrapping and fluid layout */
  .dubai-tour-table {
    table-layout: auto;
  }
  .dubai-tour-table th:nth-child(1),
  .dubai-tour-table td:nth-child(1),
  .dubai-tour-table th:nth-child(2),
  .dubai-tour-table td:nth-child(2) {
    white-space: normal;
    width: auto;
    max-width: none;
  }
}
