/* ÆNDRING */

:root {
    --bs-primary: #1aabdb;
    --bs-primary-rgb: 26, 171, 219;
    --bs-primary-light: #66c9e7;
    --bs-primary-dark: #1494bd;
    --bs-secondary: #000000;
    --bs-secondary-rgb: 0, 0, 0;
    --bs-black: #000000;
    --bs-white: #ffffff;
    --bs-light: #f8f8f8;
    --bs-light-rgb: 248, 248, 248;
    --bs-dark: #e9e3dd;
    --bs-dark-rgb: 245, 241, 237;
    --bs-success: #28a745;
    --bs-success-light: #6fda8c;
    --bs-success-dark: #218838;
    --bs-info: #17a2b8;
    --bs-info-light: #66d0dc;
    --bs-info-dark: #117a8b;
    --bs-warning: #ffc107;
    --bs-warning-light: #ffd75a;
    --bs-warning-dark: #e0a800;
    --bs-danger: #dc3545;
    --bs-danger-light: #f27882;
    --bs-danger-dark: #bd2130;
    --bg-dark: #e9e3dd;
    --bg-dark-rgb: 233, 227, 221; 
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bg-dark-rgb), var(--bs-bg-opacity)) !important;
}


.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--bs-primary-dark);
  border-color: var(--bs-primary-dark);
}

.btn-secondary {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: var(--bs-white);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #333333;
  border-color: #333333;
}

.bg-primary-light {
  background-color: var(--bs-primary-light) !important;
}

.bg-primary-dark {
  background-color: var(--bs-primary-dark) !important;
}

.text-primary-dark {
  color: var(--bs-primary-dark) !important;
}

a {
  color: #1aabdb;
  text-decoration: none;
}

a:hover {
  color: #1494bd;
  font-weight: bold;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: #1494bd;
  font-weight: bold;
}

.dropdown-item.active, .dropdown-item:active {
  color: #ffffff;
  background-color: #1aabdb;
}

/* Gør alle hovedmenu punkter til store bogstaver */

.navbar-nav > .nav-item > .nav-link {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Gør dropdown og mobil-undermenu links til normal tekst */

.dropdown-menu .dropdown-item, .navbar-nav .nav-item.d-md-none a.nav-link {
  text-transform: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26,171,219,0.4);
}

/* Lysere baggrund + rundede hjørner */

.kontakt-section {
  background: linear-gradient(115deg, rgba(255,255,255,0.25), rgba(245,245,250,0.25)), url('../../../assets/img/Lyngemetoden-mt/lm-team.webp') center/cover no-repeat;
  color: #111;
  padding: 80px 0;
  position: relative;
  border-radius: 1.5rem;
}

/* Svævende glaskort med lysere effekt */

.glass-card {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: 1.5rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

/* Inputfelter med lysere liquid glass stil */

.glass-input {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #111;
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.glass-input::placeholder {
  color: rgba(0, 0, 0, 0.55);
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.35);
  border-color: #1aabdb;
  box-shadow: 0 0 15px rgba(26, 171, 219, 0.35);
  outline: none;
}

/* Knap med lysere gradient */

.btn-primary {
  background: linear-gradient(135deg, #1aabdb, #8fdfff);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,171,219,0.4);
}

/* =======================   Pris-sektion samlet CSS   ======================= */

/* Overlay/Glass effekt på kortene */

.pris-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Knapper i kortene */

.pris-card .btn {
  margin-left: 1rem;
  margin-right: 1rem;
}

/* Overskrift og tekstjustering */

.pris-card h4, .pris-card h6, .pris-card p, .pris-card ul {
  text-align: left;
}

/* Liste ikoner */

.pris-card .bs-icon {
  flex-shrink: 0;
}

/* Margin mellem sektionens kant og yderste kort */

.pris-card-container {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Responsiv: på mobil flugter teksten stadig */

@media (max-width: 767px) {
  .pris-card h4, .pris-card h6, .pris-card p, .pris-card ul {
    text-align: left;
  }
}

/* Pris-sektion hover effekt */

.pris-card {
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pris-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Ensartet styling for punktopstillinger */

.pris-card ul li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ffffff;
}

/* Knappen centreret og med fast bredde */

.pris-card .btn {
  min-width: 60%;
  text-align: center;
}

/* Responsivt - sikrer korrekt spacing mellem kolonner på mindre skærme */

@media (max-width: 767px) {
  .pris-card {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Overskrifter og priser i priskort */

.pris-card h4, .pris-card h6, .pris-card p, .pris-card span {
  color: #ffffff !important;
}

/* Tilføjer ekstra spacing under kontakt-sektionen kun på mobil */

@media (max-width: 767px) {
  .kontakt-section {
    margin-bottom: 3rem;
  }
}

/* Kontakt-sektion overskrift */

.kontakt-section h2 {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

/* Kontakt-sektion undertekst */

.kontakt-section p {
  color: #f8f8f8;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}

/* Optional: overlay bag baggrundsbilledet */

.kontakt-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25);
  z-index: 0;
  border-radius: inherit;
}

.kontakt-section .container-fluid, .kontakt-section .row {
  position: relative;
  z-index: 1;
}

/* Stil kun overskriften "KOM I GANG / Køb 7 måneder..." */

#pris .header-text {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
}

/* Tilføj evt. lidt spacing på mobil */

@media (max-width: 767px) {
  #pris .header-text h2 {
    font-size: 2rem;
  }
}

.kontakt-section {
  position: relative;
  background: url('../../../assets/img/Lyngemetoden-mt/lm-team-light.webp') no-repeat center center;
  background-size: cover;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding: 4rem 0;
}

.free-trial-section {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Baggrundsanimation med mørkere farver */

.free-trial-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, #d9c4aa, #1581a0, #d9c4aa, #1581a0);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  z-index: 0;
}

/* Mørkt overlay over gradient for bedre kontrast */

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* Frosted glass form */

.free-trial-section .glass-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.free-trial-section .glass-card:hover {
  transform: translateY(-5px);
}

/* Overskrift og tekst */

.free-trial-section h2, .free-trial-section p {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Formular felter */

.free-trial-section .glass-input {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1rem;
  color: #fff;
  transition: all 0.3s ease;
  width: 100%;
}

.free-trial-section .glass-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.free-trial-section .glass-input:focus {
  background: rgba(255,255,255,0.3);
  outline: none;
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

/* Knappen */

.free-trial-section .btn-primary {
  background-color: #1aabdb;
  border-color: #1aabdb;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.free-trial-section .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(26,171,219,0.4);
}

/* Billedet */

/* Gradient animation keyframes */

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsivt */

@media (max-width: 767px) {
  .free-trial-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 767px) {
  .free-trial-section .row.align-items-center {
    flex-direction: column-reverse;
  }
}

/* Glass card */

/* Form inputs */

/* CTA button */

/* Image */

/* Headings */

.glass-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient( 120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 60%, rgba(255,255,255,0.1) 100% );
  transform: rotate(45deg) translateX(-100%);
  animation: subtle-shine 6s infinite linear;
  pointer-events: none;
}

@keyframes subtle-shine {
  0% {
    transform: rotate(45deg) translateX(-100%);
  }
  50% {
    transform: rotate(45deg) translateX(0%);
  }
  100% {
    transform: rotate(45deg) translateX(-100%);
  }
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Baggrunds-overlay med mild animation */

.mentaltraener-hero {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #F4EDE1 0%, #5B9BD5 100%);
  color: #111;
  overflow: hidden;
  animation: gradientMove 15s ease infinite alternate;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.mentaltraener-hero .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 0;
}

.mentaltraener-hero h1, .mentaltraener-hero p, .search-form {
  position: relative;
  z-index: 1;
}

/* Glass effect søgebar */

.glass-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.glass-card:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

/* Trainer cards med sandfarvet baggrund */

.trainer-card {
  background-color: #F4EDE1;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.trainer-card:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.trainer-card img {
  max-width: 100%;
  height: auto;
}

/* Search form hover */

.search-form:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* Responsive spacing */

@media (max-width: 768px) {
  .mentaltraener-hero, .results-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.glass-effect {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

/* ÆNDRING */

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
}

/* ÆNDRING */

.btn-primary:hover, .btn-primary:focus {
  color: #ffffff;
}

/* ÆNDRING */

footer .trustpilot-widget {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ÆNDRING */

/* Mentaltræner boks center top billede og behold boks ratio ved længere navn */

.mentaltraener-section .row > [class*='col-'] {
  display: flex;
}

/* ÆNDRING */

.mentaltraener-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

/* ÆNDRING */

.mentaltraener-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
}

.pris-card {
    background: rgba(0,0,0,0.25);
}

    .pris-card h4, .pris-card h6, .pris-card span {
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }

.btn-glass-sand {
    background: rgba(222, 205, 185, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(222, 205, 185, 0.5);
    color: #3a2f25;
    font-weight: 600;
    transition: all 0.3s ease;
}