/*
Theme Name: Rooster Tees
Theme URI: https://roostertees.com
Description: The Rooster Tees marketing site. A block child theme of Twenty Twenty-Five, built so the whole site can be edited from the WordPress editor without plugins or a page builder. Colours, type and spacing all live in theme.json.
Author: Rooster Tees
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roostertees
Tags: block-patterns, full-site-editing, custom-colors, custom-logo, wide-blocks
*/

/* ---------------------------------------------------------------------------
   Almost everything is controlled from theme.json so that it is editable in
   Appearance > Editor > Styles. Only the handful of things theme.json cannot
   express live here.
   --------------------------------------------------------------------------- */

/* Eyebrow labels above section headings. Apply with the "Eyebrow" class. */
.is-style-eyebrow,
.rt-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
	margin-bottom: 0.35rem;
}

/* Outline button, for the secondary door next to Start Designing. */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
}

/* Keep the header steady on scroll so the two CTAs are always reachable. */
.rt-sticky-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--sand);
}
.admin-bar .rt-sticky-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rt-sticky-header { top: 46px; } }

/* Service and work cards: lift slightly on hover so they read as clickable. */
.rt-card {
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rt-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px -20px rgba(26, 23, 20, 0.55);
}

/* A thin red rule used to mark the start of a section. */
.rt-rule {
	width: 54px;
	height: 4px;
	background: var(--wp--preset--color--primary);
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.rt-card { transition: none; }
	.rt-card:hover { transform: none; }
}

/* ---------------------------------------------------------------------------
   Photo slots. Every dashed box on the homepage is one of these. Click it,
   open Styles > Background in the right-hand panel, and add an image — or
   delete the box and drop in a plain Image block. They are only placeholders;
   none should survive to launch.
   --------------------------------------------------------------------------- */
.rt-slot {
	border: 2px dashed var(--wp--preset--color--slate);
	border-radius: 4px;
	background-color: var(--wp--preset--color--sand);
	background-size: cover;
	background-position: center;
	color: var(--wp--preset--color--slate);
	letter-spacing: 0.12em;
}
.rt-slot.has-background { border-style: none; }

/* Footer link lists, without the bullets. */
.wp-block-list.is-style-no-bullets {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

/* Give the hero some presence even before a photo goes behind it. */
.rt-hero { background-size: cover; background-position: center; }

/* Gallery placeholder, while it is still empty. */
.wp-block-gallery:not(:has(img)) {
	min-height: 180px;
	border: 2px dashed var(--wp--preset--color--slate);
	border-radius: 4px;
}
