/* ============= ALBUM.PHP ============= */

/* === Ссылка Instagram === */
.social-link {
  color: rgb(203, 26, 84);
  text-decoration: none;
  transition: color 0.3s ease;
}	

.social-link:hover {
  text-decoration: underline;
  color: #a81554;
}

/* === Заголовок с Instagram === */
.works-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* === Подзаголовок === */
.subtitle {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 40px auto;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
  text-align: center;
}

/* === Награда === */
.award-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 60px;
}

.award-container img {
  max-width: 180px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.4));
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: default;
}
/*
.award-container img:hover {
  transform: scale(1.1);
  will-change: transform;
}
*/

.award-caption {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* === Фоновая анимация и общий стиль === */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Oswald', Arial, sans-serif;
  color: white;
  background: linear-gradient(
    270deg,
    #83002a,
    #720027,
    #931f39,
    #660021,
    #83002a
  );
  background-size: 80% 80%;
  animation: gradientShift 25s ease infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  will-change: background-position
}

/* === Адаптивность === */
@media (max-width: 480px) {
  .works-title {
    font-size: 36px;
  }
  .subtitle {
    font-size: 18px;
    max-width: 90%;
  }
  .award-container img {
    max-width: 140px;
  }
  .award-caption {
    font-size: 16px;
  }
}
/* === Галерея фотографий === */
.gallery-container {
  max-width: 800px;
  width: 100%;
  margin: 40px auto;
  text-align: center;
}

#gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery-photo {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.gallery-photo:hover {
  transform: scale(1.05);
}

/* === Кнопки пагинации === */
.pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.pagination button {
  padding: 10px 18px;
  font-size: 16px;
  background-color: #ff0055;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pagination button:hover {
  background-color: #cc0044;
}

.pagination button:disabled {
  background-color: #999;
  cursor: default;
}

/* === Стиль для полноэкранного изображения === */
.fullscreen-img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  z-index: 1000;
  cursor: zoom-out;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
  cursor: zoom-out;
}

