/*!
Theme Name: Ambros Academy Theme
Author: Ambros Academy
Description: Premium dark landing-page theme for Ambros Academy — obsidian navy + gold.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.1
License: GPLv2 or later
Text Domain: ambros-academy-theme
*/

:root {
	--ambros-bg: #050a14;
	--ambros-panel: #0b1526;
	--ambros-gold: #e5b93c;
	--ambros-gold-light: #ffd84a;
	--ambros-gold-glow: #fff38a;
	--ambros-bronze: #b87a16;
	--ambros-cream: #ece6d8;
	--ambros-cream-strong: #fdf6e3;
	--ambros-muted: #b6af9c;
	--ambros-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ambros-font-body: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ambros-shell: 1180px;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ambros-bg);
	color: var(--ambros-cream);
	font-family: var(--ambros-font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a {
	color: inherit;
}

/* ----------------------------------------------------------------------------
   Header
---------------------------------------------------------------------------- */
.ambros-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(5, 10, 20, .82);
	border-bottom: 1px solid rgba(229, 185, 60, .14);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
}

.ambros-site-shell {
	width: min(var(--ambros-shell), calc(100% - 48px));
	margin: 0 auto;
}

.ambros-site-header .ambros-site-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: 74px;
}

.ambros-site-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.ambros-site-logo-mark {
	display: block;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(229, 185, 60, .45), 0 0 22px rgba(255, 243, 138, .16);
}

.ambros-site-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.ambros-site-logo-text b {
	font-family: var(--ambros-font-display);
	font-weight: 600;
	font-size: 1.32rem;
	letter-spacing: .1em;
	color: var(--ambros-cream-strong);
}

.ambros-site-logo-text small {
	margin-top: 3px;
	font-size: .56rem;
	font-weight: 600;
	letter-spacing: .42em;
	color: var(--ambros-gold);
}

.ambros-site-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ambros-site-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 7px;
	color: rgba(236, 230, 216, .76);
	font-size: .9rem;
	font-weight: 500;
	text-decoration: none;
	transition: color .16s ease;
}

.ambros-site-nav a:hover,
.ambros-site-nav .current-menu-item > a {
	color: var(--ambros-gold-light);
}

.ambros-site-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 18px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--ambros-gold-glow), var(--ambros-gold) 48%, var(--ambros-bronze));
	color: #14110a;
	font-family: inherit;
	font-size: .82rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 0 22px rgba(229, 185, 60, .26);
	transition: transform .18s ease, box-shadow .18s ease;
}

.ambros-site-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 38px rgba(229, 185, 60, .45);
}

.ambros-site-main {
	min-height: 60vh;
}

/* ----------------------------------------------------------------------------
   Footer
---------------------------------------------------------------------------- */
.ambros-site-footer {
	padding: clamp(48px, 6vw, 80px) 0 28px;
	background: linear-gradient(180deg, #040810, #02060d);
	border-top: 1px solid rgba(229, 185, 60, .14);
	color: rgba(236, 230, 216, .66);
}

.ambros-site-footer .ambros-site-shell:first-child {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
}

.ambros-site-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	text-decoration: none;
}

.ambros-site-footer-logo-mark {
	display: block;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(229, 185, 60, .4);
}

.ambros-site-footer-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.ambros-site-footer-logo-text b {
	font-family: var(--ambros-font-display);
	font-size: 1.26rem;
	font-weight: 600;
	letter-spacing: .1em;
	color: var(--ambros-cream-strong);
}

.ambros-site-footer-logo-text small {
	margin-top: 3px;
	font-size: .54rem;
	font-weight: 600;
	letter-spacing: .42em;
	color: var(--ambros-gold);
}

.ambros-site-footer-col h3 {
	margin: 0 0 16px;
	font-family: var(--ambros-font-body);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ambros-gold);
}

.ambros-site-footer p {
	max-width: 42ch;
	margin: 0;
	font-size: .9rem;
	line-height: 1.65;
}

.ambros-site-footer-nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-content: start;
}

.ambros-site-footer-nav a {
	color: rgba(236, 230, 216, .72);
	font-size: .9rem;
	font-weight: 500;
	text-decoration: none;
	transition: color .16s ease;
}

.ambros-site-footer-nav a:hover {
	color: var(--ambros-gold-light);
}

.ambros-site-footer-bottom {
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid rgba(236, 230, 216, .1);
	color: rgba(236, 230, 216, .44);
	font-size: .8rem;
}

.ambros-site-footer-bottom p {
	max-width: none;
	margin: 0;
}

/* ----------------------------------------------------------------------------
   Responsive
---------------------------------------------------------------------------- */
@media (max-width: 860px) {
	.ambros-site-footer .ambros-site-shell:first-child {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
}

@media (max-width: 760px) {
	.ambros-site-header .ambros-site-shell {
		flex-wrap: wrap;
		gap: 14px;
		padding: 14px 0;
		min-height: 0;
	}

	.ambros-site-nav {
		order: 3;
		width: 100%;
	}

	/* Keep the menu on a single row — scroll horizontally instead of wrapping. */
	.ambros-site-nav ul {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ambros-site-nav ul::-webkit-scrollbar {
		display: none;
	}

	.ambros-site-nav a {
		white-space: nowrap;
	}

	.ambros-site-cta {
		margin-left: auto;
	}
}

@media (max-width: 540px) {
	.ambros-site-shell {
		width: calc(100% - 34px);
	}

	.ambros-site-footer .ambros-site-shell:first-child {
		grid-template-columns: 1fr;
	}
}
