
  /* Навбар */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color:var(--color-palet-pink);
    position: relative;
    z-index: 100;
  }

  .logo {
    font-family: var(--font-family-Cormorant-bold);
    font-size: var(--font-size-large);
  }
  
  /* Обычное меню (видно на десктопе) */
  .nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li {
    margin-left: 2rem;
  }
  
  .nav-links a {
    text-decoration: none;
    font-family: var(--font-family-Kurale-normal);
    font-size: var(--font-size-middle);
  }
  
  /* Бургер-меню (скрыто на десктопе) */
  .burger {
    display: none;
    cursor: pointer;
  }
  
  .burger div {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 5px;
    transition: all 0.3s ease;
  }
  
  /* Основной контент */
  .content {
    transition: transform .5s ease; /* Анимация сдвига */
  }

.desktop {
    background: var(--color-palet-pink);
    height: 1640px;
}

.sweets {
    text-align: center;
    padding-top: 4rem;
}

.sweets p {
    font-family: var(--font-family-Kurale-normal);
}

.btn-look {
    margin-top: 2rem;
    background: #000;
    padding: 12px 33px 12px;
    border-radius: var(--border-radius-middle);
    color: #fff;
    border: none;
    transition: var(--transition-duration);
    display: inline-block;
    text-align: start;
    font-family: var(--font-family-Kurale-normal);

    &:hover {
        background: #3a3a3a;
        opacity: 0.9;
        transform: translateY(-2px);
    }

}

.donate {
    text-align: center;
    margin-top: 4rem;
}

.img-donate {
    max-width: 85%; 
    border-radius: var(--border-radius-middle);
}

.card-image {
    margin-block: 45px;
}

.confectionery-card {
    display: flex;
    justify-content: center;
    flex-wrap: wrap-reverse;
}

.confectionery-title {
    font-size: 24px;
    font-family: var(--font-family-Cormorant-bold);
    width: 170px;
    margin-top: 85px;
    padding-left: 55px;
}

.confectionery-description  {
    margin-top: 45px;
    font-size: 14px;
    font-family: var(--font-family-Kurale-normal);
    padding-inline: 55px;
}

.vhod-image {
    width: 100%;
}

.confectionery-body {
    max-width: 400px;
    height: 400px;
    background: #ffffff;
    border-radius: var(--border-radius-middle);
}

.offers {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pp {
    max-width: 740px;
    font-family: var(--font-family-Kurale-normal);
    font-size: 18px;
}

.menu {
    margin-top: 3rem;
}

.menu-card {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.menu-body {
    width: 500px;
}

.menu-about {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.menu-title p {
    font-family: var(--font-family-Kurale-normal);
    font-size: var(--font-size-middle);
}

.menu-price p {
    font-family: var(--font-family-Kurale-normal);
    font-size: var(--font-size-middle);
}

.menu-description {
    max-width: 400px;
}

.menu-description p {
    font-size: 14px;
    font-family: var(--font-family-Kurale-normal);
}

.pleasure {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pp2 {
    max-width: 600px;
    font-family: var(--font-family-Kurale-normal);
    font-size: 18px;
}

.gallery {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    justify-items: center;
    row-gap: 2rem;
}

@media (max-width: 1024px) {

    .nav-btn {
        font-size: 2em;
        padding-inline: 10px;
        border: none;
        background: var(--color-palet-pink);
        display: block;
        cursor: pointer;
    }
    
    .nav-list {
        display: none;
    }

    .nav-list-a {
        background: var(--color-palet-pink);
        border-bottom: 1px solid #000;
    }

    .nav-list-a-one {
        background: var(--color-palet-pink);
    }

    .drop:hover .nav-list {
        display: block;
        position: absolute;
        top: 53px;
        left: 0;
        right: 0;
    }

    .menu-card {
        flex-wrap: wrap;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
}

@media (max-width: 900px) {
    
    .confectionery-card {
        flex-wrap: wrap;
    }
}

  /* Стили для мобильных */
  @media (max-width: 768px) {
    /* Прячем обычное меню */
    .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--color-palet-pink);
      flex-direction: column;
      align-items: center;
      padding: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height .5s ease;
    }
  
    .nav-links li {
      margin: 1.5rem 0;
      opacity: 0;
      border-bottom: 1px solid #000;
      transition: opacity 1s ease;
    }
    
  
    /* Показываем бургер */
    .burger {
      display: block;
    }
  
    /* Классы для JS */
    .nav-active {
      max-height: 100vh; /* Раскрываем меню */
    }
  
    .nav-active li {
      opacity: 1; /* Показываем пункты */
    }
  
    .content-pushed {
      transform: translateY(48vh); /* Сдвигаем контент вниз */
    }
  
    /* Анимация бургера → крестик */
    .toggle .line1 {
      transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
      opacity: 0;
    }
    .toggle .line3 {
      transform: rotate(45deg) translate(-5px, -6px);
    }
  }

  .confectionery {
    margin-top: 2.5rem;
  }

@media (max-width: 500px) {

    .desktop {
        height: 1500px;
    }

    .confectionery-title {
        margin-top: 50px;
    }

    .img-donate {
        width: 100%;
    }
    
}

@media (max-width:460px) {
  .container {
    padding-inline: 10px;
}
}

@media (max-width: 425px) {
  .desktop {
    height: 1300px;
  }

  .confectionery-description {
    margin-top: 10px;
    padding-inline: 30px;
  }

  .confectionery-title {
    width: 270px;
    margin-top: 40px;
    padding-left: 30px;
  }

  .confectionery-body {
    height: 280px;
  }

  .card-image {
    margin-block: 35px;
  }
}  



.animated-photo {
    opacity: 0;
    transform: translateY(40px) scale(0.98); /* Элемент снизу и чуть меньше */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.1s; /* Небольшая задержка для плавности */
    will-change: transform, opacity; /* Подсказка браузеру для оптимизации */
}

.animated-photo.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


