/* ============================================================
   U MOJOJ KOZI - responzivnost
   ============================================================ */

/* ---------- Tablet i manji (<= 992px) ---------- */
@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    width: 280px;
    max-width: 80%;
    height: calc(100vh - var(--nav-height));
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 26px;
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--pink-light);
    font-size: 1.05rem;
  }

  .nav-menu a.active::after {
    display: none;
  }

  /* Hero prelazi na kolonu, tekst preko slike */
  .hero {
    min-height: auto;
  }

  .hero__photo {
    width: 100%;
    height: 100%;
    /* Na uskom ekranu "left" gura lice udesno - centriraj lice u kadar */
    background-position: 15% center;
  }

  .hero__photo::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(251, 234, 234, 0.75) 100%);
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-height: auto;
    padding: 90px 24px 34vh;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(120, 60, 60, 0.4);
  }

  .hero__decoration {
    width: min(360px, 62vw);
    height: min(360px, 46vh);
    right: -30px;
    bottom: -24px;
    opacity: 0.95;
  }

  .hero__decoration img {
    object-position: 50% 35%;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    flex: 0 1 calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

/* ---------- Mobilni (<= 600px) ---------- */
@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .navbar__inner {
    padding: 0 18px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .hero__content {
    padding: 70px 20px 30vh;
  }

  .hero__title {
    letter-spacing: 3px;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__decoration {
    width: min(280px, 72vw);
    height: min(280px, 40vh);
    right: -40px;
    bottom: -20px;
  }

  .page-hero {
    padding: 50px 0;
  }

  .page-hero--article {
    text-align: left;
    padding: 44px 0 36px;
  }

  .page-hero--article.page-hero--with-blob .page-hero__content {
    padding-right: 0;
    max-width: 100%;
  }

  .page-hero__decoration {
    width: min(280px, 55vw);
    height: min(280px, 40vh);
    right: -40px;
    bottom: -30px;
    opacity: 0.9;
  }

  .section {
    padding: 40px 0;
  }

  .cards {
    gap: 16px;
  }

  .card,
  .cards--pair .card {
    flex: 0 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .search.open .search__input {
    width: 120px;
  }

  .search__results {
    width: calc(100vw - 36px);
    right: -18px;
  }
}
