/*
Theme Name: Central Cafe
Theme URI:
Author: Central Cafe
Description: Minimal mobile-first theme για καφέ-εστιατόριο. Εμφανίζει το μενού στην αρχική σελίδα μέσω του plugin "Central Cafe Menu". Σχεδιασμένο για άνετη ανάγνωση από κινητό μετά από σάρωση QR code.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: central-cafe
Tags: minimal, mobile, restaurant, cafe
*/

:root {
	--ccafe-bg: #fafafa;
	--ccafe-card: #ffffff;
	--ccafe-text: #1a1a1a;
	--ccafe-muted: #666;
	--ccafe-accent: #c8102e;
	--ccafe-accent-dark: #9c0c24;
	--ccafe-border: #ececec;
	--ccafe-radius: 10px;
	--ccafe-max: 720px;
}

* { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: var(--ccafe-bg);
	color: var(--ccafe-text);
	line-height: 1.5;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a:hover { text-decoration: underline; }

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

.ccafe-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.ccafe-header {
	background: var(--ccafe-accent);
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	color: #fff;
	flex-wrap: wrap;
}

.ccafe-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.ccafe-logo a {
	display: inline-flex;
	line-height: 0;
}

.ccafe-logo img,
.ccafe-logo .custom-logo {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #fff;
	object-fit: cover;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.ccafe-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.ccafe-brand {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.1;
}

.ccafe-brand a {
	color: inherit;
	text-decoration: none;
}

.ccafe-brand a:hover { text-decoration: none; }

.ccafe-tagline {
	margin: 2px 0 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

@media (max-width: 480px) {
	.ccafe-header { gap: 10px; padding: 12px; }
	.ccafe-logo img,
	.ccafe-logo .custom-logo { width: 50px; height: 50px; }
	.ccafe-brand { font-size: 18px; letter-spacing: 1.5px; }
	.ccafe-tagline { font-size: 11px; }
}

.ccafe-main {
	flex: 1;
	padding: 24px 0;
}

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

.ccafe-card {
	background: var(--ccafe-card);
	border: 1px solid var(--ccafe-border);
	border-radius: var(--ccafe-radius);
	padding: 20px;
	margin-bottom: 20px;
}

.ccafe-card h1,
.ccafe-card h2 { margin-top: 0; }

.ccafe-page-title {
	font-size: 28px;
	margin: 0 0 16px;
	text-align: center;
	letter-spacing: 1px;
}

.ccafe-content {
	font-size: 16px;
	line-height: 1.6;
}

.ccafe-content p { margin: 0 0 14px; }

.ccafe-footer {
	background: var(--ccafe-accent);
	color: #fff;
	padding: 24px 16px 20px;
	text-align: center;
	font-size: 13px;
	margin-top: 32px;
}

.ccafe-footer p { margin: 6px 0; }
.ccafe-footer a { color: #fff; }
.ccafe-footer a:hover { color: #fff; opacity: 0.8; text-decoration: none; }

.ccafe-social {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.ccafe-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 23px;
	height: 23px;
	color: #fff;
	transition: opacity 0.2s, transform 0.2s;
}

.ccafe-social a:hover {
	opacity: 0.8;
	transform: translateY(-1px);
}

.ccafe-social svg {
	width: 23px;
	height: 23px;
	display: block;
	fill: currentColor;
}

.ccafe-footer-brand {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 4px;
}

.ccafe-footer-meta {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.75);
	margin-top: 8px;
}

/* When the menu plugin is active, override default container width because menu has its own */
.ccafe-main .ccm-menu {
	background: var(--ccafe-card);
	border: 1px solid var(--ccafe-border);
	border-radius: var(--ccafe-radius);
	padding: 24px 20px;
}

@media (max-width: 480px) {
	.ccafe-brand { font-size: 22px; letter-spacing: 2px; }
	.ccafe-page-title { font-size: 22px; }
	.ccafe-card { padding: 16px; }
	.ccafe-main { padding: 16px 0; }
}
