/* Reset och bas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Open Sans', sans-serif;
    background-color: #fdfaf6;
    color: #2c2c2c;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(3px);
  }
  
  .logo {
    height: 80px;
  }
  
  .menu-toggle {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #2c2c2c;
  }
  
  nav {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    right: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
  }
  
  nav a {
    padding: 0.5rem 0;
    text-decoration: none;
    color: #2c2c2c;
    font-weight: bold;
    border-bottom: 1px solid #e6f1f4;
  }
  
  nav a:last-child {
    border-bottom: none;
  }
  
  nav.hidden {
    display: none;
  }
  
  .hero {
    position: relative;
    text-align: center;
  }
  
  .hero-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.95;
  }
  
  .hero-text {
    margin-top: 1rem;
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    color: #5b8ca6;
    text-shadow: none;
    background-color: transparent;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
  }
  
  .intro-text {
    text-align: center;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    color: #4a4a4a;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .link-button {
    font-weight: bold;
    color: #5b8ca6;
    text-decoration: none;
    border-bottom: 1px solid #5b8ca6;
    transition: 0.3s ease;
  }
  
  .link-button:hover {
    color: #3d647a;
    border-bottom-color: #3d647a;
  }
  

  .site-footer {
  background-color: #d0e5f0;
  color: #2c2c2c;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 2rem;
}

.footer-nav {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: #2c2c2c;
  text-decoration: none;
  margin: 0 0.3rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  nav a {
    border-bottom: none;
    margin-left: 1.5rem;
    font-size: 1rem;
  }

  .menu-toggle {
    display: none;
  }

  .hero-img {
    max-height: 500px;
    object-fit: cover;
    object-position: center;
  }

  .hero-text {
    font-size: 3.2rem;
    margin-top: 2.5rem;
  }

  .intro-text {
    font-size: 1.3rem;
    max-width: 800px;
    padding: 2rem 3rem;
    line-height: 1.8;
  }

  .logo {
    height: 100px;
  }

  .site-footer {
    padding: 2rem 1rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch; /* 🟢 Viktigt! Gör så att barn fyller hela höjden */
    text-align: left;
    gap: 1rem;
    height: 71vh;
    margin-top: 10%;
  }

  .hero-img {
    height: 100%;        /* 🟢 Nu kommer den fylla .hero */
    width: auto;
    max-width: none;     /* 🟢 Ta bort begränsning */
    flex-shrink: 0;      /* 🟢 Förhindra att den krymper */
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
  }

  .hero-text {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }

  .intro-text {
    font-size: 1.2rem;
    padding: 0;
  }
}
