/**Trip Card CSS**/

/* Base styling for trip-item card */

.not-found{
   text-align: center;
    width: 100%;
    display: block;
}

.road-trips-carousel{
	width: 100%;
	overflow: hidden;
}

.road-trips-carousel .swiper-slide {
	display: flex;
	justify-content: center;
	flex-direction: column;
}


.trip-item {
  background: #fff;
  border-radius: 10px;
  /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 24px;
  font-family: "Figtree" !important;
}

.trip-item:hover{
    box-shadow: 0px 5px 17px 0px rgba(222, 249, 252, 0.75);
}


.trip-item .trip-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(100%) contrast(100%) saturate(100%) blur(0px) hue-rotate(0deg);
  border-radius: 24px 24px 0px 0px;
  outline: 6px solid #DEF9FCB2;
    outline-offset: -6px;
}

/* Content section */
.trip-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  
}

.trip-content .trip-title-wrapper{
    display: flex;
    justify-content: space-between;
}

.trip-title-wrapper .trip-title {
  font-size: 18px;
  font-weight: 700;
  color: #00476B;
	width:70%
}

.trip-title-wrapper .trip-title > a {
    font-weight: 700;
}

.trip-duration {
  font-size: 24px;
  color: #24C4EA;
  font-weight: 700;
	width:30%;
	text-align:right;
}

.trip-locations {
  font-size: 14px;
  color: #919191;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
    align-items: center;
}

.trip-locations .location-text {
    margin: 0px 5px;
}

.trip-description {
  font-size: 0.9rem;
  color: #666;
}

/* Pricing section */
.trip-price-amenities-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.trip-amenities {
    display: flex;
    gap: 5px;
}

.trip-amenities .amenity_icon {
    width: 24px;
}

.trip-amenities .amenity_icon.plus {
    width: 16px;
}

.trip-amenities .amenity_icon.plus:last-child {
    display: none;
}

.trip-pricing {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.trip-pricing > .starting-from{
    color:#919191;
    font-size:12px;
    font-style: italic;
}

.trip-pricing .trip-price {
  color: #00476B;
  font-size: 28px;
  font-weight: 700;
  line-height: 20px;
}

.trip-pricing .trip-price > .price-curreny{
    font-weight: 200;
}

/* Actions section */
.trip-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.trip-actions .plan-btn, .trip-actions .quick-view-btn {
  padding: 8px 16px;
  font-size: 15px;
  border: none;
  border-radius: 48px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #00476B;
  text-align: center;
  font-weight: 600;
  font-family: "Figtree";
  min-width: 128px;
}

.plan-btn {
  background-color: var(--e-global-color-accent);
    border: 1px solid #02010100 !important;
}

/* .plan-btn:hover {
  background-color: transparent;
  border:1px solid #00476B !important;
  
} */

.quick-view-btn {
  background-color: transparent;
   border:2px solid #00476B !important;
}

.quick-view-btn:hover {
  background-color: #00476B;
  color:white !important;
}


/****************************************************************
 ******************Trip Quick View Content CSS ******************
 ***************************************************************/

/* Add basic styles for the modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 100%;
    max-width: 1100px;
    border-radius: 28px;
    box-shadow: 0px 3px 12px 0px #91919133;
	position:relative;
}
.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
	position: absolute;
    z-index: 99;
	margin-right: 30px;
	right: 0;
}


    
 .quick-view-content {
    display: flex;
    flex-direction: row;
}
    
.travel-card {
    display: flex;
    gap: 20px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    flex-flow: row;
    font-family: "Figtree", serif !important; 
}

 .gallery-section {
    flex: 1 1 50%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
   justify-content: space-between;
}

  .gallery-section img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
  }

  .tc-details-section {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  
  .tc-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

  .tc-details-header .tc-details-heading{
    font-family: Figtree;
    font-size: 36px;
    font-weight: 500;
    line-height: 44px;
    text-align: left;
    color:#00476B;
    margin: 0px;
  }

  .tc-details-header .tc-location{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color:#919191;
    display: flex;
    align-items: center;
  }

  .tc-location .tc-location-icon {
    align-items: center;
    display: flex;
    margin-right: 10px;
}

 .tc-location .tc-location-text {
    margin-bottom: -3px;
}


  .tc-details-header h2 {
    font-size: 24px;
    color: #333;
  }

  .tc-overview h5{
    font-size: 18px;
    font-weight: 500;
    line-height: 28px; 
    margin: 0px;
    color:#00476B;
  }

  .tc-overview .tc-overview-text{
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    margin:0;
    color:#141414;
  }

  .tc-includes-wrapper h5{
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #00476B;
    margin-right: 50px;
  }
  .tc-includes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
  }

  .tc-includes .tc-includes-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 5px; 
    padding: 8px 4px;
    border-radius: 6px;
    box-shadow: 0px 2px 8px 0px #DEF9FC;
    flex-direction: column;
  }

  .price-section {
    font-size: 24px;
    color: #333;
    margin-top: 10px;
  }

  .tc-price-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

  .tc-price-title{
    font-size: 18px;
    font-weight: 500;
    color:#00476B;
  }

  .tc-price{
    font-size: 36px;
    font-weight: 500;
    line-height: 24px;
    color:#00476B;
  }

  .tc-price > .tc-price-symbol{
    font-weight: 300;
  }

  .tc-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-direction: column;
  }

  .tc-actions .plan-btn,
  .tc-actions .detail-btn{
    padding: 8px 16px;
    font-size: 15px;
    border: none;
    border-radius: 48px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #00476B;
    text-align: center;
    font-weight: 500;
    font-family: "Figtree";
    max-width: 244px;
  }

  .tc-actions .plan-btn {
    background-color: #8EEF7F;
      border: 1px solid #02010100 !important;
  }
  
  .tc-actions .plan-btn:hover {
    background-color: #A2F593!important;
    border:1px solid #A2F593!important;
    
  }

  .tc-actions .detail-btn {
    background-color: transparent;
     border:1px solid #00476B !important;
  }
  
  .tc-actions .detail-btn:hover {
	box-shadow: 0px 6px 20px 0px rgba(0, 71, 107, 0.25)!important;
}

  .tc-actions .detail-btn:active {
	background:#00476B!important;
	  color:#fff!important;
	  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0)!important;
}

  

  .gallery {
    display: grid;
    overflow-x: auto;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 10px;
}

  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .agent-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    border: 1px solid #DEF9FC;
    border-radius: 12px;
    padding:12px;
  }

.agent-info .agent-image-wrapper {
    display: flex;
    width: 100%;
    max-width: 85px;
}
.agent-info .agent-image-wrapper > img {
  width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
}

  .agent-details {
    display: flex;
    flex-direction: column;
  }

  .agent-details p{
    margin:0px;
  }

  .agent-info .agent-details {
    font-size: 14px;
  }

  .agent-info .agent-details .agent-name {
      font-size: 16px;
      font-weight: 400;
      color: #141414;
  
  }

  .agent-info .agent-details .agent-role {
    font-family: Figtree;
    font-size: 14px;
    font-weight: 400;
    color: #919191;

  }

  .agent-info .agent-details .agent-description{
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
    line-height: 20px;
    color:#4B4B4B;

  }


/*Gallery Carousel CSS **/

.image-thumbnail-carousel {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .image-display {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
			height: 466px;
			position:relative;
        }

		.image-display .carousel__btn {
			position: absolute;
			top: calc(50% - 24px);
			width: 48px !important;
			height: 48px !important;
			border-radius: 50%;
			display: flex
		;
			align-items: center;
			justify-content: center;
			margin: 0px 20px;
			/* background: #f4f4f4d1; */
			color: #454545;
			padding: 0px !important;
		}

		.carousel__btn.next,
		.carousel__btn.prev {
		background: #24C4EA !important;
		color: #fff !important;
	}
	
		button.carousel__btn:hover {
			background: #24C4EA;
			color: #fff;
		}
		
		.image-display button.carousel__btn.next {
			right: 0;
		}


        .screen {
            width: 100%;
            height: 100%;
            background-color: #ddd;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .gallery-section .screen img { 
            width: 100%;
            height: 100% !important;
            object-fit: cover;
        }

        .thumbnail-carousel {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .carousel__btn {
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            display: flex;
            align-items: center;
        }

        .carousel__btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .carousel__slider {
            display: flex;
            gap: 0.5rem;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
			margin:0px;
        }

        .carousel__slider::-webkit-scrollbar {
            display: none;
        }

        .carousel__slide {
			border-radius: 12px;
			overflow: hidden;
			scroll-snap-align: center;
			cursor: pointer;
			border: 2px solid transparent;
			transition: border-color 0.3s;
			height: 84px;
			width: 84px;
		}

/*         .carousel__slide.active {
			border-color: #8fee7f;
		} */
        .carousel__slide img {
            width: 100%;
            height: 100% !important;
            object-fit: cover;
        }



/****************************************************
************* Media Query Responiveness**************
****************************************************/

@media (max-width:1024px){
	
	.modal-content {
		width: 95%;
	}
	
	.close-modal{
		margin-right:20px;
	}
	
    .trip-duration {
    font-size: 18px;
    }
    
    .trip-pricing .trip-price {
    font-size: 20px!important;
        
    }
	
	.tc-includes-item .tc-includes-text {
		text-align: center;
		line-height: 20px;
		font-size: 16px;
	}
}

@media (max-width: 768px) {
	
	.close-modal{
		right: 3px;
    	top: 7px;
	}
    
	.travel-card {
		flex-direction:column;
	}
    
  .trip-item {
    flex-direction: column;
  }

.trip-item .trip-actions {
    flex-direction: row;
  }

  .trip-content {
    padding: 10px;
  }

  .trip-title {
    font-size: 1.1rem;
  }

  .trip-pricing {
    flex-direction: column;
    align-items: flex-start;
  }

  .trip-actions {
    flex-direction: column;
    gap: 5px;
  }
  
  .trip-actions .plan-btn, .trip-actions .quick-view-btn{
      min-width: 50%;
  }
}

@media (max-width:425px){
	.image-display {
    height: 350px;
	}
	
	.tc-location .tc-location-text {
		line-height: 19px;
	}
	
	.tc-includes {
    	grid-template-columns: repeat(3, 1fr);
	}
	
	.tc-includes-item .tc-includes-text {
        font-size: 14px;
    }
	
	.tc-price {
    	font-size: 26px;
	}
	
	.tc-actions {
   		flex-direction: row;
	}
	
	.tc-actions .plan-btn, 
	.tc-actions .detail-btn {
    	max-width: fit-content;
	}
}