/* ================================
   Custom Font Declaration
   ================================ */
@font-face {
	font-family: 'Chinese Sthupo';
	src: url('../fonts/chinese.sthupo.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* ================================
   Global Styles & Resets
   ================================ */
* {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial, sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
}

/* ================================
   Navigation Styles
   ================================ */
nav {
	background: transparent !important;
	box-shadow: none !important;
}

/* Add background on mobile */
@media (max-width: 768px) {
	nav {
		background: rgba(46, 34, 34, 0.8) !important;
		backdrop-filter: blur(10px);
	}
}

.navbar-brand {
	font-family: 'Chinese Sthupo', sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	color: #ffb319;
	text-decoration: none;
	transition: all 0.3s ease;
	letter-spacing: 0.02em;
}

.navbar-brand:hover {
	color: #d94e2a;
	transform: scale(1.05);
}

.nav-link {
	color: #f7f0e6;
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 0;
	position: relative;
	transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
	color: #ffb319;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #d94e2a, #ffb319);
	transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
	width: 100%;
}

.nav-link.active {
	color: #d94e2a;
}

.mobile-nav-link {
	display: block;
	color: #f7f0e6;
	text-decoration: none;
	font-weight: 500;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
	background-color: rgba(217, 78, 42, 0.1);
	color: #ffb319;
	transform: translateX(8px);
}

.mobile-nav-link.active {
	background-color: rgba(217, 78, 42, 0.2);
	color: #d94e2a;
	border-left: 3px solid #d94e2a;
}

/* ================================
   Button Styles
   ================================ */
.btn-primary {
	display: inline-flex;
	align-items: center;
	padding: 1rem 2rem;
	background: linear-gradient(135deg, #d94e2a, #ffb319);
	color: #fff8e8;
	text-decoration: none;
	font-weight: 600;
	border-radius: 0.5rem;
	box-shadow: 0 4px 15px rgba(217, 78, 42, 0.4);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.btn-primary::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #ffb319, #d94e2a);
	transition: left 0.3s ease;
	z-index: -1;
}

.btn-primary:hover::before,
.btn-primary:focus::before {
	left: 0;
}

.btn-primary:hover,
.btn-primary:focus {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(217, 78, 42, 0.6);
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	padding: 1rem 2rem;
	background: transparent;
	color: #f7f0e6;
	text-decoration: none;
	font-weight: 600;
	border: 2px solid #ffb319;
	border-radius: 0.5rem;
	transition: all 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
	background: #ffb319;
	color: #2e2222;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(255, 179, 25, 0.4);
}

/* ================================
   Section Title Styles
   ================================ */
.section-title {
	text-align: center;
	font-size: 3rem;
	font-weight: 700;
	color: #d94e2a;
	margin-bottom: 3rem;
	position: relative;
	padding-bottom: 1rem;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background: linear-gradient(90deg, #d94e2a, #ffb319);
	border-radius: 2px;
}

/* ================================
   Show Card Styles
   ================================ */
.show-card {
	background: white;
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	display: flex;
	gap: 1.5rem;
	align-items: center;
	border-left: 4px solid #d94e2a;
}

.show-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 12px 24px rgba(217, 78, 42, 0.2);
	border-left-width: 6px;
}

.show-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem;
	background: linear-gradient(135deg, #f7f0e6, #fff8e8);
	border-radius: 0.5rem;
	min-width: 80px;
}

/* ================================
   Quick Link Card Styles
   ================================ */
.quick-link-card {
	background: rgba(247, 240, 230, 0.05);
	border: 2px solid rgba(217, 78, 42, 0.3);
	border-radius: 1rem;
	padding: 2.5rem 2rem;
	text-align: center;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	backdrop-filter: blur(10px);
}

.quick-link-card:hover,
.quick-link-card:focus {
	transform: translateY(-12px) scale(1.05);
	border-color: #d94e2a;
	background: rgba(217, 78, 42, 0.1);
	box-shadow: 0 12px 30px rgba(217, 78, 42, 0.3);
}

/* ================================
   Noise Texture Overlay
   ================================ */
.noise-texture {
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
	pointer-events: none;
}

/* ================================
   Scroll Animations
   ================================ */
.fade-in-up {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 0.8s ease forwards;
}

.delay-100 {
	animation-delay: 0.1s;
}

.delay-200 {
	animation-delay: 0.2s;
}

.delay-300 {
	animation-delay: 0.3s;
}

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ================================
   Logo Animations
   ================================ */
.logo-container {
	position: relative;
	z-index: 10;
	padding: 0.5rem 0;
}

.logo-container svg {
	height: 60px;
	width: auto;
	transition: all 0.3s ease;
}

.logo-container:hover svg {
	transform: scale(1.05);
}

#hero-logo svg {
	width: 100%;
	height: auto;
}

/* Pulse animation that travels left to right across waveform */
.waveform-bar {
	animation: pulse 4s ease-in-out infinite;
	transform-origin: bottom center;
	transition: opacity 0.3s ease;
}

/* Create staggered delay to simulate wave traveling left to right */
.waveform-bar:nth-child(1) {
	animation-delay: 0s;
}
.waveform-bar:nth-child(2) {
	animation-delay: 0.05s;
}
.waveform-bar:nth-child(3) {
	animation-delay: 0.1s;
}
.waveform-bar:nth-child(4) {
	animation-delay: 0.15s;
}
.waveform-bar:nth-child(5) {
	animation-delay: 0.2s;
}
.waveform-bar:nth-child(6) {
	animation-delay: 0.25s;
}
.waveform-bar:nth-child(7) {
	animation-delay: 0.3s;
}
.waveform-bar:nth-child(8) {
	animation-delay: 0.35s;
}
.waveform-bar:nth-child(9) {
	animation-delay: 0.4s;
}
.waveform-bar:nth-child(10) {
	animation-delay: 0.45s;
}
.waveform-bar:nth-child(11) {
	animation-delay: 0.5s;
}
.waveform-bar:nth-child(12) {
	animation-delay: 0.55s;
}
.waveform-bar:nth-child(13) {
	animation-delay: 0.6s;
}
.waveform-bar:nth-child(14) {
	animation-delay: 0.65s;
}
.waveform-bar:nth-child(15) {
	animation-delay: 0.7s;
}
.waveform-bar:nth-child(16) {
	animation-delay: 0.75s;
}
.waveform-bar:nth-child(17) {
	animation-delay: 0.8s;
}
.waveform-bar:nth-child(18) {
	animation-delay: 0.85s;
}
.waveform-bar:nth-child(19) {
	animation-delay: 0.9s;
}
.waveform-bar:nth-child(20) {
	animation-delay: 0.95s;
}
.waveform-bar:nth-child(21) {
	animation-delay: 1s;
}
.waveform-bar:nth-child(22) {
	animation-delay: 1.05s;
}
.waveform-bar:nth-child(23) {
	animation-delay: 1.1s;
}
.waveform-bar:nth-child(24) {
	animation-delay: 1.15s;
}
.waveform-bar:nth-child(25) {
	animation-delay: 1.2s;
}
.waveform-bar:nth-child(26) {
	animation-delay: 1.25s;
}
.waveform-bar:nth-child(27) {
	animation-delay: 1.3s;
}
.waveform-bar:nth-child(28) {
	animation-delay: 1.35s;
}
.waveform-bar:nth-child(29) {
	animation-delay: 1.4s;
}
.waveform-bar:nth-child(30) {
	animation-delay: 1.45s;
}
.waveform-bar:nth-child(31) {
	animation-delay: 1.5s;
}
.waveform-bar:nth-child(32) {
	animation-delay: 1.55s;
}
.waveform-bar:nth-child(33) {
	animation-delay: 1.6s;
}
.waveform-bar:nth-child(34) {
	animation-delay: 1.65s;
}
.waveform-bar:nth-child(35) {
	animation-delay: 1.7s;
}
.waveform-bar:nth-child(36) {
	animation-delay: 1.75s;
}
.waveform-bar:nth-child(37) {
	animation-delay: 1.8s;
}
.waveform-bar:nth-child(38) {
	animation-delay: 1.85s;
}
.waveform-bar:nth-child(39) {
	animation-delay: 1.9s;
}
.waveform-bar:nth-child(40) {
	animation-delay: 1.95s;
}
.waveform-bar:nth-child(41) {
	animation-delay: 2s;
}
.waveform-bar:nth-child(42) {
	animation-delay: 2.05s;
}
.waveform-bar:nth-child(43) {
	animation-delay: 2.1s;
}
.waveform-bar:nth-child(44) {
	animation-delay: 2.15s;
}
.waveform-bar:nth-child(45) {
	animation-delay: 2.2s;
}
.waveform-bar:nth-child(46) {
	animation-delay: 2.25s;
}
.waveform-bar:nth-child(47) {
	animation-delay: 2.3s;
}
.waveform-bar:nth-child(48) {
	animation-delay: 2.35s;
}
.waveform-bar:nth-child(49) {
	animation-delay: 2.4s;
}
.waveform-bar:nth-child(50) {
	animation-delay: 2.45s;
}
.waveform-bar:nth-child(51) {
	animation-delay: 2.5s;
}
.waveform-bar:nth-child(52) {
	animation-delay: 2.55s;
}
.waveform-bar:nth-child(53) {
	animation-delay: 2.6s;
}
.waveform-bar:nth-child(54) {
	animation-delay: 2.65s;
}
.waveform-bar:nth-child(55) {
	animation-delay: 2.7s;
}
.waveform-bar:nth-child(56) {
	animation-delay: 2.75s;
}
.waveform-bar:nth-child(57) {
	animation-delay: 2.8s;
}
.waveform-bar:nth-child(58) {
	animation-delay: 2.85s;
}
.waveform-bar:nth-child(59) {
	animation-delay: 2.9s;
}
.waveform-bar:nth-child(60) {
	animation-delay: 2.95s;
}
.waveform-bar:nth-child(61) {
	animation-delay: 3s;
}
.waveform-bar:nth-child(62) {
	animation-delay: 3.05s;
}
.waveform-bar:nth-child(63) {
	animation-delay: 3.1s;
}
.waveform-bar:nth-child(64) {
	animation-delay: 3.15s;
}
.waveform-bar:nth-child(65) {
	animation-delay: 3.2s;
}
.waveform-bar:nth-child(66) {
	animation-delay: 3.25s;
}
.waveform-bar:nth-child(67) {
	animation-delay: 3.3s;
}
.waveform-bar:nth-child(68) {
	animation-delay: 3.35s;
}
.waveform-bar:nth-child(69) {
	animation-delay: 3.4s;
}
.waveform-bar:nth-child(70) {
	animation-delay: 3.45s;
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
		filter: brightness(1);
	}
	50% {
		opacity: 0.6;
		filter: brightness(1.5);
	}
}

/* ================================
   Responsive Typography
   ================================ */
@media (max-width: 768px) {
	.section-title {
		font-size: 2rem;
	}

	.show-card {
		flex-direction: column;
		text-align: center;
	}
}

/* ================================
   Accessibility - Focus States
   ================================ */
a:focus,
button:focus {
	outline: 2px solid #ffb319;
	outline-offset: 2px;
}

/* ================================
   Bio Page Styles
   ================================ */
.bio-content {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.125rem;
	line-height: 1.8;
}

.bio-content p {
	margin-bottom: 1.5rem;
}

.band-member-card {
	background: white;
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	text-align: center;
}

.band-member-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 24px rgba(217, 78, 42, 0.2);
}

.band-member-card img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 1rem;
	border: 4px solid #d94e2a;
}

/* ================================
   Embed Container Styles
   ================================ */
.embed-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	border-radius: 1rem;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.embed-container:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(217, 78, 42, 0.3);
}

.embed-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 1rem;
}

/* ================================
   Contact Form Styles
   ================================ */
.contact-form {
	max-width: 600px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-label {
	display: block;
	font-weight: 600;
	color: #2e2222;
	margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 0.875rem 1rem;
	border: 2px solid #9b8f7e;
	border-radius: 0.5rem;
	background: white;
	color: #2e2222;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: #d94e2a;
	box-shadow: 0 0 0 3px rgba(217, 78, 42, 0.1);
}

.form-textarea {
	resize: vertical;
	min-height: 150px;
}

.contact-info-card {
	background: white;
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: all 0.3s ease;
}

.contact-info-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(217, 78, 42, 0.2);
}

/* ================================
   Video Grid Styles
   ================================ */
.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

/* ================================
   Loading Animation
   ================================ */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(217, 78, 42, 0.3);
	border-radius: 50%;
	border-top-color: #d94e2a;
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* ================================
   Page Hero Styles (for internal pages)
   ================================ */
.page-hero {
	background: linear-gradient(135deg, #2e2222 0%, #3d3634 100%);
	padding: 6rem 0 4rem;
	margin-top: 0;
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
	pointer-events: none;
}

.page-hero h1 {
	color: #d94e2a;
	font-size: 4rem;
	font-weight: 700;
	text-align: center;
	position: relative;
	z-index: 1;
}

@media (max-width: 768px) {
	.page-hero {
		padding: 6rem 0 3rem;
	}

	.page-hero h1 {
		font-size: 2.5rem;
	}
}
