*,
*::after,
*::before{
    box-sizing: border-box;
}
a{
    color:inherit;
    text-decoration: none;
}

body{
    font-family: 'Roboto', sans-serif;
    /*font-family: 'Roboto Slab', serif;*/
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #232222;
}

.container{
    max-width: 1220px;
    padding: 0 10px;
    margin: 0 auto;
}

.header__top{
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.logo{
    margin-left: 16px;
}

.phone{
    margin-top: 11px;
    margin-right: 43px;
}

.menu{
    margin-top: 16px;
}

.menu__list{
    display: flex;
}

.menu__item + .menu__item{
    margin-left: 30px;
}

.menu__link{
    text-transform: uppercase;
    font-weight: 500;
    color:#001E64;
    font-size: 18px;
    line-height: 21px;
}

.menu__link:hover{
    border-bottom: 1px solid #001E64;
}

.header__content{
    background-image: url(../images/header.png);
    background-size:cover;
    background-position: top;
    background-repeat: no-repeat;
    padding-bottom:20px;
    margin-top: -100px;
    min-height: calc(100vh-50px);
}

.title{
    color: #001E64;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 95px;
    max-width: 589px;
    padding-top: 170px;
    padding-left: 112px;
    margin-bottom: 60px;
}

.header-slider{
    max-width: 522px;
    padding-left: 112px;
    padding-top: 30px;
    padding-bottom: 135px;
    margin-top: -39px;
}



.header-slider__text{
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 22px;
    color: white;
}

.slick-prev,
.slick-next{
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0%;
    position: absolute;
    left: 40px;
}

.slick-prev{
top:0;
}

.slick-next{
bottom: 0;
}

.slick-dots{
    list-style: none;
    position: absolute;
    left: 35px;
    top: 58px;
    bottom: 55px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slick-dots button{
    border:none;
    background-color: transparent;
    color: white;
    padding: 0;
    font-size: 24px;
    line-height: 28px;
    opacity:0.5;
    cursor:pointer;
}

.slick-active button{
    opacity: 1;
}

.slick-dots button::before{
    content:'0';
}

.slick-dots li:nth-child(n+10) button::before{
    content:'';
}

.header__content-btn{
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    color: white;
    font-size: 23px;
    line-height: 32px;
    padding: 14px 88px;
    border-radius: 20px;
    background-color: rgba(255,255,255,.5);
    margin-left: 112px;
    display: inline-block;
    transform: translateY(-100px);
    position: absolute;
    transition: all .3s;
}

.header__content-btn:hover{
    color: #001E64;
    background-color: white;
}

.header__content-box{
    display: flex;
    justify-content: flex-end;
    margin-right: 30px;
    font-size: 18px;
    line-height: 21px;
    color: white;
}

.header__content-link--active{
    font-weight: 700;
}

.product{
   padding-top: 100px; 
}

.product__inner{
    display: flex;
    justify-content:space-between;
}
.product__name {
  width: 510px;
  text-align: center;
  position: relative;
  margin: 80px auto;
}

.product__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.product__list .slick-slide {
  padding-bottom: 6px; /* пространство для стрелок */
}

.product__name-item {
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  line-height: 32px;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

.product__name-item.slick-current {
  font-weight: 700;
  font-size: 36px;
  color: #001E64;
  line-height: 44px;
}

/* стрелки */
.product-prev,
.product-next {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 10;
}

.product-prev {
  top: -50px;
}

.product-next {
  bottom: -50px;
}

.product-prev img,
.product-next img {
  width: 25px;
  height: auto;
}


.product__content{
    width: 600px;
}

.product__content-box{
    display: flex;
    justify-content: space-evenly;
}

.product__content-img{
    object-fit: cover;
}

.product__content-list{
    width: 291px;
    list-style:none;
}

.product__content-item{
    margin-bottom: 30px;
}
.product__content-item span{
    display: block;
    margin-bottom: 10px;
    color: #001E64;
}

.product__content-title{
    font-family: 'Roboto Slab', serif;
    font-size: 24;
    color: #001E64;
    margin-bottom: 20px;
    padding-top:20px;
    font-weight: 400;
    line-height: 32px;
}


.product__content-btn{
    font-family:'Roboto Slab', serif ;
    font-size: 24px;
    line-height:32px;
    font-weight: 700;
    padding: 12px 85px;
    margin-top: 27px;
    background-color: transparent;
    text-transform: uppercase;
    display: inline-block;
    color: #001E64;
    border: 1px solid  #001E64;
    border-radius: 20px;
    cursor: pointer;
    transition: all .3s;
}

.product__content-btn:hover{
    color: white;
    background-color: #001E64;
}

.seafood-box{
    background-image: url(../images/seafood.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    padding: 290px 0 95px;
    font-family: 'Roboto Slab', serif ;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: white;
}

.seafood-box__items{
display: flex;
justify-content: space-around;

}

.seafood-box__item{
    width: 180px;
    min-height: 165px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url(../images/seafood-decor.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


.seafood{
    padding: 100px 0;
}
.seafood__items{
    margin-bottom: 100px;
}

.seafood__item{
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.seafood__item-title{
    font-family: 'Roboto Slab', serif ;
    max-width: 490px;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #001E64;
}

.seafood__item-text{
    width: 400px;
    margin-bottom: 20px; 
}

.seafood__item-text{
    max-width: 420px;
    margin-bottom: 20px;
}

.seafood__item--text-right .seafood__item-title{
    max-width: 420px;
}

.seafood__item--text-right .seafood__item-content{
    margin-right: 180px;   
}

.seafood__blockquote{
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.seafood_blockquote-text{
    max-width: 530px;
    margin: 0 auto;
    font-size: 18px;
}

.contacts{
    background-image: url(../images/contact.jpg);
    background-repeat: no-repeat;
}


.contacts__box{
    margin-left: auto;
    width: 390px;
    background-color: white;
    padding: 33px 0 33px 20px;
    background-position: bottom left;
}

.contacts__box-text{
    font-family: 'Roboto Slab', serif ;
    width: 195px;
    line-height: 24px;
    font-size: 18px;
    margin-bottom: 30px;
    color: #001E64; 
}

.contacts__box-list{
    list-style-type: none; 
    font-size: 18px;
    line-height: 21px;
}

.contacts__box-item{
    margin-bottom: 30px;
}

.contacts__box-item span{
    display: block;
}

.footer{
   padding: 25px 0 110px
}

.footer__inner{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 45px 0 23px;
}

.footer__inner .menu{
    padding-bottom: 30px;
}
   
.footer-social__list{
    list-style-type: none;
    display: flex;
    align-items: center;
    padding-bottom: 19px;
}

.footer-social__item +.footer-social__item{
    margin-left: 10px;
}

.footer-social__link{
    transition: all .3s;
}
.footer-social__link:hover path{
    fill:#001E64
}


.menu__btn{
    width: 40px;
    border: none;
    background-color: transparent;
    padding: 13px 0;
    position: relative;
    display: none;
   
}
.menu__btn::after,
.menu__btn::before{
    content:'';
    position: absolute;
    left:0;
    right:0;
    height:4px;
    background-color: #001E64;
}

.menu__btn::after{
    top:0;
}    

.menu__btn::before{
    bottom:0;
}

.menu__btn span{
    display: block;
    height: 4px;
    background-color: #001E64;
}

/* Базовое затемнение */
.modal {
  display: none; 
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center; 
  align-items: center;
  padding: 15px; /* отступы для мобилок */
}

/* Само окно */
.modal__content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 20px;
  width: 100%;
  max-width: 500px; /* больше чем было */
  text-align: center;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  animation: modalFade 0.3s ease;
}

/* Заголовок */
.modal__title {
  font-family: 'Roboto Slab', serif;
  font-size: 28px;
  margin-bottom: 20px;
  color: #001E64;
}

/* Кнопка закрытия */
.modal__close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 30px;
  font-weight: bold;
  color: #001E64;
  cursor: pointer;
  transition: transform 0.2s;
}
.modal__close:hover {
  transform: scale(1.2);
}

/* Форма */
.modal__form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.modal__form label {
  font-size: 16px;
  font-weight: 500;
  color: #001E64;
}

.modal__form input,
.modal__form select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 12px;
  width: 100%;
  font-size: 16px;
}

/* Кнопка отправки */
.modal__submit {
  background: #001E64;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: all .3s;
}
.modal__submit:hover {
  background: #00308a;
}

@keyframes modalFade {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}


@media (max-width: 1160px){
    .product__name{
       width: 350px;
    }
    .footer .logo,
    footer .menu{
        display: none;
    }
    .footer{
        padding: 40px 0 40px;
    }
    .footer__inner{
        justify-content: center;
    } 
    .footer-social__list{
        padding-bottom: 0;
    }
    .logo{
        width: 100%;
    }
       

}
@media (max-width: 1100px){
    .seafood__item-content{
        padding-right: 20px;
    }
    .seafood__item--text-right .seafood__item-content{
        padding-right: 0;
    }
}

@media (max-width: 1000px){
    .menu__list{
        display:none;
        position:absolute;
        left: 20%;
        right: 20%;
        background-color: white;
        display: block;
        top: -350px;
        transition: all .5s;
        z-index: 5;
    }

    .menu__link:hover{
        border: none;
    }

    .menu__list.menu__list--active{
        top: 75px;
    }
    .menu__btn{
        display: block;
        z-index: 10;
    }
    .menu{
        margin: 12px 20px 0 auto;
    }
    .menu__item + .menu__item{
        margin-left:0;
    }
    .menu__link{
        padding: 20px 0;
        display:block;
        text-align: center;
       
    }
    .product__name{
        width: 250px;
    }
}

@media (max-width: 950px){
    .seafood__item{
        flex-wrap: wrap;
        justify-content: center;
    }
    .seafood img{
        width: 100%;
    }
    .seafood__item--text-right{
        flex-wrap: wrap-reverse;
    }
    .seafood__item-content{
        padding-right: 0;
    }
    .seafood__item--text-right .seafood__item-content{
        padding-left: 0;
    }
    .seafood__item-text,
    .seafood__item-title{
        width: 100%;
    }
    .seafood__item--text-right .seafood__item-content{
        margin-right: 0;
    }

}
@media (max-width: 890px) {
  .product__inner {
    display: block;
  }

  .product__content {
    margin: 0 auto;
  }

  /* сам список продуктов */
  .product__name {
    width: 100%;
    padding-top: 0;
    margin-bottom: 80px;
    position: relative;
  }

  .product__list {
    flex-direction: row; /* горизонтальный слайдер */
    gap: 15px;
  }

  .product__name-item + .product__name-item {
    margin-top: 0;
  }

  .product__name-item.slick-current {
    line-height: 44px;
    font-size: 28px; /* чуть меньше на мобильных */
  }

  /* точки слайдера */
  .product__name .slick-dots {
    left: 0;
    right: 0;
    bottom: -30px; /* под списком */
    flex-direction: row;
    justify-content: center;
  }

  .product__name .slick-dots button {
    width: 10px;
    height: 10px;
    font-size: 0;
    padding: 0;
    background-color: grey;
    border-radius: 50%;
    margin: 0 5px;
  }

  .product__name .slick-active button {
    background-color: #001E64;
  }

 
}


@media (max-width: 745px){
    .title{
        font-size: 50px;
        line-height: 66px;
        max-width: 100%;
        padding-left: 0;
        text-align: center;
       
    }
}

@media (max-width: 650px){
    .product__content{
        width:100%;
    }
    .seafood-box__items{
        display: block;
    }
    .seafood-box__item{
        margin: 0 auto;
    }
    .seafood-box{
        display: none;
    }
    .seafood{
        padding: 50px 0;
    }
    .seafood__items{
        margin-bottom: 50px;
    }
    .contacts{
        background-image: none;
    }
    .contacts__box{
        width: 100%;
        padding: 33px 0 33px 0px;
    }

}

@media (max-width: 600px){
    .product__content-box{
        display: block;
    }
    .product__content-box{
        width: 100%;
    }

    .modal__content {
    max-width: 100%;
    border-radius: 12px;
    padding: 20px 15px;
  }
  .modal__title {
    font-size: 22px;
  }
  .modal__submit {
    font-size: 16px;
    padding: 12px;
  }
}




@media (max-width: 470px){
    .header-slider{
        padding-left: 50px;
    }
    .slick-dots{
        left: 5px;
    }
    .slick-prev,.slick-next{
        left: 9px;
    }
    .header__content-btn{
        margin-left: auto50px;
    }
    .title{
        font-size: 34px ;
        line-height: 44px;
    }
    .header__content-btn{
        margin-left: 50px;
    }
    .product__content-btn{
        padding: 12px 55px;
   
    }

    .product{
        padding-top: 50px;
    }

    .product__name-item {
        font-size: 20px;
        line-height: 26px;
    }
    .product__list .slick-slide {
        padding-bottom: 60px; /* больше места на маленьких экранах */
    }

    /* Дополнительно для совсем маленьких экранов */
 
  .product__list {
    gap: 10px;
  }

  .product__name-item.slick-current {
    font-size: 24px;
  }
}



@media (max-width: 371px){
    .title{
        padding-top: 125px;
    }
    .phone{
        margin-right: 0;
    }
    .logo{
        margin-left: 0;
    }
    .menu__list{
        left: 10%;
        right: 10%;
    }
    .header-slider{
        padding-left: 0;
        padding-top: 0;
    }
    .header__content-btn{
        margin-left: 0;
    }
    .logo{
        width: 50%;
    }
}

