/* ======== 1. Brand Color Overrides ======== */
:root {
  --bs-primary: #18212e; /* Your new dark blue */
  --bs-primary-rgb: 24, 33, 46;
  --brand-blue: #00aef0;
  --brand-yellow: #ffc107; /* Bootstrap's default 'warning' yellow */
}

/* ======== 2. General Base Styles ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa; /* Lighter grey for a cleaner feel */
}

/* ======== 3. PUBLIC SITE: Navbar & Logo ======== */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.75);
}
.navbar-dark .navbar-brand {
  color: #fff;
}

.logo-text {
  line-height: 0.9;
  text-decoration: none;
  text-align: left;
}

.logo-global {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: 1px;
}

.logo-logistics {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--brand-blue);
  letter-spacing: 1px;
}

h1 {
  font-family: "Oswald", sans-serif;
}

.navbar-brand.logo-text {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
}

/* ======== 5. PUBLIC SITE: Page Sections ======== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

#hero {
  min-height: 450px;
  position: relative;
}

#credibility {
  font-size: 1.1em;
}

footer {
  padding: 15px 0;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--brand-yellow);
}

/* ======== 6. PUBLIC SITE: Components ======== */
#whatsapp-bubble {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366; /* WhatsApp Green */
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease;
}

#whatsapp-bubble:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

.img-cover {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ======== 7. PUBLIC SITE: Responsive Adjustments ======== */
@media (max-width: 768px) {
  #hero h2 {
    font-size: 2.5em;
  }

  .img-cover {
    height: 300px;
  }
}

/* ===============================================
   ADMIN PANEL STYLES
===============================================
*/

.sidebar {
  background-color: #343a40;
  width: 280px;
  min-height: 100vh;
  transition: margin-left 0.3s ease-in-out;
}

.sidebar .nav-link {
  color: #fff;
}

.sidebar .nav-link:hover {
  background-color: #007bff;
}

.content-wrapper {
  flex-grow: 1;
  transition: margin-left 0.3s ease-in-out;
  overflow-x: hidden;
}

/* Admin Mobile Styles */
@media (max-width: 767.98px) {
  .sidebar {
    margin-left: -280px;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1030;
  }
  .sidebar.active {
    margin-left: 0;
  }
  .content-wrapper {
    margin-left: 0 !important;
  }

  #sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1020;
    display: none;
  }
  #sidebar-overlay.active {
    display: block;
  }
}

/* ======== 8. CUSTOM CAROUSEL CONTROLS ======== */
#reviewCarousel .carousel-control-prev,
#reviewCarousel .carousel-control-next {
  /* Position controls further out */
  width: 5%; /* Adjust width */
}

#reviewCarousel .carousel-control-prev {
  left: -2%; /* Move left arrow further left */
}

#reviewCarousel .carousel-control-next {
  right: -2%; /* Move right arrow further right */
}

/* Make arrow icons darker */
#reviewCarousel .carousel-control-prev-icon,
#reviewCarousel .carousel-control-next-icon {
  /* Bootstrap uses background-image SVG, use filter to darken */
  filter: invert(70%); /* Adjust percentage for desired darkness */
}

/* Optional: Add slight background on hover for better visibility */
#reviewCarousel .carousel-control-prev:hover,
#reviewCarousel .carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.note-toolbar .dropdown-toggle::after {
  display: none !important;
}
