/* ==========================================================================
   Footer  (templates/parts/site-footer.php)
   ========================================================================== */

.oh-footer {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 7vw, 88px) 0 32px;
	/* Λίγο πιο σκούρο από τα σκούρα sections, ώστε να ξεχωρίζει όταν ακολουθεί το Explore Ithaca */
	background-color: #161f1a;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.0625rem;
	line-height: 1.6;
	isolation: isolate;
}

/* Διακοσμητικό κλαδί ελιάς (ίδιο με το Explore Ithaca) */
.oh-footer::before {
	content: "";
	position: absolute;
	right: clamp(-50px, -2vw, -16px);
	bottom: -18%;
	z-index: -1;
	width: clamp(160px, 18vw, 260px);
	aspect-ratio: 300 / 560;
	background: url("../img/olive-branch.svg") no-repeat center / contain;
	opacity: 0.07;
	transform: rotate(-24deg) scaleX(-1);
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Πάνω μέρος: στήλες
   ----------------------------------------------------------------------- */

.oh-footer__top {
	display: grid;
	grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
	gap: 40px clamp(32px, 4vw, 64px);
	align-items: start;
}

.oh-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	max-width: 320px;
}

.oh-footer .oh-footer__logo,
.oh-footer .oh-footer__logo:visited {
	display: inline-block;
	font-family: var(--oh-font-heading);
	font-size: 1.5rem;
	color: #fff;
	text-decoration: none;
}

.oh-footer .oh-footer__logo img {
	display: block;
	width: auto;
	max-width: 250px;
	height: auto;
}

.oh-footer .oh-footer__about {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.65);
}

/* Τίτλοι στηλών */
.oh-footer .oh-footer__title {
	margin: 0 0 22px;
	padding: 0;
	font-family: var(--oh-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
	color: #fff;
}

.oh-footer .oh-footer__title a,
.oh-footer .oh-footer__title a:visited {
	color: inherit;
	text-decoration: none;
	text-transform: inherit; /* το Elementor βάζει text-transform:none σε όλα τα links */
}

.oh-footer .oh-footer__title a:hover {
	color: var(--oh-color-accent);
}

/* Λίστες links */
.oh-footer .oh-footer__links {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.oh-footer .oh-footer__links li {
	margin: 0;
}

.oh-footer .oh-footer__links a,
.oh-footer .oh-footer__links a:visited,
.oh-footer .oh-footer__text {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	transition: color 0.2s ease;
}

.oh-footer .oh-footer__links a:hover,
.oh-footer .oh-footer__links a:focus-visible,
.oh-footer .oh-footer__links .current-menu-item > a {
	color: #fff;
}

.oh-footer .oh-footer__links .oh-icon {
	flex-shrink: 0;
	margin-top: 4px;
	color: var(--oh-color-accent);
}

/* Social */
.oh-footer .oh-footer__social {
	display: flex;
	gap: 10px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.oh-footer__social li {
	margin: 0;
}

.oh-footer .oh-footer__social a,
.oh-footer .oh-footer__social a:visited {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.oh-footer .oh-footer__social a:hover,
.oh-footer .oh-footer__social a:focus-visible {
	border-color: var(--oh-color-accent);
	background-color: var(--oh-color-accent);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Κάτω γραμμή
   ----------------------------------------------------------------------- */

.oh-footer__bottom {
	margin-top: clamp(48px, 6vw, 72px);
}

/* Γραμμή με μικρό κλαδί ελιάς στη μέση */
.oh-footer__divider {
	position: relative;
	display: block;
	height: 28px;
	margin-bottom: 20px;
}

.oh-footer__divider::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.14) calc(50% - 34px), transparent calc(50% - 34px), transparent calc(50% + 34px), rgba(255, 255, 255, 0.14) calc(50% + 34px));
}

.oh-footer__divider::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 34px;
	background: url("../img/olive-branch.svg") no-repeat center / contain;
	opacity: 0.75;
	transform: translate(-50%, -50%) rotate(90deg);
}

.oh-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.55);
}

.oh-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 28px;
}

.oh-footer .oh-footer__powered {
	margin: 0;
}

.oh-footer .oh-footer__powered a,
.oh-footer .oh-footer__powered a:visited {
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.2s ease;
}

.oh-footer .oh-footer__powered a:hover {
	color: var(--oh-color-accent);
}

.oh-footer .oh-footer__copy {
	margin: 0;
}

.oh-footer .oh-footer__privacy,
.oh-footer .oh-footer__privacy:visited {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}

.oh-footer .oh-footer__privacy:hover {
	color: #fff;
}

.oh-footer .oh-footer__policies {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
}

/* "Cookie settings": κουμπί που μοιάζει με link */
.oh-footer button.oh-footer__cookie-settings {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	line-height: inherit;
	cursor: pointer;
}

/* Focus */
.oh-footer a:focus-visible {
	outline: 2px solid var(--oh-color-accent);
	outline-offset: 3px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.oh-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oh-footer__brand {
		grid-column: 1 / -1;
		max-width: 420px;
	}
}

@media (max-width: 560px) {
	.oh-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.oh-footer__legal {
		flex-direction: column;
		align-items: flex-start;
	}
}
