/* ==============================================================
 * Hidden Haul Co — visual enhancements
 * Loaded globally via hhc-enhancements.php (mu-plugin).
 * ============================================================== */

:root {
	--hhc-orange: #db4108;      /* sampled from logo image background */
	--hhc-orange-dark: #a82f05;
	--hhc-gold: #e8a841;        /* header background */
	--hhc-gold-dark: #c98d2a;
	--hhc-cream: #faf5e6;       /* page background */
	--hhc-ink: #1f1a16;         /* body text on cream */
	--hhc-ink-muted: #6b5a4a;
}

/* --- Global polish ---------------------------------------------- */
body { color: var(--hhc-ink); }

.site-content .entry-content p,
.site-content .entry-content li { line-height: 1.65; }

/* --- Hide the auto-generated "Home" / "Deals" page titles -------
 * They're redundant against the rest of the content. */
.page-id-6 .entry-header .entry-title,
.page-id-52 .entry-header .entry-title,
.page-id-59 .entry-header .entry-title,
.page-id-71 .entry-header .entry-title,
.page-id-73 .entry-header .entry-title { display: none; }

/* --- Header / nav ------------------------------------------------ */
.main-header-bar,
.ast-primary-header-bar,
.site-header .main-header-bar-wrap,
.site-header,
.ast-main-header-wrap {
	background-color: var(--hhc-orange) !important;
	border-bottom: 4px solid var(--hhc-orange-dark);
}

.main-header-menu > .menu-item > a,
.ast-builder-menu .menu-item > a,
.site-header .main-navigation a,
.ast-desktop .main-header-menu .menu-item a {
	color: #fff !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	font-size: 15px;
}

.main-header-menu > .menu-item:hover > a,
.main-header-menu > .current-menu-item > a {
	color: var(--hhc-gold) !important;
}

/* Social icons in header: white on orange */
.ast-header-social-1-wrap a svg,
.ast-social-icons a svg { fill: #fff !important; color: #fff !important; }
.ast-header-social-1-wrap a:hover svg { fill: var(--hhc-gold) !important; }

/* --- Typography: more prominent headings ------------------------- */
.entry-content h1,
.entry-content h2 {
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 800;
	color: var(--hhc-orange);
	letter-spacing: -0.01em;
	margin-top: 2.2em;
	margin-bottom: 0.6em;
	position: relative;
}

.entry-content h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

.entry-content h2::after {
	content: '';
	display: block;
	width: 64px;
	height: 3px;
	margin-top: 10px;
	background: var(--hhc-gold);
	border-radius: 3px;
}

/* --- Columns / card styling on home deals/clothing/shoes -------- */
.page-id-6 .wp-block-columns {
	gap: 2rem;
	margin: 2.5rem 0;
}

.page-id-6 .wp-block-column {
	background: #fff;
	border: 1px solid rgba(216, 67, 21, 0.15);
	border-top: 4px solid var(--hhc-orange);
	border-radius: 10px;
	padding: 1.5rem 1.75rem;
	box-shadow: 0 4px 18px rgba(31, 26, 22, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-id-6 .wp-block-column:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(31, 26, 22, 0.12);
}

.page-id-6 .wp-block-column h2 {
	margin-top: 0 !important;
	font-size: 1.6rem;
	color: var(--hhc-orange);
	text-align: center;
}

.page-id-6 .wp-block-column h2::after {
	margin-left: auto;
	margin-right: auto;
}

.page-id-6 .wp-block-column ul {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
	text-align: center;
}

.page-id-6 .wp-block-column li {
	padding: 0.4rem 0;
	border-bottom: 1px dashed rgba(31, 26, 22, 0.1);
}

.page-id-6 .wp-block-column li:last-child { border-bottom: none; }

/* --- CTA button styling (.hhc-cta + wp-block-button) ------------ */
.wp-block-button__link,
.hhc-cta,
button.hhc-cta {
	display: inline-block;
	background: var(--hhc-orange) !important;
	color: #fff !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 14px 34px !important;
	border-radius: 999px !important;
	border: none !important;
	box-shadow: 0 6px 18px rgba(216, 67, 21, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	text-decoration: none !important;
	cursor: pointer;
}

.wp-block-button__link:hover,
.hhc-cta:hover,
button.hhc-cta:hover {
	background: var(--hhc-orange-dark) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(216, 67, 21, 0.45);
}

.wp-block-buttons { margin: 1.5rem 0; }

/* --- Contact / application form styling ------------------------ */
.hhc-form-wrap {
	max-width: 620px;
	margin: 2rem 0;
	padding: 2rem;
	background: #fff;
	border-radius: 12px;
	border-top: 5px solid var(--hhc-orange);
	box-shadow: 0 8px 28px rgba(31, 26, 22, 0.08);
}

.hhc-form label {
	display: block;
	margin-bottom: 1.1rem;
}

.hhc-form label span {
	display: block;
	font-weight: 700;
	margin-bottom: 0.35rem;
	color: var(--hhc-ink);
}

.hhc-form input[type="text"],
.hhc-form input[type="email"],
.hhc-form input[type="tel"],
.hhc-form select,
.hhc-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid rgba(31, 26, 22, 0.15);
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.4;
	font-family: inherit;
	background: #fff;
	color: var(--hhc-ink);
	transition: border-color 0.15s ease;
	box-sizing: border-box;
}

.hhc-form select {
	-webkit-appearance: none;
	appearance: none;
	min-height: 48px;
	padding-right: 40px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23db4108' d='M6 8L0 0h12z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

.hhc-form input:focus,
.hhc-form select:focus,
.hhc-form textarea:focus {
	outline: none;
	border-color: var(--hhc-orange);
}

.hhc-form .hhc-file { margin-bottom: 1.1rem; }

.hhc-form .hhc-file-label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.35rem;
	color: var(--hhc-ink);
}

.hhc-form .hhc-file-button {
	display: flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	margin: 0;
}

.hhc-form .hhc-file-button input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

.hhc-form .hhc-file-cta {
	display: inline-block;
	background: var(--hhc-orange);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 12px 26px;
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(216, 67, 21, 0.35);
	transition: background 0.15s ease, transform 0.15s ease;
	white-space: nowrap;
}

.hhc-form .hhc-file-button:hover .hhc-file-cta {
	background: var(--hhc-orange-dark);
	transform: translateY(-1px);
}

.hhc-form .hhc-file-button:focus-within .hhc-file-cta {
	outline: 3px solid rgba(216, 67, 21, 0.35);
	outline-offset: 2px;
}

.hhc-form .hhc-file-name {
	font-size: 14px;
	color: var(--hhc-ink-muted);
	font-style: italic;
}

.hhc-form .hhc-file-button.has-file .hhc-file-name {
	color: var(--hhc-ink);
	font-style: normal;
	font-weight: 600;
}

.hhc-form .hhc-file small {
	display: block;
	margin-top: 8px;
	color: var(--hhc-ink-muted);
	font-size: 13px;
}

.hhc-form button.hhc-cta {
	margin-top: 0.5rem;
}

.hhc-alert {
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 1.25rem;
	font-weight: 600;
}

.hhc-alert-ok  { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.hhc-alert-err { background: #ffebee; color: #b71c1c; border: 1px solid #ef9a9a; }

/* --- Employment page polish ------------------------------------- */
.page-id-59 .entry-content h2,
.page-id-59 .entry-content h3 { color: var(--hhc-orange); }

.page-id-59 .entry-content .hhc-role {
	background: #fff;
	border-left: 4px solid var(--hhc-orange);
	padding: 1.25rem 1.5rem;
	margin: 1.25rem 0;
	border-radius: 0 8px 8px 0;
	box-shadow: 0 3px 14px rgba(31, 26, 22, 0.05);
}

.page-id-59 .entry-content .hhc-role h3 {
	margin-top: 0;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	gap: 10px;
}

.page-id-59 .entry-content .hhc-role .hhc-badge {
	display: inline-block;
	background: var(--hhc-gold);
	color: var(--hhc-ink);
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* --- Separator restyle ----------------------------------------- */
.wp-block-separator {
	border: none;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--hhc-orange), transparent);
	margin: 3rem auto;
	max-width: 60%;
	opacity: 1;
}

/* --- Responsive tweaks ----------------------------------------- */
@media (max-width: 768px) {
	.entry-content h1 { font-size: 1.75rem; }
	.entry-content h2 { font-size: 1.4rem; }
	.hhc-form-wrap { padding: 1.25rem; }
}
