/* ============================================================
   Hoopoe Electric — contemporary design layer (v3, 2026-07-16)
   Loaded LAST so it layers on top of the template.
   Rollback = remove the <link> to this file in includes/header.php.

   Palette: rich emerald + bright electric-mint accent + deep
   charcoal + clean off-white. Type: Poppins (body) / Sora (display).
   ============================================================ */

:root {
  --emerald:      #0F9E63;   /* primary — premium electric green */
  --emerald-dark: #0A7A4B;   /* hover / depth */
  --mint:         #35E3A0;   /* bright accent for eyebrows/highlights */
  --ink:          #0D1411;   /* near-black, slight green tint */
  --ink-soft:     #16211C;
  --paper:        #F6F8F6;   /* off-white section bg */
  --muted:        #5b6763;
}

/* ---------- Typography ---------- */
body { font-family: 'Poppins', Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, .sec-title h2, .main-slider .content h2 { font-family: 'Sora', 'Poppins', sans-serif !important; }
a, .theme-btn, .service-block-three .inner-box,
.fleet-block .inner-box, .project-block .inner-box { transition: all .3s cubic-bezier(.2,.7,.3,1) !important; }

/* ---------- STICKY GLASS HEADER ---------- */
.main-header .header-top { background: var(--ink) !important; }
.main-header .header-top a { color: #c9d2ce !important; }
.main-header .header-top a:hover { color: var(--mint) !important; }
.main-header .header-top .top-right .list li a .icon { color: var(--mint) !important; }

.main-header .header-upper {
  position: sticky; top: 0; z-index: 999;
  background: rgba(13,20,17,.72) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.main-header .header-upper .nav-outer .main-menu .navigation > li > a { color: #eef2f0 !important; font-weight: 500; }
.main-header .header-upper .nav-outer .main-menu .navigation > li.current > a,
.main-header .header-upper .nav-outer .main-menu .navigation > li:hover > a { color: var(--mint) !important; }

/* Header "Book Now" pill (theme uses .main-header .outer-box .btn-box .vendor-btn, spec 0-4-0) */
.main-header .outer-box .btn-box .vendor-btn,
.main-header .btn-box .vendor-btn,
.main-header .vendor-btn {
  background: var(--emerald) !important;
  color: #ffffff !important;
  border-radius: 40px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(15,158,99,.35);
}
.main-header .outer-box .btn-box .vendor-btn:hover,
.main-header .btn-box .vendor-btn:hover,
.main-header .vendor-btn:hover {
  background: var(--mint) !important; color: #06231a !important; transform: translateY(-2px);
}

/* ---------- SCROLL-TO-TOP: was a black square peeking behind WhatsApp ---------- */
.scroll-to-top {
  background: var(--emerald) !important;
  border-radius: 50% !important;
  width: 46px !important; height: 46px !important;
  line-height: 46px !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  /* move it up so it never sits under the floating WhatsApp button */
  right: 26px !important; bottom: 96px !important;
}
.scroll-to-top:hover { background: var(--mint) !important; color: var(--ink) !important; }
@media only screen and (max-width: 767px) {
  /* on mobile the sticky bar + WA float area is busy — keep it clear */
  .scroll-to-top { bottom: 120px !important; right: 16px !important; }
}

/* ---------- HERO ---------- */
.main-slider .slide { position: relative; }
.main-slider .slide:before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,12,10,.86) 0%, rgba(8,12,10,.55) 42%, rgba(8,12,10,.12) 78%),
    linear-gradient(180deg, rgba(8,12,10,.20) 0%, rgba(8,12,10,.55) 100%);
}
.main-slider .slide .auto-container { position: relative; z-index: 2; }

.main-slider .content .title {
  display: inline-block;
  letter-spacing: 2.5px !important;
  text-transform: uppercase;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: var(--mint) !important;
  background: rgba(53,227,160,.10);
  border: 1px solid rgba(53,227,160,.35);
  padding: 7px 16px; border-radius: 40px;
  margin-bottom: 22px !important;
}
.main-slider .content h2 {
  font-size: 66px !important;
  line-height: 1.04 !important;
  font-weight: 800 !important;
  letter-spacing: -1.5px;
  color: #fff !important;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
  margin-bottom: 20px !important;
}
.main-slider .content .hero-sub {
  color: #dfe6e2 !important;
  font-size: 18px; line-height: 1.55;
  max-width: 540px; margin-bottom: 34px;
  font-weight: 400;
}
.main-slider .content .btn-box { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- BUTTONS ---------- */
.theme-btn { border-radius: 40px !important; font-weight: 700 !important; letter-spacing: .3px; }
.btn-style-one, .btn-style-two {
  background: var(--emerald) !important;
  color: #06231a !important;
  padding: 17px 38px !important;
  box-shadow: 0 12px 30px rgba(15,158,99,.34);
}
.btn-style-one:hover, .btn-style-two:hover {
  background: var(--mint) !important; color: #06231a !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(53,227,160,.42);
}
/* Ghost/secondary button */
.btn-ghost {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  padding: 17px 34px !important;
  border: 1.5px solid rgba(255,255,255,.55) !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff !important; color: var(--ink) !important; transform: translateY(-3px); }

/* ---------- SECTION HEADINGS ---------- */
.sec-title h2, .vehicle-section h2, .call-to-action-section .title-box h2,
.testimonial-section h2, .fleet-section h2 {
  font-weight: 800 !important; letter-spacing: -.8px;
}
.vehicle-section .title-box .title, .sec-title .title {
  color: var(--emerald) !important; font-weight: 700 !important;
  letter-spacing: 2px; text-transform: uppercase;
}

/* ---------- SERVICE CARDS ---------- */
.call-to-action-section .service-block-three .inner-box.card-box {
  background: #fff; border-radius: 18px; padding: 36px 26px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.05); height: 100%;
}
.call-to-action-section .service-block-three .inner-box.card-box:hover {
  transform: translateY(-10px); box-shadow: 0 28px 54px rgba(0,0,0,.20);
}
.call-to-action-section .service-block-three .inner-box.card-box h3 a { font-weight: 700; color: var(--ink); }
.call-to-action-section .service-block-three .inner-box.card-box .text {
  font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 12px 0 16px;
}
.call-to-action-section .service-block-three .inner-box.card-box .read-more { font-weight: 700; color: var(--emerald-dark); }

/* ---------- FLEET / TESTIMONIAL CARDS ---------- */
.fleet-block .inner-box, .project-block .inner-box {
  border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.fleet-block .inner-box:hover, .project-block .inner-box:hover {
  transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,.18);
}
.testimonial-section .testimonial-block .inner-box, .testimonial-block .inner-box {
  border-radius: 18px !important; box-shadow: 0 12px 34px rgba(0,0,0,.08);
}

/* ---------- CTA BAND ---------- */
.call-to-action-section-two, .subscribe-section, .contact-section .call-band {
  background: linear-gradient(120deg, var(--emerald-dark) 0%, var(--emerald) 55%, var(--mint) 130%) !important;
}

/* Generic green accents used across the theme */
.theme-color, .preloader { color: var(--emerald) !important; }

/* ---------- STICKY MOBILE ACTION BAR ---------- */
.hoopoe-mobile-bar { display: none; }
a[aria-label="Chat on WhatsApp"].hoopoe-wa-float { animation: hoopoePulse 2.4s infinite; }
@keyframes hoopoePulse {
  0%   { box-shadow: 0 4px 12px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 4px 12px rgba(0,0,0,.3), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 12px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,0); }
}

@media only screen and (max-width: 767px) {
  .hoopoe-mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000;
    box-shadow: 0 -4px 18px rgba(0,0,0,.20);
  }
  .hoopoe-mobile-bar a {
    flex: 1; text-align: center; padding: 12px 4px 10px;
    font-size: 12.5px; font-weight: 700; color: #fff; text-decoration: none;
    display: flex; flex-direction: column; align-items: center; gap: 3px; line-height: 1;
  }
  .hoopoe-mobile-bar .hmb-ico { font-size: 17px; }
  .hoopoe-mobile-bar .hmb-call { background: var(--ink); }
  .hoopoe-mobile-bar .hmb-wa   { background: #25D366; }
  .hoopoe-mobile-bar .hmb-book { background: var(--emerald); }
  .hoopoe-wa-float { display: none !important; }
  body { padding-bottom: 56px; }

  .main-slider .content h2 { font-size: 36px !important; letter-spacing: -1px; }
  .main-slider .content .hero-sub { font-size: 15.5px; }
  .main-slider .content .btn-box { gap: 10px; }
  .main-slider .slide:before {
    background: linear-gradient(180deg, rgba(8,12,10,.45) 0%, rgba(8,12,10,.72) 100%);
  }
  .btn-style-one, .btn-style-two, .btn-ghost { padding: 14px 26px !important; }
  /* sticky glass header can crowd small screens — keep it normal flow */
  .main-header .header-upper { position: relative; backdrop-filter: none; background: var(--ink) !important; }
}
