
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

body{
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.portfolio-subtext.hidden {
  display: none;
}

.justimage {
  min-height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(10, 10, 10);
  position: relative;
  background-image: url("../14.jpg");
  background-attachment: fixed;
  background-size: cover; /* Изображение будет растягиваться на весь контейнер */
  background-position: center; /* Центрирует изображение */
  margin: 0px;
  padding: 0px;
  background-repeat: no-repeat;
}


main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 50px auto;
}

#schedule {
    width: 55%;
    text-align: center;
    color: white;
    margin-left: 210;
}

.contact-form {
  width: 40%;
  margin: auto;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: black;
  color: white;
  border: none;
  border-bottom: 1px solid white;
  padding: 8px;
  margin-bottom: 15px;
  width: 100%;
  font-family: inherit;
  appearance: none; /* Убирает стрелочки у select */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-form select {
  background: black;
}

.contact-form button {
  background: white;
  color: black;
  padding: 10px;
  border: none;
  cursor: pointer;
  transition: 0.5s ease-in;
  width: 100%;
}

.contact-form button:hover {
  background: rgb(0, 104, 174);
  color: white;
}

.image-contact{
  height: 700px;
  display: block;

  background-color: #aaa;
  width: 45%;
  text-align: center;
  color: white;
  margin-left: 210;
}

.image-contact-in{
  height: 800px;
  width: 100%;
  object-fit: cover; 
  

}



.social-icons a {
  text-decoration: none;
  color:white;
}


.hib{
    width: 200px;
}

.gallery-container {
    position: relative;
}

#gallery-image {
    height: 610px;
    width: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

.image-darken {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.text {
    max-width: 800px; 
    margin: 50px auto; 
    padding: 20px; 
    border-radius: 8px; 
    color: white; 
    margin-top: 130px;
    font-family: 'Judson', serif; 
    margin-bottom: 140px;
}

.text h2 {
    text-align: center; /* Выравнивание заголовка по центру */
    font-size: 24px;
    font-weight: bold;
}

.text p {
    font-size: 18px; /* Умеренно крупный текст */
    line-height: 1.6; /* Улучшенный интервал между строками */
    text-align: center; /* Выравнивание текста по ширине */
}

/* Адаптация под мобильные */
@media screen and (max-width: 768px) {
    .text {
        max-width: 90%; /* Уменьшаем ширину */
        padding: 15px;
        margin-top: 100px;
    }
    .text p {
        font-size: 16px;
    }

    .image-contact {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 20px 0;
      background-color: #aaa;
      border-radius: 4px;
    }

    .image-contact-in{
      max-height: 700px; 
      max-width: 370px;
      border-radius: 4px;
      border: solid white 1px;
    }
    
    
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 100%;
    background-color: rgb(0, 0, 0,0.1);
    transition: all 0.5s ease;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;

    
    

    
}


html, body {
    margin: 0;
    padding: 0;

}

body {
    margin-top: 75px;
    padding: 0;
}

@media (max-width: 768px) {
  main {
      flex-direction: column;
      align-items: center;
      padding: 10px;
      margin-bottom: 100px;
  }

  #schedule {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 20px 0;
  }

  #schedule iframe {
      height: 400px; 
      width: 360px;
  }

  .contact-form {
      width: 100%;
      padding: 20px;
      margin-left: 0;
  }

  .hib {
      text-align: center;
      padding-left: 0;
  }

  .contact-form button:hover {
      background: rgb(0, 0, 0);
      color: white;
  }
}



@media screen and (max-width: 768px) {
    .justimage {
        height: 400px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 768px)  {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      
      body {
        background: rgb(10,10,10);
        color: white;
        height: 100vh;
      }
      
      
      .burger {
        width: 30px;
        height: 25px;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
      }
      
      .burger span {
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: 0.4s;
      }
      
      /* Burger Animation */
      .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
      }
      .burger.active span:nth-child(2) {
        opacity: 0;
      }
      .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
      }
      
      /* Fullscreen Menu */
      .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.5s ease;
        z-index: 1000;
      }
      
      .menu.open {
        transform: translateX(0);
      }
      
      .menu ul {
        list-style: none;
        text-align: center;
      }
      
      .menu ul li {
        margin: 20px 0;
      }
      
     .h1{
        font-size: 12rem;
      }

      .menu ul li a {
        color: white;
        text-decoration: none;
        font-size:25px;
        transition: color 0.3s;
      }
      
      .menu ul li a:hover {
        color: #ff4081;
      }

      .die{
        display: block;
      }

      .portfolio-subtext {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 5px;
      }
      
      .portfolio-subtext .ko {
        color: #aaa;
        text-decoration: none;
        transition: color 0.3s;
        font-size: 19px;
      }
      
      .portfolio-subtext .ko:hover {
        color: #ff4081;
      }

      header{
        display: none;
      }
      
      
      
}

@media (min-width: 1500px) {
  .hero-title,
  .hero-text p {
    text-align: center;
    width: 600px;
  }

  .hero-squares {
    margin-left: 100px;
  }

  .square:first-child {
    width: 500px;
    height: 580px;
    background-size: 550px 750px;
  }

  .gallery {
    padding: 70px;
    gap: 40px;
  }

  .faq {
    max-width: 1920px;
    gap: 100px;
  }

  .faq img {
    width: 45%;
    height: 800px;
    margin-left: -100px;
  }

  .review img {
    width: 320px;
    height: 320px;
  }

  .review-text p {
    font-size: 18px;
  }

  .title {
    font-size: 52px;
    margin-left: 600px;
  }
  .ty {
    font-size: 52px;
    margin-right: 700px;
  }

  .quatr {
    padding-left: 180px;
  }

  .pip {
    margin-left: 950px;
  }

  .hero-content.new-hero {
    padding: 80px;
  }
  .faq {
      padding-left: 120px;
      padding-right: 120px;
    }
  
    .faq img {
      width: 40%;
      height: 950px;
    }
  
    .faq-content {
      width: 55%;
    }

    .pip{
      left: 490px;
    }
    header.scrolled nav ul {
      display: flex;
      gap: 40px;
      margin-left: -730px;
      transition: 1s;
  }
  }

  @media (min-width: 2500px) {
    .hero-title,
    .hero-text p {
      text-align: center;
      width: 600px;
    }
  
    .hero-squares {
      margin-left: 100px;
    }
  
    .square:first-child {
      width: 500px;
      height: 580px;
      background-size: 550px 750px;
    }
  
    .gallery {
      padding: 70px;
      gap: 40px;
    }
  
    .faq {
      max-width: 1920px;
      gap: 100px;
    }
  
    .faq img {
      width: 45%;
      height: 800px;
      margin-left: -100px;
    }
  
    .review img {
      width: 320px;
      height: 320px;
    }
  
    .review-text p {
      font-size: 18px;
    }
  
    .title {
      font-size: 52px;
      margin-left: 600px;
    }
    .ty {
      font-size: 52px;
      margin-right: 700px;
    }
  
    .quatr {
      padding-left: 180px;
    }
  
    .pip {
      margin-left: 950px;
    }
  
    .hero-content.new-hero {
      padding: 80px;
    }
    .faq {
        padding-left: 120px;
        padding-right: 120px;
      }
    
      .faq img {
        width: 40%;
        height: 950px;
      }
    
      .faq-content {
        width: 55%;
      }

      .pip{
        left: 1130px;
      }
      header.scrolled nav ul {
        display: flex;
        gap: 40px;
        margin-left: -1030px;
        transition: 1s;
    }
    }
