* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	width: 100vw;
	min-height: 100svh;
	overflow-x: hidden;
	overflow: hidden; /* prevent horizontal scrolling initially */
}

.page-gallery body,
body.page-gallery {
	overflow-y: auto;
	overflow-x: hidden;
}

.container {
	min-height: 100svh;
	position: relative;
	background: #000000;
	padding-top: 80px; /* Account for fixed navigation */
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: black;
	z-index: 1;
	pointer-events: none;
}

.hero-main-container {
	width: 100%;
	height: 100vh;
	position: relative;
	transform: scale(1.25);
	background-image: url('../public/introducing.png');
	background-size: 1000vh;
	background-position: 50% 41.7%;
	background-repeat: no-repeat;
	background-origin: content-box;
	padding-bottom: 200px;
}

.hero-main-image {
	width: 100%;
	height: 100vh;
	/* transform: scale(1.25); */
	position: absolute;
	inset: 0;
	object-fit: cover;
}

.hero-main-logo {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	transform: translate(0, 0); /* Ensure perfect centering */
}

.hero-main-logo img {
	width: min(80vw, 900px);
	height: auto;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.hero-main-logo span {
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 800;
	font-size: clamp(2rem, 6vw, 6rem);
	line-height: 1;
	text-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.hero-text-logo-container {
	width: 100%;
	height: 100vh;
	position: absolute;
	inset: 0;
	z-index: -1;
	object-fit: cover;
	background-color: transparent;
	display: flex;
	flex-direction: column;
	gap: 4rem;
	justify-content: center;
	align-items: center;
}

.hero-content-wrapper {
	display: flex;
	width: 100%;
	height: 100%;
	position: relative;
	align-items: center;
	justify-content: center;
}

.hero-vertical-text {
	position: absolute;
	left: 2rem;
	top: 50%;
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	text-orientation: mixed;
	z-index: 2;
}

.hero-main-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	z-index: 2;
}

.hero-text-vertical {
	color: #ffb0c4;
	text-align: center;
	text-transform: uppercase;
	background-image: radial-gradient(
		circle at 50% 200vh,
		rgba(255, 214, 135, 0) 0,
		rgba(157, 47, 106, 0.5) 90vh,
		rgba(157, 47, 106, 0.8) 120vh,
		rgba(32, 31, 66, 0) 150vh
	);
	-webkit-text-fill-color: transparent;
	font-size: 3rem;
	background-clip: text;
	line-height: 0.9;
	margin: 0;
	letter-spacing: 0.1em;
}

.hero-tagline {
	color: #ffb0c4;
	font-size: 1.2rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin-top: 1rem;
	opacity: 0;
	background-image: radial-gradient(
		circle at 50% 200vh,
		rgba(255, 214, 135, 0) 0,
		rgba(157, 47, 106, 0.5) 90vh,
		rgba(157, 47, 106, 0.8) 120vh,
		rgba(32, 31, 66, 0) 150vh
	);
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transform: translateY(30px);
	transition: all 0.8s ease;
}

.hero-text-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background-image: url('../public/MAGNOVITEBW.png');
	background-repeat: no-repeat;
	background-position: 50% 41.7%;
	background-size: 40vh;
	background-repeat: no-repeat;
	background-origin: content-box;
	padding-bottom: 200px;
	height: 100vh;
	position: absolute;
	inset: 0;
}

/* Navigation Styles */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.25em;
}

.nav-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.nav-logo-row {
	text-decoration: none;
	color: #ffffff;
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: 0.05em;
	transition: color 0.3s ease;
	display: flex;
	align-items: center;
}

.nav-logo-row:hover {
	color: #ffb0c4;
}

.nav-logo-img {
	height: 50px;
	width: auto;
	transition: transform 0.3s ease;
}

.nav-logo-row:hover .nav-logo-img {
	transform: scale(1.05);
}

.nav-menu {
	display: flex;
	align-items: center;
}

.nav-menu__links {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.nav-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: #ffffff;
	font-weight: 500;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	transition: all 0.3s ease;
	position: relative;
	padding: 0.5rem 0;
}

.nav-link::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background: currentColor;
	transform-origin: center right;
	transform: scale(0, 1);
	transition: transform 0.3s ease;
	transition-delay: 0.1s;
}

.nav-link:hover::after {
	transform-origin: center left;
	transform: scale(1, 1);
	transition-delay: 0s;
}

.nav-link-text {
	position: relative;
	display: inline-block;
	transition: transform 0.3s ease;
}

/* Remove leading dot-like decoration; keep simple text label */
.nav-link-text::before {
	content: none;
}
.nav-link::before {
	content: none !important;
}
.nav-menu__links {
	list-style: none;
}
.nav-menu__links .nav-link {
	list-style: none;
}

.nav-link:hover .nav-link-text::before {
	background-position: 0 0;
}

.nav-link-arrow {
	width: 12px;
	height: 12px;
	transition: transform 0.3s ease;
	opacity: 0.7;
}

.nav-link:hover .nav-link-arrow {
	transform: translateX(2px);
	opacity: 1;
}

.nav-link:hover {
	color: #ff00ff;
	text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.nav-link:focus {
	outline: none;
	color: #ff00ff;
	text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Nav dividers */
.nav-link:not(:last-child)::before {
	content: '';
	position: absolute;
	right: -1.5rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 1rem;
	background: rgba(255, 255, 255, 0.2);
}

/* Magnovite Logo on Right */
.nav-right-logo {
	text-decoration: none;
	color: #ffffff;
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: 0.05em;
	transition: color 0.3s ease;
	display: flex;
	align-items: center;
	margin-left: 2rem;
}

.nav-right-logo:hover {
	color: #ffb0c4;
}

.nav-right-logo-img {
	height: 50px;
	width: auto;
	transition: transform 0.3s ease;
}

.nav-right-logo:hover .nav-right-logo-img {
	transform: scale(1.05);
}

/* Mobile Navigation */
@media (max-width: 768px) {
	.nav-container {
		padding: 0 1rem;
	}

	.nav-row {
		height: 70px;
	}

	.nav-logo-img {
		height: 45px;
	}

	/* Hide right logo on mobile */
	.nav-right-logo {
		display: none;
	}

	.nav-menu__links {
		gap: 2rem;
	}

	.nav-link {
		font-size: 0.9rem;
		gap: 0.5rem;
	}

	.nav-link::after {
		transform: scale(0, 1) !important;
	}

	.nav-link:not(:last-child)::before {
		right: -1rem;
	}

	.nav-link-arrow {
		width: 10px;
		height: 10px;
	}

	.container {
		padding-top: 70px; /* Adjust for mobile nav height */
	}
}

@media (max-width: 480px) {
	.nav-logo-img {
		height: 40px;
	}

	.nav-menu__links {
		gap: 1.5rem;
	}

	.nav-link {
		font-size: 0.85rem;
		gap: 0.4rem;
	}

	.nav-link:not(:last-child)::before {
		right: -0.75rem;
	}

	.nav-link-arrow {
		display: none;
	}
}

/* Scroll Indicator Styles */
.scroll-indicator {
	position: absolute;
	bottom: 10%;
	left: 50%;
	transform: translateX(-50%);
	width: 34px;
	height: 14px;
	z-index: 10;
}

.scroll-indicator svg {
	color: #ffffff;
	width: 100%;
	height: 100%;
}

.hero-text {
	color: #ffb0c4;
	text-align: center;
	text-transform: uppercase;
	background-image: radial-gradient(
		circle at 50% 200vh,
		rgba(255, 214, 135, 0) 0,
		rgba(157, 47, 106, 0.5) 90vh,
		rgba(157, 47, 106, 0.8) 120vh,
		rgba(32, 31, 66, 0) 150vh
	);
	-webkit-text-fill-color: transparent;
	font-size: 4.5rem;
	background-clip: text;
	width: 100%;
	line-height: 0.9;
	margin-top: 55%;
}

/* Mobile adjustments for MAGNOVITE 2025 heading */
@media (max-width: 768px) {
	.hero-text-logo-container {
		flex-direction: column;
		gap: 1rem;
		justify-content: center;
		align-items: center;
	}

	.hero-text-logo {
		background-size: 30vh;
		padding-bottom: 0;
		height: 36vh;
		position: relative;
		inset: auto;
		background-position: center center;
	}

	.hero-text {
		font-size: 3.25rem;
		margin-top: 0;
		padding: 0 1rem;
		position: relative;
		z-index: 2;
		text-align: center;
	}

	.hero-vertical-text {
		left: 1rem;
	}

	.hero-text-vertical {
		font-size: 2.5rem;
	}

	.hero-tagline {
		font-size: 1rem;
		margin-top: 0.8rem;
	}
}

@media (max-width: 480px) {
	.hero-text-logo {
		background-size: 30vh;
		height: 34vh;
	}

	.hero-text {
		font-size: 2.75rem;
		line-height: 1;
		margin-top: 0;
		padding: 0 1rem;
		overflow-wrap: anywhere;
		position: relative;
		z-index: 2;
		text-align: center;
	}

	.hero-vertical-text {
		left: 0.5rem;
	}

	.hero-text-vertical {
		font-size: 2rem;
	}

	.hero-tagline {
		font-size: 0.9rem;
		margin-top: 0.6rem;
	}
}

.hero-2-container {
	width: 100%;
	height: 100vh;
	position: absolute;
	inset: 0;
	/* z-index: -1; */
	opacity: 0;
	object-fit: cover;
	background-image: radial-gradient(
		circle at 50% 200vh,
		rgba(255, 214, 135, 0) 0,
		rgba(157, 47, 106, 0.5) 90vh,
		rgba(157, 47, 106, 0.8) 120vh,
		rgba(32, 31, 66, 0) 150vh
	);
	-webkit-text-fill-color: transparent;
	font-size: 6rem;
	background-clip: text;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	justify-content: center;
	align-items: flex-start;
	text-align: left;
	padding: 0 2rem; /* mobile */
	visibility: hidden;
}

.hero-2-container p {
	max-width: 90%;
	font-size: 1rem;
}

.hero-2-container h3 {
	font-size: 2.5rem;
}

/* Social Media Links */
.social-links {
	display: flex;
	gap: 2rem;
	margin-top: 2rem;
	justify-content: center;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #ffffff;
	transition: all 0.3s ease;
	width: 50px;
	height: 50px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
}

.social-link span {
	display: none;
}

.social-link:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-icon {
	width: 24px;
	height: 24px;
	transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
	transform: scale(1.1);
}

.instagram-link:hover {
	color: #e4405f;
}

.linkedin-link:hover {
	color: #0077b5;
}

/* Main Video Overlay */
.video-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: none;
	justify-content: center;
	align-items: flex-start;
	padding-top: 20vh;
	z-index: 2000;
	transform: none;
	pointer-events: none;
}

.video-modal.is-open {
	display: flex;
}

.video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: transparent;
	pointer-events: auto;
}

.video-modal__dialog {
	position: relative;
	width: min(90vw, 1200px);
	aspect-ratio: 16 / 9;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow: hidden;
	transform: translate(0, 0);
	pointer-events: auto;
}

.video-modal__video-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	background: transparent;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-modal__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}

/* Elegant Video Controls */
.video-modal__controls {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(10px);
	border-radius: 12px;
	padding: 12px 16px;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: auto;
}

.video-modal__dialog:hover .video-modal__controls {
	opacity: 1;
}

.video-modal__play-pause {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: all 0.3s ease;
}

.video-modal__play-pause:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.05);
}

.video-modal__progress {
	flex: 1;
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	position: relative;
	cursor: pointer;
}

.video-modal__progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
	border-radius: 2px;
	width: 0%;
	transition: width 0.1s ease;
}

.video-modal__time {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	min-width: 80px;
	text-align: center;
}

.video-modal__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
	pointer-events: auto;
}

.video-modal__close:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: scale(1.1);
}

.video-modal__close svg {
	width: 18px;
	height: 18px;
}

/* Mobile Fullscreen Landscape Mode */
@media (max-width: 768px) {
	.video-modal {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		display: none;
		justify-content: center;
		align-items: center;
		background: #000;
		z-index: 9999;
		padding: 0;
	}

	.video-modal.is-open {
		display: flex;
	}

	.video-modal__dialog {
		width: 100vw;
		height: 100vh;
		aspect-ratio: unset;
		background: #000;
		border-radius: 0;
		box-shadow: none;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.video-modal__video-wrap {
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		background: #000;
		border-radius: 0;
		box-shadow: none;
	}

	.video-modal__video {
		width: 100%;
		height: 100%;
		object-fit: contain;
		border-radius: 0;
	}

	.video-modal__controls {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: rgba(0, 0, 0, 0.8);
		backdrop-filter: blur(10px);
		border-radius: 0;
		padding: 16px;
		opacity: 1;
		z-index: 10000;
	}

	.video-modal__close {
		position: fixed;
		top: 20px;
		right: 20px;
		width: 50px;
		height: 50px;
		background: rgba(0, 0, 0, 0.7);
		backdrop-filter: blur(10px);
		border: 2px solid rgba(255, 255, 255, 0.3);
		z-index: 10001;
	}

	.video-modal__close svg {
		width: 24px;
		height: 24px;
	}
}

/* Mobile Social Links */
@media (max-width: 768px) {
	.social-links {
		gap: 1.5rem;
		margin-top: 1.5rem;
	}

	.social-link {
		width: 45px;
		height: 45px;
	}

	.social-icon {
		width: 22px;
		height: 22px;
	}
}

@media (max-width: 480px) {
	.social-links {
		gap: 1.2rem;
		margin-top: 1.5rem;
	}

	.social-link {
		width: 40px;
		height: 40px;
	}

	.social-icon {
		width: 20px;
		height: 20px;
	}
}

@media (min-width: 1024px) {
	.hero-text {
		font-size: 6rem;
	}

	.scroll-indicator {
		bottom: 30px;
	}

	.hero-2-container {
		margin: 0 auto;
		max-width: 60%;
		padding: 0;
	}

	.hero-2-container p {
		max-width: 90%;
		font-size: 2rem;
	}

	.hero-2-container h3 {
		font-size: 3.5rem;
	}
}

/* Gallery */
.gallery-container {
	min-height: 100svh;
	background: #000;
	padding-top: 80px;
}

.gallery-hero {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.5rem 1rem;
	color: #fff;
}

.gallery-grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem 3rem;
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1rem;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
}

.gallery-item img,
.gallery-item video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.gallery-img {
	transition: transform 0.35s ease;
	cursor: zoom-in;
}

.gallery-item:hover .gallery-img {
	transform: scale(1.06);
}

@media (min-width: 700px) {
	.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.gallery-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 3000;
}

.lightbox.is-active {
	display: grid;
	place-items: center;
}

.lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 220ms ease;
}

.lightbox__chrome {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	gap: 8px;
	z-index: 1;
}

.lightbox__btn {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
}

.lightbox__btn:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lightbox__stage {
	width: min(96vw, 1200px);
	max-height: 90vh;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(20, 20, 24, 0.95);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
	overflow: hidden;
	display: grid;
	place-items: center;
	grid-template-columns: auto;
	position: relative;
	transform: scale(0.96);
	opacity: 0;
	transition: transform 220ms ease, opacity 220ms ease;
}

#lightboxImg {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform-origin: center center;
	cursor: grab;
}

.lightbox__prev,
.lightbox__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	background: rgba(255, 255, 255, 0.08);
}
.lightbox.is-open .lightbox__backdrop {
	opacity: 1;
}
.lightbox.is-open .lightbox__stage {
	transform: scale(1);
	opacity: 1;
}

.lightbox__prev {
	left: 10px;
}
.lightbox__next {
	right: 10px;
}

/* Footer */
.site-footer {
	z-index: 100;
	width: 100%;
	background: #121212;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #d9d9d9;
	padding: 2rem 1.5rem;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
	justify-content: flex-end; /* keep both logos grouped on the right side */
	flex-direction: row-reverse; /* order: Christ then Magnovite */
}

.footer-logo {
	height: 56px;
	width: auto;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.footer-logo--christ {
	height: 68px;
}

.footer-divider {
	display: none;
}

.footer-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.footer-col h4 {
	color: #ffffff;
	margin-bottom: 0.75rem;
}

.footer-link {
	display: block;
	color: #6fe4c6;
	text-decoration: none;
	margin: 0.25rem 0;
}

.footer-link:hover {
	text-decoration: underline;
}

.footer-social {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

@media (min-width: 900px) {
	.footer-columns {
		grid-template-columns: 2fr 2fr;
		align-items: start;
	}
}
