/* Stevens Virtual Airlines – Stylesheet
   Adjust the colors in :root below; everything else follows automatically. */
:root {
  --page-bg: #c0c0c0;          /* grey page background (as on the current site) */
  --text: #000;
  --link: #3a3a3a;             /* link color (dark grey) */
  --btn-top: #bebebe;          /* menu button gradient (a bit darker than the page) */
  --btn-bottom: #a3a3a3;
  --btn-border: #555;
  --btn-hover-top: #d0d0d0;
  --btn-hover-bottom: #b4b4b4;
  --accent: #fdc423;           /* yellow from the logo */
  --box-bg: #d4d4d4;
  --menu-width: 200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 14px;
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }   /* links are underlined only on mouse-over */
a.logo:hover, .years a:hover { text-decoration: none; }

/* ---------- Sidebar ---------- */
#sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--menu-width);
  padding: 4px 8px 20px 6px;
  overflow-y: auto;
  z-index: 20;
}
.logo {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 46px; color: #000; text-decoration: none;   /* space between logo and first button */
}
.logo img { width: 34px; height: 34px; flex: none; }
.logo-text strong {
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 1.9rem; line-height: 1; letter-spacing: .5px;
}
.logo-text > span { display: block; font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; }

#menu { width: 150px; margin-left: 16px; }
#menu a, #menu summary {
  display: block; margin: 0 0 8px; padding: 1px 6px;
  font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: .85rem; line-height: 1.5;
  text-align: center; color: #000; text-decoration: none;
  text-shadow: 1px 1px 1px rgba(255,255,255,.35);
  background: linear-gradient(var(--btn-top), var(--btn-bottom));
  border: 1px solid var(--btn-border);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 1px 1px 2px rgba(0,0,0,.4);
  cursor: pointer; list-style: none; position: relative;
}
#menu summary::-webkit-details-marker { display: none; }
#menu summary::after { content: "▸"; position: absolute; right: 7px; font-size: .8rem; }
#menu details[open] > summary::after { content: "▾"; }
#menu a:hover, #menu summary:hover { background: linear-gradient(var(--btn-hover-top), var(--btn-hover-bottom)); }
#menu .sub { margin: 0 0 4px 10px; }
#menu .sub a { font-size: .8rem; font-weight: normal; margin-bottom: 5px; }
#menu a.active { background: linear-gradient(#939393, #ababab); box-shadow: inset 1px 1px 2px rgba(0,0,0,.45); }

.side-foot { margin-top: 70px; padding-left: 16px; font-family: Arial, Helvetica, sans-serif; font-size: .8rem; line-height: 1.6; }

/* ---------- Content ---------- */
#content {
  margin-left: var(--menu-width);
  padding: 14px 24px 50px;
  max-width: 1320px;
}
#content h1 { margin: 0 0 14px; font-size: 1.5rem; }
#content h2 { margin: 1.6em 0 .5em; font-size: 1.2rem; }
#content img { max-width: 100%; height: auto; }
table { border-collapse: collapse; width: 100%; background: var(--box-bg); }
th, td { border: 1px solid #999; padding: 6px 10px; text-align: left; }
th { background: #808080; color: #fff; }

/* ---------- Start page ---------- */
.welcome { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-bottom: 10px; }
.welcome p { margin: 0 0 14px; font-weight: bold; }
.welcome p:first-child { font-size: 1.25rem; }
.welcome p + p { font-size: .9rem; margin-bottom: 0; }
.plane { display: block; margin: 8px 0 40px; }
.powered { font-weight: bold; font-size: .9rem; }

/* ---------- Page elements ---------- */
figure { margin: 24px 0; }
figcaption { font-size: .85rem; margin-top: 6px; font-style: italic; }
.text { max-width: 820px; }
.signature { font-style: italic; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery a { display: block; background: transparent; padding: 4px; border: 1px solid #999; }
.gallery a:hover { background: rgba(255,255,255,.25); border-color: #666; }
.gallery img { display: block; width: 100%; height: auto; }
.gallery .cap { display: block; font-size: .75rem; line-height: 1.3; padding: 4px 2px 1px; }
.archive { margin-top: 40px; }
.archive summary { cursor: pointer; font-weight: bold; margin-bottom: 12px; }
#shots section + section { margin-top: 10px; }

/* ---------- Lightbox ---------- */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.9); align-items: center; justify-content: center; gap: 10px; padding: 10px;
}
#lightbox.open { display: flex; }
#lightbox figure { margin: 0; max-width: 92vw; text-align: center; }
#lightbox img { max-width: 100%; max-height: 82vh; display: block; margin: 0 auto; }
#lightbox figcaption { color: #eee; margin-top: 8px; font-style: normal; font-size: .9rem; }
.lb-btn {
  background: rgba(255,255,255,.15); color: #fff; border: 0; cursor: pointer;
  font-size: 2rem; line-height: 1; padding: 10px 16px; border-radius: 6px; flex: none;
}
.lb-btn:hover { background: rgba(255,255,255,.3); }
.lb-close { position: absolute; top: 14px; right: 14px; }
@media (max-width: 800px) { .lb-btn { padding: 8px 12px; } }

.linkblock { background: var(--box-bg); padding: 4px 20px 12px; border: 1px solid #999; margin-bottom: 20px; }
.linkblock h2 { margin: 14px 0 8px; font-size: 1.1rem; }
.linkblock ul { list-style: none; padding: 0; margin: 0; }
.linkblock li { padding: 6px 0; border-bottom: 1px solid #b5b5b5; }
.linkblock li:last-child { border-bottom: 0; }
.linkblock small { display: block; color: #333; }
.years { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.years a {
  padding: 1px 14px; color: #000; text-decoration: none; font-family: Arial, sans-serif; font-weight: bold; font-size: .85rem;
  background: linear-gradient(var(--btn-top), var(--btn-bottom)); border: 1px solid var(--btn-border); border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 1px 1px 2px rgba(0,0,0,.4);
}
.years a:hover { background: linear-gradient(var(--btn-hover-top), var(--btn-hover-bottom)); }

/* ---------- Imprint ---------- */
#content.imprint { max-width: 760px; }
.imprint p { margin: 0 0 1.3em; }
table.contact { width: auto; background: transparent; margin-bottom: 1.3em; }
table.contact td { border: 0; padding: 0 28px 0 0; }

.imprint h2 { font-size: 1.25rem; }
.imprint h3 { font-size: 1rem; margin: 1.4em 0 .4em; }
.imprint hr { border: 0; border-top: 1px solid #8a8a8a; margin: 36px 0; }
.todo { background: #ffe14d; color: #000; padding: 0 3px; }   /* draft markers – remove before publishing */

/* ---------- Mobile ---------- */
#menu-toggle {
  display: none; position: fixed; top: 8px; left: 8px; z-index: 30;
  background: linear-gradient(var(--btn-top), var(--btn-bottom)); color: #000;
  border: 1px solid var(--btn-border); font-size: 1.3rem; padding: 4px 11px; cursor: pointer;
}
@media (max-width: 800px) {
  #menu-toggle { display: block; }
  #sidebar { transform: translateX(-100%); transition: transform .25s; background: var(--page-bg); box-shadow: 2px 0 8px rgba(0,0,0,.3); padding-top: 52px; }
  body.menu-open #sidebar { transform: none; }
  #content { margin-left: 0; padding: 56px 14px 40px; }
}
