﻿/*
Theme Name: PumaRobot
Theme URI: https://pumarobot.com
Description: Custom theme for PumaRobot.com - Industrial Robotics, Automation & Robotic Equipment
Author: PumaRobot
Version: 1.0.1
Text Domain: pumarobot
*/

:root {
	--color-primary: #0f7bff;
	--color-primary-dark: #005fcc;
	--color-text: #111827;
	--color-text-light: #6b7280;
	--color-bg: #ffffff;
	--color-bg-light: #f8fafc;
	--color-bg-dark: #0f172a;
	--color-border: #e5e7eb;
	--radius: 8px;
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
	box-sizing: border-box;
}

html {
	font-size: 18px;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--color-text);
	background-color: var(--color-bg);
	direction: ltr;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Readable content column */
.entry-content,
.product-content,
.post-content {
	max-width: 780px;
	font-size: 1.15rem;
	line-height: 1.85;
}

.entry-content p,
.product-content p,
.post-content p {
	margin: 0 0 1.4em;
}

h1, h2, h3, h4 {
	line-height: 1.25;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2rem, 4vw, 2.9rem);
	font-weight: 800;
	margin: 0 0 1rem;
}

h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 750;
	margin: 2.2em 0 0.8em;
}

h3 {
	font-size: clamp(1.25rem, 2.4vw, 1.5rem);
	font-weight: 700;
	margin: 1.8em 0 0.6em;
}

.entry-content ul,
.product-content ul,
.entry-content ol,
.product-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.5em;
}

.entry-content li,
.product-content li {
	margin-bottom: 0.5em;
}

@media (max-width: 640px) {
	html {
		font-size: 17px;
	}
}

.site-main,
.site-header,
.site-footer,
.container,
.entry-content,
.product-content {
	direction: ltr;
	text-align: left;
}

a {
	color: var(--color-primary);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--color-border);
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.site-title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
}

.site-title a {
	color: var(--color-text);
	text-decoration: none;
}

.main-navigation ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2rem;
	flex-wrap: wrap;
}

.main-navigation a {
	color: var(--color-text);
	font-weight: 500;
	padding: 0.5rem 0;
	transition: color 0.2s;
}

.main-navigation a:hover {
	color: var(--color-primary);
	text-decoration: none;
}

.site-footer {
	background: var(--color-bg-dark);
	color: #fff;
	padding: 3rem 0 1rem;
	margin-top: 5rem;
}

.site-footer a {
	color: #e5e7eb;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 1rem;
	text-align: center;
	color: #9ca3af;
}

.button,
.pr-cta-button {
	display: inline-block;
	padding: 1rem 2rem;
	background: var(--color-primary);
	color: #fff;
	border-radius: var(--radius);
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;
	transition: all 0.2s;
	box-shadow: var(--shadow);
}

.button:hover,
.pr-cta-button:hover {
	background: var(--color-primary-dark);
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.hero {
	background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
	border-radius: var(--radius);
	padding: 5rem 2rem;
	text-align: center;
	margin: 2rem 0;
}

.hero h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 800;
	margin: 0 0 1rem;
	color: var(--color-text);
	line-height: 1.1;
}

.hero p {
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	color: var(--color-text-light);
	max-width: 800px;
	margin: 0 auto 2rem;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.product-card {
	border: 1px solid var(--color-border);
	padding: 1.75rem;
	border-radius: var(--radius);
	background: #fff;
	transition: all 0.2s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	display: flex;
	flex-direction: column;
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: var(--color-primary);
}

.product-card h3 {
	font-size: 1.35rem;
	line-height: 1.4;
	margin: 1rem 0 0.5rem;
}

.product-card p {
	color: #374151;
	font-size: 1.05rem;
	line-height: 1.7;
	flex-grow: 1;
}

.breadcrumbs {
	margin: 1.5rem 0;
	font-size: 1rem;
	color: var(--color-text-light);
}

.breadcrumbs a {
	color: var(--color-text-light);
}

.spec-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
	background: var(--color-bg-light);
	border-radius: var(--radius);
	overflow: hidden;
}

.spec-table tr {
	border-bottom: 1px solid var(--color-border);
}

.spec-table tr:last-child {
	border-bottom: none;
}

.spec-table th,
.spec-table td {
	padding: 1rem 1.5rem;
	text-align: left;
	font-size: 1.05rem;
	line-height: 1.6;
}

.spec-table th {
	background: #fff;
	font-weight: 600;
	width: 40%;
}
