body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #222;
  }
  
  .header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .logo {
    max-width: 250px;
    height: auto;
    margin-left: 5rem; 
  }

  
  .contact-info-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 1rem;
    box-sizing: border-box;
  }
  
  .contact-info {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    font-weight: 300;
    text-align: left;
    max-width: 100%;
    padding-right: 1rem;
    box-sizing: border-box;
  }
  
  .navbar {
    background-color: #333; /* solid green */
    width: 100%;
    padding-bottom: 0.1rem;
  }
  
  /* Header bar: contains only the hamburger */
  .navbar-header {
    display: flex;
    justify-content: flex-start; /* or flex-end if you want the button on the right */
    align-items: center;
    padding: 0.1rem;
  }
  
  /* Hide menu by default */
  .navbar ul {
    display: none;
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #333; /* match background */
    width: 100%;
  }
  
  /* Show menu on open */
  .navbar.open ul {
    display: flex;
  }
  
  /* Menu links */
  .navbar ul li a {
    color: white;
    text-decoration: none;
    padding: 1rem;
    display: block;
    font-size: 1rem;
    font-weight: 500;
  }
  
  /* Hamburger button */
  .menu-toggle {
    font-size: 2.0rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.2rem 1rem;
  }


.about-container {
    width: 100%;
    padding: 0 1.5rem;
    margin: 60px auto 150px auto;
    box-sizing: border-box;
  }
  
  .main-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 80px 0;
    color: #1a1a1a;
  }
  
  .about-section {
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
    padding-left: 12px;
    border-left: 4px solid #4a90e2;
  }
  
  .section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    padding-left: 12px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }




.footer {
    background-color: #87ABFB;
    width: 100%;
    border-top: 2px solid #000;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    margin-top: 50px;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer .adresa-contact-text,
  .footer .nav-text,
  .footer .tc-text {
    display: flex;
    flex-direction: column;
    font-weight: 300;
    color: #000;
  }
  
  .footer .adresa-contact-text li,
  .footer .nav-text li,
  .footer .tc-text li {
    margin-bottom: 10px;
  }
  
  .footer a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-family: sans-serif;
  }

  .footer .tc-text .widget-link {
    display: block;
    text-decoration: none;
    max-width: 220px;
    border: 2px solid #000;
    border-radius: 12px;
    background-color: #fff;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .footer .tc-text .widget img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
  }
  
  .rights-reserved {
    text-align: center;
    width: 100%;
    margin-top: 50px;
    font-size: 1rem;
    color: #000;
  }


  @media  (min-width: 1281px) {
  

    .navbar-header {
      display: none;
    }
  
    .navbar {
      background-color: #333;
      padding: 1rem 0;
    }
  
    .navbar ul {
      display: flex !important;
      flex-direction: row !important;
      justify-content: flex-start;
      flex-wrap: wrap;
      margin-left: 5%;
      padding: 0;
      list-style: none;
      
      width: 90%;         /* Optional: limits overflow */
      max-width: 100%;    /* Prevents spilling out */
      box-sizing: border-box;
    }
  
    .navbar ul li {
      margin: 0 15px;
    }
    
    .navbar ul li a {
      color: #fff;
      text-decoration: none;
      font-size: 1.1rem;
      padding: 10px 20px;
      transition: background-color 0.05s ease, border-radius 0.1s ease;
      display: inline-block;
      text-align: center; 
      white-space: normal;
      min-width: 90px;
    }
  
    .navbar ul li a:hover {
      background-color: #87ABFB;
      border-radius: 5px;
    }
  }



  @media (max-width: 768px) {
    .header {
      flex-direction: column;
      align-items: flex-start;
      padding: 1rem;
    }
  
    .logo {
      margin: 0 auto 1rem auto;
      max-width: 80%;
    }
  
    .contact-info-wrapper {
      justify-content: flex-start;
      padding-right: 0;
      width: 100%;
    }
  
    .contact-info {
      padding-right: 0;
      font-size: 1rem;
    }
  
    
    
  
    .footer {
      padding: 20px 20px;
    }
  
    .footer-content {
      flex-direction: column;
      gap: 20px;
    }
  
    .rights-reserved {
      font-size: 1rem;
    }
  }

  
  @media (max-width: 930px) {

  }
  

  @media (max-width: 400px) {
    
  
    /* Navbar links: reduce font size and padding to prevent wrapping */
    
  
    .main-title {
      font-size: 1.5rem;
      margin: 40px 0;
    }
  
    .section-title {
      font-size: 1.1rem;
    }
  
    .section-text {
      font-size: 0.9rem;
    }
  }
  



  @media (max-width: 768px) and (orientation: landscape) {
    

    .header {
      flex-direction: row;
      align-items: center;
      padding: 1rem;
    }
  
    .logo {
      max-width: 200px;
      margin-left: 1rem;
      margin-bottom: 0;
    }
  
    .contact-info-wrapper {
      justify-content: flex-end;
      padding-right: 1rem;
      width: auto;
    }
  
    .contact-info {
      font-size: 0.9rem;
      text-align: right;
    }
  }

  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222;
    color: white;
    display: none; /* default hidden */
    z-index: 9999;
    font-size: 0.9rem;
    box-sizing: border-box;
    width: 100%;
    padding: 1rem 0.75rem;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  
    /* For devices with safe areas (iPhone X, iPad Pro) */
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
  }
    
  
  .cookie-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    gap: 0.75rem;
  }
  
  #cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    width: 100%;
  }
  
  #accept-cookies, #refuse-cookies {
    background-color: #87ABFB;
    color: #000;
    border: none;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
  }
  
  
  
  /* Tablet and up: switch to row layout */
  @media (min-width: 600px) {
    .cookie-content {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }
  
    #accept-cookies,#refuse-cookies {
      width: auto;
    }
  }