/* =========================================
   GOOGLE FONTS
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Inter:wght@300;400;600&display=swap');

/* =========================================
   ROOT VARIABLES
========================================= */
:root {
	--primary-color: #0026a0;
	--primary-dark: #001533;
	--bg-image: url('background.jpg');
	--text-color: #111;
	--subtext-color: #2b2b2b;
	--card-shadow: 0 6px 20px rgba(0,0,0,0.08);
	--btn-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* =========================================
   BASE STYLES
========================================= */
html, body {
	height: 100%;
	margin: 0;
	font-family: 'Inter', sans-serif;
	color: var(--text-color);
	line-height: 1.6;
	overflow-x: hidden;
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: var(--bg-image) center/cover no-repeat;
	opacity: 0.3;
}

h2, h3 {
	font-family: 'Rajdhani', sans-serif;
	color: var(--primary-color);
}

p {
	color: var(--subtext-color);
}

/* =========================================
   CONTAINERS
========================================= */
.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1rem;
	box-sizing: border-box;
}

.page-wrapper {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1rem;
	box-sizing: border-box;
	min-height: 100vh;
	position: relative;
	overflow: hidden;
	background: transparent;
}

.page-wrapper::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(
		to right,
		rgba(255,255,255,0) 0%,
		rgba(255,255,255,0.6) 35%,
		rgba(255,255,255,0.6) 65%,
		rgba(255,255,255,0) 100%
	);
	z-index: 0;
}

.page-wrapper > * {
	position: relative;
	z-index: 1;
}

/* =========================================
   HEADER
========================================= */
#site-header {
	position: fixed;
	top: 20px;
	left: 0;
	width: 100%;
	z-index: 1000;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

#site-header .container {
	max-width: 1100px;
	width: 100%;
	margin: 0 1rem;
	padding: 1rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	background-color: rgba(255,255,255,0.2);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	pointer-events: all;
}

#site-header .logo {
	height: 40px;
	display: block;
}

#site-header nav-inner {
	display: flex;
	gap: 1.5rem;

}

#site-header nav a {
	font-weight: 500;
	text-decoration: none;
	color: var(--text-color);
}

#site-header nav a:hover {
	color: var(--primary-color);
}

/* Mobile menu toggle */
.menu-toggle {
	display: none;
	font-size: 1.8rem;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-color);
}

/* =========================================
   HEADER MOBILE
========================================= */
@media (max-width: 768px) {
	#site-header .container {
		flex-wrap: wrap;
		position: relative;
	}

	.menu-toggle {
		display: block;
		margin-left: auto;
		z-index: 1100;
	}

	#site-header nav {
		position: fixed;      
		top: 91px;             
		right: 0;
		left: 0;            
		width: auto;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 1rem;

		/* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); */
		border-radius: 0 0 8px 8px;

		opacity: 0;
		pointer-events: none;

		z-index: 1100; 
	}

	#site-header nav.open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
		box-shadow: none;

	}

	#site-header nav a {
		width: 100%;
		padding: 0.5rem 0;
		text-align: right;
		color: var(--text-color);
		box-shadow: none;

	}
}

/* =========================================
   HERO SECTION
========================================= */
section.hero {
	text-align: center;
	padding: 4rem 1rem 3rem;
	background: transparent;
}

section.hero h1 {
	font-family: 'Rajdhani', sans-serif;
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
	letter-spacing: 1px;
}

section.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

section.hero .btn {
	display: inline-block;
	background: var(--primary-color);
	color: #fff;
	padding: 1rem 2rem;
	font-weight: 600;
	border-radius: 8px;
	box-shadow: var(--btn-shadow);
	text-decoration: none;
}

section.hero .btn:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* =========================================
   SECTIONS
========================================= */
#welcome,
#project-details,
#music-section,
#testimonials {
	margin: 2rem auto;
	background-color: transparent;
}

#welcome img,
#music-section img,
#project-details img {
	width: 100%;
	max-width: 400px;
	border-radius: 8px;
	box-shadow: var(--card-shadow);
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 1rem;
}

.project {
	text-align: center;
}

.project img {
	max-width: 100%;
	border-radius: 8px;
	display: block;
	margin: 0 auto 1rem;
}

.project h3 {
	margin: 0;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
	display: inline-block;
	background: var(--primary-color);
	color: #fff;
	padding: 1rem 2rem;
	font-weight: 600;
	border-radius: 8px;
	box-shadow: var(--btn-shadow);
	text-decoration: none;
	margin-top: 1rem;
}

.btn:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* =========================================
   AUDIO PLAYER
========================================= */
.custom-audio-player {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 1rem auto;
	padding: 0.75rem 0;
	max-width: 600px;
	background: #f9f9f9;
	border-radius: 12px;
	border: 1px solid #ddd;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	color: #333;
	user-select: none;
}

.custom-audio-player button {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 50%;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #333;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.custom-audio-player button:hover {
	background: #cce0ff;
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.custom-audio-player button svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/* Slider */
input[type=range] {
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 130px;
	height: 6px;
	background: #e6f0ff;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

input[type=range]:hover {
	background: #cce0ff;
}

/* WebKit (Chrome, Safari) */
input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 14px;
	background: var(--primary-color);
	border-radius: 50%;
	border: 2px solid #fff;
	cursor: pointer;
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
}

/* WebKit hover */
input[type=range]:hover::-webkit-slider-thumb {
	background: var(--primary-dark);
}

/* Mozilla Firefox */
input[type=range]::-moz-range-thumb {
	width: 14px;
	height: 14px;
	background: var(--primary-color);
	border-radius: 50%;
	border: 2px solid #fff;
	cursor: pointer;
	box-shadow: 0 0 3px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
}

/* Mozilla hover */
input[type=range]:hover::-moz-range-thumb {
	background: var(--primary-dark);
}

#volume {
	width: 100px;
}

.timestamp {
	font-family: monospace;
	font-size: 0.85rem;
	color: #666;
	min-width: 85px;
	text-align: center;
}

/* =========================================
   AUDIO PLAYER MOBILE
========================================= */
@media (max-width: 600px) {
	.custom-audio-player {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
		padding: 1rem;
		max-width: 90%;
	}

	.custom-audio-player button {
		width: 50px;
		height: 50px;
		margin: 0 auto;
	}

	input[type=range] {
		width: 100%;
	}

	.timestamp {
		font-size: 0.8rem;
		min-width: unset;
	}

	#volume {
		width: 100%;
	}
}


/* =========================================
   FOOTER
========================================= */
footer {
	text-align: center;
	padding: 2rem;
	background: transparent;
	border-top: 1px solid #eee;
	color: #666;
}
