/*
Theme Name: WonFixIt
Theme URI: https://wonfixit.com/
Author: Won Fix It
Author URI: https://wonfixit.com/
Description: The official block theme for Won Fix It — Dawon's digital fix-it shop. AI agent production, website design, ready-made Shopify & WordPress themes, webmaster care plans, and prompt template packs. Bold work-order styling, full-site editing, no page builder required.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wonfixit
Tags: block-theme, full-site-editing, business, portfolio, ecommerce-ready
*/

/* ============ WonFixIt design polish v1.1 ============ */
html { scroll-behavior: smooth; }
::selection { background: #FF5A1F; color: #FFFFFF; }

/* Buttons lift on hover */
.wp-block-button__link { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,19,23,.20); }
.wp-block-button__link:active { transform: translateY(0); box-shadow: none; }

/* Service cards lift on hover */
.wonfixit-card { transition: transform .22s ease, box-shadow .22s ease; }
.wonfixit-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,19,23,.12); }

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #FFC531; outline-offset: 2px; border-radius: 4px; }

/* FAQ accordions: clearer affordance */
details { border-bottom: 1px solid #E5DCC9; padding: .2rem 0; }
details summary { cursor: pointer; font-weight: 700; padding: .65rem 0; list-style-position: outside; }
details summary::marker { color: #FF5A1F; }
details[open] summary { color: #FF5A1F; }
details p { color: #4A463F; }

/* Hero entrance */
@keyframes wonfixit-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.wonfixit-hero > .wp-block-columns:first-child > .wp-block-column:first-child > * { animation: wonfixit-rise .7s ease both; }
.wonfixit-hero > .wp-block-columns:first-child > .wp-block-column:first-child > *:nth-child(2) { animation-delay: .08s; }
.wonfixit-hero > .wp-block-columns:first-child > .wp-block-column:first-child > *:nth-child(3) { animation-delay: .16s; }
.wonfixit-hero > .wp-block-columns:first-child > .wp-block-column:first-child > *:nth-child(4) { animation-delay: .24s; }
.wonfixit-hero > .wp-block-columns:first-child > .wp-block-column:first-child > *:nth-child(5) { animation-delay: .32s; }

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

/* Form labels on dark sections: keep readable (e.g. Reserve Tech form on #request) */
#request .wpforms-container label,
#request .wpforms-container .wpforms-field-label,
#request .wpforms-container .wpforms-field-sublabel,
#request .wpforms-container .wpforms-field-description {
  color: #FAF6ED;
}
#request .wpforms-container .wpforms-field-description { color: #B9B2A4; }
