/*
Theme Name: Tacos Express
Theme URI: https://example.com/tacos-express
Author: Tacos Express
Description: Tema personalizado para el restaurante Tacos Express.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: tacos-express
*/

:root {
	color-scheme: light;
	--bg: #fff7e6;
	--surface: #ffffff;
	--text: #2b2b2b;
	--text-secondary: #555555;
	--primary: #006644;
	--secondary: #c23b22;
	--accent: #f2b705;
	--link: #ad1457;
	--border: #e5d8bd;
	--font-heading: "Arial Black", "Arial Bold", sans-serif;
	--font-body: Arial, Helvetica, sans-serif;
	--content-width: 1200px;
	--radius: 0.75rem;
	--shadow: 0 0.75rem 2rem rgb(43 43 43 / 10%);
}

@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;
		--bg: #121212;
		--surface: #1f1c1a;
		--text: #e8e2d8;
		--text-secondary: #b8b2a8;
		--primary: #0d4b3e;
		--secondary: #c23b22;
		--accent: #f2b705;
		--link: #ad1457;
		--border: #2e2e2e;
		--shadow: 0 0.75rem 2rem rgb(0 0 0 / 28%);
	}
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
}

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

a {
	color: var(--link);
	text-decoration-thickness: 0.1em;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
	color: var(--secondary);
}

h1,
h2,
h3 {
	font-family: var(--font-heading);
	line-height: 1.15;
}

h1 {
	color: var(--text);
}

h2,
h3 {
	color: var(--primary);
}

@media (prefers-color-scheme: dark) {
	h1 {
		color: #fff7e6;
	}

	h2,
	h3 {
		color: var(--accent);
	}

	a:hover,
	a:focus-visible {
		color: var(--accent);
	}
}

button,
input,
textarea,
select {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 0.5rem;
	left: 0.5rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--surface);
}

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

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 5rem;
	gap: 2rem;
}

.custom-logo {
	width: auto;
	max-height: 3.75rem;
}

.site-title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.4rem, 4vw, 2rem);
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.primary-menu {
	display: flex;
	align-items: center;
	padding: 0;
	margin: 0;
	gap: 1.5rem;
	list-style: none;
}

.primary-menu a {
	color: var(--text);
	font-weight: 700;
	text-decoration: none;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a {
	color: var(--primary);
}

.menu-toggle {
	display: none;
	padding: 0.55rem 0.8rem;
	background: var(--primary);
	color: #ffffff;
	border: 0;
	border-radius: 0.4rem;
	cursor: pointer;
}

.hero {
	display: grid;
	min-height: 65vh;
	place-items: center;
	padding-block: 6rem;
	background:
		linear-gradient(rgb(18 18 18 / 68%), rgb(18 18 18 / 68%)),
		var(--primary);
	color: #fff7e6;
	text-align: center;
}

.hero__content {
	max-width: 50rem;
}

.hero h1 {
	margin: 0 0 1rem;
	font-family: var(--font-heading);
	font-size: clamp(2.75rem, 9vw, 6rem);
	line-height: 0.95;
	color: #fff7e6;
	text-transform: uppercase;
}

.hero p {
	margin: 0 auto 2rem;
	font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.button {
	display: inline-block;
	padding: 0.85rem 1.4rem;
	background: var(--primary);
	color: #ffffff;
	border: 2px solid var(--primary);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
	background: var(--accent);
	color: #2b2b2b;
	transform: translateY(-2px);
}

.button--secondary {
	background: var(--secondary);
	border-color: var(--secondary);
	color: #ffffff;
}

.site-main {
	min-height: 50vh;
}

.content-area {
	padding-block: 4rem;
}

.entry {
	padding: clamp(1.5rem, 4vw, 3rem);
	background: var(--surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.entry-title {
	margin-top: 0;
}

.site-footer {
	padding-block: 2.5rem;
	background: #2b2b2b;
	color: #ffffff;
	text-align: center;
}

.site-footer p {
	margin: 0;
}

@media (max-width: 48rem) {
	.menu-toggle {
		display: inline-block;
	}

	.site-navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 1rem;
		background: var(--surface);
		border-bottom: 1px solid var(--border);
	}

	.site-navigation.is-open {
		display: block;
	}

	.primary-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.primary-menu a {
		display: block;
		padding: 0.75rem;
	}
}
