:root { --zh-pad: clamp(1rem, 4vw, 3rem); }

.zelos-header {
	z-index: 9990;
	background: var(--zh-bg);
	color: var(--zh-text);
	font-family: inherit;
	transition: background-color .2s, color .2s;
}
/* Διάφανη: χρώμα κειμένου «διάφανης» κατάστασης· συμπαγής μόλις κυλήσει ή ανοίξει το μενού. */
.zelos-header.zh-transparent { background: transparent; color: var(--zh-text-t); }
.zelos-header.zh-transparent.zh-scrolled,
.zelos-header.zh-transparent:has(.zh-toggle:checked) { background: var(--zh-bg); color: var(--zh-text); }

.zh-inner {
	display: grid;
	align-items: center;
	column-gap: 1.5rem;
	padding: 0 var(--zh-pad);
	max-width: 1600px;
	margin: 0 auto;
}

.zh-logo { grid-area: logo; display: flex; align-items: center; color: inherit; text-decoration: none; }
.zh-logo img { display: block; object-fit: contain; }
.zh-name { font-size: 1.25rem; font-weight: 600; letter-spacing: .04em; }

.zh-burger { grid-area: burger; display: none; width: 28px; height: 20px; position: relative; cursor: pointer; }
.zh-toggle { display: none; }
.zh-burger span, .zh-burger span::before, .zh-burger span::after {
	content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: .2s;
}
.zh-burger span { top: 9px; }
.zh-burger span::before { top: -8px; }
.zh-burger span::after { top: 8px; }
.zh-toggle:checked ~ .zh-burger span { background: transparent; }
.zh-toggle:checked ~ .zh-burger span::before { top: 0; transform: rotate(45deg); }
.zh-toggle:checked ~ .zh-burger span::after { top: 0; transform: rotate(-45deg); }

.zh-nav { grid-area: nav; }
.zh-menu, .zh-menu ul { list-style: none; margin: 0; padding: 0; }
.zh-menu { display: flex; align-items: center; justify-content: center; gap: 2.25rem; flex-wrap: wrap; }
.zh-menu li { position: relative; }
.zh-menu a { color: inherit; text-decoration: none; font-size: 15px; letter-spacing: .04em; padding: .5rem 0; display: inline-block; transition: color .15s; }
.zh-menu a:hover, .zh-menu .current-menu-item > a { color: var(--zh-accent); }
/* Αχνό μαύρο περίγραμμα στα γράμματα του κυρίως μενού, για να διαβάζονται πάνω σε φωτογραφίες. */
.zh-menu > li > a { text-shadow: 0 0 1px rgba(0,0,0,.55), 0 0 1px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.35); }
.zh-menu .sub-menu {
	position: absolute; top: 100%; left: -1rem; min-width: 200px; padding: .5rem 1rem;
	background: var(--zh-bg); color: var(--zh-text); box-shadow: 0 12px 24px rgba(0,0,0,.25);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.zh-menu li:hover > .sub-menu, .zh-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.zh-menu .sub-menu a { display: block; padding: .45rem 0; }

.zh-actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: 1.1rem; position: relative; }
.zh-icon, .zh-search summary {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	color: inherit; cursor: pointer; list-style: none; transition: color .15s;
}
.zh-search summary::-webkit-details-marker { display: none; }
.zh-icon:hover, .zh-search summary:hover { color: var(--zh-accent); }
.zh-count {
	position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 9px; background: var(--zh-accent); color: var(--zh-bg);
	font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.zh-search form {
	position: absolute; right: 0; top: calc(100% + 14px); width: min(320px, 80vw);
	background: var(--zh-bg); padding: .75rem; box-shadow: 0 12px 24px rgba(0,0,0,.25); z-index: 2;
}
.zh-search input[type=search] {
	width: 100%; padding: .6rem .8rem; border: 1px solid rgba(255,255,255,.3);
	background: transparent; color: var(--zh-text); border-radius: 2px;
}
.zh-search input::placeholder { color: rgba(255,255,255,.6); }

/* Header εσωτερικών σελίδων (ανοιχτό φόντο, σκούρο λογότυπο). */
.zelos-header.zh-page-inner { box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.zh-page-inner .zh-search input[type=search] { border-color: rgba(0,0,0,.25); }
.zh-page-inner .zh-search input::placeholder { color: rgba(0,0,0,.45); }
.zh-page-inner .zh-menu .sub-menu, .zh-page-inner .zh-search form { box-shadow: 0 12px 24px rgba(0,0,0,.12); }

/* Υπομενού: κεντραρισμένο κάτω από τον γονέα, ομοιόμορφα περιθώρια, βέλος στοιχισμένο. */
.zh-menu > li > .sub-menu {
	left: 50%; right: auto; min-width: 210px; padding: .6rem 0; border-radius: 4px;
	transform: translate(-50%, 6px);
}
.zh-menu > li:hover > .sub-menu, .zh-menu > li:focus-within > .sub-menu { transform: translate(-50%, 0); }
.zh-menu .sub-menu li { display: block; }
.zh-menu .sub-menu a {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: .55rem 1.25rem; white-space: nowrap; line-height: 1.3;
}
.zh-menu .sub-menu .menu-item-has-children > a::after { content: "›"; font-size: 1.2em; line-height: 1; }
/* Τρίτο επίπεδο: ανοίγει στο πλάι, στο ύψος του γονέα. */
.zh-menu .sub-menu .sub-menu { top: -.6rem; left: 100%; min-width: 200px; padding: .6rem 0; border-radius: 4px; transform: translateX(6px); }
.zh-menu .sub-menu li:hover > .sub-menu, .zh-menu .sub-menu li:focus-within > .sub-menu { transform: none; }

/* Μικρότερες οθόνες υπολογιστή (1025–1279px): το μενού χωράει σε μία γραμμή αντί να σπάει το «ABOUT US». */
.zh-nav-desktop .zh-menu > li > a { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1279px) {
	.zh-nav-desktop .zh-menu { flex-wrap: nowrap; gap: clamp(.9rem, 1.6vw, 1.6rem); }
	.zh-nav-desktop .zh-menu > li > a { font-size: 14px; letter-spacing: .02em; }
}

/* ---------- Μενού burger (tablet/κινητό): κατηγορίες κλειστές, ανοίγουν με «+» ---------- */
.zh-nav-mobile,
.zh-nav-tablet {
	max-height: calc(100dvh - 76px);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

:is(.zh-nav-mobile, .zh-nav-tablet) .zh-menu {
	align-items: stretch !important;
	gap: 0 !important;
	padding: 4px 0 8px;
}

:is(.zh-nav-mobile, .zh-nav-tablet) .zh-menu > li {
	position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

:is(.zh-nav-mobile, .zh-nav-tablet) .zh-menu > li:last-child { border-bottom: 0; }

:is(.zh-nav-mobile, .zh-nav-tablet) .zh-menu > li > a {
	display: flex;
	align-items: center;
	min-height: 50px;
	padding: 0 52px 0 2px !important;
	font-size: 16px;
	letter-spacing: .03em;
}

/* Οι υποκατηγορίες κρυμμένες μέχρι να πατήσεις το «+». */
:is(.zh-nav-mobile, .zh-nav-tablet) .zh-menu .sub-menu { display: none !important; }
:is(.zh-nav-mobile, .zh-nav-tablet) .zh-menu li.zh-open > .sub-menu {
	display: block !important;
	margin: 0 0 10px !important;
	padding: 4px 0 4px 14px !important;
	border-left: 2px solid rgba(255, 255, 255, .22);
	animation: zh-sub-in .22s ease;
}

:is(.zh-nav-mobile, .zh-nav-tablet) .zh-menu .sub-menu a {
	padding: 9px 44px 9px 2px !important;
	font-size: 14.5px;
	opacity: .9;
}

:is(.zh-nav-mobile, .zh-nav-tablet) .zh-menu .sub-menu .menu-item-has-children > a::after { display: none; }

@keyframes zh-sub-in {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: none; }
}

/* Το κουμπί «+» / «−». */
.zh-sub-toggle {
	position: absolute;
	top: 5px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
}

.zh-sub-toggle::before,
.zh-sub-toggle::after {
	content: "";
	position: absolute;
	width: 14px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .25s ease, opacity .25s ease;
}

.zh-sub-toggle::after { transform: rotate(90deg); }

li.zh-open > .zh-sub-toggle { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
li.zh-open > .zh-sub-toggle::after { transform: rotate(0deg); opacity: 0; }

/* Υποκατηγορίες μέσα σε υποκατηγορίες: μικρότερο κουμπί. */
:is(.zh-nav-mobile, .zh-nav-tablet) .sub-menu li { position: relative; }
:is(.zh-nav-mobile, .zh-nav-tablet) .sub-menu .zh-sub-toggle { top: 2px; width: 32px; height: 32px; }
:is(.zh-nav-mobile, .zh-nav-tablet) .sub-menu .zh-sub-toggle::before,
:is(.zh-nav-mobile, .zh-nav-tablet) .sub-menu .zh-sub-toggle::after { width: 11px; }

.zh-sub-toggle:focus-visible { outline: 2px solid var(--zh-accent); outline-offset: 2px; }
