/* =========================================
   header.css - shared by ALL pages
   ========================================= */

/* Colour palette (from your Seaside Escape image).
   Change a colour here and it changes everywhere. */
:root {
  --sand: #DEC3B3;
  --sky: #D2DCE4;
  --mist: #E7EBEE;
  --blush: #E5D6CE;
  --cream: #F8F2EF;

  --bee-yellow: #F2B705;   /* the yellow for "bee" */
  --text-dark: #4A5560;    /* soft dark grey-blue for readable text */
}

/* Basic reset so every browser starts the same */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===== Header bar ===== */
.site-header {
  background-color: var(--sky);
  border-bottom: 3px solid var(--sand);
  position: sticky;   /* stays at the top while scrolling */
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== Logo: "Bits" in dark, "bee" in yellow ===== */
.logo {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo-bee {
  color: var(--bee-yellow);
}

/* ===== Navigation ===== */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--bee-yellow);
}

/* ===== Small screens (phones) ===== */
@media (max-width: 600px) {
  .logo {
    font-size: 1.6rem;
  }
  .main-nav ul {
    gap: 14px;
  }
}