/* S/V Isolda – modern stylesheet */

:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5b6470;
  --accent: #0a3370;
  --accent-light: #1f5fbf;
  --border: #d8dee8;
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; margin: 1.5em 0 .5em; color: var(--accent); }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin: .75em 0; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

ul, ol { padding-left: 1.4em; }
li { margin: .25em 0; }

iframe { max-width: 100%; }

/* ----- Layout ----- */
.site {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--surface);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  min-height: 100vh;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header a.logo { display: block; }
.site-header img { display: block; width: 100%; height: auto; }

.site-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
}

.site-nav {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 1rem;
}
.site-nav ul { list-style: none; padding: 0; margin: 0; }
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: .55rem .75rem;
  color: var(--text);
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover { background: var(--bg); color: var(--accent); text-decoration: none; }
.site-nav a.current { background: var(--accent); color: #fff; }

.site-main {
  padding: 2rem 2.5rem;
  min-width: 0;
}
.site-main img { border-radius: 4px; cursor: zoom-in; }
.site-main a img { cursor: pointer; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 1000; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; box-shadow: 0 0 24px #000; border-radius: 4px; }
.lightbox .close { position: absolute; top: 1rem; right: 1.5rem; color: #fff; font-size: 2.5rem; line-height: 1; cursor: pointer; background: none; border: none; padding: 0; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 14px;
}

/* Helpful content classes */
.lead { font-size: 1.1rem; color: var(--muted); }
.figure { margin: 1.25rem 0; }
.figure figcaption { font-size: 14px; color: var(--muted); margin-top: .35rem; }

table.simple { border-collapse: collapse; width: 100%; margin: 1rem 0; }
table.simple th, table.simple td { padding: .5rem .75rem; border-bottom: 1px solid var(--border); text-align: left; }
table.simple th { background: var(--bg); font-weight: 600; }

.workdays { border-collapse: collapse; margin: 1rem 0; }
.workdays td { padding: .35rem .9rem .35rem 0; }
.workdays td:first-child { font-weight: 600; min-width: 6em; }

/* Social link grid */
.social-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0 2rem; }
.social-row a { text-align: center; display: block; }
.social-row img { width: 90px; height: 90px; border-radius: 8px; }

/* Mobile */
@media (max-width: 800px) {
  body { font-size: 16px; }
  .site { box-shadow: none; }
  .site-body { grid-template-columns: 1fr; }
  .site-nav {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: .75rem 1rem;
  }
  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
  }
  .site-nav a { padding: .4rem .65rem; font-size: 14px; }
  .site-main { padding: 1.25rem 1rem; }
  .site-footer { padding: 1rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
}
