
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*FADE IN FUNKTION*/

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s ease, transform 1.4s ease;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*FADE IN FUNKTION*/

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #1a1a1a;
    color: white;
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #ccc;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title h1 {
    font-family: 'Cormorant Garamond', serif; /* lägg till denna rad */
    font-size: 3.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 300;
}


.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.employees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.employee-card {
    font-family: 'Cormorant Garamond', serif; /* lägg till denna rad */
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.employee-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.employee-image {
    width: 100%;
    height: 250px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}




.employee-info {
    padding: 1.5rem;
}

.employee-name {
    font-family: 'Cormorant Garamond', serif; /* lägg till denna rad */
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.employee-title2 {
    font-family: 'Cormorant Garamond', serif; /* lägg till denna rad */
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}


.textbold {
    font-family: 'Cormorant Garamond', serif; /* lägg till denna rad */
    color: #000000;
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}


.employee-practice {
    font-family: 'Cormorant Garamond', serif; /* lägg till denna rad */
    color: #151515;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.employee-contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item {
    color: #666;
    font-size: 0.85rem;
    text-decoration: none;
}

.contact-item:hover {
    color: #1a1a1a;
}

.stats {
    background-color: #f8f8f8;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.stats-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}


/*SVART LOGGA*/
.dark-logo {
    content: url('logosvart.png');
  }

  
/*IMPORT FRPÅN STARTSIDAN FÖR ATT FIXA MENYN PÅ MEDARBETARE*/
  .logo-img {

    height: 100px; /* tidigare 80px */
    object-fit: contain;
    transition: filter 0.3s ease;
  }


  /* MENY */   /* MENY */   /* MENY */   /* MENY */   /* MENY */   /* MENY */

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    max-width: 100%;
    margin: 0; /* ta bort centrerande auto-marginal */
  }
  .logo {
  
    margin-left: 20px;
  }
  
  .logo-img {
  
      height: 130px; /* tidigare 80px */
      object-fit: contain;
      transition: filter 0.3s ease;
    }
  
  
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .lang-switch,
  .search {
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif; /* lägg till denna rad */
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 20px; /* ny rad – öka storleken */
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;   /* tidigare 24px */
    height: 20px;  /* tidigare 18px */
    cursor: pointer;
  }
  
  .hamburger span {
    height: 3px;   /* tidigare 2px */
    width: 100%;
    background-color: black;
    transition: background 0.3s ease;
  }
  
  
  /* === DROPDOWN MENY === */
  .dropdown-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #004900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1001;
  
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  
  .dropdown-menu a {
    color: white;
    font-size: 30px;
    padding: 20px;
    text-decoration: none;
    transition: transform 0.2s ease;
  }
  
  .dropdown-menu a:hover {
    transform: scale(1.05);
  }
  
  .dropdown-menu.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
  
  /* Stängknapp */
  .close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    color: white;
    font-size: 32px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 1002;
  }
  
  .close-btn:hover {
    transform: scale(1.2);
  }
  
  /* NAVBAR FÄRGVÄXLING */
  .top-nav.light-nav .lang-switch,
  .top-nav.light-nav .search {
    color: black;
  }
  
  .top-nav.light-nav .hamburger span {
    background: black;
  }
  
  .top-nav.dark-nav .lang-switch,
  .top-nav.dark-nav .search {
    color: black;
  }
  
  .top-nav.dark-nav .hamburger span {
    background: black;
  }
  
  .fullscreen-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .page-title h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.1rem;
}

.page-title h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px; /* 🔍 thinner line */
    background-color: black;
    margin: 0 auto;
    margin-top: 0.1rem;
}


.employee-details {
  margin-bottom: 1rem;
}

/* JURIST TEXTE*/

.employee-role {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.3rem;
  font-family: 'Cormorant Garamond', serif;
}

.minihead {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.3rem;
  font-family: 'Cormorant Garamond', serif;
  margin-top: 15px;
}


/* ALLMÄN beskrivning*/
.employee-resume {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
}

.employee-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.employee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}



/*===Fotter ==*/


.site-footer {
  width: 100vw;
  background-color: black;
  color: white;
  text-align: center;
  padding: 42px 0 28px 0;
  margin-left: -50vw;
  left: 50%;
  position: relative;
  box-sizing: border-box;
  overflow-x: hidden;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  min-height: 110px;
  box-sizing: border-box;
}

.footer-info.centered {
  flex: 1 1 100%;
  text-align: center;
  z-index: 1;
  font-size: 1.18rem;
  font-family: 'Cormorant Garamond', serif;
}

.footer-info.centered p {
  margin: 0 0 22px 0;      /* Större mellanrum mellan raderna! */
  line-height: 1.34;
}

.footer-info.centered p:last-child {
  margin-bottom: 0;
}

.partner-section {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.partner-text {
  margin-bottom: 10px;
  font-size: 1.09rem;
  align-self: flex-start;      /* Tryck ut texten till vänster */
        /* Flytta texten lite till vänster – justera värdet för mer/mindre! */
}

.partner-row {
  display: flex;
  align-items: center;
  gap: 80px;    /* Luft mellan logga och LinkedIn */
  font-family: 'Cormorant Garamond', serif;

}

.partner-logo {
  max-width: 110px;
  height: auto;
  display: block;
  margin-bottom: 0;
}

.linkedin-icon {
  display: block;
}

.linkedin-logo {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.linkedin-logo:hover {
  opacity: 0.7;
}

/* RESPONSIVITET */
@media (max-width: 800px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    max-width: 100vw;
    min-height: unset;
  }
  .footer-info.centered {
    text-align: center;
    font-size: 1rem;
  }
  .partner-section {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: center;
    margin-top: 22px;
    text-align: center;
  }
  .partner-row {
    gap: 7px;
  }
  .partner-logo {
    max-width: 70px;
  }
  .linkedin-logo {
    width: 19px;
    height: 19px;
  }
}






    /* MENY */   /* MENY */   /* MENY */   /* MENY */   /* MENY */

/* MOBIL*/

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .employees-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .stats-content {
        gap: 2rem;
    }
}
