
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}

a {
    color: #6F48CD
}
a:hover {
    color: #593AA4;
}
body {
  font-family: "Roboto Flex";
  line-height: 1.6;
  color: #333;
}
h1, h2, h3, h4 {
    font-family: "Merriweather";
}
p {
    font-size: 1.125rem;
}

ul, li {
    color: #000;
}
ul {
    margin: 1rem 2rem;
}

/* Hero */
.hero {
  background-image: linear-gradient(to right top, #000000, #1c0812, #2b0d22, #371036, #3e174f, #461e61, #4d2673, #522e87, #683393, #7e389e, #953da8, #ac41b1);
  color: white;
  padding: 8rem 0rem 4rem;
  text-align: left;
  position: relative;
}


.hero-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.hero-text h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;

}

.hero-image img {
  width: 100%;
  border-radius: 15px;
  mix-blend-mode: overlay;
  opacity: 0.9;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  transition: transform 0.4s ease, background 0.3s ease;
}


.navbar.hide {
  transform: translateY(-100%);
}


.navbar.show {
  transform: translateY(0);
}

.logo img{
  max-width: 120px;
  height: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #EFEDF2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #A991E1;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 17px;
  cursor: pointer;
  z-index: 1001; 
}

.hamburger span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}


.hero-content {
  margin-top: 2rem;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 2rem;
}

h2 {
    color: #22194C;
    font-size: 2.5rem;
    line-height: normal;
    padding-bottom: 1rem;
}

.btn {
  background: #6F48CD;
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
  margin: 0.5rem 0;
}

.btn:hover {
  background: #593AA4;
}

/* Tvåkolumnssektion */
.two-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 8rem 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.two-columns img {
  width: 100%;
  border-radius: 10px;
}

/* Sektion med bakgrundsfärg */
.colored-section {
  background-color: #EFEDF2;
  padding: 4rem 2rem;
}

.colored-section h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card h3 {
  margin-bottom: 0.75rem;
  color: #22194C;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  display: flex;
}
.material-symbols-outlined.icon {
  font-size: 1.5rem;       
  flex-shrink: 0;          
}

.card p {
  color: #000;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-info {
  display: flex;             
  align-items: center;      
  gap: 0.5rem;               
  font-size: 1rem;
}

.contact-info .icon {
  font-size: 1.2rem;     
  flex-shrink: 0;            
}

/* Footer */
footer {
  background-color: #0F0924;
  color: white;
  text-align: center;
  padding: 1.5rem;
}

footer .contact-info {
    justify-content: center;
  }
footer p{
font-size: 0.9rem;
align-items: center;
}

.copy {
    padding-top: 12px;
}

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

   .hero h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 1.8rem;
    }
   .card h3 {
        font-size: 1.2rem;
    }

        .hero-text {
        text-align: center;
        align-items: center;
    }

  .navbar {
    flex-direction: row;
    padding-left: 0;
    width: 100%;
  }

  .two-columns {
    grid-template-columns: 1fr;
    padding: 2rem 2rem;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: height 0.4s ease;
    z-index: 1000;
    margin: 0;
    
  }

   .nav-links.show {
    height: 100vh; 
  }
  .nav-links a {
    font-size: 2rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-content {
    grid-template-columns: 1fr; 
    text-align: center;
    padding: 0rem 1rem;
    gap: 0.1rem;
  }

   .card-grid {
    grid-template-columns: 1fr; 
  }
  .card {
    padding: 1rem 0;
  }
  .colored-section {
  padding: 4rem 1rem;
}

}
@media (min-width: 769px) {
  .nav-links .close-menu {
    display: none;
  }
}