/* Define variables in external CSS */
:root {
  --main-color: #F28A1D;
  /* Blue */
  --secondary-color: #fff;
  /* Yellow */
  --tertiary-color: #5e5e5e;
  /* Black */
  --primary-color: #000;
  /* Orange */
}

/* Use variables with Tailwind classes */
.custom-bg {
  background-color: var(--primary-color);
}

.custom-text {
  color: var(--secondary-color);
  color: var(--tertiary-color);
}

.custom-btn {
  background-color: var(--main-color);
}

/* Optional: hover effect */
.custom-btn:hover {
  background-color: var(--secondary-color);
  /* slightly darker blue */
  color: var(--main-color);
  transition-duration: 2s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@font-face {
  font-family: 'Tahoma';
  src: url('../fonts/tahoma.ttf') format('truetype');
  font-display: swap;
}

body {
  font-family: "League Gothic", sans-serif
}


.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

/* Mobile menu toggle */
#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: flex;
}


.testimonial-card {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.card-body {
  flex: 1;
  padding: 2rem 2rem 1.5rem 2rem;
}

.card-footer {
  background: #F28A1D;
  border-radius: 0 0 1.25rem 1.25rem;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  margin-top: 0;
  border-radius: 36px 0px 0px 0px;
}

/* Orange fill behind the curve on top-right */
.card-footer::before {
  content: '';
  position: absolute;
  top: -40px;
  right: 0;
  width: 60px;
  height: 40px;
  background: #F28A1D;
  border-radius: 0;
}

/* White concave cutout on top-right */
.card-footer::after {
  content: '';
  position: absolute;
  top: -40px;
  right: 0;
  width: 60px;
  height: 40px;
  background: white;
  border-radius: 0 0 40px 0;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: #F28A1D;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stars {
  color: #F28A1D;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 1rem;
}

.stars span.empty {
  color: #d1d5db;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4, 0, .2, 1);
  gap: 1.5rem;
}

.slide {
  flex: 0 0 calc(50% - 0.75rem);
  min-width: 0;
}

@media (max-width: 768px) {
  .slide {
    flex: 0 0 100%;
  }
}

.nav-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 3rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1;
  padding: 0 0.5rem;
  transition: color 0.2s;
  user-select: none;
}

.nav-btn:hover {
  color: #000;
}

/* Activities dropdown: controlled via JS classes */
#activitiesDropdown {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#activitiesDropdown.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


#tripFinderDropdown {
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

#tripFinderDropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}




.search-input-wrap {
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.35s;
  /* Added padding transition */
  border-width: 0;
  /* Hide borders initially */
}

/* When open, expand width & opacity */
.search-open .search-input-wrap {
  width: 180px;
  /* Adjust as needed */
  opacity: 1;
  border-width: 3px;
  /* Show borders when open */
  border-right: 0;
  /* Ensure right border stays hidden to merge with button */
  border-style: solid;
  /* Ensure style is solid */
  border-color: white;
  /* Ensure color is white */
  height: 48px;
}

/* Adjust button corners when search is open so they merge */
.search-open .search-btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}

.search-btn {
  border-radius: 6px;
}


/* Smooth height transition using CSS grid trick */
.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s ease;
}

.accordion-body.open {
  grid-template-rows: 1fr;
}

.accordion-inner {
  overflow: hidden;
}

/* Icon flip */
.accordion-btn .icon {
  transition: transform 0.32s ease;
}

.accordion-btn.open .icon {
  transform: rotate(180deg);
}


/* Hide scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/*whatsapp shape*/
.container-shape {
  position: relative;
  display: inline-block;
}

.green-shape {
  clip-path: polygon(0 0, 100% 0, 100% 32%, 67% 100%, 0 100%, 0 80%);
  border-radius: 16px;
  position: relative;
  z-index: 2;

  width: 100%;
  height: 100%;
}

.shadow-shape {
  clip-path: polygon(0 0, 100% 0, 100% 32%, 67% 100%, 0 100%, 0 80%);
  border-radius: 16px;
  position: absolute;
  top: 20px;
  /* 20px below */
  width: 100%;
  height: 100%;
  z-index: 1;
}