/*
Theme Name: Bloom & Co. Florist
Theme URI: https://example.com/
Author: Bloom & Co.
Author URI: https://example.com/
Description: A luxury New York florist theme converted from a React design. Handcrafted bouquets, wedding flowers, and same-day delivery landing page.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bloom-co-florist
*/

/* Base reset - the bulk of the design system lives in assets/css/theme.css
   (a compiled utility stylesheet), enqueued separately in functions.php. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

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

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
}

button {
	font: inherit;
	cursor: pointer;
}

/* Screen-reader-only utility for accessibility labels */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Visible skip-to-content link (hidden until focused) */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	background: #fff;
	color: #111;
	padding: 12px 16px;
	font-weight: 600;
}

.skip-link:focus {
	left: 8px;
	top: 8px;
}

/* FAQ accordion (native <details>/<summary>, works even without JS) */
summary {
	list-style: none;
	cursor: pointer;
}

summary::-webkit-details-marker {
	display: none;
}

.faq-chevron {
	transition: transform 0.3s ease;
}

details[open] > summary .faq-chevron {
	transform: rotate(180deg);
}

/* Scroll-reveal (progressive enhancement, replaces the original framer-motion
   fade/slide-in animations - see assets/js/theme.js) */
[data-reveal] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
