/* ==========================================================================
   VARIABLES
   ========================================================================== */

:root {
	--color-dark: #1e4d2b;   /* deep forest green */
	--color-green: #2f7d3a;  /* brand leaf green */
	--color-cork: #b5713b;   /* cork brown */
	--color-cream: #f6f3ec;  /* warm off-white */
	--color-grey: #eaefe6;   /* light green-grey */
	--color-card: #fbfaf6;   /* card background */
	--color-border: #e2e6dc; /* soft borders */
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

body {
	font-family: 'Inter', sans-serif;
	color: var(--color-dark);
}

.post,
.page {
	margin: 0 !important;
}

h1, h2, h3 {
	margin: 0 0 20px;
	color: var(--color-dark);
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: 300%;
}

h2 {
	font-size: 210%;
}

h3 {
	font-size: 135%;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--color-green);
	transition: .3s;
}

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

.br-10 {
	border-radius: 10px;
}

.label {
	margin-bottom: 10px;
	color: var(--color-green);
	font-size: 90%;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.label-light {
	color: #fff;
}

.link-arrow {
	display: inline-block;
	color: var(--color-green);
	font-size: 90%;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: underline;
}

.link-arrow:hover {
	color: var(--color-dark);
}

.topbar,
.bottombar {
	pointer-events: none;
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	z-index: 999;
}

.topbar {
	top: 4px;
	width: 89%;
	height: 11px;
	display: block;
	background: var(--color-dark);
	/* Hack to style the browser UI while making it invisible to the user */
	mask-image: linear-gradient(to right, transparent, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, transparent);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

section {
	padding: 100px 0;
	background: var(--color-cream);
	color: var(--color-dark);
}

section.black,
.black {
	background: var(--color-dark);
	color: #fff;
}

section.black h1,
section.black h2,
section.black h3,
.black h1,
.black h2,
.black h3 {
	color: #fff;
}

section.black .label,
.black .label {
	color: var(--color-cork);
}

section.black p,
.black p {
	color: rgba(255, 255, 255, .85);
}

section.grey,
.grey {
	background: var(--color-grey);
	color: var(--color-dark);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-white,
.btn-black,
.wpcf7-form .wpcf7-submit {
	display: inline-block;
	padding: 13px 32px;
	border-radius: 0;
	font-family: 'Poppins', sans-serif;
	font-size: 90%;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	transition: .3s;
}

.btn-white {
	background: #fff;
	border: 1px solid var(--color-dark);
	color: var(--color-dark);
}

.btn-white:hover {
	background: var(--color-dark);
	color: #fff;
}

.btn-black,
.wpcf7-form .wpcf7-submit {
	background: var(--color-green);
	border: 1px solid var(--color-green);
	color: #fff;
}

.btn-black:hover,
.wpcf7-form .wpcf7-submit:hover {
	background: var(--color-dark);
	border-color: var(--color-dark);
	color: #fff;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card-block {
	height: 100%;
	overflow: hidden;
	background: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: 10px;
}

.card-block img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.card-block-content {
	padding: 1.75rem;
}

.black .card-block {
	background: rgba(255, 255, 255, .05);
	border-color: rgba(255, 255, 255, .15);
}

/* ==========================================================================
   BENEFITS SHOWCASE
   ========================================================================== */

.benefits-showcase {
	align-items: flex-start;
}

.benefit-tabs {
	margin: 0;
	padding: 0;
	list-style: none;
}

.benefit-tab {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 18px 0;
	background: none;
	border: none;
	border-top: 1px solid rgba(255, 255, 255, .15);
	color: rgba(255, 255, 255, .55);
	text-align: left;
	cursor: pointer;
	transition: color .3s;
}

.benefit-tabs li:last-child .benefit-tab {
	border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.benefit-tab-num {
	font-family: 'Poppins', sans-serif;
	font-size: 90%;
	font-weight: 600;
	letter-spacing: 1px;
}

.benefit-tab-title {
	font-family: 'Poppins', sans-serif;
	font-size: 115%;
	font-weight: 600;
}

.benefit-tab:hover {
	color: rgba(255, 255, 255, .85);
}

.benefit-tab.active {
	color: #fff;
}

.benefit-tab-bar {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 0;
	height: 2px;
	background: var(--color-cork);
}

.benefit-tab.active .benefit-tab-bar {
	width: 100%;
	animation: benefitBar 3s linear;
}

.benefit-tabs:hover .benefit-tab.active .benefit-tab-bar {
	animation-play-state: paused;
}

@keyframes benefitBar {
	from { width: 0; }
	to { width: 100%; }
}

.benefit-panel {
	display: none;
}

.benefit-panel.active {
	display: block;
	animation: benefitFade .5s ease;
}

.benefit-panel-num {
	display: block;
	margin-bottom: 10px;
	color: var(--color-cork);
	font-family: 'Poppins', sans-serif;
	font-size: 280%;
	font-weight: 700;
	line-height: 1;
}

.benefit-panel h3 {
	font-size: 175%;
}

.benefit-panel p {
	font-size: 108%;
}

@keyframes benefitFade {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

/* ==========================================================================
   TICK LIST
   ========================================================================== */

.tick-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tick-list li {
	position: relative;
	padding: 8px 0 8px 22px;
	border-bottom: 1px solid var(--color-border);
}

.tick-list li:last-child {
	border-bottom: none;
}

.tick-list li::before {
	content: '';
	position: absolute;
	top: 15px;
	left: 0;
	width: 8px;
	height: 8px;
	background: var(--color-green);
	border-radius: 50%;
}

/* ==========================================================================
   STATS
   ========================================================================== */

.stat-number {
	margin-bottom: 6px;
	color: var(--color-cork);
	font-family: 'Poppins', sans-serif;
	font-size: 320%;
	font-weight: 700;
	line-height: 1;
}

.stat-label {
	font-size: 85%;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ==========================================================================
   BEFORE & AFTER
   ========================================================================== */

.ba-item {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}

.ba-item a {
	display: block;
	cursor: pointer;
}

.ba-item img {
	display: block;
	width: 100%;
	height: 320px;
	object-fit: cover;
}

.ba-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 14px;
	background: var(--color-dark);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 80%;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 4px;
}

.ba-tag.after {
	background: var(--color-green);
}

.ba-slider {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	aspect-ratio: 4 / 3;
	touch-action: none;
}

.ba-slider img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ba-slider-top {
	position: absolute;
	inset: 0;
	clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-slider .ba-tag.after {
	left: auto;
	right: 12px;
}

.ba-slider-divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pos);
	width: 2px;
	margin-left: -1px;
	background: #fff;
	pointer-events: none;
}

.ba-slider-handle {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	transform: translate(-50%, -50%);
	background: var(--color-dark);
	border: 2px solid #fff;
	border-radius: 50%;
}

.ba-slider-handle::before,
.ba-slider-handle::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	transform: translateY(-50%);
}

.ba-slider-handle::before {
	left: 10px;
	border-right: 7px solid #fff;
}

.ba-slider-handle::after {
	right: 10px;
	border-left: 7px solid #fff;
}

.ba-slider-range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: none;
	opacity: 0;
	cursor: ew-resize;
}

/* ==========================================================================
   FORMS (Contact Form 7)
   ========================================================================== */

.wpcf7-form p {
	margin-bottom: 1rem;
}

.wpcf7-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--color-dark);
	font-size: 90%;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.wpcf7-form br {
	display: none;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid var(--color-border);
	color: var(--color-dark);
	font-family: 'Inter', sans-serif;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
	color: rgba(30, 77, 43, .5);
}

.wpcf7-form textarea {
	min-height: 120px;
	resize: vertical;
}

.wpcf7-not-valid-tip {
	margin-top: 5px;
	color: var(--color-cork);
	font-size: 85%;
}

.wpcf7-response-output {
	margin-top: 20px !important;
	padding: 12px 16px !important;
	border-radius: 0 !important;
	color: var(--color-dark);
	font-size: 90%;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.contact-bar {
	background: var(--color-dark);
	color: #fff;
	font-size: 90%;
}

.contact-bar-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 30px;
	justify-content: flex-end;
	padding: 9px 0;
}

.contact-bar a {
	color: #fff;
}

.contact-bar a:hover {
	color: var(--color-cork);
}

.contact-bar strong {
	color: var(--color-cork);
}

.site-header {
	position: relative;
	z-index: 20;
	padding: 12px 0;
	background: #fff;
	border-bottom: 1px solid var(--color-border);
}

.navbar {
	padding: 0;
}

.navbar-logo {
	width: auto;
	height: 80px;
	object-fit: contain;
}

.navbar-toggler {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
	padding: 6px;
	border: 0;
}

.navbar-toggler:focus {
	box-shadow: none;
}

.toggler-bar {
	display: block;
	height: 2px;
	background: var(--color-dark);
	border-radius: 2px;
}

.toggler-bar:nth-child(1) {
	width: 26px;
}

.toggler-bar:nth-child(2) {
	width: 20px;
}

.toggler-bar:nth-child(3) {
	width: 14px;
}

.nav-link {
	margin: 0 14px;
	padding: 0 !important;
	color: var(--color-dark) !important;
	font-family: 'Poppins', sans-serif;
	font-size: 88%;
	font-weight: 500;
	letter-spacing: .5px;
	text-transform: uppercase;
	border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
	color: var(--color-green) !important;
	border-bottom-color: var(--color-green);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
	position: relative;
	height: 100vh;
	min-height: 700px;
	overflow: hidden;
}

.hero-slides {
	position: absolute;
	inset: 0;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.hero-slide.active {
	opacity: 1;
}

.hero picture {
	display: block;
	width: 100%;
	height: 100%;
}

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

.hero-slide video.hero-img {
	object-position: left top;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(30, 77, 43, .85), rgba(30, 77, 43, .35));
}

.hero-content {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	z-index: 2;
	transform: translateY(-50%);
	color: #fff;
}

.hero-content h1 {
	margin: 20px 0 25px;
	color: #fff;
	font-size: 350%;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	margin: 0;
	padding: 0;
}

.gallery-item a {
	display: block;
	cursor: pointer;
}

.gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: 0;
	object-fit: cover;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
	padding: 90px 0 40px;
	background: var(--color-dark);
	color: #fff;
}

.area-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 36px;
}

.area-pills-start {
	justify-content: flex-start;
	gap: 10px;
	margin-top: 14px;
}

.area-pill {
	padding: 10px 22px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 30px;
	color: var(--color-dark);
	font-family: 'Poppins', sans-serif;
	font-size: 85%;
	font-weight: 500;
	transition: transform .2s ease, box-shadow .2s ease;
}

.area-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(30, 77, 43, .12);
}

.area-pill-all {
	background: var(--color-cork);
	border-color: var(--color-cork);
	font-weight: 600;
    color: #fff;
}

.opening-hours {
	width: 100%;
	border-collapse: collapse;
}

.opening-hours th,
.opening-hours td {
	padding: 10px 4px;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
}

.opening-hours th {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
}

.opening-hours td {
	text-align: right;
}

.opening-hours tr:last-child th,
.opening-hours tr:last-child td {
	border-bottom: 0;
}

.footer-logo {
	display: inline-block;
	margin: 0 0 20px;
	padding: 14px 20px;
	background: #fff;
	border-radius: 10px;
}

.footer-logo img {
	display: block;
	width: auto;
	height: 48px;
}

.footer-tagline {
	margin-bottom: 20px;
	color: var(--color-cork) !important;
	font-size: 90%;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.footer-title {
	margin-bottom: 20px;
	color: #fff;
	font-size: 105%;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.footer-contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-contact li {
	display: flex;
	flex-direction: column;
	margin-bottom: 18px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .8);
}

.footer-contact li:last-child {
	margin-bottom: 0;
}

.footer-contact-label {
	margin-bottom: 4px;
	color: var(--color-cork);
	font-family: 'Poppins', sans-serif;
	font-size: 80%;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu li {
	margin-bottom: 14px;
}

.site-footer p {
	color: rgba(255, 255, 255, .8);
}

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

.site-footer a:hover {
	color: var(--color-cork);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	justify-content: space-between;
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, .15);
}

.footer-bottom .copyright {
	color: rgba(255, 255, 255, .7);
	font-size: 85%;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.js section > .container {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
}

.js section.is-visible > .container {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.js section > .container {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.benefit-tab.active .benefit-tab-bar,
	.benefit-panel.active {
		animation: none;
	}
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media only screen and (max-width: 991px) {
	.navbar-collapse {
		margin-top: 20px;
		padding: 20px;
		background: var(--color-cream);
		border: 1px solid var(--color-border);
		border-radius: 10px;
	}

	.navbar-nav {
		width: 100%;
		text-align: center;
	}

	.nav-link {
		margin: 0;
		padding: 12px 0 !important;
		border-bottom: 1px solid var(--color-border);
	}

	.nav-link:last-child {
		border-bottom: none;
	}

	.navbar-collapse .btn-black {
		display: block;
		margin-top: 15px;
		text-align: center;
	}
}

@media only screen and (max-width: 768px) {
	h1 {
		font-size: 220%;
	}

	.area-pills-start {
		display: none;
	}

	.contact-info h3 {
		margin-top: 30px;
	}

	.contact-info .opening-hours {
		margin-bottom: 0;
	}

	h2 {
		font-size: 180%;
	}

	section {
		padding: 55px 0;
	}

	.hero {
		height: auto;
		min-height: 560px;
	}

	.hero-content h1 {
		font-size: 230%;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.navbar-logo {
		height: 50px;
	}

	.contact-bar-inner {
		justify-content: center;
		gap: 4px 20px;
	}
}
