/* PixelCraft WP — Brand site styles */

:root {
	--pc-primary: #e85d04;
	--pc-primary-dark: #c44900;
	--pc-secondary: #1b263b;
	--pc-accent: #ffd166;
	--pc-light: #f8f9fa;
	--pc-gray-100: #f1f3f5;
	--pc-gray-200: #e9ecef;
	--pc-gray-600: #6c757d;
	--pc-gray-800: #343a40;
	--pc-white: #ffffff;
	--pc-font-heading: "Oswald", sans-serif;
	--pc-font-body: "Source Sans 3", sans-serif;
	--pc-radius: 8px;
	--pc-radius-lg: 16px;
	--pc-shadow: 0 4px 24px rgba(27, 38, 59, 0.08);
	--pc-shadow-lg: 0 12px 40px rgba(27, 38, 59, 0.15);
	--pc-container: 1140px;
	--pc-header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--pc-font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--pc-gray-800);
	background: var(--pc-white);
}

img { max-width: 100%; height: auto; display: block; }

a {
	color: var(--pc-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover { color: var(--pc-primary-dark); }

h1, h2, h3, h4 {
	font-family: var(--pc-font-heading);
	font-weight: 600;
	line-height: 1.2;
	color: var(--pc-secondary);
	margin-top: 0;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin-top: 0; }

.container {
	width: min(100% - 2rem, var(--pc-container));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	z-index: 9999;
	background: var(--pc-white);
	padding: 0.5rem 1rem;
	border-radius: var(--pc-radius);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	font-family: var(--pc-font-heading);
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: var(--pc-radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-primary {
	background: var(--pc-primary);
	color: var(--pc-white);
	border-color: var(--pc-primary);
}

.btn-primary:hover {
	background: var(--pc-primary-dark);
	border-color: var(--pc-primary-dark);
	color: var(--pc-white);
}

.btn-secondary {
	background: transparent;
	color: var(--pc-secondary);
	border-color: var(--pc-secondary);
}

.btn-secondary:hover {
	background: var(--pc-secondary);
	color: var(--pc-white);
}

.btn-outline-light {
	background: transparent;
	color: var(--pc-white);
	border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--pc-white);
}

.btn-light {
	background: var(--pc-white);
	color: var(--pc-secondary);
}

.btn-light:hover {
	background: var(--pc-gray-100);
	color: var(--pc-secondary);
}

.btn-sm {
	padding: 0.625rem 1.25rem;
	font-size: 0.85rem;
}

.btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.badge {
	display: inline-block;
	padding: 0.3rem 0.75rem;
	font-family: var(--pc-font-heading);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 999px;
	background: rgba(232, 93, 4, 0.12);
	color: var(--pc-primary);
}

.badge-soon {
	background: rgba(27, 38, 59, 0.08);
	color: var(--pc-secondary);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--pc-white);
	box-shadow: var(--pc-shadow);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--pc-header-height);
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--pc-font-heading);
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--pc-secondary);
}

.logo svg { color: var(--pc-primary); flex-shrink: 0; }

.logo:hover { color: var(--pc-secondary); }

.main-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	font-family: var(--pc-font-heading);
	font-size: 0.9rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--pc-secondary);
}

.nav-list a:hover,
.nav-list a.is-active {
	color: var(--pc-primary);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
}

.menu-toggle__bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--pc-secondary);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.2s ease;
	transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
	padding: 5rem 0 4rem;
	background:
		linear-gradient(135deg, rgba(27, 38, 59, 0.96) 0%, rgba(27, 38, 59, 0.88) 100%),
		var(--pc-secondary);
	color: var(--pc-white);
}

.hero--compact { padding: 4rem 0 3rem; }

.hero__content { max-width: 720px; }

.hero h1 { color: var(--pc-white); margin-bottom: 1rem; }

.hero__subtitle {
	font-size: 1.15rem;
	opacity: 0.92;
	margin-bottom: 2rem;
	max-width: 56ch;
}

.hero .badge { margin-bottom: 1rem; }

/* Sections */
.section { padding: 5rem 0; }

.section--light { background: var(--pc-light); }

.section-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 3rem;
}

.section-label {
	display: inline-block;
	font-family: var(--pc-font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--pc-primary);
	margin-bottom: 0.75rem;
}

.section-header p { color: var(--pc-gray-600); font-size: 1.05rem; }

/* Cards */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.card {
	background: var(--pc-white);
	border-radius: var(--pc-radius-lg);
	box-shadow: var(--pc-shadow);
	padding: 2rem;
	border: 1px solid var(--pc-gray-200);
}

.card h3 { margin-bottom: 0.75rem; }

.card p { color: var(--pc-gray-600); margin-bottom: 0; }

.card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1.25rem;
	background: rgba(232, 93, 4, 0.1);
	border-radius: var(--pc-radius);
	color: var(--pc-primary);
}

/* Theme showcase */
.theme-showcase {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.theme-preview {
	background: var(--pc-gray-100);
	border-radius: var(--pc-radius-lg);
	overflow: hidden;
	box-shadow: var(--pc-shadow-lg);
	border: 1px solid var(--pc-gray-200);
}

.theme-preview__bar {
	display: flex;
	gap: 0.4rem;
	padding: 0.85rem 1rem;
	background: var(--pc-secondary);
}

.theme-preview__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
}

.theme-preview__body {
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(180deg, rgba(27, 38, 59, 0.9) 0%, rgba(27, 38, 59, 0.7) 40%, var(--pc-light) 40%, var(--pc-light) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;
	color: var(--pc-gray-600);
	font-size: 0.95rem;
}

.theme-preview__body--image {
	padding: 0;
	background: var(--pc-gray-100);
	overflow: hidden;
}

.theme-preview__body--image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.theme-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.25rem 0 1.5rem;
}

.theme-meta span {
	font-size: 0.9rem;
	color: var(--pc-gray-600);
}

/* Theme catalog */
.theme-catalog {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
}

.theme-card {
	background: var(--pc-white);
	border-radius: var(--pc-radius-lg);
	overflow: hidden;
	box-shadow: var(--pc-shadow);
	border: 1px solid var(--pc-gray-200);
}

.theme-card__preview {
	aspect-ratio: 16 / 9;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;
}

.theme-card__preview span {
	font-family: var(--pc-font-heading);
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--pc-white);
}

.theme-card__preview--auto {
	background:
		linear-gradient(135deg, rgba(232, 93, 4, 0.92) 0%, rgba(27, 38, 59, 0.95) 100%);
}

.theme-card__preview--hotel {
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.95) 0%, rgba(27, 38, 59, 0.95) 100%);
}

.theme-card__body { padding: 1.75rem; }

.theme-card__body h2 {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.theme-card__body h2 a { color: inherit; }

.theme-card__body h2 a:hover { color: var(--pc-primary); }

.theme-card__body > p { color: var(--pc-gray-600); margin-bottom: 1rem; }

.theme-card__price {
	font-family: var(--pc-font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--pc-secondary);
	margin: 1.25rem 0 1rem;
}

.theme-card__price span {
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--pc-gray-600);
	text-transform: none;
	letter-spacing: 0;
}

/* Hotel theme accents */
.hero--hotel {
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.96) 0%, rgba(27, 38, 59, 0.92) 100%);
}

.theme-preview--hotel .theme-preview__body {
	background:
		linear-gradient(180deg, rgba(15, 118, 110, 0.85) 0%, rgba(15, 118, 110, 0.65) 40%, var(--pc-light) 40%, var(--pc-light) 100%);
}

.pricing-card--hotel {
	background: linear-gradient(135deg, #0f766e 0%, var(--pc-secondary) 100%);
}

.pricing-card--hotel .price { color: #fbbf24; }

.feature-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 2rem;
}

.feature-list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.65rem;
	color: var(--pc-gray-800);
}

.feature-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--pc-primary);
	font-weight: 700;
}

/* CTA banner */
.cta-banner {
	background: var(--pc-primary);
	color: var(--pc-white);
	padding: 3.5rem 0;
}

.cta-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.cta-banner h2 { color: var(--pc-white); margin-bottom: 0.5rem; }

.cta-banner p { margin: 0; opacity: 0.92; }

/* Page content */
.page-content { padding: 4rem 0 5rem; }

.page-content .container { max-width: 820px; }

.page-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; }

.page-content h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; }

.page-content ul, .page-content ol {
	padding-left: 1.25rem;
	margin-bottom: 1.25rem;
}

.page-content li { margin-bottom: 0.5rem; }

.page-content code {
	background: var(--pc-gray-100);
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
	font-size: 0.9em;
}

.info-box {
	background: var(--pc-light);
	border-left: 4px solid var(--pc-primary);
	padding: 1rem 1.25rem;
	border-radius: 0 var(--pc-radius) var(--pc-radius) 0;
	margin: 1.5rem 0;
}

.info-box p:last-child { margin-bottom: 0; }

/* Product page extras */
.specs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin: 2rem 0;
}

.spec-item {
	background: var(--pc-light);
	padding: 1.25rem;
	border-radius: var(--pc-radius);
}

.spec-item strong {
	display: block;
	font-family: var(--pc-font-heading);
	color: var(--pc-secondary);
	margin-bottom: 0.25rem;
}

.pricing-card {
	background: var(--pc-secondary);
	color: var(--pc-white);
	padding: 2rem;
	border-radius: var(--pc-radius-lg);
	text-align: center;
	margin: 2rem 0;
}

.pricing-card .price {
	font-family: var(--pc-font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--pc-accent);
}

/* Footer */
.site-footer {
	background: var(--pc-secondary);
	color: rgba(255, 255, 255, 0.85);
	padding: 4rem 0 0;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
}

.site-footer h3 {
	color: var(--pc-white);
	font-family: var(--pc-font-heading);
	font-size: 1rem;
	margin-bottom: 1rem;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a { color: rgba(255, 255, 255, 0.85); }

.footer-links a:hover { color: var(--pc-accent); }

.site-footer__brand p {
	opacity: 0.8;
	max-width: 32ch;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
}

/* Scroll to top */
.scroll-to-top {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--pc-primary);
	color: var(--pc-white);
	box-shadow: var(--pc-shadow-lg);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.scroll-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.scroll-to-top:hover { background: var(--pc-primary-dark); }

/* Responsive */
@media (max-width: 992px) {
	.theme-showcase,
	.site-footer__grid,
	.theme-catalog {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.menu-toggle { display: flex; }

	.main-nav {
		position: fixed;
		inset: var(--pc-header-height) 0 0 0;
		background: var(--pc-white);
		padding: 2rem;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
		justify-content: flex-start;
	}

	.main-nav.is-open { transform: translateX(0); }

	.nav-list {
		flex-direction: column;
		gap: 1rem;
	}

	.cta-banner__inner {
		flex-direction: column;
		text-align: center;
	}

	.scroll-to-top {
		right: 1rem;
		bottom: 1rem;
		width: 44px;
		height: 44px;
	}
}
