/*
Theme Name: Fleetcare
Theme URI: http://www.fleetcare.co.tz
Author: Fleetcare Limited
Description: Bespoke WordPress theme for Fleetcare Limited — specialist filtration & compressed air solutions, Dar es Salaam, Tanzania (Direction C). Editable primary/footer menus and contact details.
Version: 1.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary — Fleetcare Limited
Text Domain: fleetcare
*/

/* ---- Base resets (mirror of the static design) ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:Arial,Helvetica,sans-serif;color:#333333;background:#E7F0F2;-webkit-font-smoothing:antialiased;line-height:1.6;}
a{text-decoration:none;color:inherit;}
img{display:block;max-width:100%;}
input,textarea{font-family:Arial,Helvetica,sans-serif;}
input:focus,textarea:focus{outline:none;border-color:#32B0C7;}
::selection{background:#32B0C7;color:#fff;}

/* ---- Primary navigation (editable via Appearance -> Menus) ---- */
.primary-menu{display:flex;align-items:center;gap:36px;list-style:none;margin:0;padding:0;}
.primary-menu li{margin:0;padding:0;}
.primary-menu a{display:inline-block;font-size:14px;font-weight:600;font-family:Poppins,sans-serif;color:#C6DCE3;line-height:1.2;}
.primary-menu a:hover{color:#fff;}
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-menu-ancestor > a{color:#32B0C7;border-bottom:2px solid #32B0C7;padding-bottom:2px;}

/* ---- Footer navigation ---- */
.footer-menu{list-style:none;margin:0;padding:0;}
.footer-menu li{margin:0 0 9px;padding:0;}
.footer-menu a{display:block;font-size:14px;color:#B9D3DB;}
.footer-menu a:hover{color:#32B0C7;}

/* ---- Interactive hover helpers (replace inline style-hover) ---- */
.nav-cta{font-size:13.5px;font-weight:600;font-family:Poppins,sans-serif;color:#245262;background:#32B0C7;padding:10px 20px;border-radius:2px;}
.nav-cta:hover{background:#fff;}
.btn-primary{font-family:Poppins,sans-serif;font-weight:600;font-size:15px;color:#fff;background:#245262;padding:15px 26px;border-radius:2px;}
.btn-primary:hover{background:#32B0C7;}
.btn-ghost{font-family:Poppins,sans-serif;font-weight:600;font-size:15px;color:#245262;background:#fff;border:1.5px solid #C9D8DD;padding:15px 26px;border-radius:2px;}
.btn-ghost:hover{border-color:#245262;}
.btn-cta-white{font-family:Poppins,sans-serif;font-weight:600;font-size:16px;color:#245262;background:#fff;padding:16px 30px;border-radius:2px;white-space:nowrap;}
.btn-cta-white:hover{background:#245262;color:#fff;}
.link-underline{font-family:Poppins,sans-serif;font-weight:600;font-size:15px;color:#245262;border-bottom:2px solid #32B0C7;padding-bottom:3px;}
.link-underline:hover{color:#32B0C7;}
.cap-card{background:#245262;padding:34px 30px;display:block;}
.cap-card:hover{background:#1E4653;}
.cap-card-cta{background:#32B0C7;padding:34px 30px;display:flex;flex-direction:column;justify-content:center;}
.cap-card-cta:hover{background:#2A9AB0;}
.cap-index-link{font-family:Poppins,sans-serif;font-weight:600;font-size:13px;color:#245262;white-space:nowrap;}
.cap-index-link:hover{color:#32B0C7;}
.contact-link:hover{color:#32B0C7;}
.map-link:hover{color:#32B0C7;}

/* ---- Responsive ---- */
@media (max-width:860px){
  .fc-hero-grid,.fc-two-col,.fc-intro-grid{grid-template-columns:1fr !important;}
  .fc-grid-3{grid-template-columns:1fr 1fr !important;}
  .fc-grid-4{grid-template-columns:1fr 1fr !important;}
  .primary-menu{gap:20px;flex-wrap:wrap;}
}
@media (max-width:560px){
  .fc-grid-3,.fc-grid-4,.fc-grid-2{grid-template-columns:1fr !important;}
  .fc-h1{font-size:40px !important;}
  .fc-footer-grid{grid-template-columns:1fr 1fr !important;}
}
