/**
 * Ateqa Packing Station — Theme Overrides
 *
 * Complements the hoteliqa-license-manager shortcode styling.
 * Palette: #1a1a2e (dark navy), #fff, #f8f9fa, #333, #555, #888
 * Typography: system font stack matching the HLM plugin.
 */

/* =========================================================
   0. Reset / base overrides
   ========================================================= */

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #333;
	background: #fff;
}

a {
	color: #1a1a2e;
}

a:hover,
a:focus {
	color: #2d2d4a;
}

/* =========================================================
   1. Header
   ========================================================= */

.site-header {
	background: #fff;
	border-bottom: none;
	padding: 0;
}

.site-header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 920px;
	margin: 0 auto;
	padding: 16px 20px;
	border-bottom: 1px solid #e0e0e0;
}

.site-branding {
	flex-shrink: 0;
}

.site-branding .site-title {
	margin: 0;
	padding: 0;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1;
}

.site-branding .site-title a {
	color: #1a1a2e;
	text-decoration: none;
}

.site-branding .site-description {
	display: none;
}

/* Ateqa hardcoded nav */
.ateqa-nav {
	flex: 1;
	text-align: right;
}

.ateqa-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.ateqa-nav-list li {
	margin: 0;
}

.ateqa-nav-list a {
	display: block;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 500;
	color: #555;
	text-decoration: none;
	border-radius: 4px;
	transition: color 0.2s, background 0.2s;
}

.ateqa-nav-list a:hover,
.ateqa-nav-list a:focus {
	color: #1a1a2e;
	background: #f0f0f0;
}

.ateqa-nav-list li.current a {
	color: #1a1a2e;
	font-weight: 600;
}

/* Mobile hamburger — hidden on desktop, shown via media query */
#menu-toggle {
	display: none;
	background: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	color: #333;
	line-height: 1;
}

/* =========================================================
   2. Content area
   ========================================================= */

/* Override Twenty Sixteen's float layout so content is centered */
.content-area {
	float: none;
	margin: 0 auto;
	width: 100%;
}

.site-content {
	max-width: 760px;
	margin: 0 auto;
	padding: 40px 20px;
}

/* Wider container for pages with card grids */
.page-template-page-ateqa-home .site-content,
.page-template-page-ateqa-support .site-content,
.page-template-page-ateqa-docs .site-content {
	max-width: 920px;
}

/* Hide the sidebar on all our custom templates */
.page-template-page-ateqa-fullwidth .sidebar,
.page-template-page-ateqa-fullwidth #secondary,
.page-template-page-ateqa-fullwidth .content-bottom-widgets,
.page-template-page-ateqa-home .sidebar,
.page-template-page-ateqa-home #secondary,
.page-template-page-ateqa-home .content-bottom-widgets,
.page-template-page-ateqa-support .sidebar,
.page-template-page-ateqa-support #secondary,
.page-template-page-ateqa-support .content-bottom-widgets,
.page-template-page-ateqa-docs .sidebar,
.page-template-page-ateqa-docs #secondary,
.page-template-page-ateqa-docs .content-bottom-widgets {
	display: none;
}

/* Page titles */
.entry-header .entry-title {
	font-size: 28px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 24px;
}

.entry-content {
	font-size: 16px;
	line-height: 1.7;
	color: #444;
}

/* =========================================================
   3. Footer
   ========================================================= */

.site-footer {
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	padding: 0 20px;
	border-top: none;
}

.ateqa-footer-inner {
	max-width: 920px;
	margin: 0 auto;
	padding: 40px 20px;
	text-align: center;
	background: #1a1a2e;
	border-radius: 12px 12px 0 0;
}

.ateqa-footer-brand {
	margin-bottom: 20px;
}

.ateqa-footer-logo {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.5px;
}

.ateqa-footer-tagline {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 4px;
}

.ateqa-footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0;
	justify-content: center;
	flex-wrap: wrap;
}

.ateqa-footer-nav li {
	margin: 0;
}

.ateqa-footer-nav a {
	display: block;
	padding: 6px 12px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	transition: color 0.2s;
}

.ateqa-footer-nav a:hover,
.ateqa-footer-nav a:focus {
	color: #fff;
}

.ateqa-footer-copy {
	margin-top: 20px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
}

.ateqa-footer-copy a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}

.ateqa-footer-copy a:hover {
	color: #fff;
}

/* =========================================================
   4. Home page hero
   ========================================================= */

.ateqa-hero {
	text-align: center;
	padding: 60px 20px 40px;
}

.ateqa-hero h1 {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 12px;
}

.ateqa-hero .ateqa-hero-sub {
	font-size: 18px;
	color: #555;
	margin: 0 0 30px;
	line-height: 1.6;
}

.ateqa-hero-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Shared button styles (matching HLM plugin) */
.ateqa-btn {
	display: inline-block;
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s;
}

.ateqa-btn-primary {
	background: #1a1a2e;
	color: #fff;
}

.ateqa-btn-primary:hover {
	background: #2d2d4a;
	color: #fff;
}

.ateqa-btn-secondary {
	background: #f0f0f0;
	color: #333;
	border: 1px solid #ccc;
}

.ateqa-btn-secondary:hover {
	background: #e4e4e4;
	color: #333;
}

/* =========================================================
   5. Feature / info cards (home page)
   ========================================================= */

.ateqa-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin: 40px 0;
}

.ateqa-feature-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 28px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ateqa-feature-card h3 {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a2e;
	margin: 0 0 8px;
}

.ateqa-feature-card p {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	margin: 0;
}

/* =========================================================
   6. Section blocks (used across pages)
   ========================================================= */

.ateqa-section {
	margin: 40px 0;
}

.ateqa-section h2 {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 16px;
}

.ateqa-section p {
	color: #555;
	line-height: 1.7;
}

/* Content box (same visual as HLM shortcode boxes) */
.ateqa-box {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	max-width: 600px;
	margin: 0 auto 24px;
}

.ateqa-box h2 {
	margin-top: 0;
	font-size: 22px;
	color: #1a1a2e;
}

/* =========================================================
   7. Support page — tabs for Plugin vs Android
   ========================================================= */

.ateqa-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #e0e0e0;
	margin-bottom: 24px;
}

.ateqa-tab {
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #888;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	cursor: pointer;
	transition: color 0.2s, border-color 0.2s;
}

.ateqa-tab:hover {
	color: #555;
}

.ateqa-tab.active {
	color: #1a1a2e;
	border-bottom-color: #1a1a2e;
}

.ateqa-tab-content {
	display: none;
}

.ateqa-tab-content.active {
	display: block;
}

/* =========================================================
   8. Contact page
   ========================================================= */

.ateqa-contact-info {
	margin-bottom: 30px;
}

.ateqa-contact-info p {
	color: #555;
	line-height: 1.7;
}

/* =========================================================
   9. Documentation / blog list
   ========================================================= */

.ateqa-doc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin: 24px 0;
}

.ateqa-doc-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s;
}

.ateqa-doc-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.ateqa-doc-card h3 {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 8px;
}

.ateqa-doc-card h3 a {
	color: #1a1a2e;
	text-decoration: none;
}

.ateqa-doc-card h3 a:hover {
	text-decoration: underline;
}

.ateqa-doc-card .doc-excerpt {
	font-size: 14px;
	color: #555;
	line-height: 1.5;
}

.ateqa-doc-card .doc-meta {
	font-size: 12px;
	color: #888;
	margin-top: 10px;
}

/* Video embeds */
.ateqa-video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin: 20px 0;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
}

.ateqa-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* =========================================================
   10. Responsive
   ========================================================= */

/* Desktop: nav visible inline */
@media (min-width: 769px) {
	.ateqa-nav {
		display: block !important;
	}
}

/* Mobile: hamburger + collapsible nav */
@media (max-width: 768px) {
	.site-header-main {
		flex-wrap: wrap;
	}

	#menu-toggle {
		display: block;
	}

	/* Hidden by default on mobile — toggled by JS */
	.ateqa-nav {
		display: none;
		width: 100%;
		text-align: left;
		margin-top: 12px;
		border-top: 1px solid #e0e0e0;
		padding-top: 12px;
	}

	.ateqa-nav.toggled {
		display: block;
	}

	.ateqa-nav-list {
		flex-direction: column;
		gap: 0;
	}

	.ateqa-nav-list a {
		padding: 10px 0;
		border-bottom: 1px solid #f0f0f0;
	}

	.ateqa-nav-list li:last-child a {
		border-bottom: none;
	}

	.ateqa-hero h1 {
		font-size: 28px;
	}

	.ateqa-hero .ateqa-hero-sub {
		font-size: 16px;
	}

	.ateqa-features {
		grid-template-columns: 1fr;
	}

	.ateqa-footer-nav ul {
		flex-direction: column;
		align-items: center;
	}

	/* Stack tabs on mobile */
	.ateqa-tabs {
		flex-wrap: wrap;
	}
}

/* =========================================================
   11. Blog post list overrides (match Ateqa style)
   ========================================================= */

.hentry {
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 30px;
	margin-bottom: 30px;
}

.entry-title a {
	color: #1a1a2e;
	text-decoration: none;
}

.entry-title a:hover {
	text-decoration: underline;
}

.entry-meta,
.entry-footer {
	font-size: 13px;
	color: #888;
}

.entry-meta a,
.entry-footer a {
	color: #888;
}

.entry-meta a:hover,
.entry-footer a:hover {
	color: #1a1a2e;
}

/* =========================================================
   12. Twenty Sixteen cleanup
   ========================================================= */

/* Remove default TwentySixteen link color overrides */
.site-header .site-title a:hover,
.site-header .site-title a:focus {
	color: #1a1a2e;
}

/* Clean up widget area on shortcode pages */
.page-template-page-ateqa-fullwidth .content-bottom-widgets {
	display: none;
}
