/*
Theme Name: Wick Mobile Tyres
Theme URI: https://wickmobiletyres.co.uk/
Author: Wick Mobile Tyres
Description: Custom WordPress theme for Wick Mobile Tyres.
Version: 1.0.0
Text Domain: wickmobiletyres
*/

/* ---------- Base / tokens ---------- */
:root{
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body{
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6{
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}




:root {
  --wick-orange: #ff6a00;
  --wick-black: #111111;
  --wick-muted: #4b5563;
  --wick-border: #e5e7eb;
  --wick-soft: #f8fafc;
  --wick-max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--wick-black);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--wick-black);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

a:hover,
a:focus {
  color: var(--wick-orange);
}

:focus-visible {
  outline: 2px solid rgba(255, 106, 0, 0.45);
  outline-offset: 2px;
}

/* ---------- Simple layout helpers ---------- */
.wick-wrap,
.site-wrap,
.container {
  max-width: var(--wick-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Basic spacing for WP content */
.site-main,
main {
  padding-bottom: 56px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 12px 0;
}

p {
  margin: 0 0 12px 0;
  color: var(--wick-black);
}

/* ---------- Buttons (works with your templates) ---------- */
.wick-btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, filter 0.15s ease, background-color 0.15s ease;
}

.wick-btn:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

.wick-btn-primary,
button.wick-btn-primary,
input[type="submit"].wick-btn-primary {
  background: var(--wick-orange);
  border-color: var(--wick-orange);
  color: #ffffff;
}

.wick-btn-secondary,
button.wick-btn-secondary {
  background: #ffffff;
  border-color: var(--wick-border);
  color: var(--wick-black);
}

/* ---------- Forms (supports contact shortcode styling) ---------- */
.wick-form-card {
  border: 1px solid var(--wick-border);
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0,0,0,.04);
}

.wick-contact-form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--wick-black);
}

.wick-contact-form input,
.wick-contact-form select,
.wick-contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--wick-border);
  border-radius: 10px;
  font-size: 14px;
}

.wick-contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.wick-form-submit {
  width: 100%;
  margin-top: 12px;
  background: var(--wick-orange);
  color: #ffffff;
  border: 1px solid var(--wick-orange);
}

.wick-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ---------- Footer baseline ---------- */
.site-footer,
footer {
  border-top: 1px solid var(--wick-border);
  background: var(--wick-soft);
  padding: 22px 0;
  color: var(--wick-muted);
  font-size: 14px;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .wick-btn,
  button,
  input[type="submit"] {
    width: 100%;
  }
}
