/* Tours Page Styles - Clean Modern Approach */

/* Ensure proper layout structure to prevent footer from coming up */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Tours Page Container */
.tours-page-container {
  width: 100%;
  max-width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

.tours-page {
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 200px);
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Sticky Category Bar */
.sticky-categories {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid #e9e9e9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.sticky-categories .sub-categories-labels-container {
  padding: 1rem 0;
  text-align: left;
  width: 100%;
}

.sticky-categories .categories-labels {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-left: 4.3rem;
  width: 100%;
}

.sticky-categories .categories-labels a {
  padding: 0.5rem 1rem;
  color: #7f7f7f;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.sticky-categories .categories-labels a.selected-category,
.sticky-categories .categories-labels a:hover {
  color: #131332;
  background-color: #f0f0f0;
}

/* Responsive for sticky categories */
@media (max-width: 768px) {
  .sticky-categories .categories-labels {
    margin-left: 1rem;
  }
}

@media (max-width: 480px) {
  .sticky-categories .categories-labels {
    margin-left: 0.5rem;
  }
}

/* Tours Page Specific Styles - Only for Tours Index */
#offers-page.page {
  width: 100%;
  max-width: 100%;
  padding: 0;
  min-height: calc(100vh - 200px);
}

#offers-page .trips-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Tours Header */
.tours-header {
  width: 100%;
  box-sizing: border-box;
}

/* Responsive margins for tours header - positioned further left of grid for nice visual alignment */
@media (max-width: 480px) {
  .tours-header {
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
    margin-left: 0;
    margin-right: 1rem;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .tours-header {
    width: calc(100% - 2.5rem);
    max-width: calc(100% - 2.5rem);
    margin-left: 0.5rem;
    margin-right: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .tours-header {
    width: calc(100% - 5.5rem);
    max-width: calc(100% - 5.5rem);
    margin-left: 1.5rem;
    margin-right: 4rem;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .tours-header {
    width: calc(100% - 9rem);
    max-width: calc(100% - 9rem);
    margin-left: 3rem;
    margin-right: 6rem;
  }
}

@media (min-width: 1600px) and (max-width: 1799px) {
  .tours-header {
    width: calc(100% - 20rem);
    max-width: calc(100% - 20rem);
    margin-left: 8rem;
    margin-right: 14rem;
  }
}

@media (min-width: 1800px) {
  .tours-header {
    width: calc(100% - 20rem);
    max-width: calc(100% - 20rem);
    margin-left: 8rem;
    margin-right: 14rem;
  }
}

.categories-section {
  width: 100%;
  padding: 1rem 0;
}

.categories-labels {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.categories-labels a {
  padding: 0.5rem 1rem;
  color: #7f7f7f;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.categories-labels a.selected-category,
.categories-labels a:hover {
  color: #131332;
  background-color: #f0f0f0;
}

/* Tours Grid - Clean Responsive Design */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2rem 0;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
}

/* Responsive breakpoints for grid layout and horizontal margins */
/* Using margins with proper width calculation to prevent overflow and ensure centering */
@media (max-width: 480px) {
  .tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    width: calc(100% - 4rem);
    max-width: calc(100% - 4rem);
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.8rem;
    width: calc(100% - 8rem);
    max-width: calc(100% - 8rem);
    margin-left: 4rem;
    margin-right: 4rem;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    width: calc(100% - 12rem);
    max-width: calc(100% - 12rem);
    margin-left: 6rem;
    margin-right: 6rem;
  }
}

@media (min-width: 1600px) and (max-width: 1799px) {
  .tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    width: calc(100% - 28rem);
    max-width: calc(100% - 28rem);
    margin-left: 14rem;
    margin-right: 14rem;
  }
}

@media (min-width: 1800px) {
  .tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    width: calc(100% - 28rem);
    max-width: calc(100% - 28rem);
    margin-left: 14rem;
    margin-right: 14rem;
  }
}

/* Tour Cards - Exact Home Page Design */
.tours-grid .offer-cell {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tours-grid .offers-gallery-item-div {
  background: white;
  border-radius: 0px; /* Sharp cards */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tours-grid .offers-gallery-item-div a {
  text-decoration: none !important;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.tours-grid .offers-gallery-item-div a:hover {
  text-decoration: none !important;
  color: inherit;
}

.tours-grid .offers-gallery-item-div a:visited {
  text-decoration: none !important;
  color: inherit;
}

.tours-grid .offers-gallery-item-div a:focus {
  text-decoration: none !important;
  color: inherit;
}

.tours-grid .offers-gallery-item-div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tours-grid .offer-image {
  width: 100%;
  padding-top: 100%;
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(70%);
}

.tours-grid .offers-gallery-item-div:hover .offer-image {
  filter: brightness(100%);
  animation: zoom-pan-effect 10s ease-in-out infinite;
}

.tours-grid .offer-overlay {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  color: #ffffff !important;
  font-weight: bold;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
  pointer-events: none;
}

.tours-grid .offer-subtitle {
  color: #ffffff !important;
  font-size: clamp(0.8rem, 1.5vw, 1.5rem); /* Smaller text */
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
}

.tours-grid .offers-item-indicator {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: #131332;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 10;
  transition: all 0.3s ease;
}

.tours-grid .offers-gallery-item-div:hover .offers-item-indicator {
  background-color: #2a2a4a;
  transform: scale(1.1);
}

/* Custom zoom and pan animation - Slower and smoother */
@keyframes zoom-pan-effect {
  0% {
    transform: scale(1.0) translateX(0);
  }
  20% {
    transform: scale(1.2) translateX(0); /* Zoom in further */
  }
  40% {
    transform: scale(1.2) translateX(12px); /* Move right slowly */
  }
  60% {
    transform: scale(1.2) translateX(-12px); /* Move left slowly */
  }
  80% {
    transform: scale(1.2) translateX(6px); /* Move right slightly */
  }
  100% {
    transform: scale(1.2) translateX(0); /* Back to center */
  }
}

/* No Tours Message */
.no-tours-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: #666;
}

.no-tours-icon {
  margin-bottom: 2rem;
}

.no-tours-message h3 {
  margin-bottom: 1rem;
  color: #333;
}

.no-tours-message p {
  margin-bottom: 2rem;
  color: #666;
}


#offers-page .offer-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  text-decoration: none;
  color: inherit;
}

#offers-page .offer-image {
  width: 100%;
  padding-top: 100%; /* reduced from 120% to make cards shorter */
  background-size: cover;
  background-position: center left;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(70%);
  position: relative;
}

#offers-page .offer-overlay {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  color: #ffffff !important; /* enforce white */
  font-weight: bold;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
  pointer-events: none; /* allows hover effect on image */
}

#offers-page .offer-overlay .offer-subtitle {
  color: #ffffff !important; /* enforce white */
  font-size: clamp(1rem, 2vw, 2rem); /* responsive */
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.8); /* optional for readability */
}

#offers-page .offer-card:hover .offer-image {
  filter: brightness(100%);
  transform: scale(1.08);
  animation: pan-left-right 6s ease-in-out infinite alternate;
}

#offers-page .offers-item-indicator {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: #131332;
  color: white;
  width: 40px; /* increased from 30px */
  height: 40px; /* increased from 30px */
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem; /* increased from 0.8rem */
  z-index: 10;
}

/* Pan animation */
@keyframes pan-left-right {
  0% {
    transform: scale(1.08) translateX(0);
  }
  100% {
    transform: scale(1.08) translateX(-12px);
  }
}

/* Responsive Design for Offers Page - Zoom Responsive */
/* Cards automatically respond to zoom levels - fewer cards when zoomed in, more when zoomed out */

/* Large screens - 6-7 cards per row (70% zoom equivalent) */
@media (min-width: 1800px) {
  #offers-page .trips-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
  }
  
  #offers-page .offer-cell {
    min-width: 250px;
  }
}

/* Medium-large screens - 4-5 cards per row (100% zoom equivalent) */
@media (min-width: 1200px) and (max-width: 1799px) {
  #offers-page .trips-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  #offers-page .offer-cell {
    min-width: 280px;
  }
}

/* Medium screens - 2-3 cards per row (130% zoom equivalent) */
@media (min-width: 768px) and (max-width: 1199px) {
  #offers-page .trips-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
  }
  
  #offers-page .offer-cell {
    min-width: 320px;
  }
}

/* Small screens - 1-2 cards per row (160% zoom equivalent) */
@media (max-width: 767px) {
  #offers-page .trips-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
  }
  
  #offers-page .offer-cell {
    min-width: 280px;
  }
}

@media (max-width: 1600px) {
  #offers-page .offer-cell {
    min-width: 280px;
    max-width: 450px;
  }
}

@media (max-width: 1200px) {
  #offers-page .offer-cell {
    min-width: 250px;
    max-width: 400px;
  }
}

@media (max-width: 992px) {
  #offers-page .offer-cell {
    min-width: 220px;
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .container-tours {
    padding: 0 1rem;
  }
  
  #offers-page .trips-grid {
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
  
  #offers-page .offer-cell {
    min-width: 200px;
    max-width: none;
    display: flex;
    flex-direction: column;
  }
}

/* Offers Page Layout */
#offers-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

#offers-page .trips-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

#offers-page .categories-labels-container {
  width: 100%;
  padding: 2rem 0;
  text-align: left;
}

#offers-page .sub-categories-labels-container {
  padding: 1rem 0;
  text-align: left;
}

#offers-page .categories-labels {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

#offers-page .categories-labels a {
  padding: 0.5rem 1rem;
  color: #7f7f7f;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
}

#offers-page .categories-labels a.selected-category,
#offers-page .categories-labels a:hover {
  color: #131332;
  background-color: #f0f0f0;
}

#offers-page .trips-grid {
  width: 100%;
  max-width: 1800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  padding: 0;
}

/* Sharp Card Styles */
#offers-page .offers-gallery-item-div {
  background: white;
  border-radius: 0px; /* Sharp corners */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e9e9e9; /* Sharp border */
}

#offers-page .offers-gallery-item-div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#offers-page .offers-gallery-item-div a {
  text-decoration: none !important;
  color: inherit;
}

#offers-page .offers-gallery-item-div a:hover {
  text-decoration: none !important;
  color: inherit;
}

#offers-page .slider-gallery-item {
  height: 200px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#offers-page .offers-detail-slider {
  height: 100%;
  width: 100%;
}

#offers-page .swiper {
  height: 100%;
  width: 100%;
}

#offers-page .swiper-wrapper {
  height: 100%;
  width: 100%;
}

#offers-page .swiper-slide {
  height: 100%;
  width: 100%;
}

#offers-page .swiper-lazy {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  min-height: 200px;
  position: relative;
  z-index: 1;
}

#offers-page .offers-gallery-item-div-body {
  padding: 1.5rem;
  position: relative;
  background: white;
  z-index: 2;
}

#offers-page .offer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #131332;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
  text-decoration: none !important;
}

#offers-page .offers-item-indicator {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: #131332;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 0px; /* Sharp corners */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 3;
  transition: all 0.3s ease;
}

#offers-page .offers-gallery-item-div:hover .offers-item-indicator {
  background-color: #2a2a4a;
  transform: scale(1.1);
}

#offers-page .icon-avanti::before {
  content: "→";
  font-weight: bold;
}

/* Search Bar */
#offers-page .searchbar {
  padding: 2rem 0;
  text-align: center;
}

#offers-page .searchbar-rounded-container {
  background-color: #F9F9F9;
  border: 2px solid #e9e9e9;
  border-radius: 50px;
  padding: 1rem 2rem;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

#offers-page .searchbar-rounded-container:hover {
  border-color: #131332;
  background-color: white;
}

#offers-page .icon-cerca {
  color: #7f7f7f;
  font-size: 1.2rem;
}

/* AOS Animation Support */
#offers-page .offer-cell[data-aos] {
  opacity: 0;
  transform: translateY(20px);
}

#offers-page .offer-cell[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  
  #offers-page .trips-grid {
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    align-items: stretch;
  }
  
  #offers-page .offer-cell {
    min-width: 250px;
    max-width: none;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container-tours {
    padding: 0 1rem;
  }
  
  
  #offers-page .trips-grid {
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    align-items: stretch;
  }
  
  #offers-page .offer-cell {
    min-width: 250px;
    max-width: none;
    display: flex;
    flex-direction: column;
  }
}

/* Tour Hero Section */
.tour-hero {
  background: linear-gradient(135deg, #131332 0%, #1e0e3a 100%);
  color: white;
  padding: 6rem 0 4rem;
  text-align: center;
}

.tour-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tour-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Tour Filter Section */
.tour-filters {
  background-color: #f8f9fa;
  padding: 2rem 0;
  border-bottom: 1px solid #e9e9e9;
}

.filter-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-label {
  font-weight: 600;
  color: #131332;
  margin-right: 0.5rem;
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  background-color: white;
  color: #131332;
  min-width: 150px;
}

.filter-select:focus {
  outline: none;
  border-color: #131332;
  box-shadow: 0 0 0 2px rgba(19, 19, 50, 0.1);
}

/* Tour Grid - Duplicate removed, styles merged into main definition above */

.tour-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tour-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.tour-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #131332;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.tour-content {
  padding: 1.5rem;
}

.tour-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #131332;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.tour-description {
  color: #7f7f7f;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.tour-duration {
  color: #131332;
  font-weight: 500;
  font-size: 0.9rem;
}

.tour-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #131332;
}

.tour-price .currency {
  font-size: 0.9rem;
  font-weight: 500;
}

.tour-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-tour-details {
  flex: 1;
  background-color: #131332;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-tour-details:hover {
  background-color: #2a2a4a;
  color: white;
  text-decoration: none;
}

.btn-tour-book {
  background-color: transparent;
  color: #131332;
  border: 2px solid #131332;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-tour-book:hover {
  background-color: #131332;
  color: white;
  text-decoration: none;
}

/* Tour Details Page */
.tour-detail-hero {
  background: linear-gradient(135deg, #131332 0%, #1e0e3a 100%);
  color: white;
  padding: 4rem 0;
}

.tour-detail-image {
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.tour-detail-content {
  padding: 2rem 0;
}

.tour-detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #131332;
  margin-bottom: 1rem;
}

.tour-detail-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #7f7f7f;
}

.meta-item i {
  color: #131332;
}

.tour-detail-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #131332;
  margin-bottom: 2rem;
}

.tour-itinerary {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.itinerary-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #131332;
  margin-bottom: 1.5rem;
}

.itinerary-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9e9e9;
}

.itinerary-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.itinerary-time {
  background-color: #131332;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  min-width: 80px;
  text-align: center;
}

.itinerary-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #131332;
  margin-bottom: 0.5rem;
}

.itinerary-content p {
  color: #7f7f7f;
  margin: 0;
  line-height: 1.6;
}

/* Booking Section */
.booking-section {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  position: sticky;
  top: 2rem;
}

.booking-price {
  font-size: 2rem;
  font-weight: 700;
  color: #131332;
  margin-bottom: 1rem;
}

.booking-form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-weight: 500;
  color: #131332;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: #131332;
  box-shadow: 0 0 0 2px rgba(19, 19, 50, 0.1);
}

.btn-booking {
  width: 100%;
  background-color: #131332;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-booking:hover {
  background-color: #2a2a4a;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tour-hero h1 {
    font-size: 2.5rem;
  }
  
  .tour-hero p {
    font-size: 1.1rem;
  }
  
  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-select {
    min-width: auto;
  }
  
  .tour-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .tour-actions {
    flex-direction: column;
  }
  
  .tour-detail-title {
    font-size: 2rem;
  }
  
  .tour-detail-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .itinerary-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .itinerary-time {
    min-width: auto;
    align-self: flex-start;
  }
  
  .booking-section {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .tour-hero {
    padding: 4rem 0 2rem;
  }
  
  .tour-hero h1 {
    font-size: 2rem;
  }
  
  .tour-card {
    margin-bottom: 1.5rem;
  }
  
  .tour-detail-image {
    height: 250px;
  }
  
  .tour-detail-title {
    font-size: 1.8rem;
  }
}

/* Icon Styles - Home Page Design */
#offers-page .icon-avanti::before {
  content: "→";
  font-weight: bold;
}

