/* Підключення шрифту */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: 'Poppins', Arial, sans-serif;
    list-style: none;
}


/* Фонове зображення на всю сторінку */
body {
    background: url('img/delicious-ice-cream-with-topping_23-2150735504.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

/* Контейнер */
.container {
    align-items: center;
    display: flex;
   justify-content: space-between;
    width: 1440px;
    max-width: 95%;
    margin: 0 auto;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: rgba(0,0,0,0.4); /* напівпрозорий фон */
    position: sticky;
    top: 0;
    z-index: 100;
}
.container-menu{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.logo{
    width: 100px;
    font-weight: 800;
    font-size: 28px;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* Hero Section */
.hero {
        width: 1440px;
    max-width: 100%;
    margin: 0px auto;
    display: flex
;
    padding: 150px 0px 100px;
    justify-content: space-between;
 
    /* justify-content: flex-start; */
}
.hero-icon-last{
    margin-top: 90px;
}

.hero h1 {
    width: 448px;
    line-height: 1.0;
    font-size: 70px;
    margin-bottom: 20px;
}
.hero-content{
        display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero p {
    
    text-align: left;
    width: 650px;
    font-size: 24px;
}
.hero-buttons{
    margin-top: 20px;

}

.hero-buttons .btn {
    padding: 15px 30px;
   margin-right: 20px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    
}

.hero-buttons .order {
       background-color: #ff4d4d00;
   
    color: #fff;
    border-radius: 10px;
    border: 1px solid #fff;
}
.hero-icon{
    display: flex;
    gap: 40px;
    margin-top: 10px;
}



.hero-cont{
    display: flex;
    align-items: center;
}


.review-card {
    margin-right: 20px;
  background: #fff;
  border-radius: 14px;
  border: 2px solid #1fa3ff;
  box-shadow: 0 2px 12px rgba(50, 50, 80, 0.20);
  padding: 24px 24px 18px 24px;
  max-width: 340px;
  color: #222;
  position: relative;
}

.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-right: 13px;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px #ccc;
  background: #eee;
}

.user-name {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 2px;
}

.stars {
  color: #ffc107;
  font-size: 19px;
  margin-bottom: 2px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.stars .half {
  color: #dedede;
  margin-left: -7px;
}

.review-text {
  font-size: 17px;
  color: #363636;
  margin-top: 8px;
  line-height: 1.4;
}













/* .fff{
    width: 250px;
    height: 250px;
} */



.hero-buttons .book {
      background: rgba(255, 255, 255, 0.1);

    color: #fff;
 
    border-radius: 10px;
}

/* Ice Cream Cards */
.ice-cream-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 50px 0;
}

.card {
    display: flex;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    width: 690px;
    text-align: center;
    padding: 20px;
    color: #fff;
    height: 325px;
    transition: all 0.2s 
ease;
}

.card img {
    /* width: 100%; */
    border-radius: 15px;
    margin-bottom: 15px;
}

.card h3 {
        font-weight: 100;
    margin-bottom: 10px;
    font-size: 20px;
}

.card p {
    margin-bottom: 10px;
}

.order-type button {
        width: 104px;
    height: 40px;
    color: #fff;
    padding: 10px 20px;
    margin: 5px;
  border: 1px solid #fff;
    border-radius: 8px;
    cursor: pointer;
   background: rgb(255 255 255 / 0%);
}

.price {
    font-weight: 700;
    font-size: 18px;
    margin-right: 55px;
}
.cart-add{
    display: flex;
}
/* Footer */
footer {
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
   
          display: flex
;
    justify-content: space-between;
}

footer .socials img {
    width: 30px;
    margin: 0 10px;
}
.card-text{
        margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.card:hover

{ transform: translateY(-5px); 
    background-color: #fff;
    color: black;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);

}

.card:hover .cardcard-text,
.card:hover .order-type button
{
    
    color: black;
    border: 1px solid #000000;
}
.card:hover .cart-add{
     color: black;
}



.card:hover .counter button
  {
     color: black;
}
.card:hover .counter{
    
        border: 1px solid rgb(0, 0, 0);
}

.card:hover .counter .value {

      border-left: 1px solid rgb(0, 0, 0);
  border-right: 1px solid rgb(0, 0, 0);
}


.counter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 13px;
  width: 84px;
  height: 26px;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  box-sizing: border-box;
}

.counter button {
  background: none;
  border: none;
  font-size: 16px;
  padding: 0 6px;
  cursor: pointer;
  color: rgb(255, 255, 255);
  height: 100%;
  line-height: 26px;
  display: flex;
  align-items: center;
}

.counter .value {
  width: 26px;
  text-align: center;
  border-left: 1px solid rgb(255, 255, 255);
  border-right: 1px solid rgb(255, 255, 255);
  margin: 0;
  height: 100%;
  line-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* ========== АДАПТИВ ДО 768px ========== */
@media (max-width: 768px) {

  /* Контейнер */
  .container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  /* Хедер */
  header {
    flex-direction: column;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.6);
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    display: none; /* приховуємо меню спочатку */
  }

  /* Бургер-меню */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    margin-top: 10px;
  }

  .burger span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
  }

  /* Активне меню */
  nav.active ul {
    display: flex;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
  }

  /* Hero секція */
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 38px;
    width: 100%;
    line-height: 1.2;
  }

  .hero p {
    font-size: 18px;
    width: 100%;
    margin: 10px 0;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    margin: 0;
    font-size: 16px;
  }

  /* Картки морозива */
  .ice-cream-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
  }

  .card {
    width: 90%;
    height: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-text {
    align-items: center;
    text-align: center;
  }

  .order-type button {
    width: 120px;
    margin: 5px auto;
  }

  /* Footer */
  footer {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
    text-align: center;
  }

  footer .socials img {
    width: 28px;
    margin: 0 8px;
  }

}
