:root {
	--primary-color: #005452;
	--secondary-color: #3498db;
	--accent-color: #e74c3c;
	--text-color: #333;
	--light-bg: #bde3dc;
	--border-color: #733973;
    --color-champion1: #ea028c;
    --color-champion2: #0095d9;
    --color-champion3: #f99f24;
    --color-champion4: #854198;
}
@font-face {
	font-family: Roboto;
	src: url(./asset/Roboto.ttf) format("truetype");
	font-display: swap;
}
body {
	font-family: "Roboto", sans-serif;
	color: var(--text-color);
	line-height: 1.6;
	background-color: var(--light-bg);
	padding-top: 56px;
}
a {
	text-decoration: none;
}
.hero-section {
	position: relative;
	width: 100%;
	height: 100vh;
	background: url("./asset/carousel-1.jpg") no-repeat center center;
	background-size: cover;
	overflow: hidden;
}

.hero-content {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;
	background: rgba(0, 0, 0, 0.5);
	padding: 0 20px;
}

.hero-content h1 {
	font-size: 3rem;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
	font-size: 1.5rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.card-title {
	font-size: 1.1rem;
	padding: 1.4rem;
	font-weight: 600;
	text-align: center;
	color: var(--primary-color);
}
.section-map {
	text-align: center;
	padding: 1rem;
	font-weight: 600;
	font-size: 1.3rem;
	color: var(--primary-color);
}

.section-title {
	text-align: center;
	margin-bottom: 3rem;
	font-weight: 600;
	color: var(--primary-color);
	position: relative;
	padding-top: 4rem;
	padding-bottom: 1rem;
	font-size: 1.3rem;
}

.section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 3px;
	background-color: var(--secondary-color);
}

.item-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
	transition: transform 0.3s ease;
	cursor: pointer;
}

.item-card:hover {
	transform: translateY(-5px);
}

.item-image {
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.item-info {
	padding: 12px;
}

.item-info h3 {
	color: var(--primary-color);
	margin-bottom: 15px;
}

.map-section {
	padding: 80px 0;
}

/* Map Popup Styles */
.item-actions {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}

.item-actions button {
	flex: 1;
}

.map-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1000;
}

.map-popup-content {
	position: relative;
	background-color: #fff;
	margin: 0 auto;
	padding: 20px;
	width: 90%;
	max-width: 1200px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.close-popup {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	color: var(--primary-color);
	background: none;
	border: none;
	padding: 0;
	z-index: 1010;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f8f9fa;
	border-radius: 50%;
}

.close-popup:hover {
	color: var(--accent-color);
	background-color: #e9ecef;
}

.map-container {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.room-types {
	margin-top: 15px;
	padding: 10px;
	background-color: #f8f9fa;
	border-radius: 5px;
}

.room-types h4 {
	color: var(--primary-color);
	margin-bottom: 10px;
}

.room-types ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.room-types li {
	padding: 5px 0;
	border-bottom: 1px solid #dee2e6;
}

.room-types li:last-child {
	border-bottom: none;
}

.hotel-actions {
	display: flex;
	gap: 10px;
	margin-top: 15px;
}

.hotel-actions button {
	flex: 1;
}
.hotel-title {
	font-size: 1.5rem;
	font-weight: 600;
	padding-bottom: 0.6rem;
}
.overlay-content p {
	font-size: 1rem;
	font-weight: 400;
	padding: 0;
	margin-bottom: 0.5rem;
}

.footer {
	background-color: var(--primary-color);
	color: white;
	padding: 20px 0;
	text-align: center;
}

.btn-primary {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
}

.btn-primary:hover {
	background-color: #2980b9;
	border-color: #2980b9;
}

.navbar {
	background-color: var(--primary-color) !important;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	clear: both;
}

.navbar-brand {
	font-weight: bold;
}

.navbar-nav {
	gap: 1.5rem;
}

.nav-link {
	font-weight: 500;
	padding: 0.5rem 1rem;
	transition: all 0.3s ease;
}

.nav-link:hover {
	transform: translateY(-2px);
}


.filter-tabs {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 2rem;
}

.filter-tab {
	background-image: linear-gradient(to right, #1cd8d2 0%, #93edc7 51%, #1cd8d2 100%);
	margin: 10px;
	padding: 10px 20px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: #5d5b5b;
	font-weight: bold;
	box-shadow: 0 0 20px #eee;
	border-radius: 10px;
	display: block;
	border: 1px solid #0b7674;
	font-size: 1rem;
	outline: none;
}

.filter-tab:hover {
	background-position: right center;
}

.filter-tab.active {
	background-position: right center;
	color: #fff;
	background-image: linear-gradient(to right, rgb(60, 165, 92) 0%, rgb(181, 172, 73) 51%, rgb(60, 165, 92) 100%);
}

.theme {
	overflow-x: auto;
	width: 100%;
	padding: 2% 7%;
	display: flex;
	flex-direction: column;
	background-color: #0e142c;
}
.bracket-container {
	display: flex;
	align-items: center;
	justify-content: center;
}
.logo-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
.bracket {
	display: flex;
	flex-direction: row;
	position: relative;
}

.column {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	justify-content: space-around;
	align-content: center;
}
.match-col:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.match {
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 200px;
	height: 52px;
	margin: 12px 80px 12px 0;
}
.match-end{
    margin: 12px 12px 12px 0;
}
.match .match-top {
	border-radius: 2px 2px 0 0;
}
.match .match-bottom {
	border-radius: 0 0 2px 2px;
}
.match .team {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	position: relative;
}
.match .team span {
	padding-left: 8px;
}
.match .team span:last-child {
	padding-right: 8px;
}
.match .team .score {
	margin-left: auto;
}
.match .team:first-child {
	margin-bottom: -1px;
}
.match-lines {
	display: block;
	position: absolute;
	top: 50%;
	bottom: 0;
	margin-top: 0px;
	right: -1px;
}

.match-lines .line {
	background: var(--border-color);
	position: absolute;
}
.match-lines .line.one {
	height: 1px;
	width: 41px;
}
.match-lines .line.two {
	height: 44px;
	width: 1px;
	left: 40px;
}
.match-lines.alt {
	left: -39px;
}
.match:nth-child(even) .match-lines .line.two {
	transform: translate(0, -100%);
}
.column:first-child .match-lines.alt {
	display: none;
}
.column:last-child .match-lines {
	display: none;
}
.column:last-child .match-lines.alt {
	display: block;
}
.column:nth-child(2) .match-lines .line.two {
	height: 88px;
}
.column:nth-child(3) .match-lines .line.two {
	height: 175px;
}
.column:nth-child(4) .match-lines .line.two {
	height: 262px;
}
.column:nth-child(5) .match-lines .line.two {
	height: 349px;
}
.circle {
	z-index: 10;
	width: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	color: #fff;
	height: 52px;
	border-radius: 100%;
	border: 2px solid #000000;
	background-color: #eb178f;
}
.eclip {
	border: 2px solid #000000;
	font-size: 1.1rem;
	font-weight: bold;
	color: #fff;
	width: 150px;
	background: #eb178f;
	padding: 5px 10px 3px 34px;
	margin-left: -30px;
	border-radius: 40px;
}
.color-champion1{
    background-color: var(--color-champion1);
}
.color-champion2{
    background-color: var(--color-champion2);
}
.color-champion3{
    background-color: var(--color-champion3);
}
.color-champion4{
    background-color: var(--color-champion4);
}

.champion{
    margin: 15px 12px 12px 0;
    border: 4px solid #ffd700;
    border-radius: 10px;
    padding: 50px 10px;
    z-index: 10;
}
.champion-image{
    margin-top: -200px;
    z-index: 10;
}
.champion .match-lines{
    left: -52px;
}
.winner-center{
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 20px;
    color: #fff;
}
.sub-menu{
	margin-top: 20px;
    background-color: var(--primary-color) !important;
}
#sports{
	min-height: 88vh;
}
.tab-content{
	text-align: center;
}
#ranking{
	color: #ffffff;
	min-height: 88vh;
	display: flex;
	justify-content: center;

}
.title-ranking{
	margin-bottom: 4rem;
	font-size: 2rem;
	font-weight: bold;
}
.sub-menu .dropdown-item{
	padding: 7px 14px;
	color: #dbc9c9!important;
}
.hotel-card img{
	border-radius: 6px;
	overflow: hidden;
}
.sub-menu .dropdown-item:hover{
	background-color: var(--primary-color) !important;
	color: #fff!important;
}
.result-section{
	max-width: 780px;
	margin: 0 auto;
	margin-bottom: 2rem;
	background-color: #00c4b3;
	background-size: cover;
	position: relative;
	overflow: hidden;
}
.result-title{
	text-align: center;
	font-size: 2.2rem;
	font-weight: bold;
	padding-top: 2rem;
	padding-bottom: 1rem;
	color: #FFF;
}
.result-text{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
	padding-bottom: 3rem;
}
.result-text-item{
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 0 1.5rem;
}
.update-time{
	text-align: center; font-weight: bold; color: #b9bbbd;
}
.result-text-item a{
	color: #f1eeee;
	font-weight: 500;
	font-size: 1.1rem;
	padding: 1rem;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.result-section{
	border-radius: 6px;
}
.result-section:hover .result-text-item a {
	opacity: 1;
	transform: translateY(0);
}

.result-section:hover .result-text-item a:nth-child(1) { transition-delay: 0.1s; }
.result-section:hover .result-text-item a:nth-child(2) { transition-delay: 0.2s; }
.result-section:hover .result-text-item a:nth-child(3) { transition-delay: 0.3s; }
.result-section:hover .result-text-item a:nth-child(4) { transition-delay: 0.4s; }

.result-text-item a:hover{
	color: #fff;
}
.list-menu{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.list-menu a{	
	color: #c5c5c5;
	font-weight: 500;
	transition: color 0.3s ease;
}
.list-menu a:hover{
	color: #fff;
}

@media (max-width: 768px) {
	.result-text{
		flex-direction: column;
	}
	.result-text-item a {
		opacity: 1;
		transform: translateY(0);
		transition: color 0.3s ease;
	}
	.theme{
		padding: 1% 3%;
	}
    .bracket-container {
        display: inline-block;
    }
	.hero-section {
		height: 60vh;
	}

	.hero-content h1 {
		font-size: 1.8rem;
	}

	.hero-content p {
		font-size: 1.2rem;
	}

	.map-popup-content {
		width: 95%;
		padding: 15px;
	}

	.map-container {
		padding-bottom: 75%; /* Taller aspect ratio for mobile */
	}

	.navbar-nav {
		gap: 0.5rem;
		padding: 1rem 0;
	}

	.nav-link {
		padding: 0.5rem 1rem;
	}

	.navbar-collapse {
		background-color: var(--primary-color);
		padding: 1rem;
		border-radius: 0.5rem;
		margin-top: 0.5rem;
	}
}

.photo-card {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1.5px solid var(--primary-color);
  padding: 1.5rem 1.2rem;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.photo-card:hover {
  box-shadow: 0 6px 18px rgba(52,152,219,0.18);
  transform: translateY(-3px) scale(1.01);
}
.photo-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
}
.photo-card-link {
	align-items: center;
	display: flex;
	font-size: 1rem;
	color: var(--secondary-color);
	font-weight: 600;
	white-space: nowrap;

}
.photo-card-link a{
	margin-left: 10px;

}
.photo-card-link input{
	margin-bottom: 0px;
	margin-left: 10px;

}
@media (max-width: 768px) {
  .photo-card {
    padding: 1.1rem 0.7rem;
  }
  .photo-card-title {
    font-size: 1rem;
  }
  .photo-card-link {
    font-size: 0.95rem;
  }
}
