/*
Theme Name: Artisan Bakery Athens
Theme URI: https://clientlayer.dev
Description: A warm, minimal one-page site for an artisan bakery in Athens. Cream and terracotta palette, elegant serif headings, fully editable content.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: artisan-bakery
*/

:root {
	--cream: #faf8f3;
	--cream-dark: #f4f0e8;
	--terracotta: #d4705a;
	--terracotta-dark: #b85d47;
	--warm-brown: #3d2e2a;
	--warm-brown-soft: #6b5854;
	--warm-brown-light: #9d8d88;
	--line: rgba(61, 46, 42, 0.12);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	background: var(--cream);
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--warm-brown);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--terracotta);
	color: #fff;
}

h1,
h2,
h3 {
	font-family: var(--font-serif);
	font-weight: 400;
	line-height: 1.15;
	margin: 0;
	letter-spacing: -0.02em;
}

h1 {
	font-size: clamp(48px, 7vw, 96px);
}

h2 {
	font-size: clamp(36px, 5vw, 64px);
}

h3 {
	font-size: clamp(24px, 3vw, 36px);
}

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

a {
	color: inherit;
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--terracotta);
	outline-offset: 4px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 60px);
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--terracotta);
	color: #fff;
	font-weight: 600;
}

.skip-link:focus {
	top: 16px;
}

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: rgba(250, 248, 243, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	transition: transform 0.3s var(--ease);
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px clamp(20px, 5vw, 60px);
}

.brand {
	font-family: var(--font-serif);
	font-size: 24px;
	font-weight: 400;
	color: var(--warm-brown);
	letter-spacing: -0.01em;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 32px);
	font-size: 15px;
}

.site-nav a {
	color: var(--warm-brown-soft);
	transition: color 0.2s ease;
}

.site-nav a:hover {
	color: var(--terracotta);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 120px 0 80px;
	overflow: hidden;
}

.hero-image {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 55%;
	z-index: 1;
}

.hero-image::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 200px;
	background: linear-gradient(90deg, var(--cream), transparent);
	z-index: 2;
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-content {
	position: relative;
	z-index: 3;
	max-width: 600px;
}

.hero h1 {
	margin-bottom: 28px;
}

.hero-text {
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.6;
	color: var(--warm-brown-soft);
	margin-bottom: 40px;
	max-width: 480px;
}

.btn {
	display: inline-block;
	padding: 16px 32px;
	background: var(--terracotta);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
	background: var(--terracotta-dark);
	transform: translateY(-2px);
}

/* ---------- Section shared ---------- */
.section {
	padding: clamp(80px, 10vw, 120px) 0;
}

.section-header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 60px;
}

.section-header h2 {
	margin-bottom: 20px;
}

.section-text {
	font-size: clamp(17px, 1.8vw, 19px);
	color: var(--warm-brown-soft);
	line-height: 1.7;
}

/* ---------- About ---------- */
.about {
	background: var(--cream-dark);
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 8vw, 100px);
	align-items: center;
}

.about-image {
	position: relative;
}

.about-image::before {
	content: "";
	position: absolute;
	top: -20px;
	right: -20px;
	width: 100%;
	height: 100%;
	border: 2px solid var(--terracotta);
	z-index: -1;
}

.about-image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.about-content h2 {
	margin-bottom: 24px;
}

/* ---------- Menu ---------- */
.menu {
	background: var(--cream);
}

.menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(32px, 5vw, 48px);
	max-width: 900px;
	margin: 0 auto;
}

.menu-item {
	text-align: center;
	padding: 32px 24px;
	background: #fff;
	border: 1px solid var(--line);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(61, 46, 42, 0.08);
}

.menu-item h3 {
	margin-bottom: 12px;
	color: var(--terracotta);
}

.menu-item-description {
	font-size: 15px;
	color: var(--warm-brown-soft);
	margin-bottom: 16px;
	line-height: 1.6;
}

.menu-item-price {
	font-family: var(--font-serif);
	font-size: 20px;
	color: var(--warm-brown);
}

/* ---------- Hours ---------- */
.hours {
	background: var(--cream-dark);
}

.hours-content {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	padding: 48px;
	background: #fff;
	border: 1px solid var(--line);
}

.hours-content h2 {
	margin-bottom: 32px;
}

.hours-list {
	display: grid;
	gap: 16px;
	font-size: 17px;
}

.hours-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.hours-row:last-child {
	border-bottom: none;
}

.hours-day {
	font-weight: 500;
	color: var(--warm-brown);
}

.hours-time {
	color: var(--warm-brown-soft);
}

/* ---------- Contact ---------- */
.contact {
	background: var(--cream);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 8vw, 80px);
	align-items: start;
}

.contact-info h2 {
	margin-bottom: 32px;
}

.contact-details {
	display: grid;
	gap: 24px;
}

.contact-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--warm-brown-light);
	font-weight: 600;
}

.contact-value {
	font-size: 18px;
	color: var(--warm-brown);
}

.contact-value a {
	color: var(--terracotta);
	transition: color 0.2s ease;
}

.contact-value a:hover {
	color: var(--terracotta-dark);
}

.contact-map {
	width: 100%;
	height: 400px;
	background: var(--cream-dark);
	border: 1px solid var(--line);
}

.contact-map iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

/* ---------- Footer ---------- */
.site-footer {
	padding: 60px 0 40px;
	border-top: 1px solid var(--line);
	background: var(--cream-dark);
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.footer-brand {
	font-family: var(--font-serif);
	font-size: 20px;
	color: var(--warm-brown);
}

.footer-text {
	font-size: 14px;
	color: var(--warm-brown-soft);
	margin: 0;
}

.footer-text a {
	color: var(--terracotta);
	transition: color 0.2s ease;
}

.footer-text a:hover {
	color: var(--terracotta-dark);
}

/* ---------- Page content (Elementor, blocks, HTML) ---------- */
.site-main {
	padding-top: 100px;
	min-height: 70vh;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.site-nav {
		display: none;
	}

	.hero {
		min-height: 90vh;
	}

	.hero-image {
		width: 100%;
		opacity: 0.3;
	}

	.hero-image::before {
		display: none;
	}

	.hero-content {
		max-width: 100%;
	}

	.about-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.about-image::before {
		top: -12px;
		right: -12px;
	}

	.contact-map {
		height: 300px;
	}
}

@media (max-width: 600px) {
	.menu-grid {
		grid-template-columns: 1fr;
	}

	.hours-content {
		padding: 32px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}

/* Split-text helpers (created by JS). */
.word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
}

.word-inner {
	display: inline-block;
}
