/* Hero Override - CENTERED & FULL FILL */
.tour-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center; 
    justify-content: center; 
    color: white;
    text-align: center; 
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0;
}

.tour-hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1;
}

.tour-hero-content { 
    position: relative; 
    z-index: 2; 
    width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.tour-hero-content h1 {
    color: #ffffff !important;
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.tour-badge { 
    background: var(--brand-red); 
    padding: 5px 15px; 
    border-radius: 4px; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    margin-bottom: 15px; 
    display: inline-block;
    letter-spacing: 1px;
    color: white;
}

/* Layout Grid */
.tour-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 50px;
    padding-top: 50px;
    padding-bottom: 80px;
}

/* --- LEFT CONTENT --- */
.tour-overview h2, .tour-itinerary h2, .tour-more-info h2 { color: var(--secondary); margin-bottom: 20px; font-size: 1.8rem; border-left: 5px solid var(--brand-red); padding-left: 15px; }
.tour-overview p { color: #555; margin-bottom: 20px; font-size: 1rem; line-height: 1.7; }
.quote-box { background: #f9f9f9; padding: 20px; border-left: 4px solid var(--brand-teal); font-style: italic; color: #666; margin: 20px 0; }

/* Stats Bar */
.tour-stats-bar {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    flex-wrap: wrap;
    justify-content: space-between;
}
.stat-box { display: flex; align-items: center; gap: 12px; }
.stat-box i { font-size: 1.8rem; color: var(--brand-teal); }
.stat-text span { display: block; font-size: 0.75rem; color: #999; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.stat-text strong { display: block; font-size: 1.1rem; color: var(--secondary); }

/* Itinerary Timeline */
.itinerary-list { list-style: none; padding: 0; margin: 40px 0; border-left: 2px solid #eee; margin-left: 15px; }
.day-item { position: relative; padding-left: 35px; margin-bottom: 20px; }
.day-item::before {
    content: ''; position: absolute; left: -9px; top: 5px; width: 16px; height: 16px;
    background: var(--brand-red); border-radius: 50%; border: 3px solid white;
    box-shadow: 0 0 0 1px #ddd;
}
.day-header { 
    font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; 
    color: var(--secondary); background: #f9f9f9; padding: 15px 20px; 
    border-radius: 4px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; 
    transition: 0.3s;
}
.day-header:hover { background: #eee; }
.day-content { color: #666; font-size: 0.95rem; display: none; padding: 15px 20px; background: white; border: 1px solid #f9f9f9; border-top: none; }
.day-item.active .day-content { display: block; } 
.toggle-icon { font-size: 0.9rem; color: var(--brand-teal); transition: 0.3s; }
.day-item.active .toggle-icon { transform: rotate(180deg); color: var(--brand-red); }

/* --- MORE INFORMATION ACCORDIONS --- */
.info-accordion { margin-bottom: 15px; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; }
.accordion-header {
    background: white; padding: 18px 25px; cursor: pointer; 
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; color: var(--secondary); font-family: var(--font-head);
    transition: 0.3s;
}
.accordion-header:hover { background-color: #fcfcfc; color: var(--brand-red); }
.accordion-content { display: none; padding: 25px; border-top: 1px solid #e0e0e0; background: #fff; color: #555; line-height: 1.6; }
.accordion-content ul { padding-left: 20px; margin-bottom: 15px; }
.accordion-content li { margin-bottom: 8px; }

.info-accordion.active .accordion-content { display: block; }
.info-accordion.active .accordion-header { background-color: var(--brand-teal); color: white; }
.info-accordion.active .toggle-icon { color: white; transform: rotate(180deg); }

/* --- SIDEBAR (Sticky) --- */
.tour-sidebar { position: sticky; top: 120px; height: fit-content; }

.booking-widget {
    background: white; padding: 30px; border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); border-top: 5px solid var(--brand-red);
}

.price-header { text-align: center; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.main-price { font-size: 2.5rem; color: var(--secondary); font-weight: 800; font-family: var(--font-head); }
.price-sub { display: block; color: #888; font-size: 0.9rem; margin-top: 5px; }

/* Styles for Bookeo override if needed */
.bookeo-widget-area { min-height: 200px; margin-bottom: 15px; }

.enquiry-btn { width: 100%; text-align: center; margin-top: 10px; border-color: #ddd; color: #666; padding: 15px; display: block; }
.enquiry-btn:hover { border-color: var(--brand-teal); color: #fff; }

/* --- GALLERY SECTION STYLES --- */
.gallery-section {
    background-color: #f4f4f4;
    padding: 80px 0;
    border-top: 1px solid #ddd;
}

.gallery-header { text-align: center; margin-bottom: 40px; }
.gallery-header h2 { color: var(--secondary); font-size: 2.5rem; margin-bottom: 10px; }

.gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.gallery-main {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
    background-color: #eee;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.gallery-main img.loaded { opacity: 1; }

.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: white; border: none;
    width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: 0.3s; z-index: 10;
}
.gallery-nav:hover { background: var(--brand-red); }
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }

.gallery-strip {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-teal) #eee;
}

.gallery-strip::-webkit-scrollbar { height: 8px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--brand-teal); border-radius: 4px; }
.gallery-strip::-webkit-scrollbar-track { background: #eee; }

.thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.6;
    transition: 0.3s;
    border: 2px solid transparent;
}

.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.active { opacity: 1; border-color: var(--brand-red); }


.tour-overview ul {
  list-style: disc;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.tour-overview ol {
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.alert.alert-warning {
  border-left: 5px solid var(--brand-red);
  padding-left: 15px;
  margin: 20px 0px;
}
.tour-overview h2, .tour-overview h3, .tour-overview h4, .tour-overview h5, .tour-overview h6 {
  margin-bottom: 20px;
}

.course-table .course-inner:first-child {
  display: none;
}
.course-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.just-mob {
  min-width: 100px;
  display: inline-block;
}
.just-mob:after {
  content: ':';
}
.course-inner .input-group {
  display: flex;
  align-items: center;
  gap: 5px;
}
.course-inner .input-group .form-control {
  width: auto;
  height: 43px;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}


.fade.in {
  opacity: 1;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
}
.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform .3s ease-out;
  -o-transition: -o-transform .3s ease-out;
  transition: transform .3s ease-out;
  -webkit-transform: translate(0,-25%);
  -ms-transform: translate(0,-25%);
  -o-transform: translate(0,-25%);
  transform: translate(0,-25%);
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0,0);
  -ms-transform: translate(0,0);
  -o-transform: translate(0,0);
  transform: translate(0,0);
}

.modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
  box-shadow: 0 3px 9px rgba(0,0,0,.5);
}
@media (min-width: 768px) {
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
  }
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
.close {
  float: right;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: .2;
}
button.close {
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0;
}
.modal-header .close {
  margin-top: -2px;
}

/* Responsive */
@media (max-width: 900px) {
    .tour-layout { grid-template-columns: 1fr; }
    .tour-sidebar { position: relative; top: 0; margin-top: 40px; }
    .gallery-main { height: 300px; }
    .tour-stats-bar { gap: 15px; }
    .stat-box { flex: 1 1 45%; }
    .tour-hero { height: 50vh; }
    .tour-hero-content h1 { font-size: 2.5rem; }
}