/*
Theme Name: Hello Elementor Child
Theme URI: https://chobhamcarspares.uk
Description: Chobham Car Spares child theme
Author: Moura Digital Solutions
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
*/

:root {
  --ccs-ink: #0f1419;
  --ccs-ink-2: #1a222c;
  --ccs-steel: #2a3441;
  --ccs-amber: #e87722;
  --ccs-amber-2: #f0a45a;
  --ccs-cream: #f4f1ea;
  --ccs-muted: #a8b0bb;
}

body.ccs {
  margin: 0;
  background: var(--ccs-ink);
  color: var(--ccs-cream);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
body.ccs h1, body.ccs h2, body.ccs h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  color: var(--ccs-cream);
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
a { color: var(--ccs-amber-2); }
a:hover { color: var(--ccs-amber); }

.ccs-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,20,25,.96);
  border-bottom: 1px solid rgba(232,119,34,.35);
  backdrop-filter: blur(8px);
}
.ccs-bar {
  max-width: 1120px; margin: 0 auto;
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 20px;
  gap: 12px;
}
.ccs-brand {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ccs-cream);
  text-decoration: none;
  justify-self: center;
}
.ccs-brand span { color: var(--ccs-amber); }
.ccs-nav { display: flex; gap: 22px; align-items: center; }
.ccs-nav a {
  color: var(--ccs-cream);
  text-decoration: none;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
}
.ccs-nav-right { justify-content: flex-end; }
.ccs-btn {
  background: var(--ccs-amber);
  color: #111 !important;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  display: inline-block;
  border: 0;
  cursor: pointer;
}
.ccs-menu { display: none; }
.ccs-main { padding-top: 0; }

.ccs-hero {
  min-height: 72vh;
  background:
    linear-gradient(120deg, rgba(15,20,25,.92) 0%, rgba(15,20,25,.55) 55%, rgba(232,119,34,.28) 100%),
    radial-gradient(ellipse at 70% 30%, #3a4656 0%, #0f1419 70%);
  display: flex;
  align-items: flex-end;
}
.ccs-hero-inner {
  width: 100%;
  padding: 90px 24px 56px;
}
.ccs-wrap { max-width: 980px; margin: 0 auto; }
.ccs-kicker {
  color: var(--ccs-amber);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 12px;
  font-weight: 600;
}
.ccs-hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  margin: 0 0 16px;
  max-width: 16ch;
}
.ccs-hero p {
  max-width: 46ch;
  color: var(--ccs-cream);
  font-size: 19px;
  margin: 0 0 24px;
}
.ccs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ccs-section { padding: 72px 24px; }
.ccs-section.alt { background: var(--ccs-ink-2); }
.ccs-section h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 16px;
}
.ccs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.ccs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.ccs-card {
  background: var(--ccs-ink);
  border: 1px solid var(--ccs-steel);
  border-top: 3px solid var(--ccs-amber);
  padding: 22px;
}
.ccs-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}
.ccs-card p { margin: 0; color: var(--ccs-muted); font-size: 16px; }

.ccs-strip {
  background: var(--ccs-amber);
  color: #111;
  padding: 28px 24px;
}
.ccs-strip a { color: #111; font-weight: 600; }
.ccs-strip-inner {
  max-width: 980px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; align-items: center;
}
.ccs-strip .ccs-btn {
  background: #111;
  color: var(--ccs-amber) !important;
}

.ccs-footer {
  background: #0a0d11;
  color: var(--ccs-muted);
  padding: 40px 24px 32px;
  font-size: 15px;
}
.ccs-footer strong { color: var(--ccs-cream); }
.ccs-footer a { color: var(--ccs-amber-2); text-decoration: none; }
.ccs-footer-inner {
  max-width: 980px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.ccs-credit { margin-top: 18px; grid-column: 1 / -1; color: #7a8490; font-size: 13px; }

.ccs-map iframe {
  width: 100%; height: 360px; border: 0;
  display: block; background: #111; border-radius: 4px;
}
.ccs-contact-list { list-style: none; margin: 0; padding: 0; }
.ccs-contact-list li { margin: 0 0 10px; }

@media (max-width: 860px) {
  .ccs-nav { display: none; }
  .ccs-bar { grid-template-columns: 1fr auto; }
  .ccs-brand { justify-self: start; font-size: 22px; }
  .ccs-menu { display: block; justify-self: end; }
  .ccs-menu summary {
    color: var(--ccs-amber); cursor: pointer; list-style: none;
    letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  }
  .ccs-menu summary::-webkit-details-marker { display: none; }
  .ccs-menu[open] {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #0f1419; padding: 8px 20px 16px;
    border-bottom: 1px solid rgba(232,119,34,.35);
  }
  .ccs-menu a {
    display: block; color: var(--ccs-cream); text-decoration: none;
    padding: 10px 0; letter-spacing: .08em; text-transform: uppercase; font-size: 14px;
  }
  .ccs-grid, .ccs-cards, .ccs-footer-inner { grid-template-columns: 1fr; }
  .ccs-section { padding: 48px 16px; }
  .ccs-hero { min-height: 64vh; }
  .ccs-map iframe { height: 260px; }
}

/* Photo galleries */
.ccs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 8px;
}
.ccs-gallery-about {
  grid-template-columns: repeat(2, 1fr);
}
.ccs-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--ccs-steel);
  background: #111;
  aspect-ratio: 4 / 3;
}
.ccs-gallery-item img,
.ccs-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ccs-gallery-item:hover img {
  transform: scale(1.04);
}
.ccs-form-wrap { max-width: 720px; }
.ccs-form {
  background: var(--ccs-ink);
  border: 1px solid var(--ccs-steel);
  border-top: 3px solid var(--ccs-amber);
  padding: 22px;
  margin-top: 18px;
}
.ccs-form label { display: block; margin: 0 0 6px; font-size: 14px; letter-spacing: .04em; }
.ccs-form input[type="text"],
.ccs-form input[type="email"],
.ccs-form input[type="tel"],
.ccs-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0a0d11;
  border: 1px solid var(--ccs-steel);
  color: var(--ccs-cream);
  padding: 12px 14px;
  border-radius: 4px;
  margin: 0 0 14px;
  font: inherit;
}
.ccs-form textarea { min-height: 140px; resize: vertical; }
.ccs-form input[type="submit"],
.ccs-form .wpcf7-submit {
  background: var(--ccs-amber);
  color: #111;
  border: 0;
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 13px;
}
.ccs-form .wpcf7-response-output { margin: 14px 0 0; padding: 10px; border-radius: 4px; }

@media (max-width: 860px) {
  .ccs-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ccs-gallery-about { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ccs-gallery { grid-template-columns: 1fr; }
  .ccs-gallery-about { grid-template-columns: 1fr; }
}

/* Logo */
.ccs-brand .ccs-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(320px, 55vw);
  object-fit: contain;
}
.ccs-footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
}
.ccs-logo-footer {
  display: block;
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
@media (max-width: 720px) {
  .ccs-brand .ccs-logo { height: 44px; }
  .ccs-logo-footer { height: 44px; }
}
