/* ==========================================================================
   The Capital — Destinations Mega Menu
   ========================================================================== */

/* ------------------------------------------------------------------
   1. Overlay
   ------------------------------------------------------------------ */
.tc-mega-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tc-mega-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* ------------------------------------------------------------------
   2. Mega menu panel
   ------------------------------------------------------------------ */
.tc-mega-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	background: var(--tc-black, #000);
	transform: translateY(-100%);
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow-y: auto;
	max-height: 100vh;
}

.tc-mega-menu.is-open {
	transform: translateY(0);
}

/* ------------------------------------------------------------------
   3. Inner container
   ------------------------------------------------------------------ */
.tc-mega-menu__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 40px 50px;
}

/* ------------------------------------------------------------------
   4. Close button
   ------------------------------------------------------------------ */
.tc-mega-menu__close {
	position: absolute;
	top: 20px;
	right: 30px;
	background: none;
	border: none;
	color: #fff;
	font-size: 28px;
	cursor: pointer;
	padding: 8px;
	line-height: 1;
	transition: opacity 0.2s ease;
	z-index: 5;
}

.tc-mega-menu__close:hover {
	opacity: 0.6;
}

/* ------------------------------------------------------------------
   5. City tabs
   ------------------------------------------------------------------ */
.tc-mega-menu__tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	margin-bottom: 40px;
}

.tc-mega-menu__tab {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	color: rgba(255, 255, 255, 0.45);
	font-family: var(--tc-font-body, 'DM Sans', sans-serif);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 16px 28px;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.tc-mega-menu__tab:hover {
	color: rgba(255, 255, 255, 0.75);
}

.tc-mega-menu__tab.is-active {
	color: #fff;
	border-bottom-color: var(--tc-gold, #EBA318);
}

/* ------------------------------------------------------------------
   6. City panels (hotel cards grid)
   ------------------------------------------------------------------ */
.tc-mega-menu__panel {
	display: none;
}

.tc-mega-menu__panel.is-active {
	display: block;
	animation: tc-panel-in 0.3s ease both;
}

@keyframes tc-panel-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tc-mega-menu__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

/* ------------------------------------------------------------------
   7. Hotel card
   ------------------------------------------------------------------ */
.tc-hotel-card {
	text-decoration: none;
	color: #fff;
	display: block;
	transition: opacity 0.2s ease;
}

.tc-hotel-card:hover {
	opacity: 0.85;
}

.tc-hotel-card__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: 14px;
}

.tc-hotel-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.tc-hotel-card:hover .tc-hotel-card__img img {
	transform: scale(1.04);
}

/* .tc-hotel-card__area {
	display: block;
	font-family: var(--tc-font-body, 'DM Sans', sans-serif);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 4px;
} */

/* .tc-hotel-card__name {
	font-family: var(--tc-font-heading, 'Gilda Display', serif);
	font-size: 20px;
	font-weight: 400;
	color: #fff;
	line-height: 1.3;
} */

/* ------------------------------------------------------------------
   8. Gold underline on "Destinations" link when mega menu is open
   ------------------------------------------------------------------ */
.tc-destinations-trigger.is-active {
	color: var(--tc-gold, #EBA318) !important;
}

/* ------------------------------------------------------------------
   9. Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.tc-mega-menu__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.tc-mega-menu__tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

@media (max-width: 767px) {
	.tc-mega-menu__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.tc-mega-menu__inner {
		padding: 30px 20px 40px;
	}

	.tc-mega-menu__tab {
		padding: 12px 18px;
		font-size: 11px;
	}

	.tc-hotel-card__name {
		font-size: 17px;
	}
}

@media (max-width: 480px) {
	.tc-mega-menu__grid {
		grid-template-columns: 1fr;
	}
}
