﻿/* Base */
:root {
  --fitzroy-yellow: #f2b705;
  --fitzroy-black: #111111;
  --header-bg: rgba(0, 0, 0, 0.7);
  --text-on-dark: #ffffff;
}

.hero {
  position: relative;
  min-height: 800px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("/siteart/fitzroy-hero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.nav-site-header{
  position: relative; 
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  background-color: #111111; 

}

.nav-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  
}

.site-header {
  position: relative;
  background: transparent;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-on-dark);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  
}

/* Hamburger */
.menu-toggle {
  border: none;
  background: var(--fitzroy-yellow);
  color: #000;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.menu-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle-bar {
  width: 18px;
  height: 2px;
  background-color: #000;
  border-radius: 999px;
}

/* Contact info */
.header-contact {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 18px;
  font-weight: 500;
}

.header-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-on-dark);
}

.header-contact-item:focus-visible {
  outline: 2px solid var(--fitzroy-yellow);
  outline-offset: 3px;
}

.header-contact-icon {
  font-size: 18px;
}

/* Logos */
.header-logos {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logos a {
  display: inline-flex;
}

.header-logo-aus img {
  max-height: 62px;
}

.header-logo-main img {
  max-height: 112px;
}

/* Primary nav panel */
.primary-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  background-color: #000;
  transform: translateX(-100%);
  transition: transform 0.25s ease-out;
  padding: 80px 20px 20px;
  box-shadow: 4px 0 18px rgba(0, 0, 0, 0.6);
}

.primary-nav.open {
  transform: translateX(0);
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav li + li {
  margin-top: 16px;
}

.primary-nav a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.primary-nav-header {
  position: absolute;
  top: 16px;
  right: 16px;
}

.menu-close {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.menu-close:focus-visible {
  outline: 2px solid var(--fitzroy-yellow);
  outline-offset: 3px;
}

.primary-nav-footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--fitzroy-yellow);
}

.primary-nav a[aria-current="page"] {
  color: var(--fitzroy-yellow);
}

/* Overlay when nav is open */
body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 35;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .site-header-inner {
    padding-inline: 16px;
  }

  .header-contact {
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
  }

  .header-logo-main img {
    max-height: 64px;
  }
}

@media (max-width: 640px) {
	
.hero {
    min-height: 350px;           
    background-position: center top; 
  }
	
  .site-header-inner {
    column-gap: 12px;
  }

  .header-contact {
    display: none; /* optional: hide center strip on very small screens */
  }

  .header-logo-aus img {
    max-height: 40px;
  }

  .header-logo-main img {
    max-height: 56px;
  }
}