/* =========================================================
   TechAlbania — main.css
   Design tokens derived from the reference mockup
   ========================================================= */

:root {
	--ta-black: #111111;
	--ta-near-black: #1a1a1a;
	--ta-red: #E31E24;
	--ta-red-dark: #C4151B;
	--ta-gray-50: #F7F7F8;
	--ta-gray-100: #EFEFF1;
	--ta-gray-200: #E3E3E6;
	--ta-gray-500: #6B6B70;
	--ta-gray-700: #3A3A3D;
	--ta-white: #FFFFFF;

	--ta-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--ta-radius: 10px;
	--ta-radius-lg: 18px;
	--ta-shadow: 0 10px 30px rgba(17,17,17,0.08);
	--ta-container: 1280px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

body {
	font-family: var(--ta-font);
	color: var(--ta-black);
	background: var(--ta-white);
	-webkit-font-smoothing: antialiased;
}

.ta-container {
	max-width: var(--ta-container);
	margin: 0 auto;
	padding: 0 24px;
}

.ta-icon { width: 20px; height: 20px; }
.ta-icon--sm { width: 16px; height: 16px; }

/* ---------- Top bar ---------- */
.ta-topbar {
	background: var(--ta-black);
	color: var(--ta-white);
	font-size: 13px;
}
.ta-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 40px;
}
.ta-topbar__shipping {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #DADADA;
}
.ta-topbar__right {
	display: flex;
	align-items: center;
	gap: 24px;
}
.ta-topbar__links { display: flex; gap: 20px; }
.ta-topbar__links a { color: #DADADA; transition: color .15s; }
.ta-topbar__links a:hover { color: var(--ta-white); }
.ta-topbar__social { display: flex; gap: 14px; }
.ta-topbar__social a { color: var(--ta-white); display: flex; }

/* ---------- Header ---------- */
.ta-header {
	background: var(--ta-white);
	border-bottom: 1px solid var(--ta-gray-200);
}
.ta-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 84px;
	gap: 32px;
}
.ta-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 700;
	flex-shrink: 0;
}
.ta-logo__mark {
	background: var(--ta-black);
	color: var(--ta-white);
	font-size: 15px;
	font-weight: 800;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.ta-logo__mark::after {
	content: "";
	position: absolute;
	right: -2px;
	bottom: -2px;
	width: 10px;
	height: 10px;
	background: var(--ta-red);
	border-radius: 3px;
}
.ta-logo__text strong { color: var(--ta-red); font-weight: 800; }

.ta-nav__list {
	display: flex;
	align-items: center;
	gap: 36px;
	font-weight: 600;
	font-size: 15px;
}
.ta-nav__list li { position: relative; padding: 30px 0; }
.ta-nav__list a { display: flex; align-items: center; gap: 4px; }
.ta-nav__list li.is-active a,
.ta-nav__list li:hover a { color: var(--ta-red); }
.ta-nav__list li.is-active::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 24px;
	height: 2px;
	background: var(--ta-red);
}
.ta-nav__list li.menu-item-has-children > a::after {
	content: "";
	width: 7px; height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-left: 2px;
}
.ta-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	background: var(--ta-white);
	box-shadow: var(--ta-shadow);
	border-radius: var(--ta-radius);
	min-width: 200px;
	padding: 8px;
	z-index: 20;
}
.ta-nav__list li:hover .sub-menu { display: block; }
.ta-nav__list .sub-menu li { padding: 0; }
.ta-nav__list .sub-menu a { padding: 10px 12px; border-radius: 6px; }
.ta-nav__list .sub-menu a:hover { background: var(--ta-gray-50); }

.ta-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
}
.ta-icon-btn {
	position: relative;
	display: flex;
	color: var(--ta-black);
}
.ta-icon-btn--cart .ta-cart-count {
	position: absolute;
	top: -8px; right: -10px;
	background: var(--ta-red);
	color: var(--ta-white);
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px;
}
.ta-burger { display: none; background: none; border: none; flex-direction: column; gap: 4px; padding: 4px; }
.ta-burger span { width: 22px; height: 2px; background: var(--ta-black); border-radius: 2px; }

/* ---------- Hero ---------- */
.ta-hero {
	background: var(--ta-gray-100);
	overflow: hidden;
}
.ta-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
	gap: 40px;
	min-height: 560px;
	padding-top: 40px;
	padding-bottom: 40px;
}
.ta-hero__title {
	font-size: 52px;
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 20px;
}
.ta-hero__title span { color: var(--ta-red); }
.ta-hero__desc {
	font-size: 17px;
	color: var(--ta-gray-500);
	max-width: 440px;
	line-height: 1.6;
	margin: 0 0 32px;
}
.ta-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.ta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 15px;
	padding: 15px 26px;
	border-radius: 8px;
	border: 1.5px solid transparent;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ta-btn--primary { background: var(--ta-red); color: var(--ta-white); }
.ta-btn--primary:hover { background: var(--ta-red-dark); transform: translateY(-1px); }
.ta-btn--outline { background: var(--ta-white); border-color: var(--ta-black); color: var(--ta-black); }
.ta-btn--outline:hover { background: var(--ta-black); color: var(--ta-white); }
.ta-btn--sm { padding: 10px 18px; font-size: 13px; }

/* Hero visual — stylised device illustration (no stock photography) */
.ta-hero__visual {
	position: relative;
	height: 460px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.ta-hero__shard {
	position: absolute;
	right: -10%;
	top: 10%;
	width: 60%;
	height: 90%;
	background: var(--ta-red);
	clip-path: polygon(30% 0, 100% 15%, 85% 100%, 0 85%);
	opacity: 0.9;
	z-index: 0;
}
.ta-device { position: relative; z-index: 1; }
.ta-device--laptop {
	width: 360px;
	position: relative;
}
.ta-device--laptop .ta-device__lid {
	width: 100%;
	height: 240px;
	background: linear-gradient(155deg, #2b2b2e, #141416);
	border-radius: 14px 14px 6px 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--ta-shadow);
}
.ta-device__logo {
	color: var(--ta-white);
	font-weight: 800;
	font-size: 22px;
	letter-spacing: 1px;
}
.ta-device__logo::after { content: ""; }
.ta-device--laptop .ta-device__base {
	width: 116%;
	margin-left: -8%;
	height: 16px;
	background: linear-gradient(155deg, #3a3a3d, #1c1c1e);
	border-radius: 0 0 10px 10px;
}
.ta-device--watch {
	position: absolute;
	left: 6%;
	bottom: 34%;
	width: 90px;
}
.ta-device__watchface {
	width: 90px; height: 90px;
	background: var(--ta-near-black);
	border-radius: 22px;
	box-shadow: var(--ta-shadow);
	position: relative;
}
.ta-device__watchface::after {
	content: "";
	position: absolute;
	inset: 12px;
	border-radius: 50%;
	border: 2px solid #444;
}
.ta-device__watchband {
	width: 40px; height: 60px;
	background: var(--ta-near-black);
	margin: 0 auto;
	border-radius: 0 0 12px 12px;
	opacity: .85;
}
.ta-device--phone {
	position: absolute;
	left: 2%;
	bottom: 0;
	width: 150px;
	height: 60px;
	background: linear-gradient(155deg, #2b2b2e, #141416);
	border-radius: 14px;
	box-shadow: var(--ta-shadow);
	transform: rotate(-3deg);
}

/* ---------- Trust bar ---------- */
.ta-trust {
	background: var(--ta-black);
	color: var(--ta-white);
	padding: 44px 0;
}
.ta-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}
.ta-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.ta-trust__icon {
	flex-shrink: 0;
	width: 44px; height: 44px;
	border: 1.5px solid var(--ta-red);
	color: var(--ta-red);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ta-trust__item h3 { font-size: 15px; margin: 0 0 4px; }
.ta-trust__item p { font-size: 13px; color: #A9A9AC; margin: 0; line-height: 1.5; }

/* ---------- Section heading ---------- */
.ta-section-heading { text-align: center; margin-bottom: 44px; }
.ta-eyebrow {
	display: block;
	color: var(--ta-red);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.ta-section-heading h2 { font-size: 36px; font-weight: 800; margin: 0; }
.ta-section-heading h2 span { color: var(--ta-red); }

/* ---------- Categories ---------- */
.ta-categories { padding: 80px 0; background: var(--ta-gray-50); }
.ta-categories__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}
.ta-category-card {
	background: var(--ta-white);
	border: 1px solid var(--ta-gray-200);
	border-radius: var(--ta-radius-lg);
	padding: 28px 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.ta-category-card:hover {
	box-shadow: var(--ta-shadow);
	transform: translateY(-3px);
	border-color: var(--ta-gray-200);
}
.ta-category-card__icon {
	width: 56px; height: 56px;
	border-radius: 12px;
	background: var(--ta-gray-100);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ta-black);
}
.ta-category-card__icon .ta-icon { width: 26px; height: 26px; }
.ta-category-card__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	font-weight: 700;
	font-size: 15px;
}
.ta-category-card__label .ta-icon { color: var(--ta-gray-500); transition: transform .15s, color .15s; }
.ta-category-card:hover .ta-icon { transform: translateX(3px); color: var(--ta-red); }

/* ---------- Generic content / blog ---------- */
.ta-page-content { padding: 60px 0; }
.ta-generic-page { padding: 60px 24px; }
.ta-page-title { font-size: 32px; font-weight: 800; margin-bottom: 32px; }
.ta-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.ta-post-card {
	border: 1px solid var(--ta-gray-200);
	border-radius: var(--ta-radius-lg);
	overflow: hidden;
}
.ta-post-card__body { padding: 20px; }
.ta-post-card__title { font-size: 18px; margin: 0 0 10px; }
.ta-post-card__excerpt { color: var(--ta-gray-500); font-size: 14px; margin-bottom: 16px; }
.ta-pagination { margin-top: 40px; text-align: center; }

/* ---------- Footer ---------- */
.ta-footer { background: var(--ta-black); color: #C9C9CC; padding-top: 64px; }
.ta-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid #2A2A2C;
}
.ta-footer__col h4 { color: var(--ta-white); font-size: 15px; margin: 0 0 18px; }
.ta-footer__list li { margin-bottom: 12px; }
.ta-footer__list a:hover { color: var(--ta-white); }
.ta-footer__brand p { font-size: 14px; line-height: 1.6; margin: 16px 0 20px; max-width: 320px; }
.ta-logo--footer .ta-logo__text { color: var(--ta-white); }
.ta-footer__social a { color: #C9C9CC; }
.ta-footer__social a:hover { color: var(--ta-white); }
.ta-footer__bottom { padding: 22px 0; }
.ta-footer__bottom p { margin: 0; font-size: 13px; text-align: center; color: #8A8A8D; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.ta-nav { display: none; }
	.ta-nav.is-open {
		display: block;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--ta-white);
		box-shadow: var(--ta-shadow);
		z-index: 30;
	}
	.ta-nav.is-open .ta-nav__list { flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px; }
	.ta-nav.is-open .ta-nav__list li { padding: 12px 0; width: 100%; }
	.ta-header { position: relative; }
	.ta-burger { display: flex; }
	.ta-hero__grid { grid-template-columns: 1fr; text-align: center; min-height: auto; }
	.ta-hero__actions { justify-content: center; }
	.ta-hero__desc { margin-left: auto; margin-right: auto; }
	.ta-hero__visual { height: 320px; margin-top: 20px; }
	.ta-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.ta-categories__grid { grid-template-columns: repeat(3, 1fr); }
	.ta-footer__grid { grid-template-columns: 1fr 1fr; }
	.ta-post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.ta-topbar__links { display: none; }
	.ta-hero__title { font-size: 36px; }
	.ta-trust__grid { grid-template-columns: 1fr; }
	.ta-categories__grid { grid-template-columns: repeat(2, 1fr); }
	.ta-footer__grid { grid-template-columns: 1fr; }
	.ta-post-grid { grid-template-columns: 1fr; }
}
