:root {
  --primary: #d95b1a;
  --text-dark: #222;
  --bg-light: #f8f8f8;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}


/* ================= MAIN HEADER ================= */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

/* ================= TOP BAR ================= */
.topbar {
  background: #f5f5f5;
  font-size: 14px;
  padding: 10px 15px;
   box-sizing: border-box; 
}

.topbar-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LEFT */
.top-left span {
  margin-right: 15px;
  font-weight: 500;
}

/* RIGHT */
.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* OFFERS */
.offers-inline {
  overflow: hidden;
  white-space: nowrap;
  width: 200px;
  background: rgba(217, 91, 26, 0.1);
  padding: 5px 12px;
  border-radius: 30px;
}

/* LINKS */
.top-links a {
  margin-left: 10px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  transition: 0.3s;
}

.top-links a:hover {
  color: var(--primary);
}

/* ================= NAVBAR ================= */
.navbar {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative; 
  box-shadow: border-box;
}

/* LOGO */
.logo img {
  height: 60px;
  width: auto;
}

/* MENU */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

/* underline */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--primary);
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  /* TOPBAR STACK */
  .topbar-container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .top-right {
    flex-direction: column;
    gap: 5px;
  }

  .offers-inline {
    display: none;
  }

  /* NAVBAR */
  .navbar {
    height: 65px;
  }

  .logo img {
    height: 50px;
  }

  /* 🔥 DROPDOWN MENU FIX */
  .nav-links {
    position: absolute;
    top: 65px; /* 🔥 FIXED */
    left: 0;
    width: 100%;

    background: #fff;

    flex-direction: column;
    gap: 15px;
    padding: 20px;

    display: none;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 0 0 15px 15px;

    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}