/* ============================================================
   footer.css - rasmussmedstrup.dk
   Global site footer. 4-column layout.
   Draft-specific color overrides at the bottom.
   ============================================================ */

.site-footer {
	background: #111111;
	color: #FFFFFF;
}

/* ---- Main columns area ---- */
.site-footer__main {
	border-top: 1px solid rgba(255,255,255,0.07);
}

.site-footer__main-inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
	gap: 3rem;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 4.5rem var(--content-pad) 3.5rem;
}

/* ---- Column shared ---- */
.site-footer__col {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.site-footer__col-heading {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.35);
	margin-bottom: 1.4rem;
}

/* ---- Column 1: Brand ---- */
.site-footer__col--brand {
	gap: 1.5rem;
}

.site-footer__logo-link {
	display: inline-flex;
}

.site-footer__logo-link img {
	height: 40px;
	width: auto;
	opacity: 0.9;
}

.site-footer__tagline {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: rgba(255,255,255,0.45);
	max-width: 290px;
}

.site-footer__social {
	display: flex;
	gap: 0.4rem;
}

.site-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: rgba(255,255,255,0.55);
	border: 1px solid rgba(255,255,255,0.12);
	transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.site-footer__social-link:hover {
	color: #FFF;
	border-color: rgba(255,255,255,0.4);
	background: rgba(255,255,255,0.06);
}

/* ---- Columns 2 + 3: Nav lists ---- */
.site-footer__col-list {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__col-list a,
.site-footer__col-list a:visited {
	font-size: 0.9375rem;
	color: rgba(255,255,255,0.6);
	transition: color 0.15s;
}

.site-footer__col-list a:hover {
	color: #FFF;
}

/* ---- Column 4: Newsletter ---- */
.site-footer__col--newsletter {
	gap: 1rem;
}

.site-footer__newsletter-intro {
	font-size: 0.875rem;
	line-height: 1.65;
	color: rgba(255,255,255,0.5);
	margin-top: -0.25rem;
}

.site-footer__newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.site-footer__newsletter-input {
	width: 100%;
	padding: 0.7rem 0.9rem;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 6px;
	color: #FFF;
	font-size: 0.9375rem;
	outline: none;
	transition: border-color 0.15s, background 0.15s;
}

.site-footer__newsletter-input::placeholder {
	color: rgba(255,255,255,0.3);
}

.site-footer__newsletter-input:focus {
	border-color: rgba(255,255,255,0.4);
	background: rgba(255,255,255,0.1);
}

.site-footer__newsletter-btn {
	width: 100%;
	padding: 0.7rem 1rem;
	background: #FFF;
	color: #111;
	border: none;
	border-radius: 6px;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.site-footer__newsletter-btn:hover {
	background: #E0E0E0;
}

.site-footer__newsletter-note {
	font-size: 0.75rem;
	color: rgba(255,255,255,0.3);
}

/* ---- Bottom bar ---- */
.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.07);
}

.site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 1.4rem var(--content-pad);
}

.site-footer__copyright {
	font-size: 0.75rem;
	color: rgba(255,255,255,0.25);
}

.site-footer__bottom-nav {
	display: flex;
	gap: 1.5rem;
}

.site-footer__bottom-nav a,
.site-footer__bottom-nav a:visited {
	font-size: 0.75rem;
	color: rgba(255,255,255,0.3);
	transition: color 0.15s;
}

.site-footer__bottom-nav a:hover {
	color: rgba(255,255,255,0.7);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
	.site-footer__main-inner {
		grid-template-columns: 1.4fr 1fr 1fr;
	}

	.site-footer__col--newsletter {
		grid-column: 1 / -1;
		max-width: 400px;
	}
}

@media (max-width: 700px) {
	.site-footer__main-inner {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		padding-top: 3rem;
		padding-bottom: 2.5rem;
	}

	.site-footer__col--brand {
		grid-column: 1 / -1;
	}

	.site-footer__col--newsletter {
		grid-column: 1 / -1;
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.site-footer__main-inner {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.site-footer__col--brand {
		grid-column: auto;
	}

	.site-footer__col--newsletter {
		grid-column: auto;
	}
}

/* ============================================================
   Draft 1 footer - same dark base, slight warm adjustment
   ============================================================ */
.fp-draft-1 .site-footer {
	background: #0A0A0A;
}

/* ============================================================
   Draft 3 footer - warm dark brown med primærfarve fra brand-paletten
   ============================================================ */
.fp-draft-3 .site-footer {
	background: #1E1408;
}

.fp-draft-3 .site-footer__newsletter-btn {
	background: #8A6547;
	color: #FFF;
}

.fp-draft-3 .site-footer__newsletter-btn:hover {
	background: #6E4F37;
}

.fp-draft-3 .site-footer__newsletter-input:focus {
	border-color: rgba(138,101,71,0.55);
}

/* Lysere brun til hover på mørk baggrund (nok kontrast mod #1E1408) */
.fp-draft-3 .site-footer__col-list a:hover {
	color: #C8A58B;
}

.fp-draft-3 .site-footer__bottom-nav a:hover {
	color: rgba(255,255,255,0.7);
}
