/* Bartle Bridge: one-page site on Twenty Twenty-Five (rebuild of the MyThemeShop "Pets" design) */
:root {
	--bb-coral: #fc7f7f;
	--bb-teal: #8cd7d7;
	--bb-text: #566073;
	--bb-pale: #eef9f9;
}
body {
	font-family: 'Mulish', sans-serif;
	color: var(--bb-text);
	font-size: 17px;
	line-height: 1.7;
}
h1, h2, h3, h4, .wp-block-heading, .wp-block-site-title {
	font-family: 'Quicksand', sans-serif;
	color: var(--bb-text);
	font-weight: 700;
	letter-spacing: normal;
}
h1.wp-block-heading, h2.wp-block-heading { letter-spacing: -0.07em; }
a { color: var(--bb-coral); }
html { scroll-behavior: smooth; }
section[id], .wp-block-group[id] { scroll-margin-top: 90px; }

/* Header */
.bb-header { box-shadow: 0 2px 12px rgba(0,0,0,.06); padding-top: 23px !important; padding-bottom: 22px !important; }
.bb-header .wp-block-site-logo img { width: 265px; height: auto; }
.bb-header .wp-block-navigation { gap: 34px !important; }
.bb-header .wp-block-navigation .wp-block-navigation-item__content, .bb-header .wp-block-navigation a { color: var(--bb-coral) !important; font-family: 'Mulish', sans-serif; font-size: 13px; text-decoration: none; }
.bb-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--bb-text) !important; }
.bb-phone { margin: 0; }
.bb-phone a { color: var(--bb-coral); text-decoration: none; font-family: 'Mulish', sans-serif; font-size: 17px; font-weight: 300; letter-spacing: .02em; }
.bb-header .wp-block-social-links .wp-social-link { background: var(--bb-teal) !important; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.bb-header .wp-block-social-links .wp-social-link a { padding: 0; }
.bb-header .wp-block-social-links .wp-social-link svg { width: 18px; height: 18px; }
/* Facebook: Font Awesome glyph (matches the rest of the site's icons) instead of the WordPress SVG */
.bb-header .wp-social-link-facebook svg { display: none; }
.bb-header .wp-social-link-facebook a::before { content: "\f09a"; font-family: FontAwesome; font-size: 17px; line-height: 1; color: #fff; }

/* Shared */
.bb-kicker { text-transform: uppercase; letter-spacing: 10px; color: var(--bb-coral); font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 22px; margin-bottom: 0; }
.bb-kicker.bb-teal { color: var(--bb-teal); }
.bb-coral { color: var(--bb-coral) !important; }

/* Hero */
.bb-hero { background: linear-gradient(90deg, #fae1e2, #f9d4d2); }
.bb-hero { padding-top: 68px !important; }
.bb-hero .bb-kicker { font-size: 20px; line-height: 30px; }
.bb-hero h1 { color: var(--bb-coral); font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.4; letter-spacing: -0.076em; margin-top: 11px; margin-bottom: 0; }
.bb-hero .bb-intro { max-width: 700px; margin: 19px auto 0; font-size: 18px; line-height: 30px; font-weight: 400; }
.bb-hero .bb-hours { max-width: none; margin-top: 0; font-size: 17px; line-height: 30px; font-weight: 700; }
.bb-hero .bb-hours strong { font-weight: 700; }
.bb-hero .bb-hours a { text-decoration: none; }

/* Icon features (What We Offer / Why Us) */
.bb-feature { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.bb-feature .bb-icon { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--bb-text); background: #e6e7ea; }
.bb-feature h3 { margin: 0 0 6px; font-family: 'Mulish', sans-serif; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--bb-coral); letter-spacing: .02em; }
.bb-feature p { margin: 0; font-size: 15px; line-height: 24px; font-weight: 300; }
.bb-features-left .bb-feature { flex-direction: row-reverse; text-align: right; }
.bb-why .bb-feature h3 { color: var(--bb-teal); }

/* Section intro lines */
.bb-lead { max-width: 700px; margin-left: auto !important; margin-right: auto !important; font-size: 18px; line-height: 30px; font-weight: 400; }

/* What We Offer background */
.bb-offer { background-repeat: no-repeat; background-position: center bottom; background-size: contain; }

/* Gallery */
.bb-gallery.wp-block-gallery { gap: 0 !important; }
.bb-gallery.wp-block-gallery figure.wp-block-image { margin: 0 !important; }

/* Reviews: one at a time, dots underneath (matches the original theme's slider) */
.bb-reviews-slider { position: relative; }
.bb-reviews-slider .bb-viewport { overflow: hidden; touch-action: pan-y; cursor: grab; }
.bb-reviews-slider .bb-track { display: flex; transition: transform .6s ease; }
.bb-reviews-slider .bb-slide { flex: 0 0 100%; min-width: 100%; box-sizing: border-box; text-align: center; padding: 0 10px; margin: 0 !important; user-select: none; }
.bb-reviews-slider:not(.is-ready) .bb-slide + .bb-slide { display: none; } /* before the script runs, show just the first */
.bb-slide img { width: 150px; height: auto; pointer-events: none; }
.bb-slide h3 { font-family: 'Mulish', sans-serif; font-size: 28px; font-weight: 700; margin: 31px 0 0; letter-spacing: normal; }
.bb-slide .bb-source { color: var(--bb-coral); text-transform: uppercase; letter-spacing: .15em; font-size: 13px; font-weight: 700; margin: 4px 0 0; }
.bb-slide .bb-quote { font-style: italic; font-size: 18px; line-height: 30px; margin: 15px 0 0; }
.bb-dots { display: flex; justify-content: center; gap: 38px; margin-top: 50px; }
.bb-dot { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: #e6e7ea; cursor: pointer; }
.bb-dot.is-active, .bb-dot:hover { background: var(--bb-coral); }
.bb-dot:focus-visible { outline: 2px solid var(--bb-text); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .bb-reviews-slider .bb-track { transition: none; } }

/* Why Us: photo fills the left half edge to edge */
.bb-why { background: var(--bb-pale); }
.bb-why .bb-why-photo { align-self: stretch; }
.bb-why .bb-why-photo figure, .bb-why .bb-why-photo img { height: 100%; width: 100%; margin: 0; object-fit: cover; }
.bb-why .bb-why-photo img { object-position: 35% 50%; } /* keep the cat's face and the dog in frame when the column crops the photo */
.bb-why .bb-why-text { padding: 70px 60px 70px 100px; }
.bb-why .bb-why-text > * { max-width: 470px; }
.bb-why .bb-why-text .bb-kicker { font-size: 22px; line-height: 30px; }
.bb-why .bb-why-text h2 { margin-top: 10px !important; line-height: 70px; }

/* Footer */
.bb-footer { background: #2d333e; color: #fff; font-size: 15px; }
.bb-footer p { margin: 4px 0; color: #fff; }

@media (max-width: 781px) {
	.bb-features-left .bb-feature { flex-direction: row; text-align: left; }
	.bb-why .bb-why-text { padding: 40px 20px; }
	.bb-offer { background-image: none !important; }
}

/* No theme gap between the page and the footer / header */
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
main.wp-block-group { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Gallery lightbox: dark see-through background, like the original */
.wp-lightbox-overlay .scrim { background-color: #000 !important; opacity: .85 !important; }
.wp-lightbox-overlay .close-button,
.wp-lightbox-overlay .wp-lightbox-navigation-button,
.wp-lightbox-overlay button { color: #fff !important; fill: #fff !important; }
.wp-lightbox-overlay button svg { fill: #fff !important; }

/* Back to top */
.bb-to-top { position: fixed; right: 40px; bottom: 100px; width: 43px; height: 43px; border-radius: 50%; border: 0; background: var(--bb-text); color: rgba(255,255,255,.7); font-size: 26px; line-height: 43px; text-align: center; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 50; padding: 0; }
.bb-to-top.is-visible { opacity: 1; visibility: visible; }
.bb-to-top:hover { color: #fff; }
@media (max-width: 781px) { .bb-to-top { right: 16px; bottom: 24px; } .bb-why .bb-why-text { padding: 40px 20px; } }

/* Fine-tuning to the original's measurements */
.bb-header { padding-top: 27px !important; }
.bb-header .wp-block-navigation .wp-block-navigation-item__content { font-weight: 400; }
.bb-why .bb-why-text h2, #welcome h2.wp-block-heading { font-size: 50px !important; }

/* ---- Desktop header: everything grouped on the left, like the original ---- */
.bb-header > .wp-block-group { justify-content: flex-start !important; gap: 45px !important; padding-left: 15px; flex-wrap: nowrap; }
.bb-header > .wp-block-group > .wp-block-group { gap: 0 !important; transform: translateY(-5px); flex-wrap: nowrap; }
.bb-header .wp-block-navigation { margin-right: 0; }
.bb-header .wp-block-social-links { margin: 0 10px 0 33px !important; }

/* ---- Mobile menu: coral panel sliding in from the left over a dimmed page ---- */
.bb-header .wp-block-navigation__responsive-container.is-menu-open {
	right: auto !important;
	width: 300px;
	max-width: 85vw;
	padding: 0 !important;
	background: var(--bb-coral) !important;
	color: #fff !important;
	box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5);
	animation: bb-menu-slide .5s ease both !important;
}
@keyframes bb-menu-slide { from { transform: translateX(-100%); } to { transform: none; } }
.bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close { width: 100%; max-width: none; }
.bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { margin: 0 !important; padding: 0 !important; }
.bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { color: #fff; top: 8px; right: 10px; }
.bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 0 !important;
	align-items: stretch !important;
}
.bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 0 !important;
	align-items: stretch !important;
	width: 100%;
}
.bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 9px 25px !important;
	color: #fff !important;
	font-family: 'Mulish', sans-serif;
	font-size: 13px !important;
	font-weight: 400;
	line-height: 24px;
}
.bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover { background: rgba(0, 0, 0, .05); color: #fff !important; }
.bb-header .wp-block-navigation__responsive-container-open { color: var(--bb-text); }

/* ---- Mobile header: hamburger on the left, then logo, then phone ---- */
@media (max-width: 599px) {
	.bb-header { padding-top: 15px !important; padding-bottom: 15px !important; }
	.bb-header > .wp-block-group { gap: 12px !important; padding-left: 0; flex-wrap: wrap; justify-content: space-between !important; align-items: center; }
	.bb-header > .wp-block-group > .wp-block-group { display: contents; }
	.bb-header .wp-block-navigation { order: -1; margin-right: 0; }
	.bb-header .wp-block-site-logo { order: 0; flex: 1 1 auto; }
	.bb-header .wp-block-site-logo { flex: 0 1 auto; }
	.bb-header .wp-block-site-logo img { width: 150px; }
	.bb-phone { order: 1; margin-left: auto; }
	.bb-phone a { font-size: 15px; }
	.bb-header .wp-block-social-links { order: 2; flex-basis: 100%; justify-content: center; margin: 4px 0 0 !important; }
}

.bb-header .wp-block-navigation .wp-block-navigation-item__content { letter-spacing: -0.35px; }
@media (max-width: 599px) { .bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { letter-spacing: normal; } }

/* Mobile panel items: stretch full width, padding inside the width */
.bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: stretch !important; }
.bb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { box-sizing: border-box; }
