@import url('https://fonts.googleapis.com/css2?family=Cormorant+Unicase:wght@300;400;500;600;700&display=swap');

body {
	margin: 0;
	padding: 0;
	font-family: 'Cormorant Unicase', sans-serif;
	box-sizing: border-box;
	color: #333;
}

.home-page {
	background-image: url('assets/chasseurs-rhinoceros-tautavel-1024x671.jpg');

	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;

	min-height: 100vh;
	text-align: center;
}

/* Glassy Header */
.home-page header {
	padding: 30px;
	/* Made it slightly more white so text is readable over the image */
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.home-page h1 {
	margin: 0;
	font-size: 3rem;
	color: #4CC3D9;
	text-transform: uppercase;
	text-shadow: 0 2px 4px rgba(255, 255, 255, 0.25);
	letter-spacing: 2px;
}


.container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 40px 20px;
	gap: 30px;
}

.card {
	width: 300px;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);

	/* SHARP EDGES */
	border-radius: 0;
	transition: transform 0.2s, background 0.2s;
}

.card:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.4);
}

.card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	/* Added opacity so it blends slightly with the glass feel */
	border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.card-content {
	padding: 20px;
	text-align: left;
}

.card-title {
	font-size: 1.5rem;
	margin-bottom: 10px;
	font-weight: 600;
	color: #222;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Launch Button */
.launch-btn {
	display: block;
	background: #4CC3D9;
	color: white;
	text-decoration: none;
	padding: 15px 0;
	text-align: center;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: background 0.3s;
	border-radius: 0;
	box-shadow: 0 4px 15px rgba(76, 195, 217, 0.4);
}

.launch-btn:hover {
	background: #4CC3D9;
}

footer {
	margin-top: 40px;
	padding: 20px;
	font-size: 1.5rem;
	color: white;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
	/* Shadow to read against any image */
}

.ar-page {
	background-color: #fff;
	height: 100vh;
	overflow: hidden;
	width: 100vw;
}

model-viewer {
	width: 100%;
	height: 100%;
	--poster-color: transparent;
}

#ar-button {
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(93, 198, 18, 0.9);
	backdrop-filter: blur(5px);
	color: white;
	border: 2px solid white;
	padding: 15px 40px;
	font-family: 'Cormorant Unicase', sans-serif;
	font-weight: 600;
	font-size: 1.2rem;
	text-transform: uppercase;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	border-radius: 0;
}

#ar-button:active {
	transform: translateX(-50%) scale(0.95);
}

.back-btn {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: #333;
	text-decoration: none;
	padding: 10px 20px;
	font-weight: 600;
	font-family: 'Cormorant Unicase', sans-serif;
	text-transform: uppercase;
	border-radius: 0;
}
