/* Container */
.trc2025-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(28, 28, 28, 0.9), rgba(28, 28, 28, 0.2));
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  
}

.trc2025-navbar.trc2025-navbar-shrink {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 4px 0;
}

.trc2025-navbar.trc2025-navbar-shrink .trc2025-logo img {
  max-height: 85px;
}

/* Adjust padding of container on scroll */
.trc2025-navbar.scrolled {
  background: rgba(28, 28, 28, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.trc2025-navbar.scrolled .trc2025-navbar-container {
  padding: 8px 20px !important;
}

/* Adjust logo on scroll */
.trc2025-navbar.scrolled .trc2025-logo img {
  max-height: 70px !important;
  transition: max-height 0.3s ease !important;
}


.trc2025-navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 12px 20px;
  transition: padding 0.3s ease;
}

/* Logo */
.trc2025-logo img {
  max-height: 100px;
  width: auto;
  height: auto;
  transition: max-height 0.3s ease;
  display: block;
  
}

.trc2025-logo {
  margin-left: 0px; /* or -10px to pull it more to the edge */
}


@media (max-width: 991px) {
  .trc2025-logo img {
    max-height: 80px;
  }
  
  /* Mobile scrolled state - logo should shrink from 80px to smaller */
  .trc2025-navbar.scrolled .trc2025-logo img {
    max-height: 60px !important;
  }
  
  /* Mobile scrolled state - reduce padding */
  .trc2025-navbar.scrolled .trc2025-navbar-container {
    padding: 6px 15px !important;
  }
}

/* Menu */
.trc2025-menu {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}



.trc2025-menu li {
  position: relative;
}

.trc2025-menu li a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  padding: 8px 12px;
  display: inline-block;
  position: relative;
  line-height: 1.5;
}

/* Hover underline effect aligned with text content */
.trc2025-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8px; /* aligns with text padding-left */
  height: 1px; /* adjust thickness here */
  width: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.trc2025-menu li a:hover::after {
  width: calc(100% - 16px); /* keeps underline within text area */
}

.trc2025-arrow {
  display: inline-block;
  font-size: 16px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1;
}

/* Submenu */
.trc2025-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.85);
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 180px;
  z-index: 9999;
}

.trc2025-submenu li a {
  padding: 10px 15px;
  font-size: 13px;
}

.trc2025-menu li:hover > .trc2025-submenu {
  display: block;
}

/* Toggle Button (Mobile) */
.trc2025-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  position: relative;
  width: 28px;
  height: 28px;
}

.trc2025-toggle span {
  height: 3px;
  width: 100%;
  background: white;
  display: block;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
}

.trc2025-toggle span:nth-child(1) {
  top: 6px;
}
.trc2025-toggle span:nth-child(2) {
  top: 12px;
}
.trc2025-toggle span:nth-child(3) {
  top: 18px;
}

.trc2025-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 12px;
}

.trc2025-toggle.open span:nth-child(2) {
  opacity: 0;
}

.trc2025-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 12px;
}

.trc2025-menu li a.trc2025-active {
  color: #ffd700; /* gold */
  font-weight: bold;
}

.trc2025-menu li a.trc2025-active::after {
  width: calc(100% - 16px);
}


/* Responsive */
@media(max-width: 991px) {
  .trc2025-toggle {
    display: flex;
  }

.trc2025-menu {
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(28, 28, 28, 0.9), rgba(28, 28, 28, 0.2)); /* Gradient added */
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  padding: 15px 0;
}



  .trc2025-menu.open {
    display: flex;
  }

  .trc2025-menu li a {
    text-align: left;
    justify-content: flex-start;
  }

  .trc2025-menu li.trc2025-has-submenu > a {
    position: relative;
  }

  .trc2025-menu li a::after {
    left: 8px;
    bottom: 2px;
  }
}

/* Home Button */
/* Default: hide home icon */
.trc2025-home-icon-mobile {
  display: none;
}

/* Style home icon in mobile */
.trc2025-home-icon-mobile svg {
  width: 28px;
  height: 28px;
  fill: white;
  display: block;
}

/* Mobile layout with home icon + centered logo + toggle */
@media (max-width: 991px) {
  .trc2025-navbar-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px;
  }

  .trc2025-home-icon-mobile {
    display: block;
    justify-self: start;
  }

  .trc2025-logo {
    justify-self: center;
  }

  .trc2025-toggle {
    justify-self: end;
  }

  .trc2025-logo img {
    max-height: 70px;
  }
}

/* Adjust layout when home icon is not visible (homepage) */
@media (max-width: 991px) {
  .trc2025-navbar-container.home-layout {
    display: flex !important;
    justify-content: space-between !important;
  }

  .trc2025-logo {
    justify-self: start !important;
  }

  .trc2025-toggle {
    justify-self: end !important;
  }
}

