/*
 Theme Name: Tesla Repair Dubai Astra Child
 Theme URI: https://teslarepairsdubai.com/
 Description: Custom child theme for Tesla Repair Dubai, built on Astra.
 Author: Tesla Repair Dubai
 Template: astra
 Version: 1.0.0
 Text Domain: tesla-repair-dubai
*/

/* Brand design tokens */
:root {
  --trd-white: #FFFFFF;
  --trd-light: #F4F4F4;
  --trd-black: #171A20;
  --trd-grey: #5C5E62;
  --trd-radius-pill: 999px;
}

/* Global base */
html { scroll-behavior: smooth; }
body {
  color: var(--trd-black);
  background: var(--trd-white);
  font-family: Inter, Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
a:hover { color: var(--trd-grey); }

/* Pill buttons */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.elementor-button,
.wpforms-submit {
  border-radius: var(--trd-radius-pill) !important;
  font-weight: 600;
}

/* Brand utility classes for Elementor sections */
.trd-section { padding-block: clamp(48px, 7vw, 104px); }
.trd-muted { color: var(--trd-grey); }
.trd-surface { background: var(--trd-light); }
.trd-pill { border-radius: var(--trd-radius-pill); }
.trd-disclaimer { color: #A6A6A6; font-size: 12px; }

/* Mobile contact bar placeholder styling; shown when its Elementor/Astra
   component is added to the site. */
@media (max-width: 767px) {
  .trd-mobile-action-bar {
    position: fixed;
    z-index: 9999;
    inset: auto 0 0;
    display: flex;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  }
  body { padding-bottom: 66px; }
}
