/*
Theme Name: Fruitcake Portal
Theme URI: https://fruitcakecasting.com
Author: Fruitcake Casting
Description: A minimal, single-purpose theme for the Fruitcake Casting secure audition portal. Header, one homepage, and footer only - no navigation menus. Branding (logo, colours, footer links) is pulled from the Casting Portal plugin's Settings, so there's one place to manage both.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: fruitcake-portal
*/

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #f6f5f3;
	color: #1a1a1a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
	word-wrap: break-word;
	line-height: 1.6;
}

a {
	color: var(--fp-accent, #ff5a36);
}

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

.fp-site-header {
	background: var(--fp-brand, #111111);
	padding: 22px 24px;
}

.fp-site-header-inner {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.fp-logo-link {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.fp-logo-img,
.fp-custom-logo-wrap img {
	max-height: 34px;
	display: block;
}

.fp-custom-logo-wrap {
	display: flex;
	align-items: center;
}

.fp-logo-text {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.fp-nav-menu {
	list-style: none;
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
}

.fp-nav-menu a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.fp-nav-menu a:hover {
	color: #fff;
}

.fp-logo-sub {
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Main / homepage
--------------------------------------------------------------- */

.fp-main {
	min-height: 60vh;
	padding: 48px 20px;
}

.fp-home-card {
	max-width: 480px;
	margin: 0 auto;
	background: #fff;
	border-radius: 14px;
	padding: 40px 32px;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 12px 32px -12px rgba(0, 0, 0, 0.08);
}

.fp-home-icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: #fdece7;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	font-size: 22px;
}

.fp-home-eyebrow {
	font-size: 13px;
	color: #999;
	letter-spacing: 0.04em;
	margin: 0 0 6px;
}

.fp-home-card h1 {
	font-size: 21px;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}

.fp-home-tagline {
	color: #555;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 28px;
}

.fp-home-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 54px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.fp-btn:hover {
	opacity: 0.9;
}

.fp-btn-primary {
	background: var(--fp-accent, #ff5a36);
	color: #fff;
}

.fp-btn-secondary {
	background: #f4f3f1;
	color: #1a1a1a;
	border: 1px solid #e6e4e1;
}

.fp-home-note {
	text-align: center;
	font-size: 12px;
	color: #999;
	margin: 20px auto 0;
	max-width: 480px;
}

/* Generic content pages (Client Access, Contact, etc.)
--------------------------------------------------------------- */

.fp-page {
	max-width: 640px;
	margin: 0 auto;
}

.fp-page-card {
	background: #fff;
	border-radius: 14px;
	padding: 36px 40px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 12px 32px -12px rgba(0, 0, 0, 0.08);
}

.fp-page-card h1 {
	font-size: 24px;
	margin: 0 0 20px;
}

.fp-page-card p {
	font-size: 15px;
	line-height: 1.7;
}

.fp-back-link {
	display: inline-block;
	margin-bottom: 20px;
	font-size: 13px;
	color: #888;
	text-decoration: none;
}

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

.fp-contact-methods {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 32px;
}

.fp-contact-method {
	flex: 1;
	min-width: 180px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	background: #faf9f7;
	border-radius: 10px;
	text-decoration: none;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
}

.fp-contact-method span {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: #888;
}

.fp-form-row {
	margin-bottom: 16px;
}

.fp-form-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.fp-form-row input,
.fp-form-row textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
}

.fp-form-row input:focus,
.fp-form-row textarea:focus {
	outline: none;
	border-color: var(--fp-accent, #ff5a36);
	box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.12);
}

.fp-honeypot {
	position: absolute;
	left: -9999px;
}

.fp-notice {
	padding: 14px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
}

.fp-notice-success {
	background: #eaf7ee;
	color: #1e6b34;
	border: 1px solid #bfe6cc;
}

.fp-notice-error {
	background: #fdeceb;
	color: #a3271b;
	border: 1px solid #f6c6c1;
}

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

.fp-site-footer {
	text-align: center;
	padding: 30px 20px 50px;
	color: #999;
	font-size: 12px;
}

.fp-site-footer a {
	color: #999;
}

.fp-footer-contact-row {
	margin-bottom: 6px;
}

.fp-footer-links-row {
	margin-top: 6px;
}

@media (max-width: 600px) {
	.fp-home-card,
	.fp-page-card {
		padding: 28px 22px;
	}

	.fp-contact-methods {
		flex-direction: column;
	}
}
