/* Custom Header Styling - Responsive Logo and Branding */

.site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  width: 100%;
  min-height: 250px;
}

.site-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

.site-logo-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.site-logo {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
}

/* Hide the inline logo image so the header uses only background image */
.site-logo-container,
.site-logo-link,
.site-logo {
  display: none;
}

.site-logo-link {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.site-logo-link:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .site-branding {
    padding: 1.5rem 0.5rem;
    min-height: 150px;
  }

  .site-title {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .site-logo-container {
    max-width: 300px;
  }

  .site-logo {
    max-height: 150px;
  }
}

@media (max-width: 480px) {
  .site-branding {
    padding: 1rem 0.5rem;
    min-height: 120px;
  }

  .site-title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
  }

  .site-logo-container {
    max-width: 250px;
  }

  .site-logo {
    max-height: 120px;
  }
}

/* Navigation adjustments for new header layout */
.site-header .site-nav {
  margin-top: 1rem;
  border-top: 1px solid #e5e5e5;
  padding-top: 1rem;
}

/* Ensure the header area uses the cover image fully */
.site-header.outer {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.site-nav .site-nav-left {
  justify-content: center;
}

.site-nav .nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav .nav li {
  margin: 0;
}

.site-nav .nav a {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.site-nav .nav a:hover {
  background-color: #f0f0f0;
}
