@charset "utf-8";
/* CSS Document */

/* ========================= */
/*        ROOT VARIABLER     */
/* ========================= */

:root {
  --bg-light: #ffffff;
  --blue-light: #e8f3ff;
  --blue-main: #2a6fb0; /* IKOM-blå */
  --accent: #f2b66d; /* varm brytfärg */
   --text-main: #2a3a4a;
  --text-muted: #6b7280;
  --border-soft: #dde5f0;
  --radius: 10px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* ========================= */
/*        PAGE CONTAINER     */
/* ========================= */

.page-container {
  max-width: 1600px;
  margin: 1rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e8f3ff;
  box-shadow: 0 18px 38px rgba(42, 111, 176, 0.08);
  overflow: visible;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #f7f9fc;
}

/* ========================= */
/*           HEADER          */
/* ========================= */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  overflow: visible;
  position: relative;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  max-height: 50px;
}

.logo-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-main);
  letter-spacing: 0.5px;
}
.logo-link {
  display: inline-block; /* eller block om du vill */
  text-decoration: none!important;
  color: inherit;
}


/* ========================= */
/*   UNDERSIDOR – HEADER     */
/* ========================= */
.subpage .site-header,
.behandling .site-header {
  background: linear-gradient(
    to right,
    rgba(42,111,176,0.15),
    #ffffff
  );
  border-bottom: 1px solid rgba(42,111,176,0.25);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 16px 16px 0 0;
}

/* ========================= */
/*         NAVIGATION        */
/* ========================= */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--blue-main);
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

/* DROPDOWN */

.has-dropdown {
  position: relative;
  z-index: 9999;
}

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-light);
  box-shadow: var(--shadow-soft);
  padding: 0.6rem 0;
  border-radius: 8px;
  min-width: max-content;
  padding-right: 1rem;
  z-index: 9999;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-main);
}

.dropdown a:hover {
  background: var(--blue-light);
}

/* ========================= */
/*         HAMBURGER         */
/* ========================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--blue-main);
  border-radius: 3px;
  transition: 0.3s ease;
}

/* ========================= */
/*        MOBILMENY          */
/* ========================= */

@media (max-width: 900px) {

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    right: 20px;
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    z-index: 100;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav a {
    color: #ffffff;
  }

  .has-dropdown .dropdown {
    display: none;
    position: static;
    background: #2a2a2a;
    padding: 0.5rem 0;
    border-radius: 8px;
    margin-top: 0.5rem;
  }

  .dropdown a {
    color: #ffffff;
    padding: 0.6rem 1rem;
  }

  .dropdown a:hover {
    background: #333333;
  }

  .has-dropdown:hover .dropdown {
    display: block;
  }

  .hamburger {
    display: flex;
  }
}

/* ========================= */
/*       UNDERSIDA LAYOUT    */
/* ========================= */

.subpage-content {
  margin-top: 2rem;
}

.subpage-heading {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--blue-main);
}

.subpage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2rem 0;
}

.subpage-text h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: var(--blue-main);
}

.subpage-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.subpage-image img {
  width: 100%;
  /*max-width: 380px; /* ← begränsar bredden */
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  object-fit: cover;
  display: flex; justify-content: center;
}





/*test
.subpage-image img {
    width: 100%;
    height: auto;
    display: block;
}
*/




@media (max-width: 900px) {
  .subpage-layout {
    grid-template-columns: 1fr;
  }

  .subpage-image img {
    margin-top: 1rem;
  }
}
/* ========================= */
/*       BEHANDLING CSS      */
/* ========================= */


.behandling .subpage-content {
  margin-top: 2rem;
  max-width: 1280px; /* ← lite bredare, mer luft */ 
  margin: 2rem auto;   /* ← centrerar allt */
  padding: 0 1rem;     /* ← lite luft på sidorna */
}



.behandling .subpage-heading {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--blue-main);
}

.behandling .subpage-layout {
  display: grid;
  padding-left: 1rem; /* ← ger lite luft på vänstersidan också */
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
  
}

.behandling .subpage-text {
  max-width: 700px;
}

.behandling .subpage-image {
  display: flex;
  justify-content: center;   /* ← mitt i kolumnen */
  padding-right: 0.5rem;     /* ← liten knuff åt höger */
}


.behandling .subpage-image img {
  max-width: 260px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  object-fit: cover;
}

.behandling .treatment-subheading {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: var(--blue-main);
}

.behandling .treatment-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.behandling .treatment-list li {
  background: var(--bg-light);
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  border-left: 4px solid var(--blue-main);
  font-size: 1.05rem;
}

/*==========Knapp från om sidan============*/
.cta-link {
  display: inline-block;
  margin-top: 1.2rem;
  background: var(--blue-main);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: 0.2s ease-out;
}

.cta-link:hover {
  background: #1f5688;
  transform: translateY(-2px);
}
/*==========================*/

@media (max-width: 900px) {
  .behandling .subpage-layout {
    grid-template-columns: 1fr;
  }

  .behandling .subpage-image {
    justify-content: center;
    margin-top: 2rem;
  }

  .behandling .subpage-image img {
    max-width: 100%;
  }
}


/*=======================*/
/* Behandlingar =========*/
/*=======================*/
.treatment-subheading { margin-top: 2.5rem; font-size: 1.5rem; color: var(--blue-main); }
.treatment-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.treatment-list li {
  background: var(--bg-light);
  padding: 1.6rem 1.8rem;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-left: 5px solid var(--blue-main);
}

.treatment-list h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  color: var(--blue-main);
}

.treatment-list p {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
}

.read-more {
  font-weight: 600;
  color: var(--blue-main);
  text-decoration: none;
  transition: 0.2s ease;
}

.read-more:hover {
  color: #1f5688;
  padding-left: 4px;
}

/*FOT****/
.site-footer {
  background: #f5faff;
  padding: 3rem 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid #d0e0f5;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  margin-bottom: 0.5rem;
  color: #003366;
  font-size: 1.1rem;
}

.footer-col p {
  margin: 0.2rem 0;
  color: #003366;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.social-icon svg {
  width: 28px;
  height: 28px;
  fill: #003366;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover svg {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: #003366;
  font-size: 0.9rem;
}

/* Mobil */
@media (max-width: 800px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}






@media (max-width: 900px) {

  .behandling .subpage-content {
    padding: 0 1rem;
    margin-top: 1rem;
  }

  .behandling .subpage-layout {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 1.5rem;
  }

  .behandling .subpage-image {
    justify-content: center;
    padding-right: 0;
  }

  .behandling .subpage-image img {
    max-width: 100%;
  }
}
/* ========================= */
/*   GEMENSAM UNDERSIDA      */
/* ========================= */

.undersida .page-container {
  max-width: 1600px;
  margin: 1.5rem auto;
  padding: 2rem;
}

.undersida .site-header {
  background: linear-gradient(to right, rgba(42,111,176,0.15), #ffffff);
  border-bottom: 1px solid rgba(42,111,176,0.25);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 16px 16px 0 0;
}

.undersida .subpage-content {
  margin-top: 2rem;
}

.undersida .subpage-heading {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  color: var(--blue-main);
}

.undersida .subpage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .undersida .subpage-layout {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/*     STEG-FÖR-STEG         */
/* ========================= */

.steps-section {
  margin: 3rem 0;
}

.steps-section h2 {
  font-size: 1.6rem;
  color: var(--blue-main);
  margin-bottom: 1.5rem;
}

.steps-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.step-box {
  background: var(--bg-light);
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-left: 5px solid var(--blue-main);
}

.step-box h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  color: var(--blue-main);
}

.step-box p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .steps-list {
    grid-template-columns: 1fr;
  }
}
h1, h2, h3 {
  letter-spacing: 0.2px;
  font-weight: 600;
  color: #2a3a4a; /* mjukare blågrå ton */
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.contact-box h2 {
  margin-top: 0;
  color: var(--blue-main);
}

.contact-info {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(42,111,176,0.2);
}

.contact-info h3 {
  margin: 0 0 0.4rem;
  color: var(--blue-main);
}

.contact-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
  object-fit: cover;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-image img {
    height: auto;
  }
}

/***Föreläsningar***********/
/***************************/
.lecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.lecture-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.lecture-box h2 {
  margin-top: 0;
  color: var(--blue-main);
}

.lecture-buttons {
  margin-top: 1.5rem;
}

.lecture-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
  object-fit: cover;
}
.lecture-image {
  max-width: 500px;
  margin: 0 auto; /* centrerar */
}


/* Kommande föreläsningar */
.upcoming-lectures {
  margin-top: 3rem;
}

.upcoming-lectures h2 {
  color: var(--blue-main);
  margin-bottom: 1rem;
}

.upcoming-list {
  display: grid;
  gap: 1rem;
}

.upcoming-item {
  background: #ffffff;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  border-left: 4px solid var(--blue-main);
}

.upcoming-item h3 {
  margin: 0 0 0.3rem;
  color: var(--blue-main);
}

/* Mobilanpassning */
@media (max-width: 900px) {
  .lecture-grid {
    grid-template-columns: 1fr;
  }

  .lecture-image img {
    height: auto;
  }
}
/*Kontaktformulär*/
.contact-form-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  margin-top: 2rem;
}

.contact-form-box h2 {
  margin-top: 0;
  color: var(--blue-main);
}

.contact-form-box form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-box label {
  font-weight: 600;
  color: var(--text-main);
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(42,111,176,0.25);
  font-size: 1rem;
  font-family: inherit;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  outline: none;
  border-color: var(--blue-main);
  box-shadow: 0 0 0 3px rgba(42,111,176,0.15);
}
.maps-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.map-box {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.map-box h3 {
  margin-top: 0;
  color: var(--blue-main);
}

.map-box iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
  margin-top: 0.8rem;
}

/* Mobil */
@media (max-width: 900px) {
  .maps-section {
    grid-template-columns: 1fr;
  }
}

/*****test*
.undersida {
  outline: 3px solid red;
}

.page-container {
  outline: 3px solid blue;
}
*/