/*
Theme Name: TNJ Auto Group Child
Theme URI: https://www.tnjautogroup.com
Description: Child theme styling for TNJ Auto Group (vintage mechanic look).
Author: TNJ Auto Group
Template: twentytwentyfour
Version: 1.0.0
Text Domain: tnj-auto-group-child
*/

/* ---------- TNJ Color System ---------- */
:root {
  --tnj-black:#111;
  --tnj-charcoal:#1b1b1b;
  --tnj-paper:#f2e8d6;
  --tnj-tan:#d1c2a3;
  --tnj-rust:#8b2a1f;
  --tnj-brass:#b08a3a;
  --tnj-border:rgba(0,0,0,.2);
  --tnj-shadow:0 10px 30px rgba(0,0,0,.25);
  --tnj-radius:18px;
}

body {
  background: var(--tnj-paper);
  color: var(--tnj-charcoal);
}

a { color: var(--tnj-rust); font-weight:700; }
a:hover { opacity:.9; }

/* ---------- Top Contact Bar ---------- */
.tnj-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 16px;
  background: linear-gradient(180deg, #111, #1a1a1a);
  color: var(--tnj-paper);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid rgba(255,255,255,.08);
}
.tnj-topbar__left, .tnj-topbar__right{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}
.tnj-topbar a{ color: var(--tnj-paper); text-decoration:none; font-weight:800; letter-spacing:.03em; font-size:14px; }
.tnj-social{ color: rgba(242,232,214,.78); text-decoration:none; font-weight:900; text-transform:uppercase; font-size:12px; letter-spacing:.08em; }

/* ---------- Hero Section ---------- */
.tnj-hero{
  position: relative;
  padding: 70px 20px 60px;
  color: var(--tnj-paper) !important;
  background:
    linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.68)),
    url('tnj-auto-group-child/assets/tnj-texture.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.tnj-hero::before{
  content:"";
  position:absolute;
  inset:-40px;
  background-image: url('tnj-auto-group-child/assets/tnj-watermark.png');
  background-repeat:no-repeat;
  background-position: right center;
  background-size: 720px auto;
  opacity:.22;
  pointer-events:none;
}

.tnj-hero h1, .tnj-hero .tnj-hero__title{
  color: var(--tnj-paper) !important;
  text-transform: uppercase;
  letter-spacing:.03em;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.tnj-hero p, .tnj-hero .tnj-hero__sub{
  color: var(--tnj-paper) !important;
  opacity:.92;
}

/* Badges */
.tnj-badge{
  display:inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: var(--tnj-paper);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  margin-right: 8px;
}

/* Buttons */
.tnj-btn{
  display:inline-block;
  padding: 12px 18px;
  border-radius: var(--tnj-radius);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--tnj-shadow);
  text-decoration:none !important;
}
.tnj-btn-primary{ background: linear-gradient(180deg, var(--tnj-rust), #6f1f17); color: var(--tnj-paper) !important; }
.tnj-btn-ghost{ background: rgba(255,255,255,.10); color: var(--tnj-paper) !important; }

/* Hero logo image (add CSS class tnj-hero-logo to the Image block) */
.tnj-hero-logo img{
  max-width: 520px;
  width: 100%;
  height: auto;
  display:block;
  margin: 0 0 18px 0;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}

/* Sections */
.tnj-section{ padding: 60px 20px; }
.tnj-section.alt{
  background: linear-gradient(180deg, rgba(210,194,163,.45), rgba(210,194,163,.2));
  border-top: 1px solid var(--tnj-border);
  border-bottom: 1px solid var(--tnj-border);
}
.tnj-card, .tnj-service, .tnj-ad, .tnj-review{
  background: rgba(255,255,255,.72);
  border: 1px solid var(--tnj-border);
  border-radius: var(--tnj-radius);
  padding: 16px;
  box-shadow: var(--tnj-shadow);
}
.tnj-ad{ border: 2px dashed rgba(0,0,0,.35); }

.tnj-footer{ background: var(--tnj-black); color: var(--tnj-paper); padding: 30px 20px; text-align:center; }

/* Responsive */
@media (max-width: 768px){
  .tnj-topbar{ flex-direction: column; text-align:center; }
  .tnj-hero{ padding: 50px 16px; }
}
