@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');

/* BASE */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000B30; /* sekundær */
  color: white;
  line-height: 1.8;
  font-size: 20px;
}

/* NAVIGATION */
header {
  background-color: #001149; /* primer */
  padding: 20px 60px;
}
header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: flex-end;
}
header ul li {
  margin-left: 40px;
}
header ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 20px;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-text {
  position: absolute;
  top: 40%;
  left: 8%;
  text-align: left;
}
.hero-text h1 {
  font-size: 70px;
  font-weight: 900;
  background: rgba(0, 11, 48, 0.8); /* sekundær overlay */
  padding: 30px 40px;
  border-radius: 10px;
  line-height: 1.3;
}

/* SHARED SECTION STYLE */
.split,
.service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 120px 10%;
  gap: 60px;
}
.split.reverse,
.service.reverse {
  flex-direction: row-reverse;
}
.split .text,
.service .text {
  flex: 1;
}
.split .image,
.service .image {
  flex: 1.2;
}
.split h2,
.service h3 {
  margin-bottom: 20px;
  border-bottom: 3px solid white;
  display: inline-block;
  padding-bottom: 8px;
}
.split h2 {
  font-size: 34px;
}
.service h3 {
  font-size: 28px;
}

.split h3 {
  margin-bottom: 20px;
  border-bottom: 3px solid white;
  display: inline-block;
  padding-bottom: 8px;
}
/* IMAGES */
.image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border: 2px solid white;
  border-radius: 21px;
}

/* Første seksjon overlapper neste */
.split.overlap .image img {
  position: relative;
  margin-bottom: -150px; /* tydelig overlapp */
  z-index: 5;
  height: 550px; /* større bilde */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* gir mer dybde */
}

/* STATS */
.stats {
  display: flex;
  justify-content: center;
  gap: 150px;
  background-color: #001149; /* primer */
  padding: 50px 0;
  text-align: center;
}
.stat span {
  font-size: 96px;
  font-weight: 400;
  font-style: normal;
  font-family: "Dela Gothic One", sans-serif;
  display: block;
}
.stat {
  font-weight: 400;
  font-style: normal;
  font-family: "Dela Gothic One", sans-serif;
  font-size: 40px;
}

.bottom-section { background-color: var(--secondary) !important; }

/* SERVICES SECTION */
.services h2 {
  font-weight: 400;
  font-style: normal;
  font-family: "Dela Gothic One", sans-serif;
  text-align: center;
  margin: 0;
  padding: 5% 40px;
  display: inline-block;
  font-size: 38px;
  background-color: #000B30; /* sekundær */
  width: 100%;
}

/* ALTERNATING BACKGROUNDS */
.split:nth-of-type(odd),
.service:nth-of-type(odd) {
  background-color: #000B30; /* sekundær */
}
.split:nth-of-type(even),
.service:nth-of-type(even) {
  
  background-color: #001149; /* primer */
}

/* FOOTER */
footer {
  background-color: #001149; /* primer */
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* CONTACT INFO PAGE */
.contact-info {
  padding: 100px 10%;
  background-color: var(--secondary);
  text-align: center;
}

.contact-info h2 {
  font-size: 38px;
  margin-bottom: 50px;
  display: inline-block;
  border-bottom: 3px solid var(--white);
  padding-bottom: 8px;
}

.info-grid {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  text-align: left;
}

.info-text {
  flex: 1;
  min-width: 250px;
  font-size: 20px;
  line-height: 1.8;
}

.info-text a {
  color: var(--white);
  text-decoration: underline;
}

.info-map {
  flex: 1.5;
  min-width: 300px;
}

.instagram {
  background-color: #001149; /* primer */
  padding: 80px 10%;
  text-align: center;
}

.instagram h2 {
  font-size: 36px;
  border-bottom: 3px solid white;
  display: inline-block;
  margin-bottom: 40px;
}

.insta-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.insta-feed a {
  display: block;
  border: 2px solid white;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.insta-feed a:hover {
  transform: scale(1.05);
}

.insta-feed img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}
