/**
* Template Name: Lonely
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-lonely/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Domine",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #5a656e; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2c4964; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #d43076; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #5a656e;  /* The default color of the main navmenu links */
  --nav-hover-color: #d43076; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #5a656e; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #d43076; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f2f6f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);

}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: #f5f7f9;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
  margin-top: 0 !important;
  border-top: 1px solid rgba(0,0,0,0.08);
}
footer.footer {
  background-color: #f4f4f6 !important; /* lys, varm grå */
  border-top: 1px solid rgba(0,0,0,0.08); /* elegant skillelinje */
  padding-top: 40px;
  padding-bottom: 40px;
}


.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
  
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 20px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  background: url(../img/hero-bgmari2.jpg) top center no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 90vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 90%);
  position: absolute;
  inset: 0;
  z-index: 2;
}*/


.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05) 0%,     /* nesten ingen mørkning øverst */
      rgba(0, 0, 0, 0.25) 40%,    /* gjør midten litt mørkere */
      rgba(0, 0, 0, 0.55) 100%    /* mørkere nederst ved teksten */
  );
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
  margin-top: 350px; /* Juster tallet (f.eks. 60–120px) til det ser riktig ut */
  
}
@media (max-width: 640px) {
  .hero .container {
    margin-top: 400px;
  }
}

.hero h2 {
  margin: 0;
  font-size: 70px;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 30px;
    line-height: 36px;
  }
}

.hero .btn-scroll {
  transition: 0.4s;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  display: block;
  margin-top: 30px;
  animation: btn-up-down 1s ease-in-out infinite alternate-reverse both;
}

.hero .btn-scroll i {
  font-size: 48px;
}

.hero .btn-scroll:hover {
  color: var(--accent-color);
}

@keyframes btn-up-down {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(-5px);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: ease-in-out 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.services .service-item:hover h4 a,
.services .service-item:hover .icon i,
.services .service-item:hover p {
  color: var(--contrast-color);
}

.services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  background-color: var(--surface-color);
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0 2px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/* ---------------------------------
   Kontaktseksjon – Mari-stil
----------------------------------- */

#contact.contact {
  background: #ffffff;
  padding: 80px 0;
  text-align: left;
}

.contact-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.contact-title {
  text-align: left;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  margin-left: 0;
}

.contact-intro {
  text-align: left;
  max-width: 640px;
  margin: 0 auto 50px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 17px;
  line-height: 1.6;
  margin-left: 0;
}

/* Grid layout */
.contact-grid {
  display: grid;
  gap: 50px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

/* Kontaktinfo */
.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-info a {
  color: var(--accent-color);
  text-decoration: none;
}

/* Form styling */
.php-email-form input,
.php-email-form textarea {
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 12px 14px;
  width: 100%;
  border-radius: 4px;
  font-size: 15px;
  color: #444;
}

.php-email-form input:focus,
.php-email-form textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}

.php-email-form button[type=submit] {
  background: var(--accent-color);
  border: none;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  transition: 0.3s;
}

.php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/

/* Slider (om du bruker den senere) */
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/* Fjern intern padding på slidercontaineren */
.portfolio-details .portfolio-details-slider {
  padding-left: 0;
  padding-right: 0;
}

/* Info-liste (hvis du bruker den) */
.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

/* Generell tekst i beskrivelse */
.portfolio-details .portfolio-description {
  padding-top: 0;
  margin-top: 0;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/* Større sidemarg på mobil for tekst */
@media (max-width: 768px) {
  .portfolio-details .portfolio-description,
  .portfolio-details .portfolio-info,
  .content-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* H1 på portfolio-detaljsiden: som seksjonstittel på index (med rosa strek) */
.portfolio-details h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--heading-color);
}

.portfolio-details h1::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

/* H2 på portfolio-detaljsiden: som "små seksjonstitler" */
.portfolio-details h2 {
  font-family: var(--default-font); /* Roboto */
  font-weight: 500;
  font-size: 22px;
  margin-top: 10px;
  margin-bottom: 12px;
  color: var(--heading-color);
  line-height: 1.3;
}

/* Skillelinje under tittel/introtekst */
.portfolio-details .project-header {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

/* Sørg for at selve seksjonen ikke dytter alt ned */
#portfolio-details,
#portfolio-details.section {
  padding-top: 0;
  padding-bottom: 0;
}

/* Hero-bilde – felles base */
.project-hero-image {
  margin-bottom: 24px;
}

.project-hero-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Desktop & tablet (>= 769px) --------------------- */
@media (min-width: 769px) {

  .project-hero-image {
    margin-top: 24px;        /* litt luft mellom meny og bilde */
    margin-bottom: 24px;     /* fin luft ned til tittelen */
  }

  .project-hero-image img {
    height: 380px;           /* juster 320–420px etter smak */
    border-radius: 10px;     /* runde hjørner på desktop */
  }

  .project-header {
    margin-top: 0;
    margin-bottom: 24px;     /* luft mellom intro og videre tekst */
  }

  .portfolio-details .portfolio-description {
    padding-top: 0;
    margin-top: 0;
  }
}

/* Mobil (< 769px) ------------------------------- */
@media (max-width: 768px) {

  /* Hele seksjonen skal ikke dytte ting ned */
  #portfolio-details,
  #portfolio-details.section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .project-hero-image {
    width: 100vw;            /* full bredde */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    margin-top: 0;           /* helt opp til menylinja */
    margin-bottom: 16px;     /* liten, pen luft under bildet */
  }

  .project-hero-image img {
    height: 240px;           /* høyde på mobil */
    border-radius: 0;        /* ingen hjørner når utfallende */
  }

  .project-header {
    margin-top: 0;
    margin-bottom: 20px;     /* luft mellom intro og resten */
  }

  .project-header h1 {
    margin-top: 0;
  }

  .portfolio-details .portfolio-description {
    padding-top: 0;
    margin-top: 0;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}




/*--------------------------------------------------------------
# Bilde-grid
--------------------------------------------------------------*/

.portfolio-image-grid {
  display: grid;
  gap: 20px; /* avstand mellom bildene */
}

/* 1 bilde = 1 kolonne */
/* 2 bilder = 2 kolonner */
/* 3 bilder = 3 kolonner */
.portfolio-image-grid.grid-1 {
  grid-template-columns: 1fr;
}

.portfolio-image-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.portfolio-image-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-image-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* På mobil faller alt automatisk til 1 kolonne */
@media (max-width: 1000px) {
  .portfolio-image-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------
   Fiks mellomrom mellom bildene i galleriet
-------------------------------------------------------------- */

.portfolio-image-grid {
  gap: 20px !important;   /* Gir mellomrom mellom bildene */
  margin-top: 20px;       /* Litt luft over første bilde i gridet */
  margin-bottom: 40px;    /* Luft under hele griden */
}

.portfolio-image-grid img {
  border-radius: 10px;    /* eller 6px hvis du vil */
  display: block;
}


/*--------------------------------------------------------------
# Content wrapper for bredde
--------------------------------------------------------------*/

@media (min-width: 768px) {
  .content-wrapper {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Tilbake-knapp
--------------------------------------------------------------*/

.btn-back-to-portfolio {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  border-radius: 50px;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  background: transparent;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}

.btn-back-to-portfolio:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  text-decoration: none;
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Flere arbeider-seksjon
--------------------------------------------------------------*/



.more-projects-title {
  font-size: 24px;
  font-weight: 700;
}

/* GRID: alltid 3 kolonner */
.more-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; /* grunnavstand mellom kortene */
}

/* Kortene */
.more-project-card {
  display: block;
  text-decoration: none;
  color: var(--default-color);
  transition: transform 0.2s ease;
}

/* Bildedel – kvadratiske kort */
.more-project-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f4f6;
}

.more-project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Tekst under bildet */
.more-project-card h3 {
  font-size: 14px;
  margin-top: 6px;
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--heading-color);
}

.more-project-card p {
  font-size: 12px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/* Mindre luft og litt enklere på helt små mobiler */
@media (max-width: 480px) {
  .more-projects-grid {
    gap: 6px;
  }

  .more-project-card h3 {
    font-size: 13px;
  }

  .more-project-card p {
    display: none; /* skjul beskrivelsen på de minste skjermene */
  }
}

/* Litt hover-effekt på større skjermer */
@media (min-width: 768px) {
  .more-project-card:hover {
    transform: translateY(-3px);
  }

  .more-project-card:hover img {
    transform: scale(1.04);
  }
}

/*--------------------------------------------------------------
# Justering nederst på portfolio-detaljsiden
--------------------------------------------------------------*/

#portfolio-details {
  padding-bottom: 0;
}


/*--------------------------------------------------------------
# Flere prosjekter – Ryddet og optimalisert
--------------------------------------------------------------*/

.more-projects-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

/* GRID: alltid 3 i bredden, men med kontrollert størrelse */
.more-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; /* mer avstand på desktop */
}

.more-project-card {
  display: block;
  text-decoration: none;
  color: var(--default-color);
  transition: transform 0.2s ease;
}

/* kvadrat-ish kort */
.more-project-image-wrapper {
  width: 100%;
  aspect-ratio: 1/1; 
  overflow: hidden;
  border-radius: 10px;
  background: #f3f4f6;
}

.more-project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.more-project-card h3 {
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 2px;
  font-weight: 600;
}

.more-project-card p {
  font-size: 13px;
  margin: 0;
  color: rgba(0,0,0,0.55);
}

/* Hover på større skjermer */
@media (min-width: 768px) {
  .more-project-card:hover {
    transform: translateY(-3px);
  }
  .more-project-card:hover img {
    transform: scale(1.04);
  }
}

/* --------------------------------------------------------------
   MOBIL – mindre kort + luft på sidene
-------------------------------------------------------------- */

@media (max-width: 767px) {

 

  .more-projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;  /* mindre avstand */
  }

  .more-project-image-wrapper {
    aspect-ratio: 1/1;   /* helt kvadratisk */
  }

  .more-project-card h3 {
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  .more-project-card p {
    display: none; /* rydder mobil */
  }
}

/* --------------------------------------------------------------
   STORE SKJERMER – litt mindre kort, mer luft
-------------------------------------------------------------- */


  .more-projects-grid {
    gap: 20px;  /* litt større luft på desktop */
  }
}

.btn-back-to-portfolio {
  margin-top: 50px; /* juster fritt: 20–60px */
}
h3 {
  font-family: var(--default-font); /* samme som brødtekst */
  font-weight: 700; /* bold */
  font-style: normal;
  font-size: 1.375rem; /* 22px / 16px */
}

.header .logo .sitename {
  font-size: 30px;       /* samme som før */
  font-weight: 700;      /* samme som før */
  color: var(--heading-color);
  margin: 0;
  line-height: 1;
  font-family: var(--heading-font); /* Domine – samme som før */
}

/* Fjern topp-padding på hele seksjonen */
#portfolio-details {
  padding-top: 0 !important;
}

/* Desktop */
@media (min-width: 769px) {

  .project-hero-image {
    margin-top: 20px;            /* litt luft over bildet på desktop */
    margin-bottom: 20px;         /* pen, moderat luft under */
  }

  .project-hero-image img {
    width: 100%;
    height: 380px;               /* juster 320–420px */
    object-fit: cover;
    border-radius: 10px;         /* runde hjørner på desktop */
    display: block;
  }

  /* Fjern ekstra padding fra tekstblokk */
  .portfolio-details .portfolio-description {
    padding-top: 0 !important;
  }
}

/* Mobil */
@media (max-width: 768px) {

  .project-hero-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    margin-top: 0;               /* helt opp til header */
    margin-bottom: 16px;         /* liten fin luft under bildet */
  }

  .project-hero-image img {
    height: 240px;               /* fin mobilhøyde */
    object-fit: cover;
    border-radius: 0;            /* ingen runde hjørner når full-screen */
  }

  /* Fjern padding på tekst */
  .portfolio-details .portfolio-description {
    padding-top: 0 !important;
  }
}
/* MOBIL – stram opp luft mellom bilde og tittel på prosjektsiden */
@media (max-width: 768px) {

  /* Fjern topp/bunn-padding på selve seksjonen */
  section#portfolio-details {
    padding-top: 0 !important;
    padding-bottom: 20px !important; /* litt luft helt nederst på siden */
  }

  /* Fjern vertikal gutter fra Bootstrap sin gy-4 på denne raden */
  #portfolio-details .gy-4 {
    --bs-gutter-y: 0 !important;
  }

  /* Kontroller luft rundt bildet */
  .project-hero-image {
    margin-top: 0 !important;
    margin-bottom: 12px !important;   /* liten, fin luft under bildet */
  }

  /* Fjern ekstra padding/margin på tekstblokken */
  .portfolio-details .portfolio-description {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Sørg for at H1 ikke har toppmargin */
  #portfolio-details h1 {
    margin-top: 0 !important;
  }
}
@media (min-width: 769px) {

  .project-hero-image {
    margin-top: 20px !important;    /* litt luft over bildet */
    margin-bottom: 20px !important; /* moderat luft til teksten */
  }

  .portfolio-details .portfolio-description {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* MOBIL: stram opp mellomrom mellom bilde og tittel på prosjektsiden */
@media (max-width: 768px) {

  /* Ingen ekstra padding på selve seksjonen */
  #portfolio-details {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Hero-bildet: full bredde, ingen ekstra luft over, litt under */
  .project-hero-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    margin-top: 0 !important;      /* rett opp til menyen */
    margin-bottom: 8px !important; /* liten, men tydelig luft under bildet */
  }

  .project-hero-image img {
    height: 240px;
    object-fit: cover;
    border-radius: 0;              /* ingen hjørner når det går kant-til-kant */
    display: block;
  }

  /* Tittelseksjonen rett under bildet */
  .project-header {
    margin-top: 0 !important;      /* fjern ekstra topp-luft */
    margin-bottom: 16px;           /* litt luft ned til brødtekst */
  }

  .project-header h1 {
    margin-top: 0 !important;      /* noen browser-stiler gir toppmargin – vekk med den */
  }

  /* Tekstblokka rett etterpå skal ikke dytte ting ned */
  .portfolio-details .portfolio-description {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}


/* --------------------------
   ENTUR-CASE: HERO + SPACING
   -------------------------- */

/* Fjern standard topp-padding for denne seksjonen */
#portfolio-details.section {
  padding-top: 0;
}

/* Felles for begge: tekstblokken skal ikke ha ekstra padding på toppen */
.portfolio-details .portfolio-description {
  padding-top: 0;
  margin-top: 0;
}

/* Felles: project-header skal ikke ha toppmargin */
#portfolio-details .project-header {
  margin-top: 0;
}

/* Felles: H1 skal ikke ha toppmargin */
#portfolio-details .project-header h1 {
  margin-top: 0;
}

/* Desktop & tablet (>= 769px) --------------------- */
@media (min-width: 769px) {

  .project-hero-image {
    margin-top: 24px;        /* litt luft mellom meny og bilde */
    margin-bottom: 24px;     /* fin luft ned til tittelen */
  }

  .project-hero-image img {
    width: 100%;
    height: 380px;           /* juster 320–420px etter smak */
    object-fit: cover;
    border-radius: 10px;     /* runde hjørner på desktop */
    display: block;
  }

  .project-header {
    margin-bottom: 24px;     /* luft mellom intro og videre tekst */
  }
}

/* Mobil (< 769px) ------------------------------- */
@media (max-width: 768px) {

  /* Hele seksjonen skal ikke dytte alt ned */
  #portfolio-details.section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .project-hero-image {
    width: 100vw;            /* fullbredde */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    margin-top: 0;           /* helt opp til menylinja */
    margin-bottom: 16px;     /* liten, pen luft under bildet */
  }

  .project-hero-image img {
    height: 240px;           /* høyde på mobil */
    object-fit: cover;
    border-radius: 0;        /* ingen hjørner når utfallende */
    display: block;
  }

  .project-header {
    margin-top: 0;
    margin-bottom: 20px;     /* luft mellom intro og resten */
  }

  .project-header h1 {
    margin-top: 0;
  }

  .portfolio-details .portfolio-description {
    padding-top: 0;
    margin-top: 0;
  }
}
/* --------------------------------------------------------------
   Fiks: Flere arbeider-seksjon skal være full bredde
-------------------------------------------------------------- */

/*--------------------------------------------------------------
# Flere arbeider – fullbredde seksjon
--------------------------------------------------------------*/

.more-projects {
  background: #f7f7f7;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 50px 0 70px;
  margin-top: 60px;

  /* full bredde, uansett container */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

.more-projects .content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;  /* litt luft inni seksjonen */
}

.more-projects-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.more-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.more-project-card {
  display: block;
  text-decoration: none;
  color: var(--default-color);
  transition: transform 0.2s ease;
}

.more-project-image-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f4f6;
}

.more-project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.more-project-card h3 {
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 2px;
  font-weight: 600;
  text-align: left;
}

.more-project-card p {
  font-size: 13px;
  margin: 0;
  color: rgba(0,0,0,0.55);
}

/* Hover på større skjermer */
@media (min-width: 768px) {
  .more-project-card:hover {
    transform: translateY(-3px);
  }

  .more-project-card:hover img {
    transform: scale(1.04);
  }
}

/* Mobil – litt mindre luft og kompakt tekst */
@media (max-width: 768px) {
  .more-projects .content-wrapper {
    padding: 0 16px;
  }

  .more-projects-grid {
    gap: 10px;
  }

  .more-project-card h3 {
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  .more-project-card p {
    display: none;
  }
}
/* Ekstra luft over "Tilbake til alle arbeider"-knappen */
.more-projects .btn-back-to-portfolio {
  margin-top: 32px;   /* prøv 32px – øk til 40px hvis du vil ha enda mer luft */
}
/* Fjern hvitt mellomrom under Flere arbeider-seksjonen */
section#portfolio-details {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
/* --------------------------------------------------------------
   MOBIL: Fiks hero slik at all tekst er synlig
-------------------------------------------------------------- */

@media (max-width: 768px) {

  .hero {
    min-height: 90vh;              /* fyller skjermen fint */
    padding: 120px 0 40px 0;       /* litt luft nederst til teksten */
    display: flex;
    align-items: flex-end;         /* legg teksten nederst i bildet, men innenfor */
  }

  .hero .container {
    margin-top: 0 !important;      /* overstyr 350/400px margin-top */
    padding: 0 20px;               /* litt side-luft til teksten */
  }
}

/* Ekstra justering for veldig smale skjermer */
@media (max-width: 640px) {

  .hero h2 {
    font-size: 40px;
    line-height: 1.1;
  }

  .hero p {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------
   SMALERE BREDDE PÅ PORTFOLIO-DETALJ-SIDE
-------------------------------------------------------------- */

/* Hovedbredde på tekstinnhold */
#portfolio-details .container {
  max-width: 880px;     /* juster 760–960px etter smak */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Gjør kun hero-bildet fullbredde – ikke resten */
#portfolio-details .project-hero-image {
  max-width: 100vw;
}

/* Juster innholdselementer som bruker content-wrapper */
#portfolio-details .content-wrapper {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobil – la alt bruke standard padding */
@media (max-width: 768px) {
  #portfolio-details .container,
  #portfolio-details .content-wrapper {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* --------------------------------------------------------------
   Portfolio-detaljside: H3 = brødtekststørrelse + bold
-------------------------------------------------------------- */

#portfolio-details h3 {
  font-family: var(--default-font); /* samme som brødtekst */
  font-weight: 700;                 /* bold */
  font-size: 1rem;                  /* 16px – juster hvis ønskelig */
  line-height: 1.5;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  color: var(--heading-color);
}
/* --------------------------------------------------------------
   "Hvorfor jeg tar med dette" – boks (lysere & mer subtil)
-------------------------------------------------------------- */

.why-portfolio-box {
  background: #f7f7f8;                /* litt lysere grå */
  border: 1px solid rgba(0,0,0,0.04); /* helt subtil ramme */
  padding: 24px 28px;
  border-radius: 12px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.why-portfolio-box h3 {
  font-size: 1rem;                    /* samme som brødtekst bold */
  font-weight: 600;
  font-style: italic;
