@charset "utf-8";
/* 

CSS Document 

TemplateMo 615 Amber Folio

https://templatemo.com/tm-615-amber-folio

*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* :root {
	--primary-dark: #0a0a0a;
	--secondary-dark: #1a1a1a;
	--accent-color: #f39c12;
	--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;
}

/* Custom Scrollbar */
/* ::-webkit-scrollbar {
	width: 8px;
} */

::-webkit-scrollbar-track {
	background: var(--secondary-dark);
}

::-webkit-scrollbar-thumb {
	background: var(--accent-color);
	border-radius: 4px;
}

/* Header Navigation */
/* header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(85, 19, 19, 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;
}

.logo {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.5px;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: all 0.3s ease;
}

.logo:hover {
	color: rgba(255, 255, 255, 0.85);
}

.logo svg {
	width: 32px;
	height: 32px;
	fill: var(--accent-color);
	opacity: 0.9;
	transition: all 0.3s ease;
}

.logo:hover svg {
	opacity: 1;
	transform: rotate(-5deg) scale(1.05);
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 5px;
}

.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(243, 156, 18, 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(243, 156, 18, 0.08) 0%,
			rgba(243, 156, 18, 0.03) 100%);
	border-color: rgba(243, 156, 18, 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(243, 156, 18, 0.1);
	border-color: rgba(243, 156, 18, 0.25);
}

/* 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;
}

/* Hero Section */
.hero-section {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
	margin-top: 0;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0.2;
	background-image:
		repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(243, 156, 18, 0.04) 35px, rgba(243, 156, 18, 0.04) 70px),
		repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255, 255, 255, .04) 35px, rgba(255, 255, 255, .04) 70px),
		repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(243, 156, 18, 0.03) 50px, rgba(243, 156, 18, 0.03) 100px);
}

/* Animated geometric shapes for hero background */
.hero-section::before {
	content: '';
	position: absolute;
	top: 10%;
	right: 10%;
	width: 300px;
	height: 300px;
	border: 2px solid rgba(243, 156, 18, 0.15);
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	animation: morphShape 20s ease-in-out infinite;
	background: radial-gradient(circle at 30% 50%, rgba(243, 156, 18, 0.03), transparent 70%);
}

.hero-section::after {
	content: '';
	position: absolute;
	bottom: 10%;
	left: 5%;
	width: 280px;
	height: 280px;
	border: 2px solid rgba(243, 156, 18, 0.12);
	border-radius: 50%;
	animation: rotateShape 25s linear infinite;
	background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02), transparent 60%);
	box-shadow: 0 0 40px rgba(243, 156, 18, 0.1);
}

/* Additional floating accent shapes */
.hero-shapes {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.floating-accent {
	position: absolute;
	border: 1px solid rgba(243, 156, 18, 0.1);
	animation: float 15s ease-in-out infinite;
}

.accent-1 {
	top: 20%;
	left: 10%;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	animation-delay: 0s;
}

.accent-2 {
	bottom: 30%;
	right: 15%;
	width: 100px;
	height: 100px;
	border-radius: 30% 70% 70% 30%;
	animation-delay: -5s;
}

.accent-3 {
	top: 50%;
	right: 30%;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	animation-delay: -10s;
	border-color: rgba(255, 255, 255, 0.05);
}

@keyframes morphShape {

	0%,
	100% {
		border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
		transform: rotate(0deg) scale(1);
	}

	33% {
		border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
		transform: rotate(120deg) scale(1.1);
	}

	66% {
		border-radius: 30% 70% 40% 60% / 60% 30% 70% 40%;
		transform: rotate(240deg) scale(0.95);
	}
}

@keyframes rotateShape {
	0% {
		transform: rotate(0deg) scale(1);
	}

	50% {
		transform: rotate(180deg) scale(1.05);
	}

	100% {
		transform: rotate(360deg) scale(1);
	}
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0) translateX(0) rotate(0deg);
	}

	25% {
		transform: translateY(-20px) translateX(10px) rotate(90deg);
	}

	50% {
		transform: translateY(10px) translateX(-10px) rotate(180deg);
	}

	75% {
		transform: translateY(-10px) translateX(5px) rotate(270deg);
	}
}

.hero-content {
	text-align: center;
	z-index: 1;
	padding: 0 20px;
}

.hero-title {
	font-size: clamp(2.5rem, 8vw, 5rem);
	font-weight: 900;
	letter-spacing: -2px;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: clamp(1rem, 2vw, 1.3rem);
	color: var(--text-gray);
	margin-bottom: 40px;
	font-weight: 300;
	letter-spacing: 2px;
}

.cta-button {
	display: inline-block;
	padding: 15px 40px;
	background: var(--accent-color);
	color: var(--primary-dark);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 2px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
}

/* Portfolio Section with Coverflow */
.portfolio-section {
	padding: 100px 0;
	position: relative;
	background: var(--primary-dark);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
	padding: 0 20px;
}

.section-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	letter-spacing: -1px;
	margin-bottom: 15px;
}

.section-subtitle {
	color: var(--text-gray);
	font-size: 16px;
	max-width: 600px;
	margin: 0 auto;
}

/* Coverflow Container */
.coverflow-wrapper {
	width: 100%;
	position: relative;
	padding: 40px 0 80px;
}

.coverflow-container {
	width: 900px;
	max-width: 90vw;
	/* Dynamic height based on viewport: min 350px, preferred 45vh, max 500px */
	height: clamp(350px, 45vh, 500px);
	position: relative;
	transform-style: preserve-3d;
	margin: 0 auto;
	perspective: 1200px;
}

.coverflow-item {
	position: absolute;
	/* Dynamic width based on viewport: min 210px, preferred 27vh, max 300px */
	width: clamp(210px, 27vh, 300px);
	/* Dynamic height based on viewport: min 290px, preferred 38vh, max 420px */
	height: clamp(290px, 38vh, 420px);
	left: 50%;
	top: 50%;
	transform-origin: center center;
	cursor: pointer;
	transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

/* Adjust for large screens (27" and above) */
@media (min-height: 900px) {
	.coverflow-container {
		height: clamp(450px, 50vh, 550px);
	}

	.coverflow-item {
		width: clamp(280px, 30vh, 340px);
		height: clamp(390px, 42vh, 480px);
	}
}

/* Adjust for small laptops */
@media (max-height: 768px) {
	.coverflow-container {
		height: clamp(300px, 42vh, 380px);
	}

	.coverflow-item {
		width: clamp(180px, 24vh, 240px);
		height: clamp(250px, 34vh, 320px);
	}
}

/* Reflection Effect */
.coverflow-item::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 100%;
	background: inherit;
	transform: scaleY(-1) translateY(1px);
	opacity: 0.15;
	filter: blur(2px);
	mask: linear-gradient(to bottom,
			rgba(0, 0, 0, 0.4) 0%,
			rgba(0, 0, 0, 0.2) 20%,
			rgba(0, 0, 0, 0.1) 40%,
			transparent 60%);
	-webkit-mask: linear-gradient(to bottom,
			rgba(0, 0, 0, 0.4) 0%,
			rgba(0, 0, 0, 0.2) 20%,
			rgba(0, 0, 0, 0.1) 40%,
			transparent 60%);
	pointer-events: none;
}

.portfolio-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.coverflow-item:hover .portfolio-image {
	transform: scale(1.15);
}

.portfolio-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top,
			rgba(0, 0, 0, 0.95) 0%,
			rgba(0, 0, 0, 0.7) 40%,
			rgba(0, 0, 0, 0.3) 70%,
			transparent 100%);
	padding: 30px;
	transform: translateY(100px);
	transition: transform 0.4s ease;
}

.coverflow-item:hover .portfolio-overlay {
	transform: translateY(0);
}

.portfolio-category {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--accent-color);
	margin-bottom: 8px;
	font-weight: 600;
}

.portfolio-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--text-light);
}

.portfolio-description {
	font-size: 13px;
	color: var(--text-gray);
	line-height: 1.5;
}

/* Navigation Controls */
.coverflow-controls {
	position: absolute;
	/* bottom: 2px; */
	left: 50%;
	top: 95%;
	transform: translateX(-50%);
	display: flex;
	gap: 15px;
	z-index: 10;
}

.control-btn {
	width: 45px;
	height: 45px;
	border: 2px solid rgba(5, 14, 21, 0.2);
	background: rgba(48, 140, 245, 0.926);
	backdrop-filter: blur(10px);
	color: var(--text-light);
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.3s ease;
	position: relative;
}

.control-btn:hover {
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--primary-dark);
	transform: scale(1.1);
}

/* Adjust play button icon positioning */
#playPauseBtn {
	padding-left: 2px;
}

#playPauseBtn.playing {
	padding-left: 0;
}

/* Indicators */
.indicators {
	position: absolute;
	bottom: -80px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}

.indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(15, 70, 197, 0.2);
	cursor: pointer;
	transition: all 0.3s ease;
}

.indicator.active {
	width: 30px;
	border-radius: 4px;
	background: var(--accent-color);
}


/* 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(92, 1, 1, 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);
}