/* =====================================================
   Custom Updates — Traffic Mantra
   Logo sizing, mobile call/WhatsApp bar, SEO content blocks,
   Yellow & Black theme override
   ===================================================== */

/* ---------- Theme color override: Yellow & Black ---------- */
:root {
  --theme-color1: #FFC107;       /* was orange #F48124 -> now yellow */
  --theme-color1-rgb: 255, 193, 7;
  --theme-color2: #000000;       /* stays black */
  --theme-color2-rgb: 0, 0, 0;
  --theme-color-dark: #000000;   /* was navy #01072e -> now black */
  --theme-color-dark-rgb: 0, 0, 0;
  --review-color: #FFC107;       /* star ratings match the new yellow */
}
/* A few places in the template use hardcoded hex instead of the
   variables above; override those selectors directly so the whole
   site matches the yellow & black theme consistently. */
.booking-section .outer-box,
.footer-style-two .footer-bottom {
  background-color: #000000;
}
.testimonial-block-three .inner-box .content .author-rating .rating i {
  color: #FFC107;
}
.map-info-block .inner-box .image-box:before {
  border-top-color: #FFC107;
}

/* ---------- Logo: 350px wide on desktop ---------- */
.main-header .logo img,
.mobile-menu .nav-logo img {
  width: 350px;
  max-width: 100%;
  height: auto;
}
.sticky-header .logo img {
  width: 160px;
  max-width: 100%;
  max-height: none;
  height: auto;
}
.footer-top .logo-box .logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 991.98px) {
  .main-header .logo img {
    width: 230px;
  }
}
@media (max-width: 575.98px) {
  .main-header .logo img {
    width: 190px;
  }
}

/* ---------- Hero / Banner Section: visible text + auto-fit height ---------- */
/* .banner-section .content-box .title/.text used --theme-color-light (white)
   with no dark overlay behind them, so the text disappeared against light
   parts of the background photo. Also .slide-item had no explicit height,
   so on smaller screens it shrank to whatever the (much smaller) mobile
   padding produced instead of filling the screen. Both fixed here. */
.banner-section .slide-item {
  position: relative;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.banner-section .content-box {
  width: 100%;
}
.banner-section .content-box .title,
.banner-section .content-box .text {
  color: #000000 !important;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6), 0 0 22px rgba(255, 255, 255, 0.35);
}
@media (max-width: 991.98px) {
  .banner-section .slide-item {
    min-height: 80vh;
  }
}
@media (max-width: 767.98px) {
  .banner-section .slide-item {
    min-height: 70vh;
  }
}
@media (max-width: 575.98px) {
  .banner-section .slide-item {
    min-height: 60vh;
  }
}

.header-top .list-style-one li {
  margin-right: 18px;
}
.header-top .list-style-one li:last-child {
  margin-right: 0;
}
@media (max-width: 575.98px) {
  .header-top .list-style-one li a {
    font-size: 13px;
  }
}

/* ---------- Mobile Call + WhatsApp fixed bar ---------- */
.mobile-action-bar {
  display: none;
}
@media (max-width: 991.98px) {
  .mobile-action-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 999998;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  }
  .mobile-action-bar a {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
  }
  .mobile-action-bar a i {
    font-size: 18px;
  }
  .mobile-action-bar .call-btn {
    background-color: #000000;
  }
  .mobile-action-bar .whatsapp-btn {
    background-color: #25d366;
  }
  /* keep page content and footer clear of the fixed bar */
  body {
    padding-bottom: 54px;
  }
}

/* ---------- Homepage SEO service blocks ---------- */
.local-service-section .service-block-title {
  margin-bottom: 14px;
}
.local-service-section .service-block {
  background: #f8f8fb;
  border-radius: 8px;
  padding: 35px 30px;
  height: 100%;
}
.local-service-section .service-block p {
  text-align: justify;
  margin-bottom: 18px;
}
.local-service-section .service-block .theme-btn {
  display: inline-block;
}

/* ---------- Photo gallery: uniform image size per row ---------- */
/* The theme's img is object-fit:cover but its figure had no explicit
   height, so height:100% did nothing and every photo rendered at its
   own natural aspect ratio - tall portrait shots next to short landscape
   ones, making rows look uneven. Fixing the figure height makes every
   photo crop to the same size so rows line up neatly. */
.service-section-three .service-block-three .inner-box .image-box .image {
  height: 260px;
}
@media (max-width: 767.98px) {
  .service-section-three .service-block-three .inner-box .image-box .image {
    height: 220px;
  }
}

/* ---------- Nearby places card grid ---------- */
.place-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.place-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}
.place-card-img {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: -webkit-linear-gradient(135deg, #000000, #2b2b2b 60%, #000000);
  background: linear-gradient(135deg, #000000, #2b2b2b 60%, #000000);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.place-card-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.place-card-img.place-card-icon i {
  font-size: 46px;
  color: rgba(255, 255, 255, 0.85);
}
.place-card-body {
  padding: 20px 22px 22px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.place-card-body h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.place-card-body h4 .distance {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #FFC107;
  margin-top: 3px;
}
.place-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

.wa-form-status {
  margin-top: 12px;
  font-weight: 600;
  color: #000000;
}
