@media (max-width: 1024px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }

  .benefits {
    flex-direction: column;
    align-items: center;
  }

  .wave-top {
    height: auto;
    overflow: hidden;
  }

  .wave-top svg {
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #0f0f1a;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 1rem;
    border: 2px solid #0070cc;
    border-radius: 10px;
    z-index: 999;
    min-width: 150px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a,
  .nav-links button {
    text-align: center;
    width: 100%;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    box-sizing: border-box;
    text-decoration: none;
  }

  .nav-links a:hover,
  .nav-links button:hover {
    background: #0070cc;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .naročnina,
  .pp {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 1rem auto;
  }

  .card {
    flex: 1 1 90%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .features {
    width: 90%;
    padding: 2rem 1rem;
  }

  .benefit-box {
    width: 90%;
  }

  .review-footer {
    flex-direction: column;
    gap: 1rem;
  }

.slider-container {
    width: 95%;
    margin: 2rem auto;
  }

  .ba-wrapper {
    display: none !important;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 3px solid #0070cc;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4/3;
  }

  .ba-wrapper.active {
    display: block !important;
  }

  .ba-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }

  .ba-img.after {
    position: relative;
    z-index: 1;
  }

  .ba-img.before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
  }

  .slider {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    height: 150%;
    cursor: ew-resize;
    opacity: 0;
    touch-action: none;
  }

  .slider-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    border: 2px solid #0070cc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }

  .slider-icon svg {
    width: 18px;
    height: 18px;
  }

  .wave-top {
    height: auto;
    overflow: hidden;
  }

  .wave-top svg {
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
  }

  .site-footer {
    text-align: left;
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    text-align: left;
  }

  .footer-container h3,
  .footer-container p,
  .footer-container ul,
  .footer-container a {
    text-align: left;
  }

  .slider-container p {
    font-size: 0.9rem;
  }

  .toast {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }

  .wave-top {
    height: auto;
    overflow: hidden;
  }

  .wave-top svg {
    width: 100%;
    height: auto;
    display: block;
  }
}
