*{
    text-decoration: none;
    
}
body {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    text-align: center;
}
html{
    scroll-behavior: smooth;
}

header{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    margin-top: 130px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}
.logo a{
    color: black;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links li {
    display: inline;
}
.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 500;
}
.contact-btn {
    background-color: #ff7f50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    margin-inline: 10px;
}


.wrapper{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    width: 95%;
    margin-top: 100px;
}

.wrapper-left{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.wrapper-middle{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.wrapper-right{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.wrapper div{
    margin-top: 30px;
}
/* Ensure all product boxes have the same size */
.produkt {
    width: 300px; /* Set a fixed width */
    height: 480px; /* Set a fixed height */
    border: 2px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    overflow: hidden;
}

/* Ensure the image takes up a fixed space */
.produkt img {
    width: 100%;
    height: 250px; /* Set a fixed height */
    object-fit: cover; /* Ensures the image scales properly */
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px 15px 0 0;
}
.produkt img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.produkt img:active {
    transform: scale(0.95);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Ensure the title does not expand */
.produkt h1 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." if the title is too long */
}

/* Ensure the description doesn't expand */
.produkt p {
    font-size: 14px;
    color: lightgray;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limits text to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    padding: 0 10px; /* Adds padding to keep text balanced */
}

/* Keep the button at the bottom */
.wrapper-button {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: none;
    background-color: #426e8b;
    color: white;
    margin-top: auto;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}
.wrapper-button:hover{
    background-color: #2c4b81;
    color: #000000;
}
.wrapper-button:active{
    background-color: #3c69b7;
    color: #fff;
}
.back-button {
    background: #4A5568;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 50%; /* Makes it a circle */
    cursor: pointer;
    font-size: 18px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease-in-out;
}

.back-button:hover {
    background: #2D3748;
}


/* ======= General Modal Styling ======= */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Darkened background */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Adds a blur effect */
    transition: opacity 0.3s ease-in-out;
}

/* ======= Modal Content Styling ======= */
.modal-content {
    display: flex;
    background: rgba(255, 255, 255, 0.15); /* Glassmorphism effect */
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    width: 60%;
    max-width: 800px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

/* ======= Animation for Modal Opening ======= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======= Image Styling ======= */
.modal-image {
    width: 40%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.modal-image:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* ======= Text Content Styling ======= */
.modal-text {
    width: 60%;
    color: white;
}

.modal-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.modal-text p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

/* ======= Close Button Styling ======= */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    transition: transform 0.2s ease-in-out;
}

.close:hover {
    transform: scale(1.2);
}
@media (max-width: 768px) {
    .wrapper {
      grid-template-columns: 1fr; /* 1 column for smaller screens */
      width: 90%;
    }
    .navbar{
        width: 100%;
        flex-direction: column;
       
    }
  }

  .back-button {
    background: #4A5568;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease-in-out;
}

.back-button:hover {
    background: #2D3748;
}
/* Align language switcher inside navbar */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 20px; /* Adjust spacing */
}

/* Style for flag icons */
.lang-flag {
    width: 28px; /* Adjust flag size */
    height: 28px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.3s;
    border-radius: 50%; /* Makes the flags circular */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.lang-flag:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Highlight the active language */
.lang-flag.active {
    border: 2px solid #ff7f50;
}




  
  /* Base styling */
/* Main styling remains the same */
/* Base layout */
/* Base header */
/* === Header container === */
.header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* === Top navbar bar (logo + hamburger) === */
  .navbar-top {
    width: 90%;
    max-width: 1200px;
    background: white;
    border-radius: 20px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  /* Hamburger */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .hamburger span {
    width: 25px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
    transition: 0.3s;
  }
  
  /* Nav links, flags, socials (dropdown) */
  .navbar-items {
    width: 100%;
    max-width: 1200px;
    background: white;
    margin-top: 100px;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    gap: 20px;
  }
  
  /* Show on toggle */
  .navbar-items.active {
    max-height: 600px;
    opacity: 1;
    padding: 20px 0;
  }
  
  /* Links list */
  .nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: black;
    font-weight: 500;
  }
  
  /* Flags */
  .custom-translate {
    display: flex;
    gap: 10px;
  }
  .lang-flag {
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }
  
  /* Social */
  .social-icons {
    display: flex;
    gap: 15px;
  }
  .social-icons a {
    color: black;
    font-size: 20px;
  }
  
  /* Responsive trigger */
  @media (max-width: 980px) {
    .hamburger {
      display: flex;
    }
  }
  



  
  nav {
    background: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 100px 0;
    font-family: 'Segoe UI', sans-serif;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  nav .logo {
    color: #111;
    font-size: 28px;
    font-weight: bold;
  }
  
  nav .nav-items {
    display: flex;
    flex: 1;
    padding: 0 0 0 40px;
  }
  
  nav .nav-items li {
    list-style: none;
    padding: 0 15px;
  }
  
  nav .nav-items li a {
    color: #111;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
  }
  
  nav .nav-items li a:hover {
    color: #f0835a;
  }
  
  nav .menu-icon,
  nav .cancel-icon {
    font-size: 20px;
    color: #111;
    cursor: pointer;
    display: none;
    padding: 0 20px;
  }
  
  /* ========== Responsive ========== */
  @media (max-width: 1140px) {
    nav {
      padding: 0 20px;
    }
  
    nav .logo {
      flex: 1;
      text-align: center;
    }
  
    nav .nav-items {
      position: fixed;
      top: 70px;
      left: -100%;
      width: 100%;
      height: 100vh;
      background: #ffffff;
      text-align: center;
      display: inline-block;
      transition: left 0.3s ease;
      z-index: 98;
      padding-top: 50px;
    }
  
    nav .nav-items.active {
      left: 0;
    }
  
    nav .nav-items li {
      margin: 25px 0;
    }
  
    nav .menu-icon {
      display: block;
    }
  
    nav .menu-icon span {
      display: block;
    }
  
    nav .cancel-icon {
      display: none;
    }
  
    nav .cancel-icon.show {
      display: block;
    }
  }

  .cancel-icon {
    display: none;
    font-size: 24px;
    color: #111;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1000;
  }
  
  .cancel-icon.show {
    display: block;
  }
  

  .menu-icon.open span {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }


  /* Desktop styles - apply only when screen is wider than 980px */
@media (min-width: 981px) {
    nav {
      background: white;
      padding: 15px 50px;
      height: auto;
      justify-content: space-between;
      align-items: center;
      border-radius: 20px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 1200px;
      z-index: 999;
    }
  
    nav .logo {
      font-size: 24px;
      font-weight: 700;
    }
  
    nav .nav-items {
      display: flex;
      flex: 1;
      justify-content: center;
      padding-left: 20px;
      padding-top: 0;
      position: static;
      height: auto;
      background: transparent;
    }
  
    nav .nav-items li {
      margin: 0 15px;
      list-style: none;
    }
  
    nav .nav-items li a {
      color: black;
      font-size: 16px;
      text-decoration: none;
      font-weight: 500;
    }
  
    /* Hide hamburger icon on desktop */
    .menu-icon {
      display: none !important;
    }
  }
  
  @media (max-width: 980px) {
    nav .nav-items {
      position: fixed;
      top: 70px;
      left: -150%;
      width: 100vw;
      height: 100vh;
      background: white;
      transition: left 0.3s ease;
      z-index: 998;
      padding-top: 50px;
      overflow-x: hidden;
      display: inline-block;
      text-align: center;
    }
  
    nav .nav-items.active {
      left: 0;
    }
  }
  
  
  .nav-items ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .nav-items ul li a {
    color: #111;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
  }
  
  .nav-items ul li a:hover {
    color: #f0835a;
  }
  
  @media (max-width: 980px) {
    .nav-items ul {
      flex-direction: column;
      gap: 30px; /* optional spacing between items */
      padding: 0;
      margin: 0;
    }
  
    .nav-items ul li {
      list-style: none;
    }
  
    .nav-items ul li a {
      font-size: 20px;
      color: black;
      text-decoration: none;
      font-weight: 500;
    }
  }
  

  #particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  body {
    margin: 0;
    overflow-x: hidden;
    background-color: #1b1c0f;  
  }
  