:root {
	--bg-primary: #f8fafc;
	--bg-secondary: #ffffff;
	--text-primary: #0f172a;
	--text-secondary: #475569;
	--card-border: rgba(0, 0, 0, 0.06);
	--card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	--accent-primary: #0284c7;
	--accent-glow: rgba(2, 132, 199, 0.15);
	--hero-overlay: rgba(15, 23, 42, 0.55);
}

[data-theme="dark"] {
	--bg-primary: #0f172a;
	--bg-secondary: #1e293b;
	--text-primary: #f8fafc;
	--text-secondary: #94a3b8;
	--card-border: rgba(255, 255, 255, 0.05);
	--card-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
	--accent-primary: #38bdf8;
	--accent-glow: rgba(56, 189, 248, 0.2);
	--hero-overlay: rgba(15, 23, 42, 0.7);
}

body {
	background-color: var(--bg-primary) !important;
	color: var(--text-primary) !important;
	font-family: 'Outfit', sans-serif !important;
	transition: background-color 0.3s, color 0.3s;
}

.public-navbar {
	background: rgba(15, 23, 42, 0.9) !important;
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.tourism-hero {
	position: relative;
	height: 60vh;
	min-height: 400px;
	background: url('../images/scenic/tambunan.webp') no-repeat center center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #ffffff;
	margin-top: 65px;
	overflow: hidden;
}
.tourism-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--hero-overlay);
	z-index: 1;
}
.tourism-hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 0 20px;
}
.tourism-hero h1 {
	font-weight: 800;
	font-size: 3rem;
	letter-spacing: -0.5px;
	margin-bottom: 15px;
	text-shadow: 0 2px 10px rgba(0,0,0,0.5);
	animation: fadeInUp 0.8s ease-out;
}
.tourism-hero p {
	font-size: 1.25rem;
	font-weight: 400;
	opacity: 0.9;
	margin-bottom: 25px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.5);
	animation: fadeInUp 1s ease-out;
}

/* Grid & Cards styling */
.spot-card {
	background-color: var(--bg-secondary);
	border: 1px solid var(--card-border);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--card-shadow);
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
	height: 100%;
}
.spot-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px var(--accent-glow);
}
.spot-img-container {
	position: relative;
	height: 240px;
	overflow: hidden;
}
.spot-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.spot-card:hover .spot-img {
	transform: scale(1.08);
}
.spot-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(5px);
	color: #ffffff;
	font-weight: 600;
	font-size: 0.8rem;
	padding: 6px 14px;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Gallery grid */
.gallery-item {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--card-shadow);
	border: 1px solid var(--card-border);
	transition: transform 0.3s;
	height: 200px;
	cursor: pointer;
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}
.gallery-item:hover {
	transform: scale(1.03);
}
.gallery-item:hover img {
	transform: scale(1.06);
}
.gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
	padding: 15px;
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s;
	display: flex;
	align-items: flex-end;
	pointer-events: none;
}
.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

/* Section Headings */
.section-title {
	font-weight: 800;
	font-size: 2.25rem;
	letter-spacing: -0.5px;
	position: relative;
	display: inline-block;
	margin-bottom: 25px;
}
.section-title::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 60px;
	height: 4px;
	background: var(--accent-primary);
	border-radius: 2px;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}