
/* ====== Base Styles ====== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

/* Typography */
.banner-text h1,
.with-hanna,
.about-title,
.about-description,
.footer-top,
.footer-bottom,
.notice-title,
.custom-button {
  font-family: Verdana, sans-serif;
}

.banner-text p,
.subtitle,
.footer-top,
.footer-bottom {
  font-size: 14px;
  color: #d1d4c8;
  line-height: 1.5;
}

/* ====== Banner ====== */
.banner-header {
  background: #444739 center/cover no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  
}

@media screen and (max-width: 1200px) {
  .banner-header {
    background-size: contain;
    height: 300px;
  }
}
@media screen and (max-width: 480px) {
  .banner-header {
    background-size: contain;
    height: 220px;
   
    
  }
}


.banner-container {
  width: 100%;
  height: 100%;
  background: #444739 center/cover no-repeat;
  margin-top: 50px;
  background-image: url(/images/banner2.jpg);
  display: flex;
  flex-direction: column;
  align-items: right;
  justify-content: center;
  padding: 1rem;
  background-size: contain;
}

@media screen and (max-width: 1200px) {
  .banner-container {
 
    background-size: contain;
     padding-top: 0;
      
      }
}

@media screen and (max-width: 480px) {
  .banner-container {
 
    background-size: contain;
    padding-top: 0;
      
      }
}


.banner-text {
  text-align: right;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: right;
  justify-content: center;

}

.banner-text h1 {
  font-weight: bold;
  font-size: 90px;
  margin: 0;
  font-family: 'Teko', sans-serif;
  text-shadow: -3px 0px 7px rgba(31, 5, 5, 0.764),
  1px 1px 3px rgba(76, 66, 66, 0.6);
}


@media screen and (max-width: 1200px) {
  .banner-text h1 {
    font-size: 60px;
    
  }
  
}

@media screen and (max-width: 480px) {
  .banner-text h1 {
    font-size: 30px;
  }
  
}
.banner-text .subtitle {
  font-size: 20px;
  margin-top: 10px;
}
@media screen and (max-width: 1200px) {
  .banner-text .subtitle {
    font-size: 16px;
    padding: 0 0px;
    
  }
  
}
@media screen and (max-width: 480px) {
  .banner-text .subtitle {
    font-size: 10px;
    padding: 0 0px;
    
  }
  
}

.with-hanna {
  font-weight: bold;
  font-size: 60px;
  color: #ffffff;
}
@media screen and (max-width: 1200px) {
  .with-hanna {
    font-size: 40px;
  }
  
}
@media screen and (max-width: 480px) {
  .with-hanna {
    font-size: 24px;
  }
  
}



.accent { color: #f06101; }
.highlight { color: #ffffff; }


/* ====== Grid Images ====== */

.image-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  flex-direction: row;
  gap: 0px;
  max-width: 1380px;
  margin: 0 auto 35px;
  margin-top: -35px;
  z-index: 1;
  position: relative;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.15);
}


.hover-img {
position: absolute;
top: 0;
left: 0;
opacity: 0;
transition: opacity 0.3s ease;
}

.image-hover:hover .hover-img {
opacity: 1;
}

.image-hover:hover .default-img {
opacity: 0;
}

.image-grid a {
position: relative;
display: block;
z-index: 1;
outline: none;

}

@media screen and (max-width: 480px) {
  .image-grid a {
    flex: 0 0 100%;
    
  }
  
}


.image-grid a img {
height: auto;
display: block;
transition: transform 0.4s ease; /* плавное увеличение */
}
@media screen and (max-width: 1280px) {
  .image-grid a {
    flex: 0 0 50%; /* две колонки */
  }

  /* Шахматный порядок */
  .image-grid a:nth-child(3) { order: 4; }
  .image-grid a:nth-child(4) { order: 3; }
  .image-grid a:nth-child(5) { order: 5; }
  .image-grid a:nth-child(8) { order: 7; }
  .image-grid a:nth-child(8) { order: 3; }
  
 
}
@media screen and (max-width: 1280px) {
  .image-grid a img {
    width: 100%;
    height: auto;
    object-fit: contain;
    
  }
 
}


.image-grid a:hover {
  z-index: 10; /* поднимаем над другими ячейками */
}
.image-grid a:hover img {
transform: scale(1.05); /* плавное увеличение при наведении */

}
/* ====== About Section ====== */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  background: #f0f0f0;
  width: 100%;
  margin: 100px auto 35px;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.15);
  align-items: flex-start;
}

@media screen and (max-width: 540px) {
  .about-grid {
    margin: 5px auto 5px;
   
  }
  
}
@media screen and (max-width: 1200px) {
  .about-grid {
    margin: 50px auto 5px;
   
  }
  
}

.about-image {
  position: relative;
  top: -60px;
  left: -30px;
  flex-shrink: 0;
  display: flex;

}
@media screen and (max-width: 1200px) {
  .about-image {
    top:0;
    left: 0;
    
   
  }
  
}

@media screen and (max-width: 540px) {
  .about-image {
    top:0;
    left: 0;
    width: 100%;
   
  }
  
}

.about-image img {
  width: 100%;
  max-width: 483px;
  display: block;
}

@media screen and (max-width: 1200px) {
  .about-image img {
   width: 100%;
   
  }
  
}

.about-text {
  background: #f0f0f0;
  padding: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 100%;
}
@media screen and (max-width: 1200px) {
  .about-text {
    justify-content: justify;
    padding:0px;
    margin: 0 20px 20px 20px;
    
  }
     
  }

@media screen and (max-width: 540px) {
  .about-text {
   padding: 0px;
   justify-content: justify;
   margin: 5px 0  5px;
  }
  
   
  }


.about-title {
  font-size: 40px;
  font-weight: 800;
  color: #000;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif, Geneva, Tahoma, sans-serif;
}
@media screen and (max-width: 540px) {
  .about-title {
    font-size: 14px;
    padding: 0;
    margin: 0 10px 20px 10px; 
  }
  @media screen and (max-width: 1200px) {
    .about-title {
      font-size: 18px;
      padding: 0;
      margin: 0 10px 20px 10px; 
    }
  }
   
  }
.about-description {
  font-size: 16px;
  color: #000;
  line-height: 1.6;
}
@media screen and (max-width: 1200px) {
  .about-description {
    font-size: 14px;
    padding: 0;
  }
  
   
  }
@media screen and (max-width: 540px) {
  .about-description {
    font-size: 12px;
    padding: 0;
  margin: 0 10px 20px 10px;  
  }
}


/* ====== Footer ====== */
.banner-footer {
  background: #696a63;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
 
}

.footer-bottom {
  font-size: 12px;
  line-height: 1.4;
  text-align: justify;
  max-width: 1200px;
  width: 100%;
}
@media screen and (max-width: 480px) {
  .footer-bottom {
    font-size: 10px;
  }
  
}

.notice-title {
  font-weight: 800;
  font-size: 12px;
}
@media screen and (max-width: 480px) {
 .notice-title {
    font-size: 10px;
  }
  
}

/* ====== Button ====== */
.custom-button {
  display: inline-flex;
  align-items: center;
  margin-top: 70px;
  gap: 8px;
  background: #6f706d;
  color: #d1d4c8;
  padding: 24px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  outline: none;
}
@media screen and (max-width: 480px) {
  .custom-button {
    
    margin: 0 10px 10px 10px; 
  }
  
}
.custom-button:hover {
  background: #9aa580;
  transform: translateY(-2px);
}

.custom-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.custom-button:hover .arrow {
  transform: translateX(5px);
}
.poster-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: left;
  gap: 10px;
  max-width: 100%;
  margin-top: 40px;
  margin-left: 50px;
  z-index: 1;
  position: relative;
  
}
@media screen and (max-width: 540px) {
  
  .poster-grid {
    margin-left: 20px;
    flex-direction: column;
    margin-top: 10px;
  }
  .poster-grid a {
    flex: 0 0 100%;
    
  }

  .poster-grid img {
  
    margin-right: 10px;
    box-shadow: none;
    padding: 10px 10px;
    width: calc(100% - 40px); /* Полная ширина минус отступы */
    display: block;
  }
}
.info {
  
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif, Geneva, Tahoma, sans-serif;
  line-height: 1.4;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 35px;
  margin-top: -15px;
  position: relative;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.15);
  padding-left: 90px;
  padding-right: 90px;
  padding-top: 10px;
  padding-bottom: 10px;
   
}
@media screen and (max-width: 1280px) {
  .info {
    padding: 5px 15px;
    width: calc(100% - 30px); /* Полная ширина минус отступы */
    margin-top: 0;         /* убрать отрицательный margin */
    
  }
}
@media screen and (max-width: 820px) {
  .info {
    padding: 5px 15px;
    width: calc(100% - 30px); /* Полная ширина минус отступы */
    margin-top: 0;         /* убрать отрицательный margin */
    
  }
}
@media screen and (max-width: 540px) {
  .info {
    font-size: 10px;
    padding: 5px 15px;
    width: calc(100% - 30px); /* Полная ширина минус отступы */
    margin-top: 0;         /* убрать отрицательный margin */
    box-shadow: none; 
  }
}
@media screen and (max-width: 480px) {
  .info {
    font-size: 10px;
    padding: 5px 15px;
    width: calc(100% - 30px); /* Полная ширина минус отступы */
    margin-top: 0;         /* убрать отрицательный margin */
    box-shadow: none; 
  }
  
}

.img-hover-zoom {
  transition: transform 0.3s ease;
  
}

.img-hover-zoom:hover {
  transform: scale(1.2); /* увеличивает картинку на 20% */
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.15);
  
}

@media screen and (max-width: 540px) { 
  .img-hover-zoom:hover {
    transform: scale(1.1); /* увеличивает картинку на 10% */
    box-shadow: none; /* убираем тень на мобильных */
  }
}
.poster-button {
  display: inline-flex;
  align-items: center;
  background: #6f706d;
  color: #d1d4c8;
  padding: 10px 10px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  outline: none;
  margin-left: 50px;
}
@media screen and (max-width: 540px) {
  .poster-button {
    margin-left:  10px;
    padding: 5px 10px;
    width: calc(100% - 60px); /* Полная ширина минус отступы */
    display: block;
  }
}

  .poster-button:hover {
    background: #9aa580;
    transform: translateY(-2px);
  }
  
  .poster-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
  }
  
  .poster-button:hover .arrow {
    transform: translateX(5px);
  }
  .poster-title {
    font-family: Arial, Helvetica, sans-serif, Geneva, Tahoma, sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #000;
    margin-top: 50px;
    margin-left: 50px;
    }
    
@media screen and (max-width: 1200px) {
  .poster-title {
    font-size: 24px;
    margin-top: 20px;
  align-items: center;
  }
}
@media screen and (max-width: 540px) {
  .poster-title {
    font-size: 24px;
    margin-top: 20px;
  
    margin-left: 30px;
    
  }
  

       
  }
