/*
Theme Name: Rooster Electric
Description: Self-owned child theme for Rooster Electric Co. Portable Gutenberg build — branding, header/footer parts, and design tokens for the Twenty Twenty-Five parent. No page builder, no agency-licensed assets.
Author: Rooster Electric Co
Template: twentytwentyfive
Version: 0.1.0
Text Domain: rooster-electric
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Rooster Electric — child theme custom styles.
   Design tokens live in theme.json; this file holds only the small
   component styles the block markup needs (top bar, header, footer). */

.rooster-topbar {
	font-size: 0.82rem;
	padding-top: 0.45rem;
	padding-bottom: 0.45rem;
}

.rooster-topbar .rooster-verse {
	font-style: italic;
	margin: 0;
}

.rooster-topbar .rooster-hours {
	font-weight: 600;
	letter-spacing: 0.01em;
	margin: 0;
	white-space: nowrap;
}

.rooster-header-main {
	padding-top: 0.9rem;
	padding-bottom: 0.9rem;
	border-bottom: 3px solid var(--wp--preset--color--primary, #d71920);
}

.rooster-wordmark {
	line-height: 1.05;
	margin: 0;
}

.rooster-subline {
	color: var(--wp--preset--color--secondary, #1d2fb8);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin: 0.15rem 0 0;
}

.rooster-call-button .wp-block-button__link {
	font-weight: 700;
	white-space: nowrap;
}

.rooster-footer {
	font-size: 0.95rem;
}

.rooster-footer a {
	color: inherit;
}

.rooster-footer h3,
.rooster-footer .rooster-footer-heading {
	font-size: 1rem;
	letter-spacing: 0.04em;
	margin-top: 0;
	text-transform: uppercase;
}

/* Accessibility baseline (pre-launch audit P1): always-visible focus,
   and honor reduced-motion preferences. */
:focus-visible {
	outline: 3px solid var(--wp--preset--color--secondary, #1d2fb8);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* Phase 8: prototype homepage components (hero, cards, chips, bars). */

.rooster-est-button .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--wp--preset--color--secondary, #1d2fb8);
	color: var(--wp--preset--color--secondary, #1d2fb8);
	font-weight: 700;
	white-space: nowrap;
}

.rooster-hero {
	padding-top: 2.6rem;
	padding-bottom: 0;
}

.rooster-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	padding: 0.3rem 0.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 0 0 0.8rem;
}

.rooster-stars {
	color: #f5b301;
	font-weight: 700;
	margin: 0 0 0.6rem;
}

.rooster-hero-photo img {
	border: 6px solid #fff;
	border-radius: 10px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rooster-stripe {
	height: 8px;
	background: linear-gradient(90deg, #d71920 0 33%, #ffffff 33% 66%, #1d2fb8 66% 100%);
	margin-top: 2.6rem;
}

.rooster-kicker {
	color: var(--wp--preset--color--primary, #d71920);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.85rem;
	margin-bottom: 0.3rem;
}

.rooster-card {
	border: 1px solid #dbe1f0;
	border-radius: 10px;
	padding: 1.2rem 1.3rem;
	background: #fff;
	height: 100%;
}

.rooster-card h3 {
	margin-top: 0;
}

.rooster-ticks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.6rem;
	list-style: none;
	padding: 0;
	margin: 0;
	font-weight: 600;
}

.rooster-ticks li::before {
	content: "✓ ";
	color: var(--wp--preset--color--primary, #d71920);
	font-weight: 800;
}

.rooster-svc-card {
	border: 1px solid #dbe1f0;
	border-top: 6px solid var(--wp--preset--color--secondary, #1d2fb8);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	height: 100%;
}

.rooster-svc-card figure {
	margin: 0;
}

.rooster-svc-card figure img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}

.rooster-svc-body {
	padding: 1rem 1.2rem 1.2rem;
}

.rooster-svc-body h3 {
	margin-top: 0;
}

.rooster-price-line {
	color: var(--wp--preset--color--primary, #d71920);
	font-weight: 800;
	font-size: 1.05rem;
	margin: 0.2rem 0 0.5rem;
}

.rooster-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.rooster-chips li a {
	display: inline-block;
	border: 2px solid var(--wp--preset--color--secondary, #1d2fb8);
	border-radius: 999px;
	padding: 0.45rem 1rem;
	text-decoration: none;
	font-weight: 600;
	color: var(--wp--preset--color--secondary, #1d2fb8);
	background: #fff;
}

.rooster-chips li a:hover {
	background: var(--wp--preset--color--secondary, #1d2fb8);
	color: #fff;
}

.rooster-mobilebar {
	display: none;
}

@media (max-width: 760px) {
	.rooster-mobilebar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		background: #fff;
		border-top: 2px solid var(--wp--preset--color--primary, #d71920);
		padding: 0.5rem;
	}
	.rooster-mobilebar .wp-block-buttons {
		display: flex;
		gap: 0.5rem;
	}
	.rooster-mobilebar .wp-block-button {
		flex: 1;
	}
	.rooster-mobilebar .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
	body {
		padding-bottom: 64px;
	}
}
