/* ===============================
   Fantasia Travels Overview Page
   =============================== */

/* ====== Theme Colors ====== */
:root {
  --first-color: #d4af37; /* Gold */
  --first-color-alt: #bfa031; /* Slightly darker gold */
  --first-color-lighter: #f4e2b8; /* Light gold tint */
  --text-color: #444;
  --body-color: #fffaf0; /* Ivory white */
  --container-color: #ffffff;
}

/* ====== Overview Container ====== */
.overview__container {
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    /* border: 1px solid white; */
}
.overview__content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.overview__details {
  flex: 1 1 60%;
}

.section__title,
.itinerary__title {
  color: var(--first-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.overview__text {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.trip__sidebar {
  flex: 1 1 35%;
}

/* ====== Trip Sidebar ====== */
.trip__box {
  border: 2px solid var(--first-color);
  padding: 1.5rem;
  border-radius: 1.2rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  position: sticky;
  top: 2rem;
}

.trip__box-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--first-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trip__price {
  margin: 0.8rem 0;
}

.trip__price span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--first-color);
}

.trip__price small {
  color: gray;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.trip__info {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.btn {
  display: block;
  width: 100%;
  margin-top: 0.8rem;
  background: linear-gradient(135deg, #d4af37, #f9d976);
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.4);
}

.btn:hover {
  background: linear-gradient(135deg, #c4a032, #ffe57e);
  transform: translateY(-2px);
}
.btn::after {
  content: " →";
  opacity: 0;
  transition: 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
  margin-left: 6px;
}

/* ====== Accordion (Itinerary) ====== */
.accordion {
  cursor: pointer;
  padding: 1rem 1.2rem;
  width: 100%;
  border: 1px solid #f0e68c;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.6rem;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 0.8rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.accordion:hover {
  background-color: var(--first-color-lighter);
}

.panel {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  background-color: var(--body-color);
  border-left: 4px solid var(--first-color);
  border-radius: 0 0 0.6rem 0.6rem;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.panel.show {
  opacity: 1;
  padding-top: 1rem;
  max-height: 250px;
}

/* ====== Map Section ====== */
.map__section {
  margin-top: 3rem;
  text-align: center;
}

.map__title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--first-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.map__img {
  width: 100%;
  max-width: 800px;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.map__img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}


/* ====== Responsive Design ====== */
@media screen and (max-width: 992px) {
  .overview__content {
    flex-direction: column;
  }

  .trip__sidebar {
    order: -1;
  }

  .map__img {
    height: auto;
  }
}

@media screen and (max-width: 576px) {
  .accordion {
    font-size: 0.9rem;
  }

  .trip__box {
    padding: 1rem;
  }

  .btn {
    font-size: 0.9rem;
  }
}


/* ===== DETAILS SECTION ===== */
.details-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 3rem 10%;
  /*background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);*/
  flex-wrap: wrap;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.details-content {
  flex: 1 1 55%;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  text-align: justify;
}

.details-content h2 {
  color: var(--first-color); /* Use gold from theme */
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-left: 6px solid var(--first-color);
  padding-left: 0.8rem;
  letter-spacing: 0.6px;
}

.details-content p {
  margin-bottom: 1.3rem;
  color: var(--text-color);
}

/* ===== Right Side Image ===== */
.details-image {
  flex: 1 1 40%;
  text-align: center;
}

.details-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.details-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .details-section {
    flex-direction: column;
    padding: 2rem;
  }

  .details-image {
    order: -1; /* Image above content */
  }

  .details-image img {
    max-width: 100%;
    height: 350px;
    margin-bottom: 1rem;
  }

  .details-content {
    flex: 1 1 100%;
  }
}


/*==================== TRAVEL EXPERIENCE SECTION ====================*/
.travelxp__section {
  background: #fffaf0;
  padding: 4rem 8%;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* Title */
.travelxp__title {
  text-align: center;
  color: var(--first-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

/* Container */
.travelxp__container {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Image Grid */
.travelxp__images {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.travelxp__overlay {
  position: relative;
}

.travelxp__img-one {
  width: 100%;
  max-width: 850px;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease-in-out;
}

.travelxp__overlay-small {
  position: absolute;
  right: 6%;
  bottom: 0;
}

.travelxp__img-two {
  width: 340px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  animation: slideIn 1.2s ease-in-out;
}

/* Overlay Info Box */
.travelxp__info-box {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 1.8rem;
  border-radius: 1rem;
  width: 320px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  animation: floatUp 1.5s ease-in-out;
}

.travelxp__card {
  text-align: center;
  margin-bottom: 1rem;
}

.travelxp__number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--first-color);
}

.travelxp__text {
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Reviews inside Box */
.travelxp__reviews {
  text-align: center;
  padding: 1rem;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.45);
  margin-top: 1rem;
  border: 1px solid white;
}

.travelxp__stars {
  color: #ffb400;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.travelxp__reviews-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.travelxp__reviews-sub {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(-50%); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .travelxp__img-one {
    width: 100%;
  }

  .travelxp__overlay-small {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 1rem;
  }

  .travelxp__info-box {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-top: 2rem;
    width: 100%;
  }
}

/*==================== TRAVEL TIPS SECTION ====================*/
.traveltips__section {
  /*background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);*/
  padding: 5rem 10%;
  text-align: center;
  border-radius: 1.5rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  animation: fadeInTips 1.2s ease-in-out;
}

/* Title */
.traveltips__title {
  /*font-size: 1.8rem;*/
  color: var(--first-color, #d97706);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3rem;
  position: relative;
}

.traveltips__title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: var(--first-color, #d97706);
  display: block;
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Container */
.traveltips__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
}

/* Card Styling */
.traveltips__card {
  border-radius: 1.2rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45);
  transition: all 0.4s ease;
  cursor: default;
}

.traveltips__card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.25);
}

/* Icon Styling */
.traveltips__icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--first-color, #d97706);
  animation: bounceIcon 2.5s infinite;
}

/* Headings */
.traveltips__heading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* Text */
.traveltips__text {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Soft hover glow */
.traveltips__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(250, 204, 21, 0.15));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.traveltips__card:hover::before {
  opacity: 1;
}

/* Animations */
@keyframes fadeInTips {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounceIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .traveltips__title {
    font-size: 1.8rem;
  }

  .traveltips__card {
    padding: 1.5rem 1.2rem;
  }

  .traveltips__icon {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .traveltips__container {
    gap: 1.5rem;
  }
}












