@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
	--primary-color: #2563eb;
	--primary-dark: #1d4ed8;
	--primary-light: #3b82f6;
	--secondary-color: #4496bd;
	--accent-color: #f59e0b;
	--text-dark: #1f2937;
	--text-light: #6b7280;
	--background: #ffffff;
	--background-secondary: #f8fafc;
	--border-color: #e5e7eb;
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
	--border-radius: 12px;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	font-family: 'Inter', sans-serif;
	color: var(--text-dark);
	line-height: 1.7;
	overflow-x: hidden;
}

.list {
	list-style: none;
	padding: 1rem 0;
}

.logo {
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--primary-light)
	);
	border-radius: var(--border-radius);
	padding: 1rem;
	margin: 1rem;
	box-shadow: var(--shadow-lg);
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.logo::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.2),
		transparent
	);
	transition: left 0.5s;
}

.logo:hover::before {
	left: 100%;
}

.logo img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: calc(var(--border-radius) - 4px);
	transition: var(--transition);
}

.logo:hover {
	transform: translateY(-2px);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.list li:not(:first-of-type) a {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 0.875rem 1.25rem;
	font-size: 0.95rem;
	font-weight: 500;
	border-radius: var(--border-radius);
	text-align: center;
	transition: var(--transition);
	color: var(--text-dark);
	text-decoration: none;
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow);
}

.list li:not(:first-of-type) a::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--primary-light)
	);
	transition: left 0.3s ease;
	z-index: -1;
}

.list li:not(:first-of-type) a:hover::before {
	left: 0;
}

.list li:not(:first-of-type) a:hover {
	color: white;
	transform: translateX(8px);
	box-shadow: var(--shadow-lg);
}

.list li:first-child {
	width: 100%;
	margin: 0;
	background: transparent;
	box-shadow: none;
}

.navbar {
	position: fixed;
	left: 0;
	top: 0;
	height: 100vh;
	width: 280px;
	z-index: 200;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-right: 1px solid var(--border-color);
	transition: var(--transition);
	box-shadow: var(--shadow-lg);
}

.navbar::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		180deg,
		rgba(37, 99, 235, 0.05) 0%,
		rgba(37, 99, 235, 0.02) 50%,
		rgba(16, 185, 129, 0.05) 100%
	);
	pointer-events: none;
}

.background {
	width: min(90%, 1200px);
	background: var(--background);
	box-shadow: var(--shadow-lg);
	margin: 2rem auto;
	border-radius: var(--border-radius);
	padding: 2.5rem;
	border: 1px solid var(--border-color);
	position: relative;
	overflow: hidden;
}

.background::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--secondary-color),
		var(--accent-color)
	);
	border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.background div {
	margin-top: 1.5rem;
	font-size: 1rem;
	width: 100%;
	border-radius: var(--border-radius);
}

.background div:first-child {
	margin-top: 0;
}
.background p {
	margin-bottom: 1.25rem;
	padding: 0;
	color: var(--text-light);
	font-size: 1rem;
	line-height: 1.7;
}

.row2 ul {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
}

.row2 ul li {
	width: 100%;
	margin-bottom: 0.5rem;
	color: var(--text-light);
	position: relative;
	padding-left: 1rem;
}

.row2 ul li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--primary-color);
	font-weight: 600;
}

.row2 h1 {
	margin-top: 2rem;
	margin-bottom: 1.5rem;
	text-align: left;
	font-size: 1.875rem;
	font-weight: 600;
	color: var(--text-dark);
	position: relative;
	padding-bottom: 0.75rem;
}

.row2 h1::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--secondary-color)
	);
	border-radius: 2px;
}

.row2:first-child h1 {
	margin-top: 0;
}
a {
	text-decoration: none;
	color: var(--primary-color);
	transition: var(--transition);
	font-weight: 500;
}

a:hover {
	color: var(--primary-dark);
}

.header {
	padding: 3rem 2rem;
	width: min(90%, 1200px);
	margin: 2rem auto 1rem;
	border-radius: var(--border-radius);
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--primary-light) 50%,
		var(--secondary-color) 100%
	);
	color: white;
	text-align: center;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	font-family: 'Poppins', sans-serif;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	box-shadow: var(--shadow-lg);
	position: relative;
	overflow: hidden;
}

.header::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.1),
		transparent
	);
	transition: left 1s ease;
}

.header:hover::before {
	left: 100%;
}
.headerM {
	border-radius: var(--border-radius);
	width: 100%;
	height: 200px;
	background-image: linear-gradient(
			135deg,
			rgba(37, 99, 235, 0.9),
			rgba(16, 185, 129, 0.7),
			rgba(245, 158, 11, 0.6)
		),
		url(img/museums-victoria-TVe0IEdsVc8-unsplash.jpg);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.headerM::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		45deg,
		rgba(37, 99, 235, 0.2) 0%,
		transparent 30%,
		rgba(16, 185, 129, 0.2) 60%,
		transparent 100%
	);
	animation: shimmer 4s ease-in-out infinite alternate;
}
.headerM::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(
			circle at 20% 80%,
			rgba(37, 99, 235, 0.3) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(16, 185, 129, 0.3) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 40% 40%,
			rgba(245, 158, 11, 0.2) 0%,
			transparent 50%
		);
	animation: float 6s ease-in-out infinite;
}

@keyframes shimmer {
	0% {
		opacity: 0.6;
		transform: translateX(-10px);
	}
	50% {
		opacity: 1;
		transform: translateX(0px);
	}
	100% {
		opacity: 0.8;
		transform: translateX(10px);
	}
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
		opacity: 0.8;
	}
	33% {
		transform: translateY(-10px) rotate(1deg);
		opacity: 1;
	}
	66% {
		transform: translateY(5px) rotate(-1deg);
		opacity: 0.9;
	}
}

.focim {
	position: relative;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.95) 0%,
		rgba(248, 250, 252, 0.98) 100%
	);
	text-align: center;
	font-family: 'Poppins', sans-serif;
	margin: 2rem auto;
	width: min(90%, 1200px);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-lg), 0 0 50px rgba(37, 99, 235, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	overflow: hidden;
	border: 1px solid var(--border-color);
	backdrop-filter: blur(20px);
}

.focim::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--primary-color) 0%,
		var(--secondary-color) 50%,
		var(--accent-color) 100%
	);
	animation: slideIn 2s ease-out;
}

@keyframes slideIn {
	from {
		transform: translateX(-100%);
	}
	to {
		transform: translateX(0);
	}
}
#slot-title {
	color: var(--text-dark);
	text-align: center;
	padding: 3rem 2rem;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	margin: 0;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.98) 0%,
		rgba(255, 255, 255, 0.95) 100%
	);
	backdrop-filter: blur(15px);
	border-radius: var(--border-radius);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15),
		0 0 30px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1px 0 rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.3);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 92%;
	max-width: 900px;
	letter-spacing: -0.02em;
	line-height: 1.2;
	transition: var(--transition);
}

#slot-title:hover {
	transform: translate(-50%, -52%);
	box-shadow: 0 35px 70px -12px rgba(0, 0, 0, 0.2),
		0 0 40px rgba(37, 99, 235, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

#slot-title span:not(.rest) {
	font-size: 1em;
	text-transform: uppercase;
	font-weight: 900;
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--secondary-color) 50%,
		var(--accent-color) 100%
	);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 200% 200%;
	animation: gradientShift 3s ease-in-out infinite;
	display: inline-block;
	text-shadow: none;
}

#slot-title .rest {
	font-weight: 600;
	color: var(--text-light);
	font-size: 0.85em;
	margin-left: 0.2em;
}

@keyframes gradientShift {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

.headerM .particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 2;
}

.headerM .particle {
	position: absolute;
	width: 6px;
	height: 6px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	animation: particleFloat 15s linear infinite;
}

.headerM .particle:nth-child(1) {
	left: 10%;
	animation-delay: 0s;
}
.headerM .particle:nth-child(2) {
	left: 20%;
	animation-delay: 2s;
}
.headerM .particle:nth-child(3) {
	left: 30%;
	animation-delay: 4s;
}
.headerM .particle:nth-child(4) {
	left: 40%;
	animation-delay: 6s;
}
.headerM .particle:nth-child(5) {
	left: 50%;
	animation-delay: 8s;
}
.headerM .particle:nth-child(6) {
	left: 60%;
	animation-delay: 10s;
}
.headerM .particle:nth-child(7) {
	left: 70%;
	animation-delay: 12s;
}
.headerM .particle:nth-child(8) {
	left: 80%;
	animation-delay: 14s;
}

@keyframes floatCircle {
	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
		opacity: 0.1;
	}
	50% {
		transform: translateY(-20px) rotate(180deg);
		opacity: 0.2;
	}
}

@keyframes particleFloat {
	0% {
		transform: translateY(100vh) translateX(0px);
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	90% {
		opacity: 1;
	}
	100% {
		transform: translateY(-100px) translateX(50px);
		opacity: 0;
	}
}

/* Additional glowing effect for the title */
#slot-title {
	position: relative;
}

#slot-title::before {
	content: '';
	position: absolute;
	top: -10px;
	left: -10px;
	right: -10px;
	bottom: -10px;
	background: linear-gradient(
		45deg,
		rgba(37, 99, 235, 0.1),
		rgba(16, 185, 129, 0.1),
		rgba(245, 158, 11, 0.1)
	);
	border-radius: calc(var(--border-radius) + 5px);
	z-index: -1;
	animation: pulseGlow 4s ease-in-out infinite;
}

/* Header entrance animation */
.focim {
	animation: headerEntrance 1s ease-out;
}

@keyframes headerEntrance {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Enhanced mobile responsiveness */
@media screen and (max-width: 480px) {
	.headerM {
		height: 250px;
	}

	#slot-title {
		font-size: clamp(1.5rem, 4vw, 2rem);
		padding: 1.5rem 1rem;
	}

	.focim::after {
		width: 40px;
		height: 40px;
	}

	.headerM .particle {
		width: 4px;
		height: 4px;
	}
}

@keyframes pulseGlow {
	0%,
	100% {
		opacity: 0.5;
		transform: scale(1);
	}
	50% {
		opacity: 0.8;
		transform: scale(1.02);
	}
}

#closeButton > img {
	z-index: 100;
	position: absolute;
	filter: invert(1);
	transition: var(--transition);
}

#closeButton > img:hover {
	transform: scale(1.1);
}

.close-container {
	position: fixed;
	top: 1rem;
	right: 1rem;
	margin: 0;
	cursor: pointer;
	z-index: 300;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	border-radius: 50%;
	padding: 0.75rem;
	box-shadow: var(--shadow);
	transition: var(--transition);
	display: block;
}

.close-container:hover {
	background: var(--primary-color);
	transform: scale(1.05);
}

.close-container:hover img {
	filter: invert(1) brightness(2);
}

.close-container img {
	width: 24px;
	height: 24px;
	transition: var(--transition);
	filter: invert(0.5);
}

.open-container {
	position: fixed;
	top: 1rem;
	left: 1rem;
	margin: 0;
	cursor: pointer;
	z-index: 300;
	visibility: hidden;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	border-radius: 50%;
	padding: 0.75rem;
	box-shadow: var(--shadow);
	transition: var(--transition);
	display: block;
}

.open-container:hover {
	background: var(--primary-color);
	transform: scale(1.05);
}

.open-container:hover img {
	filter: invert(1) brightness(2);
}

.open-container img {
	width: 24px;
	height: 24px;
	transition: var(--transition);
	filter: invert(0.5);
}
.t {
	margin: 0;
	padding: 1rem 0;
	background: var(--background-secondary);
}

.center div {
	width: 100%;
}

.under p {
	padding: 0.75rem 1.5rem;
	margin-bottom: 0.5rem;
	background: var(--background);
	border-radius: var(--border-radius);
	border-left: 4px solid var(--primary-color);
	box-shadow: var(--shadow);
	transition: var(--transition);
	font-weight: 500;
}

.under p:hover {
	transform: translateX(8px);
	box-shadow: var(--shadow-lg);
	border-left-color: var(--secondary-color);
}

/* Map Styles */
.map :not(.row2) {
	width: 100%;
	margin: 0;
	padding: 0;
	background: none;
}

.mapouter {
	position: relative;
	text-align: right;
	height: 450px;
	width: 100%;
	box-shadow: var(--shadow-lg);
	border-radius: var(--border-radius);
	overflow: hidden;
	border: 1px solid var(--border-color);
	margin: 1.5rem 0;
}

.gmap_canvas {
	overflow: hidden;
	background: none !important;
	width: 100%;
	height: 450px;
}

.gmap_iframe {
	height: 450px !important;
}

.row2 p,
.row2 ul {
	font-size: 1rem;
	color: var(--text-light);
}
/* Responsive Design */
@media screen and (max-width: 1200px) {
	.background {
		width: 95%;
		padding: 2rem;
	}

	.navbar {
		width: 260px;
	}

	body {
		padding-left: 0;
	}
}

@media screen and (max-width: 768px) {
	.background {
		width: 95%;
		padding: 1.5rem;
		margin: 1rem auto;
	}

	.background div {
		font-size: 0.95rem;
	}

	.row2 h1,
	.row2 h2 {
		font-size: 1.5rem;
		margin-top: 1.5rem;
	}

	.header {
		width: 95%;
		padding: 2rem 1rem;
		font-size: clamp(1.5rem, 4vw, 2.5rem);
	}

	.navbar {
		width: 100%;
		transform: translateX(-100%);
	}

	.focim {
		width: 95%;
	}

	.headerM {
		height: 300px;
		background-attachment: scroll;
	}

	#slot-title {
		font-size: clamp(1.8rem, 4vw, 2.8rem);
		padding: 2rem 1.5rem;
		width: 95%;
	}

	#slot-title .rest {
		font-size: 0.8em;
	}

	.focim::after {
		width: 60px;
		height: 60px;
		top: 10%;
		right: 5%;
	}

	body {
		padding-left: 0;
	}
}

@media screen and (min-width: 769px) {
	body {
		padding-left: 280px;
	}

	.navbar {
		transform: translateX(0) !important;
	}

	.open-container {
		display: none !important;
	}

	.close-container {
		display: none !important;
	}
}

@media screen and (max-width: 480px) {
	.background {
		padding: 1rem;
	}

	.row2 h1,
	.row2 h2 {
		font-size: 1.25rem;
	}

	.list li:not(:first-of-type) a {
		margin: 0.5rem;
		padding: 0.75rem 1rem;
		font-size: 0.9rem;
	}
}

/* Smooth scrolling enhancement */
html {
	scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.background {
	animation: fadeInUp 0.6s ease-out;
}

/* Glassmorphism effects */
.glass {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}
