/* ===========================================================
   Eddie's Pupventures — playful custom styling
   =========================================================== */

:root {
	--pup-shadow: 0 18px 40px -18px rgba(44, 39, 36, 0.28);
	--pup-shadow-sm: 0 10px 24px -14px rgba(44, 39, 36, 0.30);
	--pup-radius: 28px;
	--pup-radius-sm: 18px;
}

body {
	-webkit-font-smoothing: antialiased;
}

/* Smooth, friendly section rhythm */
.pup-section { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.pup-tight   { padding-block: clamp(2rem, 1.4rem + 3vw, 3.5rem); }

/* ---------- Header ---------- */
.wp-block-template-part.pup-header,
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}
.pup-site-title a,
.pup-site-title {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--contrast) !important;
	text-decoration: none;
	line-height: 1.05;
}
.pup-site-title .pup-paw { color: var(--wp--preset--color--coral); }

/* Navigation as friendly pills */
.pup-nav .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 1.02rem;
	color: var(--wp--preset--color--contrast);
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	transition: background-color .18s ease, color .18s ease;
}
.pup-nav .wp-block-navigation-item__content:hover,
.pup-nav .current-menu-item .wp-block-navigation-item__content {
	background: var(--wp--preset--color--soft-cream);
	color: var(--wp--preset--color--coral);
}

/* ---------- Hero ---------- */
.pup-hero {
	border-radius: var(--pup-radius);
	overflow: hidden;
	min-height: clamp(420px, 60vh, 620px);
	box-shadow: var(--pup-shadow);
}
.pup-hero .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(180deg, rgba(44,39,36,.12) 0%, rgba(44,39,36,.10) 40%, rgba(44,39,36,.62) 100%) !important;
}
.pup-hero h1,
.pup-hero p { text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.pup-eyebrow {
	display: inline-block;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: .8rem;
	padding: .4rem 1rem;
	border-radius: 999px;
	background: var(--wp--preset--color--sunshine);
	color: var(--wp--preset--color--contrast);
}

/* ---------- Trust badges ---------- */
.pup-badges { gap: .8rem !important; }
.pup-badge {
	background: var(--wp--preset--color--white);
	border-radius: 999px;
	padding: .6rem 1.15rem !important;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: .98rem;
	box-shadow: var(--pup-shadow-sm);
	margin: 0 !important;
}
.pup-badge .pup-check { color: var(--wp--preset--color--meadow); font-weight: 800; }

/* ---------- Cards ---------- */
.pup-card {
	background: var(--wp--preset--color--white);
	border-radius: var(--pup-radius-sm);
	padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) !important;
	box-shadow: var(--pup-shadow-sm);
	height: 100%;
}
.pup-card h3 { margin-top: .25rem; }

/* Numbered step chip */
.pup-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem; height: 3rem;
	border-radius: 999px;
	background: var(--wp--preset--gradient--sunset);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 1.35rem;
	box-shadow: var(--pup-shadow-sm);
}

/* Rounded feature image */
.pup-round-img img { border-radius: var(--pup-radius); box-shadow: var(--pup-shadow); }

/* Friendly list with paws */
.pup-list { list-style: none; padding-left: 0; }
.pup-list li {
	position: relative;
	padding: .35rem 0 .35rem 2rem;
	font-weight: 600;
}
.pup-list li::before {
	content: "🐾";
	position: absolute;
	left: 0;
	top: .3rem;
	font-size: 1.05rem;
}

/* Section tints */
.has-mint-background-color,
.has-soft-cream-background-color { border-radius: 0; }

/* Pill CTA band */
.pup-cta-band {
	border-radius: var(--pup-radius);
	box-shadow: var(--pup-shadow);
	overflow: hidden;
}

/* ---------- Gallery ---------- */
.pup-gallery.wp-block-gallery { gap: 1.1rem !important; }
.pup-gallery.wp-block-gallery .wp-block-image {
	border-radius: var(--pup-radius-sm);
	overflow: hidden;
	box-shadow: var(--pup-shadow-sm);
	background: var(--wp--preset--color--white);
	transition: transform .2s ease, box-shadow .2s ease;
}
.pup-gallery.wp-block-gallery .wp-block-image:hover {
	transform: translateY(-5px) rotate(-.6deg);
	box-shadow: var(--pup-shadow);
}
.pup-gallery.wp-block-gallery .wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	height: 100%;
	display: block;
}
.pup-gallery.wp-block-gallery figcaption,
.pup-gallery .wp-block-image figcaption {
	position: absolute;
	inset: auto 0 0 0;
	margin: 0;
	background: linear-gradient(180deg, transparent, rgba(44,39,36,.72));
	color: #fff !important;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1rem;
	text-align: left;
	padding: 1.6rem .9rem .7rem;
}

/* ---------- Contact ---------- */
.pup-contact-card {
	background: var(--wp--preset--color--white);
	border-radius: var(--pup-radius);
	box-shadow: var(--pup-shadow);
	padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) !important;
}
.wpcf7-form p { margin: 0 0 1rem; }
.wpcf7-form label {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	display: block;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	width: 100%;
	border: 2px solid #F0E4D2;
	background: var(--wp--preset--color--base);
	border-radius: 14px;
	padding: .8rem 1rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.02rem;
	margin-top: .3rem;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--coral);
	box-shadow: 0 0 0 4px rgba(255,107,74,.14);
}
.wpcf7-form input[type="submit"] {
	background: var(--wp--preset--color--coral);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.05rem;
	padding: .85rem 2.4rem;
	cursor: pointer;
	transition: background-color .18s ease, transform .1s ease;
}
.wpcf7-form input[type="submit"]:hover { background: var(--wp--preset--color--berry); transform: translateY(-1px); }

.pup-contact-links a {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	text-decoration: none;
}

/* ---------- Footer ---------- */
.pup-footer {
	background: var(--wp--preset--color--contrast);
	color: #fff;
}
.pup-footer a { color: var(--wp--preset--color--sunshine); text-decoration: none; }
.pup-footer a:hover { color: var(--wp--preset--color--white); }
.pup-footer .wp-block-navigation-item__content { color: #fff; }

/* ---------- Misc ---------- */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--white) !important;
	border: 2px solid var(--wp--preset--color--white) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--coral) !important;
}

/* Decorative wavy divider */
.pup-wave { line-height: 0; }
.pup-wave svg { display: block; width: 100%; height: auto; }

/* Round the cover feature images used inline */
figure.pup-feature img { border-radius: var(--pup-radius); box-shadow: var(--pup-shadow); }

@media (max-width: 781px) {
	.pup-badges { justify-content: center !important; }
	.pup-hero { min-height: 460px; }
}

/* ---------- Mobile menu overlay polish ---------- */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--base) !important;
	padding: 4.5rem 1.75rem 2.5rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	gap: 0.4rem;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.3rem;
	padding: 0.65rem 0.9rem;
	width: 100%;
}
.wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--coral) !important;
	top: 1.4rem !important;
	right: 1.4rem !important;
}
.wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }

/* ---------- Contact form notices ---------- */
.pup-form-notice {
	border-radius: 14px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.25rem;
	font-weight: 600;
	font-family: var(--wp--preset--font-family--body);
}
.pup-form-ok { background: var(--wp--preset--color--mint); color: #1c6b3a; border: 2px solid #9ad6b4; }
.pup-form-err { background: #fdeceb; color: #b23a2b; border: 2px solid #f3b8b0; }

/* ---------- Brand logo ---------- */
.pup-brand { flex-wrap: nowrap !important; }
.pup-logo img,
.pup-logo .custom-logo {
	display: block;
	height: auto;
	filter: drop-shadow(0 4px 8px rgba(44,39,36,.18));
}
.pup-brand .pup-site-title { margin: 0; white-space: nowrap; }

/* Footer logo + title on dark */
.pup-logo-footer { margin-bottom: .5rem; }
.pup-site-title-footer,
.pup-site-title-footer a { color: #fff !important; }

/* ---------- Retro sunburst accent on CTA bands ---------- */
.pup-cta-band { position: relative; }
.pup-cta-band::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 50% 42%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%),
		repeating-conic-gradient(from 0deg at 50% 42%, rgba(255,255,255,.09) 0deg 7deg, rgba(255,255,255,0) 7deg 14deg);
	pointer-events: none;
	z-index: 0;
}
.pup-cta-band > .wp-block-cover__inner-container { position: relative; z-index: 1; }

/* A little more playful pop on section headings */
.pup-eyebrow { box-shadow: 0 6px 16px -8px rgba(255,107,74,.5); }

@media (max-width: 600px) {
	.pup-logo img, .pup-logo .custom-logo { width: 46px !important; }
	.pup-brand .pup-site-title { font-size: 1.15rem !important; }
}

/* ===========================================================
   v1.0.1 fixes
   =========================================================== */

/* 1. Remove the WooCommerce cart/account icon (no shop on this site) */
.wp-block-woocommerce-customer-account,
.wc-block-customer-account,
.wp-block-woocommerce-mini-cart,
.wc-block-mini-cart { display: none !important; }

/* 2. Gallery thumbnails: favour the top of the photo so dogs' heads aren't cropped */
.pup-gallery.wp-block-gallery .wp-block-image img { object-position: center 22%; }

/* 3. Direct-image logo (header + footer) */
.pup-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.pup-logo-img {
	height: 58px;
	width: auto;
	display: block;
	filter: drop-shadow(0 4px 8px rgba(44,39,36,.18));
}
.pup-logo-footer { text-align: center; margin-bottom: .5rem; }
.pup-logo-footer .pup-logo-img { height: 96px; margin: 0 auto; }

/* 4. Contact form: keep inputs inside the white card on mobile */
.wpcf7-form, .pup-form { max-width: 100%; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.pup-form input[type="text"],
.pup-form input[type="email"],
.pup-form textarea {
	box-sizing: border-box !important;
	max-width: 100%;
}
.pup-contact-card { overflow: hidden; }

@media (max-width: 600px) {
	.pup-logo-img { height: 46px; }
	.pup-brand .pup-site-title { font-size: 1.15rem !important; }
}

/* ===========================================================
   v1.0.2 — CTA gradients (continuity) + footer logo tidy
   =========================================================== */

/* Give every call-to-action band a real gradient in its colour family,
   so the Our Walks CTA matches the others. */
.pup-cta-band .wp-block-cover__background.has-coral-background-color {
	background-image: linear-gradient(135deg, #FF7A4D 0%, #FF6B4A 45%, #E85D9E 100%) !important;
}
.pup-cta-band .wp-block-cover__background.has-sky-background-color {
	background-image: linear-gradient(135deg, #47C6E6 0%, #3FB9E0 45%, #3DA35D 100%) !important;
}

/* Footer logo: sits on a light "badge" so every detail (including Eddie's
   black nose and ears) reads clearly against the dark footer background. */
.pup-logo-footer {
	text-align: center;
}
.pup-logo-footer .pup-logo-img {
	display: inline-block;
	height: 84px;
	width: auto;
	background: #FFFBF3;
	padding: 8px 12px;
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
	filter: none;
}
