:root {
  color-scheme: light;
  font-family: "Strait", sans-serif;
  font-size: 16px;
  color: #1a1a1a;
  background: #ffffff;

  --bg: #ffffff;
  --surface: #f8f8f8;
  --surface-soft: #eeeeee;
  --text: #1a1a1a;
  --muted: #666666;
  --primary: #1a1a1a;
  --accent: #444444;
  --border: rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 50px;
}

.brand img {
  height: 50px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
}

.hero {
  padding: 8rem 0 6rem;
  min-height: 60vh;
  display: flex;
  align-items: center;

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url('../assets/images/Prosjektbilder/IMG_4701.JPEG');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero-content {
  max-width: 700px;
}

.hero-logo {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin-bottom: 3rem;
  display: block;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

p {
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.hero-content p {
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1.05rem;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: #1a1a1a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.primary:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  background: #333333;
}

.secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.section {
  padding: 3rem 0;
}

.section-header {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.cards {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 1rem;
}

.split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 3.5rem;
}

.image-card {
  min-height: 320px;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #eeeeee 0%, #dddddd 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-list li {
  background: var(--surface-soft);
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  color: var(--text);
}

.projects-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-card h3 {
  margin-bottom: 0.5rem;
}

.project-meta {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  max-width: 400px;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-details h3 {
  margin-bottom: 0.5rem;
}



.site-footer {
  padding: 2rem 0;
  background: #f5f5f5;
}

.footer-inner {
  display: flex;
  justify-content: center;
  color: var(--muted);
}

@media (max-width: 860px) {
  .split-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 700px) {
  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    margin: 0;
    padding: 1rem;
    border-top: 1px solid var(--border);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}
