/* ============================================================
   Crimson Curly — Custom Styles
   Layered on top of Dopetrope (HTML5 UP)
   ============================================================ */

/* ── Global font color darkening ── */
body, input, textarea, select {
	color: #111111;
	font-weight: 500;
}

/* ── Custom social icons ── */
ul.social li a.bsky-icon {
	background: #0085ff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
ul.social li a.bsky-icon svg {
	fill: #fff;
	width: 1.5em;
	height: 1.5em;
}
ul.social li a.bsky-icon .label {
	display: none;
}
ul.social li a.fa-artstation {
	background: #13aff0;
}
ul.social li a.fa-twitch {
	background: #9146ff;
}

/* ── Commission status badge ── */
.commission-status-badge {
	display: inline-block;
	padding: 0.5em 1.6em;
	font-weight: 700;
	font-size: 1em;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	border-radius: 4px;
	margin-bottom: 1.5em;
}
.status-open {
	background: #d52349;
	color: #fff;
}
.status-closed {
	background: #555;
	color: #aaa;
}
.status-open-text {
	color: #d52349;
}

/* ── Commission CTA strip ── */
.commission-cta-strip {
	text-align: center;
	padding: 2em 0;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
	margin-bottom: 2em;
}
.commission-cta-strip p {
	font-size: 1.05em;
	margin-bottom: 1.5em;
}

/* ── Portfolio filter bar ── */
.filter-bar {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
	margin-bottom: 2em;
}
.filter-btn {
	padding: 0.45em 1.2em;
	border: 2px solid #d52349 !important;
	color: #d52349 !important;
	background: transparent !important;
	cursor: pointer;
	border-radius: 3px;
	font-size: 0.85em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: background 0.2s, color 0.2s;
	outline: none;
	font-family: inherit;
}
.filter-btn.active,
.filter-btn:hover {
	background: #d52349 !important;
	color: #fff !important;
}

/* ── Gallery grid ── */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.2em;
	margin-bottom: 2em;
}
.gallery-card {
	position: relative;
	overflow: hidden;
	border-radius: 3px;
}
.gallery-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}
.gallery-card:hover img {
	transform: scale(1.04);
}
.gallery-card .card-label {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(213, 35, 73, 0.88);
	color: #fff;
	padding: 0.5em 0.8em;
	text-align: center;
	font-size: 0.8em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transform: translateY(100%);
	transition: transform 0.25s;
}
.gallery-card:hover .card-label {
	transform: translateY(0);
}

@media (max-width: 900px) {
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.gallery-grid { grid-template-columns: 1fr; }
}

/* ── Commission service cards ── */
.service-card {
	border-left: 4px solid #d52349;
	padding: 1.2em 1.4em;
	margin-bottom: 1.2em;
	background: #fafafa;
}
.service-card h3 {
	margin: 0 0 0.3em 0;
	color: #d52349;
}
.service-card .price-note {
	font-size: 0.85em;
	color: #555;
	font-style: italic;
}

/* ── How to Order steps ── */
.order-steps {
	counter-reset: step-counter;
	list-style: none;
	padding: 0;
	margin: 0 0 2em 0;
}
.order-steps li {
	counter-increment: step-counter;
	display: flex;
	align-items: flex-start;
	gap: 1em;
	margin-bottom: 1em;
	padding-bottom: 1em;
	border-bottom: 1px solid #eee;
}
.order-steps li:last-child {
	border-bottom: none;
}
.order-steps li::before {
	content: counter(step-counter);
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 2em;
	height: 2em;
	background: #d52349;
	color: #fff;
	font-weight: 700;
	font-size: 0.9em;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 0.1em;
}

/* ── Dark header background (all pages) ── */
#header {
	background: #252122 !important;
	border-bottom: solid 1px #3a3436 !important;
	padding: 2em 0 !important;
}

/* Homepage: zero padding — banner image fills the whole header */
.homepage #header {
	padding: 0 !important;
	border-bottom: none !important;
}

/* ── Banner: image with nav overlaid ── */
#banner {
	position: relative;
	background: none !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 0;
}

#banner img.banner-img {
	width: 100%;
	display: block;
	object-fit: cover;
}

/* Fixed nav on ALL pages */
#nav {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	bottom: auto !important;
	z-index: 1000;
	margin: 0 !important;
	padding: 1.8em 0;
	background: rgba(37, 33, 34, 0.97);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

/* Non-homepage: collapse header to a spacer since nav is now fixed */
body:not(.homepage) #header {
	padding: 0 !important;
	min-height: 80px;
}

/* Push banner down so it doesn't hide under the fixed nav */
.homepage #banner {
	padding-top: 80px;
}

/* Nav links — white text with shadow for readability on image */
#nav > ul > li > a {
	color: #fff !important;
	text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

#nav > ul > li:hover > a,
#nav > ul > li.active > a {
	background: rgba(0,0,0,0.35) !important;
	color: #fff !important;
	text-shadow: none;
}

#nav > ul > li.current > a {
	background: #d52349 !important;
	color: #fff !important;
	text-shadow: none;
}

/* About Me section */
#intro {
	background: #ffffff;
	padding-top: 3em !important;
	padding-bottom: 3em !important;
}

/* Override dark alt button — outlined crimson style */
#intro .button.alt {
	background: transparent !important;
	color: #d52349 !important;
	border: 2px solid #d52349 !important;
	box-shadow: none !important;
}
#intro .button.alt:hover {
	background: #d52349 !important;
	color: #fff !important;
}

.about-avatar {
	width: 100%;
	max-width: 280px;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 32px rgba(213, 35, 73, 0.35), 0 0 8px rgba(155, 89, 182, 0.25);
}

@media (max-width: 980px) {
	#intro .col-8 { padding: 1.5em 1em !important; text-align: center !important; }
	.about-avatar { max-width: 200px; }
}

/* ── Purple secondary glow (decorative) ── */
.glow-accent {
	color: #9b59b6;
}

/* ── Terms page — kill all borders near tab bar ── */
.no-sidebar #main article.box.post > header,
.no-sidebar #main article.box.post > header h2,
.no-sidebar #main article.box.post > header p,
.terms-tabs,
.terms-tabs + * {
	border-bottom: none !important;
}
.no-sidebar #main article.box.post > header {
	padding-bottom: 0.5em !important;
	margin-bottom: 0 !important;
}

/* ── Terms page tabs ── */
.terms-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	border-bottom: none !important;
	margin-bottom: 2em;
	background: #fff;
	position: relative;
	z-index: 1;
}
.terms-tab-btn,
.terms-tab-btn:hover,
.terms-tab-btn:active,
.terms-tab-btn:visited,
.terms-tab-btn:focus {
	border-bottom: 1px solid #ddd !important;
}
.terms-tab-btn.active,
.terms-tab-btn.active:hover {
	border-bottom: 1px solid #fff !important;
}
.terms-tab-btn {
	padding: 0.65em 1.4em;
	background: #f0f0f0 !important;
	border: 1px solid #ddd !important;
	border-bottom: 1px solid #ddd !important;
	text-decoration: none !important;
	margin-bottom: -2px;
	margin-right: 3px;
	font-family: inherit;
	font-size: 0.82em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #444 !important;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	outline: none;
	border-radius: 3px 3px 0 0;
	box-shadow: none !important;
}
.terms-tab-btn:hover {
	background: #fce8ec !important;
	color: #d52349 !important;
}
.terms-tab-btn.active {
	background: #fff !important;
	color: #d52349 !important;
	border-color: #ddd !important;
	border-bottom: 3px solid #fff !important;
}
.terms-tab-panel {
	display: none;
}
.terms-tab-panel.active {
	display: block;
}

/* ── Terms of Service page ── */
.tos-section {
	margin-bottom: 2em;
	padding-bottom: 2em;
	border-bottom: 1px solid #e8e8e8;
}
.tos-section:last-child {
	border-bottom: none;
}
.tos-section h3 {
	color: #d52349;
	margin-bottom: 0.5em;
}

/* ── Commission sheet header ── */
.commission-sheet-header {
	text-align: center;
	padding: 1.5em 0 1em;
	border-bottom: 3px solid #d52349;
	margin-bottom: 1.5em;
}
.commission-sheet-header h2 {
	color: #d52349;
	margin: 0 0 0.1em 0;
	font-size: 2em;
}
.commission-sheet-header p {
	margin: 0;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 0.85em;
}

/* ── Commission about strip ── */
.commission-about-strip {
	display: flex;
	align-items: flex-start;
	gap: 2em;
	margin-bottom: 2em;
	padding-bottom: 2em;
	border-bottom: 1px solid #e8e8e8;
	flex-wrap: wrap;
}
.commission-about-left {
	display: flex;
	align-items: flex-start;
	gap: 1.2em;
	flex: 1;
	min-width: 240px;
}
.commission-about-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.5em;
	min-width: 200px;
}
.commission-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	box-shadow: 0 0 12px rgba(213, 35, 73, 0.3);
}
.commission-about-left h3 {
	margin: 0 0 0.3em 0;
	color: #d52349;
}
.commission-about-left p {
	margin: 0 0 0.4em 0;
	font-size: 0.9em;
}
.watch-live {
	font-size: 0.9em;
	text-align: right;
	margin: 0;
	line-height: 1.6;
}
.watch-live i {
	color: #9146ff;
}

/* ── Pricing table ── */
.pricing-table {
	margin-bottom: 1em;
}
.pricing-row {
	display: flex;
	align-items: stretch;
	margin-bottom: 0.6em;
	border-radius: 3px;
	overflow: hidden;
}
.pricing-label {
	background: #d52349;
	color: #fff;
	font-weight: 700;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.9em 1em;
	min-width: 130px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-shrink: 0;
}
.pricing-label.label-purple {
	background: #7b3fa0;
}
.pricing-label.label-dark {
	background: #252122;
}
.pricing-content {
	background: #f7f7f7;
	padding: 0.8em 1.2em;
	flex: 1;
	font-size: 0.95em;
	display: block;
	border: 1px solid #e8e8e8;
	border-left: none;
	line-height: 1.8;
}
.pricing-disclaimer {
	text-align: center;
	font-size: 0.85em;
	color: #666;
	font-style: italic;
	margin: 0.5em 0 2em;
}

/* ── Commission links ── */
.commission-links {
	background: #fafafa;
	border-left: 4px solid #d52349;
	padding: 1.2em 1.4em;
	margin-bottom: 2em;
}
.commission-links p {
	margin: 0 0 0.5em 0;
	font-size: 0.95em;
}
.commission-links p:last-child {
	margin-bottom: 0;
}

/* ── Commission request form section ── */
.commission-form-section {
	margin-top: 3em;
	padding: 2em;
	border-top: 2px solid #d52349;
	text-align: center;
	background: #fafafa;
	border-radius: 0 0 3px 3px;
}
.commission-form-section h3 {
	color: #d52349;
	margin-bottom: 0.4em;
}
.commission-form-section > p {
	color: #444;
	font-size: 0.95em;
	margin-bottom: 1.5em;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}
.commission-form-btn {
	font-size: 1.05em !important;
}

@media (max-width: 600px) {
	.commission-about-strip { flex-direction: column; }
	.commission-about-right { align-items: flex-start; }
	.watch-live { text-align: left; }
	.pricing-row { flex-direction: column; }
	.pricing-label { min-width: unset; justify-content: flex-start; padding: 0.5em 1em; }
	.pricing-content { border-left: 1px solid #e8e8e8; border-top: none; }
}
