/* GLOBAL FONT */
* {
  font-family: "Inter", sans-serif;
}

/* NAVBAR BASE */
.custom-nav {
  background: white;
  border-bottom: 1px solid #efefef;
  padding: 0.5rem 0;
}

/* LOGO SIZE - Responsive */
.nav-logo {
  height: 55px;
  transition: height 0.3s ease;
}

/* NAV LINKS */
.nav-link {
  font-size: 18px;
  font-weight: 500;
  color: #000 !important;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

/* ICONS IN NAV */
.nav-link .icon {
  height: 22px;
  width: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

/* SPACING BETWEEN ITEMS */
.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

/* Hover Effect */
.nav-link:hover {
  color: #ff6a00 !important;
}

.nav-link.active {
  color: #ff6a00 !important;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 9999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Navbar Toggler (Mobile) */
.navbar-toggler {
  border: 2px solid #ff6a00;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 106, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Container Adjustments */
.container {
  max-width: 1320px;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
======================================== */

/* Large Desktops (1920px and above) */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }

  .nav-logo {
    height: 65px;
  }

  .nav-link {
    font-size: 20px;
  }

  .nav-link .icon {
    height: 26px;
    width: 26px;
  }
}

/* Standard Desktop (1200px - 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
  .navbar-nav {
    gap: 1rem !important;
  }

  .nav-link {
    font-size: 17px;
  }
}

/* Tablets and Small Laptops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .nav-logo {
    height: 50px;
  }

  .navbar-nav {
    gap: 0.75rem !important;
  }

  .nav-link {
    font-size: 16px;
    padding: 0.4rem 0.8rem;
  }

  .nav-link .icon {
    height: 20px;
    width: 20px;
  }
}

/* Tablets Portrait (768px - 991px) */
@media (max-width: 991px) {
  .custom-nav {
    padding: 0.75rem 0;
  }

  .nav-logo {
    height: 45px;
  }

  .navbar-collapse {
    background: white;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 1px solid #efefef;
  }

  .navbar-nav {
    gap: 0 !important;
    width: 100%;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
  }

  .nav-link {
    padding: 1rem;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-link:hover {
    background-color: #fff5f0;
  }

  .nav-link.active {
    background-color: #fff5f0;
    border-left: 4px solid #ff6a00;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .nav-logo {
    height: 42px;
  }

  .nav-link {
    font-size: 17px;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .custom-nav {
    padding: 0.5rem 0;
  }

  .nav-logo {
    height: 40px;
  }

  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .nav-link {
    font-size: 16px;
    padding: 0.875rem;
  }

  .nav-link .icon {
    height: 20px;
    width: 20px;
  }

  .navbar-toggler {
    padding: 0.4rem 0.6rem;
  }
}

/* Extra Small Devices (up to 375px) */
@media (max-width: 375px) {
  .nav-logo {
    height: 36px;
  }

  .nav-link {
    font-size: 15px;
    padding: 0.75rem;
  }

  .nav-link .icon {
    height: 18px;
    width: 18px;
  }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .navbar-collapse {
    max-height: 70vh;
    overflow-y: auto;
  }

  .nav-link {
    padding: 0.5rem 1rem;
  }
}
