/*
Theme Name: EfeGarage Child
Theme URI: https://zfegegarage.com
Description: Astra child theme for EfeGarage ZF automotive service.
Author: EfeGarage
Author URI: https://zfegegarage.com
Template: astra
Version: 1.0.0
Text Domain: efegarage
*/

:root {
	--efegarage-primary: #1d4ed8;
	--efegarage-dark: #0f172a;
	--efegarage-muted: #64748b;
	--efegarage-header-height: 80px;
}

html {
	scrollbar-gutter: stable;
}

body {
	font-family: "Inter", system-ui, -apple-system, sans-serif;
}

/* Consistent header across all pages */
#masthead,
.ast-main-header-wrap,
.site-header {
	position: sticky;
	top: 0;
	z-index: 99999;
	width: 100%;
}

.ast-primary-header-bar,
.site-primary-header-wrap {
	min-height: var(--efegarage-header-height);
	background: #ffffff !important;
	border-bottom: 1px solid #d8e3ef;
	box-shadow: 0 1px 0 rgba(0, 88, 163, 0.06);
}

.ast-primary-header-bar .ast-builder-grid-row {
	align-items: center;
	min-height: var(--efegarage-header-height);
}

.ast-site-identity,
.ast-site-title-wrap,
.site-branding {
	display: flex;
	align-items: center;
	min-height: 48px;
}

.main-header-menu .menu-link,
.ast-builder-menu .menu-item > .menu-link {
	font-weight: 500;
}

.site-title a,
.main-header-menu a {
	font-weight: 600;
}

.site-title a {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	line-height: 1.2;
}

.efegarage-brand-zf-logo {
	display: block;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	object-fit: cover;
	aspect-ratio: 1 / 1;
}

.efegarage-brand-name {
	font-size: clamp(0.95rem, 2.2vw, 1.15rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #ffffff;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.efegarage-brand-zf-logo {
		width: 32px;
		height: 32px;
	}

	.efegarage-brand-name {
		font-size: 0.82rem;
		white-space: normal;
		max-width: 11rem;
	}
}

/* EFAGARAGE horizontal logo */
.site-logo-img,
.custom-logo-link img,
.ast-site-identity .custom-logo {
	max-height: 72px;
	width: auto;
	height: auto;
}

@media (max-width: 768px) {
	.site-logo-img,
	.custom-logo-link img,
	.ast-site-identity .custom-logo {
		max-height: 56px;
	}
}

.efegarage-randevu-form__submit {
	background: var(--efegarage-primary) !important;
}

.entry-title a:hover {
	color: var(--efegarage-primary);
}

.post-type-archive-service .site-content {
	padding: 1rem;
}

@media (min-width: 768px) {
	.post-type-archive-service .site-content {
		padding: 2rem;
	}
}
