/*
 * Gig Portal header + footer for pages that still run on the legacy Bootstrap theme
 * (blog, calendar, signup). Class-scoped only: no element-level rules, so page content is untouched.
 * Keep in sync with the header/footer sections of gigportal.css.
 */
:root {
	--gp-red: #e10600;
	--gp-red-dark: #b00500;
	--gp-oxblood: #8e0000;
	--gp-oxblood-dark: #6a0000;
	--gp-oxblood-soft: #f6e3e1;
	--gp-amber: #ffc21a;
	--gp-ink: #151515;
	--gp-night: #0b0b0b;
	--gp-mist: #f5f5f4;
	--gp-muted: #737373;
	--gp-line: #e5e5e5;
	--gp-grad: linear-gradient(120deg, #ff2a14 0%, var(--gp-red) 45%, var(--gp-oxblood) 100%);
	--gp-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.gp-header, .gp-header *, .gp-footer, .gp-footer *, .gp-brands, .gp-brands * { box-sizing: border-box; }
.gp-wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }

.gp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: 700 1rem/1 var(--gp-sans); padding: 16px 26px; border-radius: 999px;
	border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease;
}
.gp-btn:hover { transform: translateY(-2px); text-decoration: none; }
.gp-btn--primary { background: linear-gradient(120deg, #ff3a1f 0%, var(--gp-red) 55%, #c20500 100%) border-box; color: #fff !important; box-shadow: 0 10px 28px rgba(225, 6, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .18); }
.gp-btn--sm { padding: 11px 18px; font-size: .92rem; }

.gp-header {
	position: sticky; top: 0; z-index: 1000; font-family: var(--gp-sans);
	background: rgba(8, 8, 8, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.gp-header.is-scrolled { background: rgba(8, 8, 8, .97); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.gp-header .gp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.gp-header .gp-logo img { width: 190px; height: auto; display: block; }
@media (max-width: 1000px) { .gp-header .gp-logo img { width: 224px; } }
@media (max-width: 380px) { .gp-header .gp-logo img { width: 200px; } }
.gp-nav { display: flex; align-items: center; gap: 2px; margin: 0; }
.gp-nav > a, .gp-dd-top > a {
	color: #e8e8e8; text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.4;
	padding: 10px 13px; border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.gp-nav > a:hover, .gp-dd-top > a:hover { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.gp-nav > .gp-btn { margin-left: 8px; color: #fff; }
.gp-menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: #fff; cursor: pointer; padding: 8px; }
.gp-dd { position: relative; }
.gp-dd-top { display: flex; align-items: center; }
.gp-dd-top > a { cursor: pointer; }
.gp-dd-toggle { background: none; border: 0; color: #a3a3a3; cursor: pointer; padding: 8px 6px; margin-left: -10px; font-size: .8rem; }
.gp-dd-menu {
	position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
	width: 640px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
	background: #fff; border: 1px solid var(--gp-line); border-radius: 20px; box-shadow: 0 30px 70px rgba(8, 8, 8, .35);
	opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.gp-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.gp-dd:hover .gp-dd-menu, .gp-dd.is-open .gp-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gp-dd-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--gp-ink); line-height: 1.3; }
.gp-dd-menu a:hover { background: var(--gp-mist); text-decoration: none; color: var(--gp-ink); }
.gp-dd-menu a > i { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--gp-oxblood-soft); color: var(--gp-oxblood); font-size: .95rem; }
.gp-dd-menu b { display: block; font-size: .93rem; font-weight: 700; }
.gp-dd-menu small { display: block; font-size: .8rem; color: var(--gp-muted); line-height: 1.35; }
.gp-dd-menu .gp-dd-all { grid-column: 1 / -1; justify-content: center; align-items: center; margin-top: 6px; background: var(--gp-night); color: #fff; font-weight: 700; font-size: .92rem; }
.gp-dd-menu .gp-dd-all:hover { background: var(--gp-oxblood); color: #fff; }
.gp-dd-menu--narrow { width: 300px; grid-template-columns: 1fr; }

.gp-footer { background: var(--gp-night); color: #8e8e8e; padding: 74px 0 26px; font: 400 .95rem/1.65 var(--gp-sans); border-top: 1px solid rgba(255, 255, 255, .06); }
.gp-footer p { margin: 0 0 1em; color: #8e8e8e; }
.gp-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.gp-footer .gp-logo img { width: 190px; height: auto; margin-bottom: 16px; display: block; }
.gp-footer h4 { color: #fff; font: 700 .82rem/1.3 var(--gp-sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.gp-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.gp-footer li { padding: 0; margin: 0; }
.gp-footer a { color: #cfcfcf; text-decoration: none; }
.gp-footer a:hover { color: var(--gp-amber); text-decoration: none; }
.gp-social { display: flex; gap: 10px; margin-top: 18px; }
.gp-social a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .07); color: #fff; }
.gp-social a:hover { background: var(--gp-red); color: #fff; }
.gp-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.gp-brands { background: #060606; padding: 36px 0 34px; text-align: center; }
.gp-brands h4 { margin: 0 0 26px; font: 700 12.5px/1.3 var(--gp-sans); letter-spacing: .12em; text-transform: uppercase; color: #6e6e6e; }
.gp-brands a { display: block; line-height: 0; }
.gp-brands a.gp-brands-ir { display: inline-block; vertical-align: top; margin-bottom: 26px; }
.gp-brands img { display: block; height: 40px; width: auto; opacity: .75; transition: opacity .15s ease; }
.gp-brands a:hover img { opacity: 1; }
.gp-brands-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); justify-items: center; align-items: center; gap: 28px 20px; width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; }
.gp-brands-row img { width: min(100%, 210px); height: 40px; object-fit: contain; }
@media (max-width: 900px) {
  .gp-brands-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
}
@media (max-width: 640px) {
  .gp-brands-row { grid-template-columns: 1fr; gap: 24px; justify-items: center; }
  .gp-brands-row > a { width: 220px; max-width: 78%; }
  .gp-brands .gp-brands-row img { width: 100%; max-width: none; height: auto; }
}

@media (max-width: 1080px) { .gp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1000px) {
	.gp-menu-toggle { display: block; }
	.gp-nav {
		position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
		background: var(--gp-night); border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
		padding: 10px 20px 22px; max-height: calc(100vh - 78px); overflow-y: auto; display: none;
	}
	.gp-nav.is-open { display: flex; }
	.gp-nav > a, .gp-dd-top > a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
	.gp-nav > .gp-btn { margin: 16px 0 0; border-radius: 999px; border-bottom: 0; }
	.gp-dd-top { justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .07); }
	.gp-dd-top > a { border-bottom: 0; flex: 1; }
	.gp-dd-toggle { font-size: 1rem; padding: 12px; margin: 0; }
	.gp-dd-menu, .gp-dd-menu--narrow { position: static; transform: none; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 6px 0; display: none; opacity: 1; visibility: visible; background: transparent; }
	.gp-dd-menu a { color: #e8e8e8; }
	.gp-dd-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
	.gp-dd-menu small { color: #8e8e8e; }
	.gp-dd.is-open .gp-dd-menu { display: grid; transform: none; }
}
@media (max-width: 640px) {
	.gp-footer-grid { grid-template-columns: 1fr; }
}
