/* RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #002F5F; background: #fff; }

/* KTH / MoAna colors */
:root{
  --kth-blue: #0057A3;
  --kth-blue-dark: #003B6F;
  --kth-blue-light: #E5EFF8;
  --bg: #ffffff;
  --muted: #67839a;
}

/* Layout container */
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }

/* Header */
.site-header { background: var(--kth-blue); color: #fff; position: sticky; top: 0; z-index: 100; }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:20px;  padding-top:8px; padding-bottom:8px; }
.brand { display:flex; align-items:center; gap:12px; }
.logo { width:70px; height:70px; object-fit:contain; background: transparent; border-radius:6px; padding:2px; }
.site-title { font-weight:700; font-size:1.6rem; letter-spacing:0.6px; }

/* Navigation */
.main-nav { display:flex; gap:12px; align-items:center; }
.nav-link { color: #e6f2fb; text-decoration:none; padding:10px 12px; border-radius:8px; font-weight:600; }
.nav-link:hover { background: rgba(255,255,255,0.08); color:#fff; }
.nav-link.active { background: rgba(255,255,255,0.14); }

/* Mobile toggle */
.nav-toggle { display:none; background:transparent; border:0; color:#fff; font-size:20px; padding:8px; }

/* HERO (Option A: hero-only background) */
.hero{
  min-height: 420px;
  background-image: url('data/Background.png');
  background-size: cover;
  background-position: center;
  display:flex;
  align-items:center;
  color: #fff;
  position: relative;
}
.hero-overlay{
  width:100%;
  background: linear-gradient(180deg, rgba(0,16,30,0.35) 0%, rgba(0,16,30,0.5) 40%, rgba(0,16,30,0.7) 100%);
  padding: 60px 0;
}
.hero-inner { text-align: center; padding: 0 18px; max-width: 900px; margin: 0 auto; }
.hero-logo { width: 120px; height: auto; margin: 0 auto 14px; display:block; }
.hero-title { font-size: 3.2rem; margin-bottom: 6px; color: #fff; font-weight:700; }
.hero-sub { font-size:1.4rem; margin-bottom: 18px; color: #dbeaf8; max-width: 900px; margin-left:auto; margin-right:auto; }

/* Buttons */
.btn { display:inline-block; padding:10px 18px; border-radius:8px; background: var(--kth-blue); color:#fff; text-decoration:none; font-weight:700; margin-right:8px; }
.btn-secondary { background: transparent; border:2px solid #fff; color: #fff; }

/* Sections */
section { padding: 28px 0; }
.about h2, .goals h2, .team h2, .wps h2 { color: var(--kth-blue-dark); font-size:1.5rem; margin-bottom:12px; }
.about p { margin-bottom:12px; line-height:1.6; color: #203a4a; }

/* Quick facts */
.quick-facts { display:flex; gap:18px; flex-wrap:wrap; margin-top:12px; color:#274a62; }

/* Team grid */
.team-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:18px; margin-top:14px; }
.team-card { background:#fff; border:1px solid #e6eef6; border-radius:10px; padding:16px; box-shadow: 0 4px 8px rgba(6,20,40,0.04); }
.team-card h3 { color: var(--kth-blue-dark); margin-bottom:6px; font-size:1.05rem; }
.role { color:#33556f; margin-bottom:6px; }
.meta { color: #40607a; font-weight:600; }
.team-photo {width:100%; height:280px; object-fit:cover; border-radius:8px; background:#f0f4f8; margin-bottom:12px; }


/* WPs */
.wps ol { margin-left:18px; color: #264a62; }

/* PDF link */
.link-download { color: var(--kth-blue-dark); text-decoration:underline; font-weight:600; }

/* Footer */
.site-footer { background:#f7f9fb; color: var(--kth-blue-dark); padding-top:18px; border-top:1px solid #e6eef6; margin-top:30px; }
.footer-inner { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; }
.footer-inner h4 { margin-bottom:8px; }
.copyright { background: var(--kth-blue-light); padding:10px 0; margin-top:18px; text-align:center; }

/* Responsive */
@media (max-width: 880px) {
  .main-nav { display: none; position: absolute; right: 16px; top: 70px; background: var(--kth-blue); border-radius:8px; padding:12px; flex-direction:column; width:210px; }
  .main-nav.open { display:flex; }
  .nav-toggle { display:block; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size:1rem; }
}

/* Focus accessibility */
a:focus, button:focus { outline: 3px solid rgba(0,87,163,0.18); outline-offset:2px; }

.partner-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 8px;}

.partner-logo {
  height: 60px;        
  width: auto;
  object-fit: contain;
  opacity: 0.95; }

.partner-logo:hover {
  opacity: 1;}

.funding {
  text-align: center;
  margin-top: 30px;
}

.funding-logo{
  height: 60px;     
  width: auto;
  margin-top: 8px;
  object-fit: contain; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap; /* responsive for small screens */
}

.footer-block {
  flex: 1;
  min-width: 200px;
}

.footer-block h4 {
  margin-bottom: 10px;
}

.partner-logos,
.funding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.partner-logos img,
.funding-logo {
  height: 60px;
  width: auto;
  margin-bottom: 8px;
}


