/* Custom Bootstrap Theme for Tribesmen Adventures */

/* Add this to your CSS */
.btn-outline-custom {
  --bs-btn-color: #080808;
  --bs-btn-border-color: #080808;
  --bs-btn-hover-bg: #080808;
  --bs-btn-hover-border-color: #080808;
  --bs-btn-active-bg: #750202;
  --bs-btn-active-border-color: #750202;
  --bs-btn-hover-color: #fff;
}

/* Custom hover/active states for outline buttons */
.btn-outline-primary:hover,
.btn-outline-primary:active {
  background-color: #080808 !important;
  color: white !important;
}


:root {
  --primary-color: #750202;
  --primary-hover: #750202;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* Links */
a {
  color: inherit; /* This keeps the text colors as they are */
}

/* Navbar links hover */
.navbar-nav .nav-link:hover {
  color: var(--primary-hover);
}

/* Dropdown items hover */
.dropdown-item:hover {
  background-color: var(--primary-hover);
  color: white;
}

/* If you want to style the active link differently */
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  font-weight: bold;
}

/* Custom logo styling if needed */
.custom-logo {
  max-height: 50px; /* Adjust as needed */
  width: auto;
}

/* Custom Bootstrap Theme for Lions Paw Tours */
:root {
    --primary-color: #080808;
    --primary-hover: #750202;
  }
  
  /* Active nav link */
  .navbar-nav .nav-link.active {
      color: var(--primary-color) !important;
      font-weight: bold;
  }
  
  /* Nav link hover */
  .navbar-nav .nav-link:hover {
      color: var(--primary-hover) !important;
  }
  
  /* Dropdown active state */
  .dropdown-item.active, 
  .dropdown-item:active {
      background-color: var(--primary-color) !important;
      color: white !important;
  }
  
  /* Buttons */
  .btn-primary {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
  }
  
  .btn-primary:hover {
      background-color: var(--primary-hover);
      border-color: var(--primary-hover);
  }


/* rangi ya webdite yote */
  :root {
    --bs-primary: #080808;
    --bs-primary-rgb: 90, 38, 0;
  }
  
  .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #750202;
    --bs-btn-hover-border-color: #750202;
    --bs-btn-active-bg: #752602;
    --bs-btn-active-border-color: #750202;
  }
  
  .text-primary {
    color: var(--bs-primary) !important;
  }
  
  .bg-primary {
    background-color: var(--bs-primary) !important;
  }


  /* FOOTER HOVER START */

 /* Consistent hover effects for all footer links */
 .footer-link {
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  padding: 2px 0;
  margin-bottom: 4px;
}

.footer-link:hover {
  color: #ee0505 !important;
  transform: translateX(5px);
}

/* Special styling for social media icons */
.footer-social {
  transition: all 0.3s ease;
}

.footer-social:hover {
  background-color: #750202 !important;
  border-color: #750202 !important;
  transform: scale(1.1);
}

/* Remove underline from email link */
.footer a[href^="mailto:"] {
  text-decoration: none !important;
}

/* Style for the company links */
.btn-link.footer-link {
  background: none;
  border: none;
  padding: 0.25rem 0;
  text-align: left;
}

 /* FOOTER HOVER ENDS */


/* SPONSORS START */

 /* Sponsors Grid Layout */
 .sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

/* Sponsor Card Styling */
.sponsor-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sponsor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Logo Styling */
.sponsor-logo {
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(80%);
  transition: all 0.4s ease;
}

.sponsor-card:hover .sponsor-logo {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

/* Hover Overlay Effect */
.sponsor-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(82, 0, 0, 0.9);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .4s ease;
  border-radius: 0 0 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-card:hover .sponsor-overlay {
  height: 30%;
}

.sponsor-tooltip {
  color: white;
  font-size: 0.85rem;
  text-align: center;
  padding: 0 1rem;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
}

.sponsor-card:hover .sponsor-tooltip {
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .sponsors-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
  }
  
  .sponsor-card {
      padding: 1rem;
  }
  
  .sponsor-logo {
      height: 50px;
  }
}

/* SPONSORS ENDS */