html {
  background-color: #F6F4EB;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/*  Навигация  ------------------------------------------------------ */

.mobile-nav {
  display: block;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vh;
  max-width: 100%;
  background-color: #0095B6;
  text-align: center;
  border-radius: 10px;
  z-index: 1000;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav ul li {
  display: inline-block;
  padding: 10px 20px;
}

.mobile-nav li:hover {
  background-color: #036b82;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.mobile-nav ul li a {
  color: white;
  text-decoration: none;
  display: block;
}

@media (max-width: 768px) {
  .mobile-nav {
    width: 100%;
    left: 0;
    transform: none;
    border-radius: 0 0 10px 10px;
  }
}

/*   header bg   --------------------------------------------------- */

.header-bg {
  background-image: url("../image/bg-adm.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100%;
}

/* logo -----------------------------------------------------  */

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.logo img {
  max-width: 80%;

  display: block;
}

/*  Текст  ----------------------------------------------   */

h1 {
  font-size: 72px;
  color: #0095B6;
}

p {
  font-size: 20px;
  color: #0095B6;
}

@media (max-width: 768px) {
  h1 {
    font-size: 42px;
  }
  p {
    font-size: 15px;
  }
}

/*  Шатер   ------------------------------------------------- */

.shater-text {
  margin: 0 auto;
  padding: 10vh 10vw 5vh;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}
.kitchen-text{
  margin: 0 auto;
  padding: 10vh 10vw 5vh;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}
.image-shater {
  background-image: url("../image/shater1.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 70vh;
}

.section-carousel-wrapper {
  padding: 30px 0 10vh;
  display: flex;
  justify-content: center;
}

/*  Банкетный зал  -----------------------------------------------*/

.banket {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 5vh 5vw;
}

.banket-text {
  padding: 20px;
}

.banket-p {
  margin-top: 20px;
}

.banket-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*  Причал  ------------------------------------------------- */

.prichal {
  width: 100%;
  min-height: 80vh;
}

.prichal-text {
  margin: 0 auto;
  padding: 10vh 10vw 5vh;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

.prichal-image {
  background-image: url("../image/prichal.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 70vh;
}

/*  Дом Адмирал  ------------------------------------------------------ */

.dom_admiral {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 5vh 5vw;
}

.dom_adm_text {
  padding: 20px;
  text-align: right;
}

.dom_adm_image {
  display: flex;
  justify-content: center;
}

/*  Дом Берег  ------------------------------------------------------ */

.dom_bereg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 5vh 5vw;
}

.dom_bereg_text {
  padding: 20px;
}

.dom_bereg_image {
  display: flex;
  justify-content: center;
}

/*  Дом Лофт  ----------------------------------------------------------- */

.dom_loft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 5vh 5vw;
}

.dom_loft_text {
  padding: 20px;
}

.dom_loft_image {
  display: flex;
  justify-content: center;
}

/*  Галерея  --------------------------------------------------------------- */

.gallary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  gap: 10px;
  padding: 5vh;
}

.gal-img {
  border-radius: 30px;
  max-width: 100%;
  display: block;
}

@media (max-width: 1024px) {
  .gallary {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallary {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*  Контакты и footer  --------------------------------------------------------------- */

.cont-text {
  text-align: center;
  padding: 30px;
}

.footer {
  width: 100%;
  min-height: 5vh;
  background-color: #749bc2;
  display: flex;
  align-items: center;
}

.p-foot {
  color: #F6F4EB;
  font-size: 15px;
  text-align: center;
  width: 100%;
  padding: 10px 20px;
}

/* ---- КАРУСЕЛЬ С ПЛАВНЫМ ПЕРЕЛИСТЫВАНИЕМ ---- */

.carousel {
  position: relative;
  max-width: 900px;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background-color: #000;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease; /* <- плавность */
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* кнопки */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

@media (max-width: 768px) {
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .banket,
  .dom_admiral,
  .dom_bereg,
  .dom_loft {
    grid-template-columns: 1fr;
  }

  .dom_adm_text,
  .dom_bereg_text,
  .dom_loft_text {
    text-align: center;
  }
}
