/*
Theme Name: TerraMove Astra Child
Theme URI: https://terramove.it/
Description: Child theme Astra per TerraMove, ottimizzato per Elementor.
Author: OpenAI
Template: astra
Version: 1.0.0
Text Domain: terramove-astra-child
*/

:root {
  --tm-accent: #f97316;
  --tm-accent-dark: #c2410c;
  --tm-bg-dark: #0b1120;
  --tm-bg-darker: #020617;
  --tm-text: #111827;
  --tm-muted: #64748b;
  --tm-light: #f8fafc;
  --tm-border: #e5e7eb;
}

html { scroll-behavior: smooth; }
body { color: var(--tm-text); }

.tm-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(249,115,22,.12);
  color: var(--tm-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.tm-section-title h2,
.tm-section-title .elementor-heading-title {
  letter-spacing: -.02em;
}

.tm-card,
.tm-vehicle-card,
.tm-rental-card,
.tm-service-card,
.tm-contact-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 36px rgba(2,6,23,.08);
}

.tm-vehicle-card .elementor-widget-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.tm-dark-section {
  background: linear-gradient(120deg, #020617 0%, #111827 58%, #7c2d12 100%);
  color: #fff;
}

.tm-hero {
  background: radial-gradient(circle at top right, rgba(249,115,22,.34), transparent 24%), linear-gradient(120deg, #020617 12%, #0f172a 45%, #1f2937 68%, #7c2d12 100%);
  color: #fff;
}

.tm-hero .elementor-button,
.tm-cta .elementor-button,
.tm-vehicle-card .elementor-button,
.tm-rental-card .elementor-button {
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tm-filter-box {
  border-radius: 24px;
  background: #0f172a;
  color: #fff;
}

.tm-filter-chip {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}

.tm-footer {
  background: #020617;
  color: #fff;
}

.tm-small-muted,
.tm-small-muted p,
.tm-small-muted .elementor-heading-title {
  color: var(--tm-muted);
}

.tm-orange { color: var(--tm-accent); }
.tm-text-white, .tm-text-white * { color: #fff; }

@media (max-width: 767px) {
  .tm-vehicle-card .elementor-widget-image img {
    height: 200px;
  }
}
