/*
Theme Name: Wheel Pilot
Theme URI: https://landing-sell.local/
Author: Landing Sell
Description: Minimal local WordPress theme for the wheel service pilot.
Version: 0.1.0
License: GPL-2.0-or-later
Text Domain: wheel-pilot
*/

:root {
  --ls-bg: #f7f4ef;
  --ls-surface: #ffffff;
  --ls-text: #1f2933;
  --ls-muted: #52606d;
  --ls-accent: #b45309;
  --ls-border: #e5d9c9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--ls-bg);
  color: var(--ls-text);
  line-height: 1.5;
}

a {
  color: var(--ls-accent);
}

.site-header,
.site-footer,
.site-main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
}

.site-nav ul,
.site-cards {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero,
.page-card,
.content-card {
  background: var(--ls-surface);
  border: 1px solid var(--ls-border);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 6px 24px rgba(31, 41, 51, 0.05);
}

.hero {
  margin: 1rem 0 1.5rem;
}

.grid,
.site-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.site-cards li {
  margin: 0;
}

.page-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--ls-muted);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--ls-border);
  border-radius: 0.5rem;
  font: inherit;
}

.contact-form button {
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--ls-accent);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.contact-form button:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
