/* ===============================
   HEADER
================================= */

header {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
}

/* Layout container */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

/* ===============================
   SITE TITLE
================================= */

.site-title {
  font-size: 1.6rem;
  font-weight: 700;
}

.site-title a {
  text-decoration: none;
  color: #111;
}


/* ===============================
   BURGER MENU BUTTON
================================= */

.nav {
  display: flex;
  align-items: center;
}

.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  transition: opacity 0.2s ease;
}

.burger-btn:hover {
  opacity: 0.7;
}

/* Prevent icon stealing click events */
.burger-btn i {
  pointer-events: none;
}


/* ===============================
   FULLSCREEN MENU OVERLAY
================================= */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;

  display: none;

  /* smooth fade */
  opacity: 0;
  transition: opacity 0.25s ease;
}

.menu-overlay.is-open {
  display: block;
  opacity: 1;
}


/* ===============================
   MENU PANEL
================================= */

.menu-panel {
  position: relative;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* ===============================
   CLOSE BUTTON
================================= */

.menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;

  background: none;
  border: none;
  cursor: pointer;

  font-size: 2.2rem;
  color: #111;

  transition: opacity 0.2s ease;
}

.menu-close:hover {
  opacity: 0.7;
}


/* ===============================
   MENU LINKS
================================= */

.menu-links {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.menu-links li {
  margin: 1.75rem 0;
}

.menu-links a {
  text-decoration: none;
  color: #111;
  font-weight: 800;

  /* Responsive large text */
  font-size: clamp(2rem, 5vw, 3.5rem);

  transition: opacity 0.2s ease;
}

.menu-links a:hover {
  opacity: 0.6;
}


/* ===============================
   BODY LOCK WHEN MENU OPEN
================================= */

body.menu-open {
  overflow: hidden;
}


/* ===============================
   MOBILE TWEAKS
================================= */

@media (max-width: 768px) {

    .header-container {
        padding: 0.75rem 0;
    }

    .site-title {
        font-size: 1.4rem;
    }

    .burger-btn {
        font-size: 1.6rem;
    }
}