/*
Theme Name: Aheloy
Theme URI: http://127.0.0.1:8081/
Author: Local
Description: Standard Bootstrap WordPress theme for the Aheloy site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: aheloy
*/

:root {
	--aheloy-ink: #172026;
	--aheloy-muted: #65727c;
	--aheloy-brand: #0f6b63;
	--aheloy-brand-dark: #0a4d47;
	--aheloy-accent: #d29b2f;
	--aheloy-soft: #f4f7f6;
	--aheloy-line: #dfe7e5;
}

body {
	color: var(--aheloy-ink);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: var(--aheloy-brand);
}

a:hover {
	color: var(--aheloy-brand-dark);
}

.site-header {
	border-bottom: 1px solid var(--aheloy-line);
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
}

body.admin-bar .site-header.sticky-top {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .site-header.sticky-top {
		top: 46px;
	}
}

.navbar-brand {
	align-items: center;
	color: var(--aheloy-brand-dark);
	display: inline-flex;
	font-weight: 800;
	letter-spacing: 0;
}

.aheloy-site-logo {
	display: block;
	height: 42px;
	width: auto;
}

.navbar-nav .nav-link {
	color: var(--aheloy-ink);
	font-weight: 600;
}

.navbar-nav .nav-link:hover,
.navbar-nav .current-menu-item .nav-link {
	color: var(--aheloy-brand);
}

.hero {
	background:
		linear-gradient(90deg, rgba(12, 52, 48, 0.9), rgba(15, 107, 99, 0.72)),
		url("assets/img/aheloy-hero.jpg");
	background-color: var(--aheloy-brand-dark);
	background-position: center;
	background-size: cover;
	color: #fff;
	padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.hero .lead {
	color: rgba(255, 255, 255, 0.86);
	max-width: 720px;
}

.section {
	padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-muted {
	background: var(--aheloy-soft);
}

.aheloy-page-title {
	color: var(--aheloy-ink);
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0;
}

.aheloy-title-band {
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

.aheloy-content-panel {
	max-width: 860px;
}

.aheloy-content-panel-wide {
	max-width: 900px;
}

.aheloy-page-media {
	background: var(--aheloy-soft);
	padding-bottom: clamp(2rem, 5vw, 4rem);
}

.aheloy-page-media img {
	aspect-ratio: 16 / 7;
	border-radius: 8px;
	display: block;
	object-fit: cover;
	width: 100%;
}

.hero .aheloy-page-title {
	color: #fff;
	margin-bottom: 1.5rem;
}

.eyebrow {
	color: var(--aheloy-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.card {
	border-color: var(--aheloy-line);
	border-radius: 8px;
}

.aheloy-post-card {
	overflow: hidden;
}

.aheloy-post-card-media {
	background: var(--aheloy-soft);
	min-height: 0;
	position: relative;
}

.aheloy-post-card-media .card-img-top {
	aspect-ratio: 16 / 10;
	display: block;
	max-height: 230px;
	object-fit: cover;
	width: 100%;
}

.aheloy-post-card-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	left: 0.85rem;
	position: absolute;
	right: 0.85rem;
	top: 0.85rem;
	z-index: 2;
}

.aheloy-post-badge {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(23, 32, 38, 0.08);
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(16, 24, 29, 0.12);
	color: var(--aheloy-ink);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1;
	padding: 0.5rem 0.7rem;
	text-decoration: none;
}

a.aheloy-post-badge:hover {
	background: var(--aheloy-brand);
	color: #fff;
}

.aheloy-feature-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aheloy-feature-card,
.aheloy-place-mini,
.aheloy-home-panel,
.aheloy-history-strip {
	background: #fff;
	border: 1px solid var(--aheloy-line);
	border-radius: 8px;
	box-shadow: 0 18px 44px rgba(16, 24, 29, 0.06);
}

.aheloy-feature-card {
	color: var(--aheloy-ink);
	display: block;
	padding: 1.25rem;
	text-decoration: none;
}

.aheloy-feature-card:hover {
	border-color: var(--aheloy-brand);
	color: var(--aheloy-ink);
}

.aheloy-feature-card span,
.aheloy-place-mini p {
	color: var(--aheloy-accent);
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin-bottom: 0.45rem;
	text-transform: uppercase;
}

.aheloy-feature-card h3,
.aheloy-place-mini h3,
.aheloy-home-panel h2,
.aheloy-history-strip h2 {
	color: var(--aheloy-ink);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.08;
}

.aheloy-feature-card p,
.aheloy-place-mini span,
.aheloy-home-panel p,
.aheloy-home-panel li,
.aheloy-history-strip p {
	color: var(--aheloy-muted);
	font-weight: 600;
}

.aheloy-place-mini,
.aheloy-home-panel {
	padding: 1.25rem;
}

.aheloy-place-mini h3 {
	font-size: 1.25rem;
}

.aheloy-place-mini h3 a {
	color: inherit;
	text-decoration: none;
}

.aheloy-home-panel h2 {
	font-size: clamp(1.8rem, 4vw, 3rem);
}

.aheloy-home-panel ul {
	display: grid;
	gap: 0.45rem;
	margin: 1rem 0 1.5rem;
	padding-left: 1.15rem;
}

.aheloy-history-strip {
	align-items: center;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 0.8fr 1.4fr auto;
	padding: clamp(1.25rem, 4vw, 2rem);
}

.aheloy-history-strip h2 {
	font-size: clamp(1.8rem, 4vw, 3rem);
	margin: 0;
}

.aheloy-404 {
	background:
		linear-gradient(180deg, rgba(237, 249, 247, 0.96), rgba(255, 248, 232, 0.98)),
		url("assets/img/aheloy-hero.jpg");
	background-color: #f8efe0;
	background-position: center 34%;
	background-size: cover;
	color: var(--aheloy-ink);
	overflow: hidden;
	padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
	position: relative;
}

.aheloy-404::after {
	background: linear-gradient(90deg, rgba(15, 107, 99, 0.14), rgba(210, 155, 47, 0.22));
	bottom: 0;
	content: "";
	height: 14px;
	left: 0;
	position: absolute;
	right: 0;
}

.aheloy-404-inner {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
	min-height: 500px;
}

.aheloy-404-copy .lead {
	color: var(--aheloy-muted);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 600;
	max-width: 720px;
}

.aheloy-404-card {
	align-items: stretch;
	aspect-ratio: 4 / 5;
	background: #fff;
	border: 1px solid rgba(23, 32, 38, 0.1);
	border-radius: 8px;
	box-shadow: 0 26px 70px rgba(23, 32, 38, 0.14);
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	overflow: hidden;
	position: relative;
}

.aheloy-404-sun {
	background: var(--aheloy-accent);
	border-radius: 999px;
	box-shadow: 0 0 0 14px rgba(210, 155, 47, 0.16);
	height: 74px;
	position: absolute;
	right: 34px;
	top: 34px;
	width: 74px;
	z-index: 2;
}

.aheloy-404-water {
	align-items: center;
	background:
		linear-gradient(180deg, rgba(177, 224, 224, 0.96), rgba(28, 135, 143, 0.94)),
		repeating-linear-gradient(165deg, transparent 0 28px, rgba(255, 255, 255, 0.2) 28px 30px);
	display: flex;
	flex: 0 0 52%;
	gap: clamp(0.5rem, 1.5vw, 1rem);
	justify-content: center;
	padding-top: 2rem;
	position: relative;
}

.aheloy-404-water::after {
	background: #f0d393;
	border-radius: 50% 50% 0 0;
	bottom: -34px;
	content: "";
	height: 70px;
	left: -5%;
	position: absolute;
	right: -5%;
}

.aheloy-404-water span {
	color: #fff;
	font-size: clamp(4rem, 9vw, 8rem);
	font-weight: 900;
	line-height: 1;
	text-shadow: 0 6px 0 rgba(10, 77, 71, 0.2);
}

.aheloy-404-beach {
	background:
		radial-gradient(circle at 20% 44%, rgba(255, 255, 255, 0.38) 0 2px, transparent 3px),
		radial-gradient(circle at 70% 66%, rgba(255, 255, 255, 0.38) 0 2px, transparent 3px),
		#f0d393;
	flex: 1;
	position: relative;
}

.aheloy-404-towel {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 12%, transparent 12% 24%, rgba(255, 255, 255, 0.45) 24% 36%, transparent 36%),
		#0f6b63;
	border-radius: 8px;
	bottom: 16%;
	height: 34%;
	left: 14%;
	position: absolute;
	transform: rotate(7deg);
	width: 26%;
}

.aheloy-404-umbrella {
	background:
		conic-gradient(from 180deg, #d29b2f 0 25%, #fff 25% 50%, #0f6b63 50% 75%, #fff 75% 100%);
	border-radius: 100% 100% 8px 8px;
	bottom: 47%;
	height: 92px;
	position: absolute;
	right: 18%;
	transform: rotate(-7deg);
	width: 190px;
	z-index: 3;
}

.aheloy-404-umbrella::after {
	background: var(--aheloy-brand-dark);
	content: "";
	height: 120px;
	left: 50%;
	position: absolute;
	top: 76px;
	transform: translateX(-50%);
	width: 8px;
}

.aheloy-404-sign {
	background: #fff;
	border: 1px solid rgba(23, 32, 38, 0.08);
	border-left: 8px solid var(--aheloy-accent);
	border-radius: 8px;
	bottom: 17%;
	box-shadow: 0 18px 35px rgba(23, 32, 38, 0.16);
	color: var(--aheloy-ink);
	left: 50%;
	padding: 1rem 1.25rem;
	position: absolute;
	text-align: left;
	transform: translateX(-50%) rotate(-3deg);
	width: min(70%, 280px);
	z-index: 4;
}

.aheloy-404-sign span {
	color: var(--aheloy-muted);
	display: block;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.aheloy-404-sign strong {
	display: block;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	line-height: 1;
}

.aheloy-404-links {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.btn-primary {
	--bs-btn-bg: var(--aheloy-brand);
	--bs-btn-border-color: var(--aheloy-brand);
	--bs-btn-hover-bg: var(--aheloy-brand-dark);
	--bs-btn-hover-border-color: var(--aheloy-brand-dark);
}

.btn-outline-primary {
	--bs-btn-color: var(--aheloy-brand);
	--bs-btn-border-color: var(--aheloy-brand);
	--bs-btn-hover-bg: var(--aheloy-brand);
	--bs-btn-hover-border-color: var(--aheloy-brand);
}

.entry-content img {
	height: auto;
	max-width: 100%;
}

.aheloy-breadcrumb {
	background: var(--aheloy-soft);
	border-bottom: 1px solid var(--aheloy-line);
	color: var(--aheloy-muted);
	font-size: 0.92rem;
	padding: 0.85rem 0;
}

.aheloy-breadcrumb a {
	color: var(--aheloy-brand);
	text-decoration: none;
}

.aheloy-breadcrumb a:hover {
	text-decoration: underline;
}

.site-footer {
	background: #10181d;
	color: rgba(255, 255, 255, 0.75);
	padding: 3rem 0;
}

.site-footer a {
	color: #fff;
}

.site-footer .widget {
	color: rgba(255, 255, 255, 0.75);
}

.site-footer .widget ul {
	display: grid;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.site-footer .widget p:last-child,
.site-footer .widget ul:last-child {
	margin-bottom: 0;
}

.site-footer .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	list-style: none;
	padding-left: 0;
}

@media (max-width: 991.98px) {
	.aheloy-feature-grid,
	.aheloy-404-inner,
	.aheloy-404-links,
	.aheloy-history-strip {
		grid-template-columns: 1fr;
	}

	.aheloy-404-inner {
		min-height: auto;
	}

	.aheloy-404-card {
		max-width: 420px;
		width: 100%;
	}
}

@media (max-width: 767.98px) {
	.aheloy-feature-grid {
		grid-template-columns: 1fr;
	}
}
