/* =========================================================
   Site main stylesheet
   Loaded via inc/header.php after Bootstrap.
   ========================================================= */

/* Basic typography */
body {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background-color: #fafafa;
	color: #212529;
}

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

/* Simple spacing helpers for page sections */
section {
	padding: 3rem 0;
}

/* =========================================================
   Shared page header (internal pages)
   ========================================================= */
.page-hero {
	position: relative;
	width: 100%;
	height: 60vh;
	min-height: 320px;
	max-height: 640px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.page-hero__content {
	position: relative;
	color: #fff;
	text-align: center;
	width: 100%;
}

.page-hero__title {
	font-size: 2.75rem;
	font-weight: 700;
}

.page-hero__intro {
	font-size: 1.25rem;
	opacity: 0.9;
}

/* Breadcrumb (shared page header) */
.page-breadcrumb {
	font-size: 0.9rem;
	margin-top: 0.5rem;
}
.page-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 20px 0px;
    justify-content: center;
}

.page-breadcrumb__item {
	display: inline-flex;
	align-items: center;
}
.page-breadcrumb a {
	color: inherit;
	text-decoration: none;
	opacity: 0.85;
}
.page-breadcrumb a:hover {
	opacity: 1;
	text-decoration: underline;
}
.page-breadcrumb__sep {
	opacity: 0.5;
	margin: 0 0.5rem;
}
.page-breadcrumb__current {
	font-weight: 600;
}

/* =========================================================
   Front page hero carousel
   ========================================================= */
.hero-slide {
	width: 100%;
	height: 70vh;
	min-height: 380px;
	max-height: 720px;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}

.hero-slide__content {
	position: relative;
	color: #fff;
	text-align: center;
	width: 100%;
}

.hero-slide__headline {
	font-size: 3rem;
	font-weight: 700;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-slide__description {
	font-size: 1.25rem;
	max-width: 640px;
	margin: 0 auto;
	opacity: 0.95;
}

/* Carousel controls on dark slides stay visible */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
	z-index: 3;
}

/* =========================================================
   "We support with" cards (image with title overlay)
   ========================================================= */
.case-card {
	border: none;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	min-height: 200px;
}

.case-card .card-body {
	background-color: rgba(0, 0, 0, 0.5);
	background-size: cover;
	background-position: center;
	padding: 2rem;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.case-card .card-title {
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* =========================================================
   Testimonials (mini slider)
   ========================================================= */
.testimonial-img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 1rem;
	display: block;
	border: 3px solid #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
	font-style: italic;
	text-align: center;
	font-size: 1.15rem;
	max-width: 640px;
	margin: 0 auto;
}

.testimonial-author {
	font-weight: bold;
	text-align: center;
	margin-top: 1rem;
	color: #6c757d;
}

/* Controls on the testimonial slider (dark arrows on light bg) */
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
	width: 8%;
}

/* =========================================================
   Contact page
   ========================================================= */
.map-frame {
	width: 100%;
	height: 320px;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
	width: 100%;
	height: 320px;
	border-radius: 8px;
	background: #e9ecef;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1rem;
	color: #6c757d;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   Consent banner (fixed bottom bar)
   ========================================================= */
.cookie-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1050;
	color: #fff;
	padding: 0.75rem 0;
	display: none;
}

.cookie-consent.show {
	display: block;
}

.cookie-consent__inner {
	display: flex;
    background: rgba(33, 37, 41, 0.87);
    padding: 30px;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    flex-wrap: wrap;
}

.cookie-consent a {
	color: #9ec5fe;
}

.cookie-consent__actions {
	display: flex;
	gap: 0.5rem;
	flex-shrink: 0;
}

/* =========================================================
   Navigation — dropdown menu for nav items with children.
   Hover-capable devices: opens on hover / keyboard focus.
   Touch devices: toggled by tap via main.js (.show).
   ========================================================= */
@media (hover: hover) {
	.navbar-nav .dropdown:hover .dropdown-menu,
	.navbar-nav .dropdown:focus-within .dropdown-menu {
		display: block;
	}
}

/* =========================================================
   One-pager: smooth anchor scrolling + section offsets
   ========================================================= */
html {
	scroll-behavior: smooth;
}

section[id] {
	scroll-margin-top: 72px; /* breathing room when an anchor is jumped to */
}

.fixed-top {
    background: #ffffff;
    box-shadow: 1px 3px 15px hsl(0deg 0% 0% / 14%);
}

.navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 0;
}

.navbar-brand {
	width: 150px;
}

.nav-link {
	color: black;
	font-weight: 400;
	font-size: 1.2rem;
}

.nav-link:hover {
	color: green;
	font-weight: 400;
	font-size: 1.2rem;
}

.nav-link:active {
	color: green;
	font-weight: 400;
	font-size: 1.2rem;
}

.footer-nav a {
	color: black;
	text-decoration: none;
}

.cform {
    display: flex;
    justify-content: center;
}

#socials a {
    color: rgb(48 175 67) !important;
    text-decoration: none !important;
    font-size: 30px !important;
    margin: 10px !important;
}
