/*
	Shared website styles (borrowed from Holloway Creative Holdings)
	---------------------------------------------------------------
	This stylesheet defines the colour scheme, typography and layout.
	The layout includes a hero with nav, content sections, and a footer.
*/

:root {
	/* Vector of Meaning palette */
	--primary-color: #F889F9; /* link/accent */
	--secondary-color: #1C1F26; /* deep background */
	--accent-color: #336FB0; /* hover for CTA */
	--text-color: #FFFFFF;
	--muted-color: #CCCCCC;
	--background-color: #1C1F26;
	--surface-color: #333333; /* cards/form bg */
	--border-radius: 0.5rem;
	--cta-bg: #4A90E2; /* CTA button */
	--cta-bg-hover: #336FB0;
	--brand-gold: #B4976D;
	--accent-yellow: #D4D444;
	--countdown: #FFB347;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, sans-serif;
	color: var(--text-color);
	background-color: var(--background-color);
	line-height: 1.6;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	text-decoration: underline;
	color: var(--accent-color);
}

.container {
	width: 90%;
	max-width: 1100px;
	margin: 0 auto;
}

/* Navigation */
.navbar {
	background: rgba(28, 31, 38, 0.85); /* subtle opaque */
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding: 0.75rem 0;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 1000;
}

.nav-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand {
	display: flex;
	align-items: center;
}
.brand img { height: 40px; width: auto; display: block; }

.nav-links {
	list-style: none;
	display: flex;
	gap: 2rem;
}

.nav-links a {
	color: var(--text-color);
	font-weight: 500;
	transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links .active {
	color: var(--primary-color);
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
	z-index: 15;
}

.hamburger,
.hamburger::before,
.hamburger::after {
	display: block;
	background: var(--text-color);
	height: 2px;
	width: 22px;
	border-radius: 2px;
	position: relative;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger::before,
.hamburger::after {
	content: '';
	position: absolute;
	left: 0;
}

.hamburger::before {
	top: -7px;
}

.hamburger::after {
	top: 7px;
}

/* Hero section */
.hero {
	position: relative;
	background: var(--background-color);
	padding: 7rem 0 2rem; /* space for fixed nav; adjust as needed */
}

/* No overlay for VOM plain hero background */
.hero::after { display: none; }

.hero-content {
	position: relative;
	z-index: 2;
	padding-top: 0;
	text-align: center;
	max-width: 650px;
	margin: 0 auto;
}

.hero h1 {
	font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
	margin-bottom: 1rem;
	color: var(--brand-gold);
	font-weight: 700;
	line-height: 1.2;
}

.hero p {
	font-size: 1.125rem;
	margin-bottom: 2rem;
	color: var(--text-color);
}

.btn-primary {
	display: inline-block;
	background: var(--cta-bg);
	color: #ffffff;
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius);
	font-weight: 600;
	transition: background 0.3s ease;
	text-align: center;
}

.btn-primary:hover { background: var(--cta-bg-hover); }

/* Sections */
.section {
	padding: 5rem 0;
}

.section h2 { color: var(--text-color); }

.section p {
	max-width: 800px;
	margin: 0 auto 2rem auto;
	text-align: center;
	color: var(--muted-color);
	font-size: 1.0625rem;
}

/* Services */
.services {
	background: var(--background-color);
}

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

.service-item {
	background: var(--surface-color);
	padding: 2rem;
	border-radius: var(--border-radius);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-item h3 { color: var(--primary-color); }

.service-item p {
	color: var(--muted-color);
	text-align: left;
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Contact */
.contact { background: #22262f; }

.contact-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
}

.contact-form .form-grid {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.75rem;
	border: none;
	border-radius: var(--border-radius);
	background: #333333;
	color: var(--text-color);
	font-family: inherit;
	font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #AAAAAA; }

.contact-form textarea {
	resize: vertical;
	grid-column: span 2;
}

.contact-form button {
	align-self: flex-start;
	margin-top: 1rem;
}

/* Footer */
.footer { background: #1C1F26; padding: 2rem 0; }

.footer-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.footer p { color: var(--accent-yellow); font-size: 0.9rem; text-align: center; }

.footer-links a { color: var(--primary-color); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-color); }

/* Page-specific helpers */
.countdown { color: var(--countdown); font-weight: 600; }
.logo { width: 100px; margin-bottom: 20px; }
.workbook-link { color: var(--primary-color); font-weight: 600; }
.testimonial { color: #CCCCCC; font-style: italic; }
.founder-note { color: #AAAAAA; font-style: italic; }
.footer .hch-logo { display:block; margin: 10px auto 8px; width: 120px; opacity: 0.9; }
.footer .hch-logo:hover { opacity: 1; }

/* Covers row and uniform sizing */
.covers-flex {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	margin: 20px auto;
	padding: 0 20px;
}
.cover-img {
	width: clamp(220px, 28vw, 320px);
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.footer-links a {
	color: #6b7c93;
	font-size: 0.875rem;
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
	.nav-links {
		position: absolute;
		top: 100%;
		right: 0;
		background: rgba(1, 21, 38, 0.95);
		flex-direction: column;
		align-items: flex-start;
		width: 220px;
		padding: 1rem;
		transform: translateX(100%);
		transition: transform 0.3s ease;
	}
	.nav-links.open {
		transform: translateX(0);
	}
	.nav-links li {
		margin-bottom: 1rem;
	}
	.nav-toggle {
		display: block;
	}
	.services-grid {
		grid-template-columns: 1fr;
	}
		.hero-content { padding-top: 0; }
	.hero h1 {
		font-size: 2.2rem;
	}
	.hero p {
		font-size: 1rem;
	}
	.contact-form .form-grid {
			grid-template-columns: 1fr;
	}
	.contact-form textarea {
		grid-column: span 1;
	}
}

	/* Centered, original VOM form styles */
	.contact-form {
		background-color: #333333;
		padding: 30px;
		border-radius: 8px;
		max-width: 400px;
		margin: 0 auto 40px;
		display: block;
	}
	.contact-form input[type="text"],
	.contact-form input[type="email"] {
		width: 90%;
		padding: 12px;
		margin: 10px 0;
		border: none;
		border-radius: 4px;
		background: #ffffff;
		color: #000000;
	}
	.contact-form input[type="submit"] {
		background-color: var(--cta-bg);
		color: #ffffff;
		border: none;
		padding: 12px 24px;
		border-radius: 4px;
		font-size: 1rem;
		cursor: pointer;
	}
	.contact-form input[type="submit"]:hover { background-color: var(--cta-bg-hover); }
