/* ============================
   GLOBAL PAGE BASE
   ============================ */

body {
    margin: 0 auto;
    max-width: 1100px;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}

h1, h2, h5 {
    margin: 0 0 10px 0;
    font-weight: 600;
}

.hbta-hero,
.hbta-content {
    padding: 0 15px;
}

/* =====================
 footer
  ================= */
  footer {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

/* ============================
   HEADER BAR
   ============================ */

.hbta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    color: #fff;
    padding: 0 20px;
    height: 120px;        /* ← sets a proper header height */
    overflow: hidden;     /* ← prevents giant images from stretching it */
}

.hbta-logo {
    height: 100px;        /* ← clean, bold, dealership size */
}


.hbta-phone-label {
    font-size: 14px;
    opacity: 0.8;
}

.hbta-phone-number {
    font-size: 20px;
    font-weight: bold;
    margin-left: 6px;
}

/* ============================
   NAVIGATION BAR
   ============================ */

.hbta-nav {
    background: #444;
    padding: 10px 20px;
    display: flex;
    gap: 25px;

    border-top: 1px solid #fa0404;   /* subtle highlight */
    border-bottom: 1px solid #fc0404; /* subtle shadow */
}


.hbta-nav {
    background: #444;
    padding: 10px 20px;
    display: flex;
    gap: 25px;
}

.hbta-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.hbta-nav a:hover {
    text-decoration: underline;
}


.hbta-center {
    text-align: center;
    margin: 20px auto;
    width: 100%;
    max-width: 900px; /* optional, keeps things tidy */
}

.hbta-center a {
    display: inline-block;
    margin: 10px 0;
    font-weight: bold;
}

.hbta-hero {
    text-align: center;
    margin-top: 20px;
}

.fp-card img {
  width: 100%;
  height: auto;
  max-width: 240px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .fp-card {
    flex: 1 1 100%;
    max-width: 300px; /* allows more breathing room */
  }

  .fp-card img {
    max-width: 240px;
  }
}


/* ============================
   FRONT PAGE WRAPS
   ============================ */

.fp-wrap {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
}

.fp-block {
    background: #fff;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.fp-block h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* ============================
   IMAGE BLOCKS
   ============================ */

.fp-img {
    margin: 15px 0;
    text-align: center;
}

.fp-img img {
    width: 1100px;
    max-width: 450px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.fp-img img:hover {
    transform: scale(1.03);
}

/* ============================
   LISTS
   ============================ */

.fp-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.fp-list li {
    background: #fff;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 6px;
    box-shadow: 0 0 4px rgba(0,0,0,0.08);
}

/* ============================
   MANUFACTURERS GRID
   ============================ */

.hbta-mfg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px auto;
    max-width: 900px;
    text-align: center;
}

.hbta-mfg-item {
    background: #fff;
    padding: 18px 12px;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.hbta-mfg-item img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

/**===================================
service grid
=================================== */
.hbta-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 30px auto;
    max-width: 900px;
    text-align: center;
}

.hbta-service-box {
    background: #f7f7f7;
    padding: 14px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.hbta-service-box img {
    width: 100px;      /* or 100px if you want bigger icons */
    height: 100px;     /* keeps perfect square ratio */
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}


.hbta-service-box span {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}


/* =====
thing sep
==== */
.thin-separator {
    display: block;
    width: 100%;
    height: 2px;
    background: #fa1a1a;   /* or any colour you want */
    margin: 10px 0;     /* optional spacing */
}


.hbta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 120px;              /* adjust as needed */
    padding: 0 20px;

    background-image: url('/canada/ns/hebbville_ta/gfx/img_frt_01.jpg');
    background-size: cover;     /* fills the whole header */
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;                /* ensures phone text stays readable */
}


.hbta-phone-right {
    display: flex;
    align-items: center;
}

.hbta-phone-btn {
    background: #111010;        /* bold red automotive */
    color: #f5f8f6;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    transition: 0.2s ease;
}

.hbta-phone-btn:hover {
    background: #49f073;
    transform: scale(1.05);
}

/* ============================
   TIRE GRID
   ============================ */

.hbta-tire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px auto;
    max-width: 900px;
    text-align: center;
}

.hbta-tire-item {
    background: #fff;
    padding: 18px 12px;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.hbta-tire-item h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.hbta-tire-item p {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* =====
two blocks
------ */

.fp-two {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 30px auto;
    max-width: 1100px;
}

/*** cards ****/
.fp-card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);

    width: 100%;
    max-width: 400px;   /* your target */
}
/* ============================
   WHOLESALERS GRID
   ============================ */

.hbta-whslr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px auto;
    max-width: 900px;
    text-align: center;
}

.hbta-whslr-item {
    background: #fff;
    padding: 18px 12px;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.hbta-whslr-item img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}
