:root {
  --tour-orange: #d67c1c;
  --nav-text: #2e2e2e;
  --nav-border: #e9ecef;
  --font-heading: "Playfair Display", serif;
  --font-body: "Poppins", sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

.custom-nav {
  background: #fff;
  border-bottom: 1px solid var(--nav-border);
}
.custom-nav .navbar-brand {
  display: none !important;
}

.brand-logo {
  height: 34px;
  width: auto;
}
#primaryNav {
  justify-content: center;
}
/* Site title or brand text if no logo */
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--tour-orange);
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  color: var(--nav-text);
  font-weight: 500;
  padding: 0.75rem 1rem;
  position: relative;
  transition: color 0.2s ease;
}
.navbar-nav .nav-link:hover {
  color: var(--tour-orange);
}

.navbar-nav .active > .nav-link,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
  color: var(--tour-orange);
}

/* Underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--tour-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .active > .nav-link::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.custom-nav .custom-logo-link,
.navbar-brand {
  display: flex;
  align-items: center;
}

/* The image WP outputs has class .custom-logo */
.custom-nav .custom-logo,
.custom-nav .navbar-brand img {
  max-height: 80px; /* adjust: 36–56px usually looks good */
  height: auto !important; /* ignore HTML height attr */
  width: auto !important; /* keep aspect ratio */
}

/* Optional: reduce top/bottom space if header looks tall */
.custom-nav.navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  display: block;
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 2px 13px 18px 0 rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 2px 13px 18px 0 rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 2px 13px 18px 0 rgba(0, 0, 0, 0.05);
  transition: 0.25s ease-out;
}
