/* -------------------- Reset -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Bahnschrift SemiBold", sans-serif;
}

/* -------------------- Navbar -------------------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: #c4b7a6;
}

.logo img {
  height: 45px;
  width: auto;
  max-width: 100%;
}

/* Center navigation */
.nav-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap; /* prevent breaking on smaller tablets */
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 20px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #b3002d;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #b3002d;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
}

.nav-right a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s ease;
}

.nav-right a:hover {
  color: #b3002d;
}

.nav-right .supplier {
  font-weight: 500;
}

.nav-right .divider {
  color: #ccc;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown a {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #c4b7a6;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 100;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  font-size: 18px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
  background: #c4b7a6;
  color: #b3002d;
}

/* Show dropdown on hover (desktop only) */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* -------------------- Social Icons -------------------- */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #555;
  font-size: 22px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #b3002d;
  transform: scale(1.2);
}

/* -------------------- Footer -------------------- */
.footer {
  background-color: #c4b7a6;
  padding: 40px 80px;
  clip-path: ellipse(90% 100% at 50% 0%);
  border-top: 1px solid #eee;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 22px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
  color: #7e4a35;
  border-bottom: 1px solid #f0d9c2;
  padding-bottom: 8px;
}

.footer-column p {
  font-size: 16px;
  color: #333;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #7e4a35;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  left: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px #999;
  z-index: 1000;
}

.whatsapp-float i {
  line-height: 60px;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
}

/* -------------------- Responsive -------------------- */

/* Tablets and below */
@media screen and (max-width: 1024px) {
  .navbar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 25px;
  }

  .nav-right {
    gap: 10px;
    font-size: 18px;
  }

  .footer {
    padding: 50px 40px;
  }

  .footer-container {
    gap: 30px;
  }

  .footer-column h4 {
    font-size: 20px;
  }

  .footer-links a {
    font-size: 16px;
  }
}

/* Mobile devices */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    margin-top: 10px;
  }

  .nav-right {
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
    gap: 10px;
    font-size: 16px;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  .footer {
    padding: 40px 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Small phones */
@media screen and (max-width: 480px) {
  .logo img {
    height: 35px;
  }

  .nav-links a {
    font-size: 16px;
  }

  .nav-right {
    font-size: 14px;
    gap: 8px;
  }

  .footer-column h4 {
    font-size: 18px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .social-icons a {
    font-size: 18px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .whatsapp-float i {
    line-height: 50px;
  }
}

/* ==============================
   Mobile Logo Always on Top
   ============================== */
@media (max-width: 576px) {
  /* Keep logo pinned to top center */
  .navbar-brand {
    position: fixed;
    top: 10px;                  /* distance from very top */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;               /* keep above everything */
  }

  .navbar-brand img {
    height: 50px;               /* slightly larger for clarity */
  }

  /* Adjust U-shape so it sits below the logo */
  .navbar-custom::after {
    top: 4px;                  /* pushed below logo */
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 70px;
  }

  /* Push menu down below logo + U-shape */
  .navbar-collapse {
    margin-top: 160px;          /* ensures dropdown doesn’t overlap logo */
    text-align: center;
  }
}