/* === Critical CSS === */

/* Reset + base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #eae3d6;
}

/* Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(255,255,255,0.5);
  z-index: -1;
}

/* Content */

.content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  min-height: 280px;
}

/* Navbar */
.navbar {
  background: #444573;
  min-height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar__container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  min-height: 120px;
}

#navbar__logo img {
  width: 8rem;
  height: 8rem;
}

.navbar__menu {
  display: flex;
  list-style: none;
}

.navbar__links {
  color: #fff;
  text-decoration: none;
  padding: 0 1rem;
  display: flex;
  align-items: center;
}

/* Mobile toggle (synleg før JS) */
.mobile-menu-icon {
  display: block;
  position: absolute;
  right: 20px;
  top: 15px;
}

.mobile-menu-icon .bar {
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
}

/* Main hero */
.main {
  background-color: #444573;
}

.main__container {
  min-height: 300px;
  display: flex;
  justify-content: center;
}

.main__content {
  color: #fff;
  max-width: 600px;
  text-align: center;
}

.main__content h1 {
  font-size: 2rem;
  font-weight: 200;
  color: #ffffff;
}

.main__content p {
  margin-top: 2rem;
  font-size: 1.2rem;
  text-align: left;
}

/* main image */

.main-image {
  max-width: 960px;
  margin: 0 auto;
}

/* CTA */
.main__btn {
  font-size: 2rem;
  padding: 14px 32px;
  border-radius: 4px;
  background: #94c7fa;
  color: #fff;
  border: none;
}

.logo {
  width: 8rem;
  height: 8rem;
}

/* Tagline under the firm name on the front page */
.site-tagline {
  display: block;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
