/* Premium UI/UX Upgrade for Expedition Travel Agency */

:root {
  --primary-blue: #3554D1;
  --accent-yellow: #F1C40F;
  --dark-navy: #051036;
  --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.9);
}

/* 1. Global Visibility Fixes (Overrides broken scroll triggers) */
[data-anim-wrap], [data-anim-child], [data-anim] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* 2. Hero Section Refinement */
.masthead.-type-5 {
  padding-top: 100px;
  padding-bottom: 80px;
}

.masthead h1 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -1px;
}

.masthead p {
  font-size: 18px;
  color: #444;
}

/* 3. Tour Cards - Pro Level Enhancement */
.tourCard.-type-1 {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid #f0f0f0;
}

.tourCard.-type-1:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: var(--primary-blue);
}

.tourCard__image {
  border-radius: 12px 12px 0 0 !important;
}

.tourCard__title {
  margin-top: 15px;
  font-weight: 600;
  color: var(--dark-navy) !important;
}

.tourCard__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Enhanced Meta & Button Styles */
.tourCard-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 14px;
  margin-top: 6px;
}

.tourCard-meta-item i {
  color: var(--primary-blue);
  width: 16px;
  text-align: center;
}

.tourCard-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tourCard-old-price {
  font-size: 13px;
  text-decoration: line-through;
  color: #888;
  font-weight: 500;
}

.tourCard-new-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-navy);
}

.tourCard-btn {
  background: var(--primary-blue);
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 10px;
  text-align: center;
}

.tourCard-btn:hover {
  background: var(--dark-navy);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(53, 84, 209, 0.3);
}

.tourCard__content {
  padding: 15px 15px 20px 15px !important;
}

/* 4. Section Titles */
.sectionTitle__title {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.sectionTitle__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-yellow);
  border-radius: 2px;
}

/* 5. Chatbot Interface Tweaks */
.chatbot-bubble {
  background: var(--primary-blue) !important;
  box-shadow: 0 4px 15px rgba(53, 84, 209, 0.4) !important;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 84, 209, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(53, 84, 209, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 84, 209, 0); }
}

.chat-window {
  border-radius: 16px !important;
  overflow: hidden;
  border: 4px solid var(--primary-blue);
}

.chat-header {
  background: var(--primary-blue) !important;
}

.chat-option {
  border: 1px solid var(--primary-blue) !important;
  color: var(--primary-blue) !important;
  border-radius: 20px !important;
  padding: 8px 16px !important;
}

.chat-option:hover {
  background: var(--primary-blue) !important;
  color: #fff !important;
}

/* 6. Mobile Optimization */
@media (max-width: 768px) {
  .masthead h1 { font-size: 32px; }
  .sectionTitle__title { font-size: 26px; }
  .tourCard.-type-1 { margin-bottom: 20px; }
  
  /* Stack meta items vertically on mobile to prevent overlapping */
  .tourCard__content .d-flex.mb-10 {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }
  
  /* Stack bottom row elements (stars, button, price) vertically */
  .tourCard__content .row {
    flex-direction: column;
    align-items: stretch !important;
    gap: 15px;
    display: flex;
  }
  
  .tourCard__content .col-auto:first-child {
    order: 2; /* Move button and stars below the price */
  }
  
  .tourCard__content .col-auto:last-child {
    order: 1; /* Move price section to the top */
  }
  
  .tourCard__content .col-auto {
    width: 100% !important;
    text-align: center;
  }
  
  .tourCard__content .d-flex.x-gap-5 {
    justify-content: center;
    margin-bottom: 10px;
  }
  
  /* Design price container like a tab matching the view details styling */
  .tourCard-price-container {
    width: 100%;
    margin-top: 0;
    padding: 10px 16px;
    background: rgba(53, 84, 209, 0.05); /* Light primary background */
    border: 1px solid var(--primary-blue);
    border-radius: 8px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  
  .tourCard-old-price {
    font-size: 14px;
    margin-right: 5px;
  }

  .tourCard-new-price {
    font-size: 18px;
  }
  
  /* Make the call-to-action button full width */
  .tourCard-btn {
    width: 100%;
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    text-align: center;
    margin-top: 5px;
  }
}

/* Google Translate Top Bar Fix */
body {
    top: 0 !important;
}
.skiptranslate iframe {
    display: none !important;
}
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
