/* =========================================================
   GLOBAL RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden !important;         /* FIX MOBILE SIDE SCROLL */
  font-family: "Poppins", sans-serif;
  background: #f3f6fa;
}

/* Top padding so fixed navbar content ko cover na kare */
body {
  padding-top: 72px;
}

/* =========================================================
   NAVBAR  
========================================================= */
.navbar {
  width: 100%;
  height: 72px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 45px;
  background: linear-gradient(to right, #ff5f00, #ff8a00);
  color: white;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   LOGO (IMAGE + TEXT)
========================================================= */

/* wrapper: image + text side-by-side */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* logo image (shield) */
.logo-img,
.logo-icon {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

/* text block */
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  text-transform: uppercase;
}

/* BESTWAY */
.logo-top {
  font-size: 45px;         /* 🔥 bigger */
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  white-space: nowrap;
}

/* AUTOMOTIVE GROUP */
.logo-bottom {
  font-size: 10px;
  letter-spacing: 8px;     /* 🔥 stretched so width match feel aaye */
  font-weight: 800;
  margin-top: 4px;
  color: #000000;
  white-space: nowrap;
}

/* =========================================================
   MOBILE LOGO SIZE — BIGGER & CENTERED NICELY
========================================================= */
@media (max-width: 750px) {
  .logo-img,
  .logo-icon {
    height: 40px;
  }

  .logo-top {
    font-size: 30px;
    letter-spacing: 1.5px;
  }

  .logo-bottom {
    font-size: 9px;
    letter-spacing: 4px;
  }
}

/* =========================================================
   DESKTOP MENU
========================================================= */
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: 0.25s ease;
}

.nav-links a:hover {
  opacity: 0.85;
}

/* HIDE DESKTOP LINKS ON MOBILE */
@media (max-width: 950px) {
  .nav-links {
    display: none !important;
  }
}

/* =========================================================
   HAMBURGER BUTTON
========================================================= */

/* default: hidden on desktop */
.menu-btn {
  display: none;
}

/* show only on mobile */
@media (max-width: 950px) {
  .menu-btn {
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
    margin-left: auto; /* logo ke baad right side */
  }
}

/* =========================================================
   MOBILE SIDEBAR MENU
========================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;

  width: 270px;
  height: 100%;

  background: #1c1c1c;
  padding: 100px 25px 20px;
  transition: right 0.35s ease;

  display: flex;
  flex-direction: column;
  gap: 20px;

  z-index: 10000;
}

.mobile-menu a {
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #333;
}

/* close (X) button */
.close-btn {
  position: absolute;
  top: 22px;
  right: 18px;
  font-size: 32px;
  cursor: pointer;
  color: white;
}

/* =========================================================
   DARK OVERLAY (sidebar background dim)
========================================================= */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 999;
}

/* =========================================================
   FLOATING CALL BUTTON
========================================================= */
.call-floating-btn {
  position: fixed;

  bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  right: calc(env(safe-area-inset-right, 0px) + 22px);

  width: 60px;
  height: 60px;

  background: #ff7b00;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 26px;
  text-decoration: none;

  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  transition: 0.25s ease;
  animation: callpulse 1.5s infinite;
}

/* hover */
.call-floating-btn:hover {
  background: #ff9500;
  transform: scale(1.07);
}

/* pulse animation */
@keyframes callpulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 123, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 123, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 123, 0, 0);
  }
}

/* mobile size adjustment */
@media (max-width: 768px) {
  .call-floating-btn {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }
}

/* extra safe-area fix */
@supports (padding: max(0px)) {
  .call-floating-btn {
    bottom: max(20px, env(safe-area-inset-bottom));
    right: max(18px, env(safe-area-inset-right));
  }
}
