/* ==========================================================================
   TimeTable360 theme override: royal navy + marigold, larger header.
   Load AFTER styles.css:  <link rel="stylesheet" href="assets/theme.css">
   Delete this file (and its link) to return to the teal theme.
   ========================================================================== */

:root {
  --bg:        #f6f7fb;
  --surface:   #ffffff;
  --ink:       #0e1a2f;
  --ink-soft:  #3d4a60;
  --muted:     #5c677a;
  --line:      #e2e6f0;
  --line-soft: #edf0f7;

  --accent:      #1e3a8a;   /* royal navy */
  --accent-deep: #14296a;
  --accent-soft: #e8edfb;
  --amber:       #b8500a;
  --amber-soft:  #fdeede;
  --gold:        #ffc857;   /* marigold, used on dark surfaces */

  --shadow-sm: 0 1px 2px rgba(14, 26, 47, .05), 0 4px 14px rgba(14, 26, 47, .06);
  --shadow-md: 0 2px 6px rgba(14, 26, 47, .07), 0 18px 44px rgba(14, 26, 47, .11);
}

/* ---------- colours that were hard-coded in styles.css ---------- */
.nav { background: rgba(246, 247, 251, .9); }
.btn-primary { box-shadow: 0 8px 22px rgba(30, 58, 138, .24); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(30, 58, 138, .32); }
.text-link { border-bottom-color: rgba(30, 58, 138, .3); }
.text-link:hover { border-color: var(--accent); }
.f-card:hover { border-color: #cdd5e8; }
details[open] { border-color: #cdd5e8; }
.field input:focus, .field select:focus, .field textarea:focus {
  box-shadow: 0 0 0 3.5px rgba(30, 58, 138, .14);
}
.pill-done { background: #e8f3ec; color: #25643a; }

/* dark surfaces: marigold highlights instead of mint */
.mock-foot b,
.quote-stat b { color: var(--gold); }
.quote-card .display em,
.cta-band .h2-display em,
.auth-side .display em { color: var(--gold); }
.footer .tld { color: var(--gold); }
.quote-avatar { background: var(--accent); }

.cta-band {
  background: linear-gradient(135deg, #0e1a2f, #14296a 55%, #1e3a8a);
  box-shadow: 0 26px 60px rgba(14, 26, 47, .3);
}
.cta-band p { color: #d5def5; }
.cta-note { color: #aebbe0; }
.btn-light { color: var(--accent-deep); }
.btn-light:hover { background: var(--accent-soft); }

.auth-side { background: linear-gradient(160deg, #0e1a2f, #14296a 60%, #1e3a8a); }
.auth-side p, .auth-point { color: #d5def5; }
.auth-point .check { color: var(--gold); }

.footer { background: #0e1a2f; }

/* the logo image is teal, so rotate its hue to match the navy theme */
.brand-mark { filter: hue-rotate(52deg) saturate(1.15); box-shadow: 0 6px 16px rgba(30, 58, 138, .3); }

/* ---------- Log in highlighted as a box ---------- */
.nav-login {
  color: var(--accent-deep);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 11px 24px;
  background: var(--surface);
  transition: background .15s, color .15s, box-shadow .15s;
}
.nav-login:hover {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(30, 58, 138, .25);
}
.nav-login:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; }

/* same look for the Log in link inside the open mobile menu */
@media (max-width: 980px) {
  .nav.open .nav-links a.nav-mobile-only:not(.btn) {
    border: 2px solid var(--accent); border-radius: 12px;
    padding: 11px 16px; width: 100%; justify-content: center; text-align: center;
    color: var(--accent-deep); font-weight: 650; margin-top: 8px;
  }
}

/* ---------- larger header (desktop) ---------- */
@media (min-width: 981px) {
  .nav-inner { height: 96px; }
  .brand { font-size: 1.45rem; gap: 14px; }
  .brand-mark { width: 48px; height: 48px; border-radius: 13px; }
  .brand small { font-size: .66rem; margin-top: 4px; }
  .nav .wrap { max-width: 1320px; }
  .nav-links { gap: 28px; padding: 0 16px; }
  .nav-cta { gap: 16px; margin-left: 12px; }
  .nav-links a { font-size: 1.04rem; }
  .nav-login { font-size: 1.04rem; }
  .nav-cta .btn { padding: 14px 28px; font-size: 1rem; }
  html { scroll-padding-top: 110px; }
}

/* tablet and phone: a bit larger than before, menu offset unchanged */
@media (max-width: 980px) {
  .brand { font-size: 1.25rem; }
  .brand-mark { width: 40px; height: 40px; }
}

/* the tagline would collide with the links on mid-width screens */
@media (max-width: 1440px) {
  .brand small { display: none; }
}

/* soft glow behind the hero card instead of a cut-off square */
.mock::before {
  inset: -40px -40px auto auto;
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--accent-soft); filter: blur(36px); opacity: .9;
}