:root {
  /* Primära färger */
  --color-black: #000000;
  --color-dark: #282828;
  --color-sand: #8F7D5A;
  --color-light: #E3E1DD;
  --color-white: #ffffff;

  /* Supportfärger */
  --color-accent: #81B89A;
  --color-purple: #D778F4;
  --color-blue: #6DBBEF;
  --color-pink: #FF2D72;
  --color-yellow: #FFF27A;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-light);
  color: var(--color-dark);
  margin: 0;
  padding: 0;
}

/* HEADER / NAVIGATION */

.header-section {
  position: sticky;
  top: 0;
  z-index: 1030; /* högre än modals och annat */
  background-color: var(--color-dark);
}

.header-section .nav-link {
  color: #ffffff !important;
  font-weight: 500;
}

.header-section .nav-link:hover,
.header-section .nav-link.active {
  color: var(--color-accent) !important;
 
}

.navbar-light .navbar-nav .nav-link {
  color: #ffffff !important;
}

.header-section .row {
  align-items: center;
}

@media (max-width: 991.98px) {
  .header-section .logo img {
    max-height: 48px;
  }

  .header-section .btn {
    margin-top: 0;
    padding: 0.4rem 0.6rem;
    font-size: 1.25rem;
  }
  

  .header-section .d-lg-none {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
  }

  #mobileMenu {
    display: none;
  }

  #mobileMenu.show {
    display: block;
  }

}

@media (max-width: 576px) {
  .hero-section {
    min-height: 75vh; /* ev. kortare sektion på små skärmar */
  }

  .hs-text {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  

  .hero-section .container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 75vh;
  }
}


/* HERO SECTION */
.hero-section {
  position: relative;
  background: url('img/hero-bg.png') center center / cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
}


.hero-section .container {
  position: relative;
  z-index: 2;
}

.hs-text h2,
.hs-text p {
  color: #fff !important;
}

.hs-text span {
 color: var(--color-dark) !important;
}

.hero-section a {
  color: #fff !important;
  text-decoration: none !important;
}

.hero-section a:hover {
  text-decoration: underline !important;
}

/* HERO BUTTON */
.btn-neyabtn {
  background-color: #282828 !important;
  color: #fff !important;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 0 !important;
  display: inline-block;
  text-transform: none;
  transition: background-color 0.3s ease;
  text-decoration: none !important;
}
.btn-neyabtn:hover {
  background-color: #000 !important;
  color: #fff !important;
}

/* ACCENT TEXT */
.text-accent {
  color: var(--color-accent);
}

.text-root-highlight {
  color: var(--color-accent);
}

/* SERVICES / CARDS */
.services-section {
  background-color: var(--color-light);
}

.card {
  border-radius: 0px;
  transition: transform 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
}

/* FOOTER */
footer {
  font-size: 14px;
}
/* RUBRIKSTEXT STORLEK FÖR MOBIL */
h1, .display-1,
h2, .display-2,
h3, .display-3 {
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 575.98px) {
  h1, .display-1 {
    font-size: 3.0rem;
  }
  h2, .display-2 {
    font-size: 2.8rem;
  }
  h3, .display-3 {
    font-size: 2.5rem;
  }
}
@media (max-width: 575.98px) {
  .display-5 {
    font-size: 3rem;
  }
}

/* Modal styling */
.modal-content {
  background-color: var(--color-light);
  border-radius: 0 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: none;
  padding: 2rem;
}

.modal-header .modal-title {
  font-size: 1.6rem;
  color: var(--color-dark);
  font-weight: 700;
}

.modal-body p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--color-dark);
}

.modal-body ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.modal-body ul li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--color-dark);
}

.btn-close {
  background-color: transparent;
  opacity: 1;
  filter: invert(1); /* gör stäng-knappen vit */
}

/* ABOUT */
.neyalet {
color: var(--color-black);
  display: inline-block;
  text-decoration: underline !important;
}

