/* Site Header (based on your working example) */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #36454F; /* your working example color */
  color: #F0EAD6;
  z-index: 100;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Container flex layout */
.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* logo left, menu right */
  align-items: center;
  width: 100%;
}

/* Nav offset variable — tweak this to align precisely */
:root {
  /* Negative value will pull the nav left (as in your working example).
     Try -180px to match the previous look; change to taste. */
  --nav-offset: -180px;
}

/* Make the whole logo a clickable horizontal button */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.3s ease;
}

/* Hover effect: yellow glow */
.logo-link:hover {
  background-color: rgba(255, 255, 255, 0.08); /* subtle background */
  cursor: pointer;
}

.logo-link:hover .logo-text h1,
.logo-link:hover .logo-text h2,
.logo-link:hover .logo-text h3 {
  color: #ffcc00;
  opacity: 1;
}

.logo-wrapper {
  margin-left: -270px; /* tweak this to move logo further right */
}

.logo-container { display:flex; align-items:center; gap:10px; }
.logo-text {
  display:flex;
  align-items:baseline;
  gap:10px;
  white-space:nowrap;
}

.logo-text h1, .logo-text h2, .logo-text h3 { margin:0; padding:0; }
.logo-text h1 { font-size:1.6rem }
.logo-text h2 { font-size:0.95rem }
.logo-text h3 { font-size:1rem; opacity:0.7; margin-left:6px; }




/* Logo image */
.logo-img {
  width: 50px;
  height: auto;
}

/* Navigation Menu (kept mostly as you had it) */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  margin-right: var(--nav-offset);
  /* removed margin-right: -180px hack */
}

.nav-menu li a {
  color: #F0EAD6;
  text-decoration: none;
  font-weight: bold;
}

.nav-menu li a:hover {
  color: #ffcc00;
}

/* Responsive: stack things on narrow screens */
@media (max-width: 768px) {
  :root { --nav-offset: 0px; } /* safer: override so nav sits normally on mobile */

  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .logo-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    white-space: normal;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-right: 0; /* ensure no offset on mobile */
  }
}
