/* ============================================================
   iz.css — Shared styles for Interactive Zone @ ECT (Izzy)
   ============================================================ */

/* ── Brand colors ────────────────────────────────────────── */
:root {
  --green:       #00694E;   /* Cutler Green   */
  --green-dark:  #024230;   /* Under the Elms */
  --white:       #FFFFFF;   /* Cupola White   */
  --putnam:      #756E65;
  --sycamore:    #E7ECC3;
  --marigold:    #AA8A00;
  --black:       #000000;
}

/* ── Base ─────────────────────────────────────────────────── */
body {
  font-family: sans-serif;
  margin: 0;
  background: var(--white);
  color: var(--black);
}

/* ── ECT Header ───────────────────────────────────────────── */
.ect-header {
  background-color: var(--white);
  border-bottom: 3px solid var(--green);
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 16px;
  position: relative;
}

.ect-header img {
  height: 68px;
  flex-shrink: 0;
}

.ect-header-divider {
  width: 2px;
  height: 64px;
  background-color: var(--green);
  flex-shrink: 0;
}

.ect-header-title {
  flex: 1;
  line-height: 1.4;
}

.ect-header-title .college {
  font-size: 1.375rem;   /* 22px */
  color: var(--green-dark);
}

.ect-header-title .school {
  font-size: 1.25rem;    /* 20px */
  font-weight: bold;
  color: var(--green);
}

/* ── App title (right side of header) ────────────────────── */
.ect-header-app-title {
  text-align: right;
}

.ect-header-app-title .app-name {
  font-size: 2rem;       /* 32px */
  font-weight: bold;
  color: var(--green);
  white-space: nowrap;
}

.ect-header-app-title .app-description {
  font-size: 1rem;       /* 16px */
  color: var(--putnam);
}

/* ── Hamburger button ─────────────────────────────────────── */
.ect-hamburger {
  position: relative;
  flex-shrink: 0;
}

.ect-hamburger-btn {
  background: none;
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 4px;
  line-height: 1;
}

.ect-hamburger-btn:hover {
  background-color: var(--green);
  color: var(--white);
}

/* ── Hamburger dropdown menu ──────────────────────────────── */
.ect-nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--green-dark);
  border: 1px solid var(--green);
  min-width: 260px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.ect-nav-menu.open {
  display: block;
}

.ect-nav-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  font-size: 1rem;
}

.ect-nav-menu a:last-child {
  border-bottom: none;
}

.ect-nav-menu a:hover {
  background: var(--green);
}

.ect-nav-menu .nav-empty {
  padding: 12px 16px;
  color: var(--white);
  opacity: 0.6;
  font-style: italic;
  font-size: 0.95rem;
}

.ect-nav-menu .nav-divider {
  border-top: 1px solid var(--green);
  margin: 4px 0;
}

/* ── Header toggle strip ──────────────────────────────────── */
.ect-header-toggle {
  background: var(--sycamore);
  color: var(--green-dark);
  text-align: center;
  padding: 3px;
  font-size: 0.75rem;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid var(--green);
}

.ect-header-toggle:hover {
  background: var(--green);
  color: var(--white);
}
