/* ==========================================================================
   The Capital — Destinations Slider (Swiper)
   ========================================================================== */

/* ------------------------------------------------------------------
   1. If Destination Page
   ------------------------------------------------------------------ */
.tc-dest-page .tc-dest-text  {
	padding-top: 80px !important;
	
	@media (min-width: 767px) {
		padding-top: 130px !important;
	}
}

.home .tc-dest-text {
	@media (min-width: 767px) and (max-width: 1024px) {
    padding-top: 0 !important;
}
}

.tc-dest-page .tc-dest-outer {
	margin-top: 20px;
}

.tc-dest-page .tc-dest-outer::before {
	display: none;
}

.tc-destinations {
	max-height: 95vh;
}

/* ------------------------------------------------------------------
   1. Outer wrapper + Swiper overrides
   ------------------------------------------------------------------ */
.tc-dest-outer {
	position: relative;
	background: #000;
	width: 100%;
	overflow: hidden;
	
	@media (min-width: 767px) {
		margin-top: 60px;

		&::before {
			content: '';
			display: flex;
			width: 1px;
			height: 60px;
			background-color: var(--tc-gold);
			position: absolute;
			top: -60px;
			left: 50%;
			transform: translateX(-1px);
		}
	}
}

.tc-dest-slider-wrap {
	position: relative !important;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.87) 0%, transparent 100%);
}

/* Let Swiper handle the flex layout */
.tc-dest-slider-wrap > .elementor-container.swiper-wrapper {
	flex-wrap: nowrap !important;
	transform: translate3d(0, 0, 0);
}

.tc-dest-slider-wrap .elementor-column.tc-dest-slide {
	flex-shrink: 0 !important;
	/* width: auto !important; */
}

.tc-destinations-heading h2 {

	@media (max-width: 767px) {
		font-size: 40px !important;
	}
}

/* ------------------------------------------------------------------
   2. Slide column — position relative so children can be layered
   ------------------------------------------------------------------ */
.tc-dest-slide > .elementor-widget-wrap,
.tc-dest-slide > .elementor-element-populated {
	position: relative !important;
	overflow: hidden !important;
	align-content: flex-end;
	/* height set by fitDestHeight() in destinations.js */
	border-style: solid;
    border-width: 0px 1px 0px 0px;
    border-color: rgba(255, 255, 255, 0.2);
    padding: 0px 0px 0px 0px;
}

.tc-dest-slide .elementor-widget-image > a {
	height: 100%;
}

.tc-dest-slide > .elementor-element-populated .elementor-widget-heading {
	margin-bottom: 0 !important;
	position: relative;
	z-index: 3;
}

.tc-dest-slide > .elementor-element-populated .elementor-widget-heading.tc-destination-explore {
	margin-bottom: 15px !important;
	font-size: 15px;
	letter-spacing: 3.15px;
}

.tc-dest-slide > .elementor-element-populated .elementor-widget-heading:last-of-type {
	margin-bottom: 40px !important;
	font-size: 32px;
}

.tc-dest-slide > .elementor-element-populated .elementor-widget-image {
	height: 100%;
	position: absolute;
}

.tc-dest-slide > .elementor-element-populated .elementor-widget-image img {
	height: 100%;
	object-fit: cover;
}

/* ------------------------------------------------------------------
   3. Image widget — absolute cover, sits behind everything
   ------------------------------------------------------------------ */
.tc-dest-slide .tc-dest-slide-img {
	position: absolute !important;
	inset: 0 !important;
	z-index: 1;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tc-dest-slide .elementor-widget-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: transform 0.5s ease;
	opacity: 0;
}

/* Hover zoom on image */
.tc-dest-slide:hover .elementor-widget-image img {
	transform: scale(1.04);
}

/* ------------------------------------------------------------------
   4. Gradient overlay — via pseudo-element on the column
   ------------------------------------------------------------------ */
.tc-dest-slide > .elementor-widget-wrap::after,
.tc-dest-slide > .elementor-element-populated::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	/* background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 84%); */
	pointer-events: none;
}

/* ------------------------------------------------------------------
   5. Text labels — positioned at bottom, above overlay
   ------------------------------------------------------------------ */
.tc-dest-slide .tc-dest-slide-eyebrow,
.tc-dest-slide .tc-dest-slide-title {
	position: relative !important;
	z-index: 3 !important;
	margin-top: auto !important;
}

.tc-dest-slide .tc-dest-slide-eyebrow {
	position: absolute !important;
	bottom: 66px !important;
	left: 0 !important;
	right: 0 !important;
}

.tc-dest-slide .tc-dest-slide-title {
	position: absolute !important;
	bottom: 28px !important;
	left: 0 !important;
	right: 0 !important;
}

/* ------------------------------------------------------------------
   5b. Slide hover — text lift + gold arrow reveal
   ------------------------------------------------------------------ */
.tc-dest-slide .elementor-widget-heading {
	transition: transform 0.35s ease !important;
}

.tc-dest-slide:hover .elementor-widget-heading {
	transform: translateY(-60px);
}

/* Gold arrow */
.tc-dest-slide-arrow {
	z-index: 3;
	text-align: center;
	font-size: 20px;
	color: #D4A843;
	opacity: 0;
	padding-top: 20px;
	position: absolute;
	transition: opacity 0.35s ease, transform 0.35s ease;
	width: 100%;
	align-items: center;
	justify-content: center;
}

.tc-dest-slide-arrow svg {
	width: 30px;
	height: auto;
}

.tc-dest-slide:hover .tc-dest-slide-arrow {
	opacity: 1;
}

/* ------------------------------------------------------------------
   5c. Full-bleed background image on hover
   ------------------------------------------------------------------ */
.tc-dest-hover-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.tc-dest-hover-bg.is-visible {
	opacity: 1;
	z-index: 0;
}

.tc-dest-hover-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	/* background: rgba(0, 0, 0, 0.55); */
}

/* ------------------------------------------------------------------
   5d. Large centered city name on hover
   ------------------------------------------------------------------ */
.tc-dest-hover-city {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: none;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.45s ease;
	z-index: 2;
}

.tc-dest-hover-city.is-visible {
	opacity: 1;
}

.tc-dest-hover-city span {
	font-family: 'Gilda Display', serif;
	font-size: clamp(80px, 10vw, 108px);
	font-weight: 400;
	color: rgba(255, 255, 255, 0.72);
	text-transform: none;
	letter-spacing: -0.02em;
	line-height: 1;
	white-space: nowrap;
	user-select: none;

	@media (max-width: 767px) {
		display: none;
	}
}

/* Ensure Swiper + slides sit above the hover layers */
.tc-dest-outer .tc-dest-slider-wrap {
	position: relative;
	z-index: 1;
}

.tc-dest-slider-wrap .elementor-column.tc-dest-slide {
	position: relative;
	z-index: 1;
}

/* ------------------------------------------------------------------
   6. Swiper Navigation Arrows
   ------------------------------------------------------------------ */
.tc-swiper-btn-prev,
.tc-swiper-btn-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 59px;
	height: 120px;
	background: rgba(255, 255, 255, 0.5);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #000;
	transition: background 0.25s ease;
	z-index: 10;
}

.tc-swiper-btn-prev.swiper-button-disabled,
.tc-swiper-btn-next.swiper-button-disabled {
	opacity: 0.2;
	cursor: default;
	pointer-events: none;
}

.tc-swiper-btn-prev img,
.tc-swiper-btn-next img {
	width: 11px;
	height: auto;
	display: block;
	filter: invert(1);
}

.tc-swiper-btn-prev:hover,
.tc-swiper-btn-next:hover {
	background: #fff;
}

.tc-swiper-btn-prev {
	left: 0;
	border-radius: 0 60px 60px 0;
}

.tc-swiper-btn-next {
	right: 0;
	border-radius: 60px 0 0 60px;
}

/* Flip the right chevron */
.tc-swiper-btn-next img {
	transform: scaleX(-1);
}

/* ------------------------------------------------------------------
   7. Swiper Pagination (dots)
   ------------------------------------------------------------------ */
.tc-swiper-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 9px;
	padding: 30px 0;
	z-index: 5;
	position: absolute;
	top: 100%;

	@media (min-width: 767px) {
		padding-top: 75px;
	}
}

.tc-swiper-pagination .swiper-pagination-bullet {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tc-white);
	opacity: 1;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 0 !important;
}

.tc-swiper-pagination .swiper-pagination-bullet-active {
	width: 28px;
	height: 7px;
	border-radius: 4px;
	background: var(--tc-gold);
}

/* ------------------------------------------------------------------
   8. Responsive
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
	.tc-dest-slide > .elementor-widget-wrap,
	.tc-dest-slide > .elementor-element-populated {
		/* height controlled by JS fitDestHeight() */
	}

	.tc-dest-slide .elementor-widget-image img {
		opacity: 1;
	}

	.tc-dest-slide > .elementor-element-populated .elementor-widget-image a {
		height: 100%;
	}

	.tc-dest-slide > .elementor-element-populated .elementor-widget-image::before {
		content: '';
		background: linear-gradient(to top, rgba(0, 0, 0, 0.87) 0%, transparent 100%);
		width: 100%;
		position: absolute;
		height: 100%;
		z-index: 1;
	}

	.tc-swiper-btn-prev,
	.tc-swiper-btn-next {
		width: 40px;
		height: 80px;
	}

	.tc-swiper-btn-prev {
		border-radius: 0 40px 40px 0;
	}

	.tc-swiper-btn-next {
		border-radius: 40px 0 0 40px;
	}

	.tc-swiper-btn-prev img,
	.tc-swiper-btn-next img {
		width: 8px;
	}
}
