/*
Theme Name: Doob Garage Core
Text Domain: doob-garage-core
Description: Custom lightweight cinematic dark theme foundation for Doob Garage.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

html {
	scroll-behavior: smooth;
}

/* Site-wide header branding: logo + one glass icon-only call action. */
body.doob-body .doob-header .doob-brand { gap: 0; flex: 0 0 auto; }
body.doob-body .doob-header .doob-brand__logo {
  display: block;
  inline-size: 3.5rem;
  block-size: 3.5rem;
  max-block-size: calc(var(--doob-header-h) - .5rem);
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .38));
}
body.doob-body header.doob-header .doob-header__cta--call {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  inline-size: 2.75rem;
  min-inline-size: 2.75rem;
  block-size: 2.75rem;
  min-block-size: 2.75rem;
  flex: 0 0 2.75rem;
  padding: 0;
  gap: 0;
  border: 1px solid rgba(238, 243, 248, .42);
  border-radius: 50%;
  background: rgba(22, 27, 32, .36);
  color: #f4f7fa;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 6px 20px rgba(0,0,0,.24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
}
body.doob-body header.doob-header .doob-header__cta--call .doob-inline-icon {
  inline-size: 1.2rem;
  block-size: 1.2rem;
}
body.doob-body header.doob-header .doob-header__cta--call:hover,
body.doob-body header.doob-header .doob-header__cta--call:focus-visible {
  background: rgba(48, 55, 61, .62);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
@media (max-width: 900px) {
  body.doob-body .doob-header .doob-brand__logo {
    inline-size: 3.2rem;
    block-size: 3.2rem;
  }
}
@media (max-width: 430px) {
  body.doob-body .doob-header .doob-brand__logo {
    inline-size: 3rem;
    block-size: 3rem;
  }
  body.doob-body header.doob-header .doob-header__cta--call {
    inline-size: 2.65rem;
    min-inline-size: 2.65rem;
    block-size: 2.65rem;
    min-block-size: 2.65rem;
    flex-basis: 2.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.doob-body header.doob-header .doob-header__cta--call { transition: none; }
}

