/* =========================================================
   Shared site header — used on subpages that sit outside the
   hero (Contact, Menu). The hero's own nav lives only inside
   .board (fixed aspect-ratio + cqw, tied to the parallax) and
   isn't a reusable component, so this is a new, standalone
   header in the same visual language: cream background, the
   site's display face for the nav labels, mascot logo linking
   home. NOT used
   on index.html — the hero keeps
   its own nav untouched.

   Fixed position + --nav-height compensation (padding-top on
   page headers) mirrors the pattern already used by the ported
   contact.css/menu.css, so those files don't need to change.
   ========================================================= */

:root{
  --nav-height: 5rem;
}

.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  height: var(--nav-height);
  padding: 0 1.5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.site-header__brand{
  display: flex; align-items: center; line-height: 0; flex: none;
}
.site-header__brand img{ width: 3.2rem; height: auto; }

.site-header__right{
  display: flex; align-items: center; gap: clamp(1.5rem, 3.5vw, 3.5rem);
}

/* Κεντραρισμένο στην οθόνη ανεξάρτητα από το πλάτος του .site-header__brand
   στα αριστερά: position:absolute (το .site-header είναι ήδη containing
   block, position:fixed) + left:50%/translateX(-50%), όχι flex/justify στο
   .site-header — έτσι το nav μένει πάντα ακριβώς στο κέντρο της οθόνης,
   αδιάφορο για το πλάτος του λογότυπου δίπλα του. Ακυρώνεται πλήρως στο
   mobile dropdown breakpoint παρακάτω (transform: none, position/left/top
   ξαναορισμένα). */
.site-header__links{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center;
  /* Ίδιο gap με το .nav του hero (μετρημένο: 8cqw σε board 1440px = 115px =
     7.19rem — το board δεν μεγαλώνει άλλο πάνω από 1440px, άρα ούτε το gap).
     8vw φτάνει στο πλαφόν στο ίδιο ακριβώς πλάτος (1440px), clamp ώστε να μη
     σπάει σε μέτρια desktop πλάτη (~900-1280px) όπου δεν υπάρχει ενδιάμεσο
     tablet breakpoint πριν το mobile dropdown. */
  gap: clamp(1.5rem, 8vw, 7.2rem);
}
/* var(--display) και όχι var(--latin) — ίδιο σκεπτικό με το .nav του hero:
   τα labels είναι πλέον ελληνικά και η Anton δεν έχει ελληνικές γλυφές. */
.site-header__links a{
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding-bottom: .3rem; border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.site-header__links a:hover, .site-header__links a:focus-visible{
  color: var(--red); border-bottom-color: var(--red);
}
.site-header__links a[aria-current="page"]{
  color: var(--red); border-bottom-color: var(--red);
}

.site-header__toggle{
  display: none;
  background: none; border: none; padding: .4rem .6rem;
  font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer;
}

@media (max-width: 768px){
  .site-header{ padding: 0 1.1rem; }

  .site-header__toggle{ display: block; }

  .site-header__links{
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; transform: none;
    flex-direction: column; align-items: flex-start; gap: 1rem;
    background: var(--cream); border-bottom: 1px solid var(--rule);
    padding: 1.25rem 1.5rem;
  }
  .site-header__links.is-open{ display: flex; }
}
