:root {
	--main-bg: #f9f9f7;
	--accent: #a3b18a;
	--text: #2c2c2c;
	--soft: #dbe5d4;
	--header-height: 70px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Quicksand", sans-serif;
	background: var(--main-bg);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 200%;
	height: 200%;
	background: radial-gradient(
			circle at 30% 30%,
			rgba(163, 177, 138, 0.15),
			transparent 50%
		),
		radial-gradient(
			circle at 70% 70%,
			rgba(219, 229, 212, 0.1),
			transparent 50%
		);
	animation: floatBackground 30s linear infinite;
	z-index: -1;
}

@keyframes floatBackground {
	0% {
		transform: translate(0, 0);
	}
	50% {
		transform: translate(-5%, -5%);
	}
	100% {
		transform: translate(0, 0);
	}
}

header {
	height: var(--header-height);
	background: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1rem;
	border-bottom: 1px solid var(--soft);
	position: sticky;
	top: 0;
	z-index: 1000;
}

nav a {
	text-decoration: none;
	margin-left: 1.5rem;
	font-weight: 500;
	color: var(--text);
	transition: color 0.3s ease;
}

nav a:hover {
	color: #555;
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 80vh;
	background: url("/img/header-bg.webp") no-repeat center/cover;
	text-align: center;
	padding: 2rem;
	position: relative;
	overflow: hidden;
}

.hero::after {
	content: "";
	position: absolute;
	top: -10%;
	left: -10%;
	width: 120%;
	height: 120%;
	background: radial-gradient(
		circle,
		rgba(255, 255, 255, 0.05) 20%,
		transparent 70%
	);
	animation: slowPulse 20s infinite ease-in-out;
	z-index: 0;
}

@keyframes slowPulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 0.3;
	}
	50% {
		transform: scale(1.05);
		opacity: 0.6;
	}
}

.hero h1 {
	font-size: 2.5rem;
	color: white;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 1rem 2rem;
	border-radius: 10px;
	z-index: 1;
	position: relative;
	animation: floatText 8s ease-in-out infinite;
}

@keyframes floatText {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.section {
	padding: 4rem 2rem;
	max-width: 1000px;
	margin: auto;
}

.section h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.music-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.release {
	display: flex;
	flex-direction: row;
	background: white;
	border: 1px solid var(--soft);
	padding: 1rem;
	border-radius: 10px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	align-items: center;
	gap: 1rem;
}

.release:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(163, 177, 138, 0.2);
}

.release img {
	width: 150px;
	height: auto;
	border-radius: 8px;
	flex-shrink: 0;
}

.release h3 {
	margin: 0.5rem 0;
}

.release-content {
	flex: 1;
}

.release audio,
.release iframe {
	width: 100%;
	margin-top: 0.5rem;
}

@media (max-width: 768px) {
	.release {
		flex-direction: column;
		align-items: flex-start;
	}

	.release img {
		width: 100%;
	}
}

.blog-preview {
	border-left: 3px solid var(--accent);
	padding-left: 1rem;
	margin-bottom: 2rem;
}

.logo-intro-section {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	padding: 4rem 2rem;
	flex-wrap: wrap;
}

.logo-intro-section .logo-image {
	max-width: 200px;
	height: auto;
}

.logo-intro-section .intro-text {
	max-width: 500px;
}

.logo-intro-section a {
	color: #444;
	text-decoration: underline;
	font-weight: bold;
}

footer {
	padding: 2rem;
	text-align: center;
	background: var(--soft);
	color: #444;
}

.footer-icons {
	margin-top: 1rem;
}

.footer-icons a {
	display: inline-block;
	margin: 0 10px;
}

.footer-icons img {
	width: 24px;
	height: 24px;
	vertical-align: middle;
}

a {
	color: #4b5e3b;
	text-decoration: underline;
	transition: color 0.3s ease;
}

a:hover {
	color: #2c2c2c;
}

/* .music-button {
	display: inline-block;
	background-color: var(--accent);
	color: #ffffff !important;
	padding: 0.75rem 1.5rem;
	font-size: 1.1rem;
	border: none;
	border-radius: 30px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.2s ease;
	box-shadow: 0 4px 12px rgba(163, 177, 138, 0.3);
} */

.music-button {
	display: block;
	background-color: var(--accent);
	color: #ffffff !important;
	padding: 0.75rem 1.5rem;
	font-size: 1.1rem;
	border: none;
	border-radius: 30px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.2s ease;
	box-shadow: 0 4px 12px rgba(163, 177, 138, 0.3);
	margin: 2rem auto; /* centres the block horizontally */
	text-align: center;
	width: fit-content;
}

.music-button:hover {
	background-color: #8c9d75;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(163, 177, 138, 0.4);
	color: #ffffff !important;
}

.center {
	text-align: center;
	margin-top: 2rem;
}

/* center the bandcamp iframe */

.bandcamp-embed {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-top: 1rem;
}

.bandcamp-embed iframe {
	max-width: 100%;
}

.bandcamp-embed-follow {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	margin-top: 1rem;
	text-align: center;
}

.bandcamp-embed-follow iframe {
	max-width: 100%;
}

.about-page .section p {
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

.artwork-section {
	display: flex;
	justify-content: center;
	margin: 2rem 0;
}

.artwork-container {
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	max-width: 400px;
}

.artwork-container img {
	width: 100%;
	height: auto;
	display: block;
}
