/* styles.css — the "sports club" site: a full-bleed photo under bold white type, deep green
   with a lime accent, big sport cards. Fulfils the site contract (docs/WEBSITE.md): the four
   tokens below are what every module's pages read; the primitives come from /base.css. */

:root {
	--bg: #F4F6F5;
	--text: #0F1B17;
	--accent: #0E7C4A;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--surface: #FFFFFF;
	--line: #DDE3DF;
	--muted: #5C6B64;
	--accent-text: #0B6B40;
	--radius: 14px;
	--radius-sm: 10px;
	--wrap: 76rem;
	--shadow: 0 1px 2px rgba(15, 27, 23, 0.05), 0 12px 32px rgba(15, 27, 23, 0.08);

	--dark: #0F1B17;
	--dark-text: #E9EFEC;
	--lime: #C6F25A;
}

body { font-size: 1.05rem; line-height: 1.6; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 0.98; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.08; }
h3 { font-size: 1.15rem; }

.eyebrow { color: var(--accent-text); font-weight: 700; }
.lead { font-size: 1.15rem; max-width: 34rem; }

/* Header ---------------------------------------------------------------- */

.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(15, 27, 23, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: var(--dark-text);
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 0.9rem;
}
.brand {
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.8rem); font-size: 0.92rem; }
.nav a { text-decoration: none; color: rgba(233, 239, 236, 0.85); font-weight: 600; }
.nav a:hover { color: #fff; }
.nav a.button { padding: 0.55rem 1.1rem; font-size: 0.88rem; background: var(--lime); border-color: var(--lime); color: var(--dark); }
.nav .account-link { color: rgba(233, 239, 236, 0.85); }
.nav .avatar { border-color: rgba(233, 239, 236, 0.35); background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Hero: a photograph under white type ----------------------------------- */

.hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: min(82vh, 46rem);
	background: var(--dark);
	color: #fff;
	overflow: hidden;
}
.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}
.hero .wrap { position: relative; width: 100%; }
.hero-copy { padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); max-width: 40rem; }
.hero .eyebrow { color: var(--lime); }
.hero .lead { color: rgba(255, 255, 255, 0.85); }
.hero .actions { margin-top: 1.9rem; }
.hero .button--accent { background: var(--lime); border-color: var(--lime); color: var(--dark); }

.button--light {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}
.button--light:hover { border-color: #fff; }

/* Bands ----------------------------------------------------------------- */

.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band-head { max-width: 40rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.band-head p { color: var(--muted); }
.band--dark { background: var(--dark); color: var(--dark-text); }
.band--dark .eyebrow { color: var(--lime); }
.band--dark p { color: rgba(233, 239, 236, 0.75); }
.band--accent { background: var(--accent); color: #fff; }
.band--accent p { color: rgba(255, 255, 255, 0.85); }
/* On the green band the one decision is solid white — a translucent button on a saturated
   ground reads as disabled. */
.band--accent .button--light { background: #fff; border-color: #fff; color: var(--accent); }

/* Sport cards ----------------------------------------------------------- */

.sports {
	display: grid;
	gap: 1.2rem;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.sport {
	position: relative;
	display: grid;
	min-height: 22rem;
	border-radius: var(--radius);
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	background: var(--dark);
	box-shadow: var(--shadow);
}
.sport img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.4s ease; }
.sport:hover img { transform: scale(1.04); }
.sport-body {
	position: relative;
	align-self: end;
	padding: 5rem 1.5rem 1.5rem;
	background: linear-gradient(to top,
		rgba(15, 27, 23, 0.94) 0%,
		rgba(15, 27, 23, 0.82) 35%,
		rgba(15, 27, 23, 0.4) 70%,
		rgba(15, 27, 23, 0) 100%);
	display: grid;
	gap: 0.3rem;
}
.sport-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.sport-text { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }

/* Split ----------------------------------------------------------------- */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.split img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: start; }
.checklist li::before { content: "—"; color: var(--lime); font-weight: 800; }

/* Visit ----------------------------------------------------------------- */

.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.visit .card h3 { margin-bottom: 0.9rem; }
.visit-line { margin: 0 0 0.5rem; }
.visit-line a { color: var(--accent-text); text-decoration: none; font-weight: 600; }

/* CTA ------------------------------------------------------------------- */

.cta { text-align: center; max-width: 38rem; margin-inline: auto; }
.cta .actions { justify-content: center; }

/* Contact page ---------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.contact-aside { display: grid; gap: 1.2rem; align-content: start; }

/* Footer ---------------------------------------------------------------- */

.foot { background: var(--dark); color: rgba(233, 239, 236, 0.7); font-size: 0.9rem; }
.foot-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem 2rem;
	padding-block: 1.6rem;
}
.foot-contact, .foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--lime); }

@media (max-width: 68rem) {
	.visit { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 56rem) {
	.split, .contact-grid, .visit { grid-template-columns: 1fr; }
	.nav a:not(.button) { display: none; }
}
