@charset "utf-8"; 

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-dark: #0a0a0a;
	--secondary-dark: #1a1a1a;
	--accent-color: #b81144;
	--text-light: #ffffff;
	--text-gray: #a0a0a0;
	--card-dark: #151515;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: var(--primary-dark);
	color: var(--text-light);
	overflow-x: hidden;
	line-height: 1.6;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--secondary-dark);
}

::-webkit-scrollbar-thumb {
	background: var(--accent-color);
	border-radius: 4px;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(10, 10, 10, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	padding: 20px 0;
	transition: all 0.3s ease;
}

header.scrolled {
	padding: 15px 0;
	background: rgba(10, 10, 10, 0.98);
}

nav {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 5px;
	margin: 0 auto;
}

.nav-menu a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.5px;
	padding: 10px 18px;
	position: relative;
	transition: all 0.3s ease;
	border-radius: 6px;
	background: transparent;
	border: 1px solid transparent;
}

.nav-menu a::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: radial-gradient(circle, rgba(184, 17, 68, 0.15) 0%, transparent 70%);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.4s ease;
	z-index: -1;
}

.nav-menu a:hover {
	color: rgba(255, 255, 255, 0.9);
	background: linear-gradient(135deg,
			rgba(184, 17, 68, 0.08) 0%,
			rgba(184, 17, 68, 0.03) 100%);
	border-color: rgba(184, 17, 68, 0.2);
	transform: translateY(-1px);
}

.nav-menu a:hover::before {
	width: 100%;
	height: 100%;
	border-radius: 6px;
}

.nav-menu a.active {
	color: var(--accent-color);
	background: rgba(184, 17, 68, 0.1);
	border-color: rgba(184, 17, 68, 0.25);
}

.menu-image {
	width: 30px;
	aspect-ratio: 2/1;
	height: auto;
	margin-top: auto;
	margin-bottom: auto;
}
/* Mobile Menu Toggle */
.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 4px;
}

.menu-toggle span {
	width: 25px;
	height: 2px;
	background: var(--text-light);
	transition: all 0.3s ease;
}

.portfolio-section {
	padding-bottom: 0;
    padding-top: 100px;
	position: relative;
	background: var(--primary-dark);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.section-image {
	margin: 0 auto;
	width: 330px;
	aspect-ratio: 7/2.7;
	height: auto;
	margin-bottom: 30px;
}

.about-section {
	padding: 20px 30px;
	background: var(--primary-dark);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position:relative;
	overflow: hidden;
	padding-top: 100px;
	text-align: center;
}

.gallery {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 1;
	margin-bottom: 100px;
}

#viewer {
	width: auto;
	height: 550px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	z-index: 2;
}

#viewer img {
    max-width: 100%;
    max-height: 100%;
	object-fit: contain;
	border: 2px solid var(--accent-color);
	border-radius: 1px;
}

.backgroundCanvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

h1 {
	font-size: 25px;
	margin-top: 20px;
	font-weight: 600;
}

h2 {
	font-size: 25px;
	margin-top: 50px;
	margin-bottom: 20px;
	font-weight: 600;
}

p {
	font-size: 15px;
	margin-bottom: 20px;
	font-weight: 100;
}

.about-me {
	z-index: 1;
	padding-bottom: 50px;
}

footer {
	background: var(--primary-dark);
	padding: 40px 30px;
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
}

.footer-text {
	color: var(--text-gray);
	font-size: 14px;
	line-height: 1.8;
}

.footer-text a {
	color: var(--accent-color);
	text-decoration: none;
	font-weight: 600;
	transition: opacity 0.3s ease;
}

.footer-text a:hover {
	opacity: 0.8;
}

@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		left: -100%;
		top: 70px;
		flex-direction: column;
		background: rgba(10, 10, 10, 0.98);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		padding: 30px 0;
		gap: 10px;
		backdrop-filter: blur(10px);
	}

	.nav-menu.active {
		left: 0;
	}

	.nav-menu a {
		padding: 12px 20px;
		display: block;
		font-size: 16px;
	}

	.menu-toggle {
		display: flex;
	}

	.menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -5px);
	}

	.coverflow-container {
		height: clamp(280px, 40vh, 350px);
	}

	.coverflow-item {
		width: clamp(170px, 22vh, 220px);
		height: clamp(230px, 30vh, 300px);
	}

	.about-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.stats {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}

	.stat-number {
		font-size: 1.8rem;
	}

	.contact-info {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 2.5rem;
	}

	.coverflow-container {
		height: clamp(250px, 38vh, 320px);
	}

	.coverflow-item {
		width: clamp(150px, 20vh, 200px);
		height: clamp(200px, 28vh, 280px);
	}

	.portfolio-overlay {
		padding: 20px;
	}

	.portfolio-title {
		font-size: 18px;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}
}

/* Loading Animation */
.loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--primary-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: opacity 0.5s ease;
}

.loading-screen.hidden {
	opacity: 0;
	pointer-events: none;
}

.loader {
	width: 50px;
	height: 50px;
	border: 3px solid rgba(255, 255, 255, 0.1);
	border-top-color: var(--accent-color);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Smooth Reveal Animations */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease;
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}
