@import url("../css/main.css");

/* carousel */

.carousel-caption {
  position: absolute;
  color: white;
  text-align: center;
}

.carousel__button {
  margin-bottom: 2rem;
}

.carousel-caption h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 50vh !important;
    object-fit: cover;
    object-position: center;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }
}

.carousel-caption p {
  font-size: 1.25rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  margin-bottom: 2rem;
}
.carousel-caption a {
  padding: 12px 24px;
  width: fit-content;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  border: 1px solid white !important;
}

.ribbon__text {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  font-size: 2rem;
  line-height: 1.2;
}
.ribbon__text::after,
.ribbon__text::before {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.ribbon__text::after {
  left: 0;
}
.ribbon__text::before {
  right: 0;
}

@media (max-width: 768px) {
  .ribbon__text {
    font-size: 1.25rem;
  }
  .ribbon__text::after,
  .ribbon__text::before {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .ribbon__text {
    font-size: 1.25rem;
  }
  .ribbon__text::after,
  .ribbon__text::before {
    width: 40px;
  }
}

.tour-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.image-container {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.image-container:hover .tour-image {
  transform: scale(1.1);
}

.tour-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.discount-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, .3);
  color: white;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 2;
  line-height: 1.2;
}

.discount-badge::after{
  content: "";
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent rgba(0, 0, 0, 0.3) transparent transparent;
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
}

.star-rating {
  position: absolute;
  color: #ffd700;
  letter-spacing: 2px;
  bottom: 0.5rem;
  left: 1rem;
}

.card-body {
  padding: 20px 20px 25px 20px;
}

.tour-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.tour-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 5px;
}

.currency-icon {
  color: #ffa500;
  font-size: 20px;
}

.duration {
  color: #666;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.btn-group-custom {
  display: flex;
  gap: 16px;
}

.btn-group-custom > form,
.btn-group-custom > a {
  flex: 1;
}

.btn-custom {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 8px;
  border: 1px solid #bbbbbb;
  color: var(--color-brown);
  background-color: #f1f3f4;
  border-radius: 8px;
}

.btn-custom:hover {
  background-color: #008c46;
  color: white;
}

.btn-book {
  color: black;
}

.arrow {
  font-size: 14px;
}
@media (max-width: 768px) {
  .tour-title {
    font-size: 18px;
    min-height: auto;
  }
}

.featured__trips__card {
  .feature__trips__card__image__container {
    position: relative;
  }
  .days__badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
    line-height: 1.2;
  }
}

/* list items */

.check__list__items {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.check__list__items::before {
  content: "\f058";
  font-family: "Font Awesome 7 Free";
  font-weight: 700;
  margin-right: 10px;
  color: #008c46;
}

/* blog page */

.sidebar {
  background-color: #fff;
}

.sidebar-widget {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-bottom: 30px;
}

.btn-readmore {
  margin-top: 1rem;
  padding: 8px 20px;
}
