* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    cursor: url("images/cursor.png"), auto;
}

a:hover {
    cursor: url("images/cursor_hand.png"), pointer;
}

body {
  font-family: Cinzel;
  background-image: url("images/bg.jpg"); /* путь к картинке */
  background-size: cover;      /* растянуть на весь экран */
  background-position: center; /* по центру */
  background-repeat: no-repeat;
  background-attachment: fixed; /* фиксированный фон */
  color: #96007d;
}

header {
  text-align: center;
  padding: 140px 20px 60px;
}

header h1 {
  font-size: 60px;
  font-weight: 400;
}

header p {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* MASONRY */
.gallery {
  column-count: 3;
  column-gap: 70px;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 60px;
  padding: 20px;
}

@media (max-width: 1200px) {
  .gallery { column-count: 3; }
}

@media (max-width: 800px) {
  .gallery { column-count: 2; }
}

@media (max-width: 500px) {
  .gallery { column-count: 1; }
}

/* ITEM */
.item {
  display: inline-block;
  width: 100%;
  margin-bottom: 70px;
  text-decoration: none;
  color: inherit;
  break-inside: avoid;
}

/* IMAGE WRAP */
.img-wrap {
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.img-wrap img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

/* ZOOM INSIDE IMAGE (главный эффект) */
.img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: 200%;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* hover zoom */
.item:hover img {
  transform: scale(1.08);
}

/* INFO */
.info {
  display: flex;
  justify-content: space-between;
  padding: 8px 2px;
  font-size: 14px;
}

.title {
  font-weight: 500;
}

.price {
  opacity: 0.6;
}
/* ===== MENU (главная страница) ===== */

.menu {
  max-width: 500px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.menu-item {
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.menu-item span {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  letter-spacing: 2px;
}

/* используем тот же img-wrap, но добавим hover отдельно */
.menu-item .img-wrap img {
  transition: transform 0.4s ease;
}

.menu-item:hover img {
  transform: scale(1.05);
}
.about {
  text-align: center;
  max-width: 600px;
  margin: 80px auto;
  padding: 0 20px;
}

.about h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.about p {
  font-size: 16px;
  opacity: 0.7;
  line-height: 1.6;
}

body.home {
  background-image: url("images/bg-home.jpg");
}

body.main {
  background-image: url("images/bg-main.jpg");
}

body.photo {
  background-image: url("images/bg-photo.jpg");
}

body.fragments {
  background-image: url("images/bg-fragments.jpg");
}

body.work-page {
  background-image: url("images/bg-work.jpg");
}

body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* WORK PAGE */

.single-work {
  display: flex;
  align-items: flex-start;
  gap: 230px;

  max-width: 1800px;
  margin: 0 auto;
  padding: 300px 80px 40px;

  color: rgb(78, 0, 59);
}

/* LEFT IMAGE */

.single-image {
  width: 58%;
  max-width: 850px;
  height: auto;
  display: block;
}

/* Все вертикальные картины */
.single-image[src$=".jpg"] {
  max-height: 800px;
  width: auto;
}

/* RIGHT INFO */

.work-description {
  width: 70%;
  font-size: 18px;
  line-height: 1.8;

  position: sticky;
  top: 60px;
    transform: translateY(-70px);
}

.work-title {
  font-size: 42px;
  margin-bottom: 30px;
  font-weight: normal;
}

.price {
  margin-top: 40px;
  font-size: 28px;
}

.work-info {
  margin-top: 35px;
}

.meaning {
  margin-top: 30px;
  opacity: 0.9;
}

.small-detail {
  width: 220px;
  display: block;
  margin: 100px auto 0; /* по центру */
}

/* MOBILE */

@media (max-width: 900px) {

  .single-work {
    flex-direction: column;
    padding: 40px 20px;
  }

  .single-image {
    width: 100%;
  }

  .work-description {
    width: 100%;
    position: static;
  }

  .small-detail {
    width: 160px;
  }
}

.price {
  margin-top: 30px;
  font-size: 20px;
}

/* WORK PAGE EXTRA */

.series-link {
  color: inherit;
  text-decoration: underline;
}

.series-link:hover {
  opacity: 0.7;
}

.meaning {
  margin-top: 30px;
  line-height: 1.7;
  opacity: 0.9;
}

.small-detail {
  width: 500px;
  display: block;
  margin: 500px auto 0;
}
.work-info {
  margin-top: 35px;
}
.contact-info {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.6;
}

.contact-info a {
  color: inherit;
  text-decoration: underline;
}

.contact-info a:hover {
  opacity: 0.7;
}
.detail-full {
  width: 500px;
  display: block;
  margin: 500px auto;
}
.single-image {
  cursor: url("images/cursor_hand.png"), auto;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 85%;
  max-height: 85%;
  border: 90px solid transparent;
  border-image: url("images/frame4.png") 40 stretch;
  box-sizing: border-box;
}

.frame {
  width: min(933px, 90vw);
  aspect-ratio: 933 / 659;
  padding: 89px;
  box-sizing: border-box;
}

.top-menu {
  display: flex;
  justify-content: center;
  gap: 40px;

  padding: 40px 0;
}

.top-menu a {
  color: rgb(78, 0, 59);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 2px;
  transition: opacity 0.3s;
}

.top-menu a:hover {
  opacity: 0.6;
}
.series-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
}

.series-buttons a {
  text-decoration: none;
  color: rgb(78, 0, 59);
  font-family: Cinzel;
  font-size: 18px;
}

.series-buttons a:hover {
  text-decoration: underline;
}
это glads серия 
/* GLADS PAGE */

.glads-grid {
  width: 90%;
  max-width: 100px;
  margin: 60px auto;
  
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
}

.glads-item {
  min-width: 0;
}

.glads-item a {
  display: block;
}

.glads-item a img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.glads-item p {
  margin-top: 10px;
  font-family: Cinzel;
  font-size: 16px;
  color: rgb(78, 0, 59);
}
.glads-top-photos {
  width: 90% !important;
  max-width: 1100px !important;
  margin: 60px auto 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.glads-top-photos img {
  width: 100% !important;
  height: auto;
  display: block;
}
.glads-top-photos img {
  width: 100%;
  height: auto;
  display: block;
}
.glads-page {
  background-image: url("images/back for site empty green.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.stone-page {
  background-image: url("images/back for site stone.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 120px;
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: 8px 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}
.glads-content {
  padding: 40px 0 80px;
}

.glads-content header {
  position: relative;
  z-index: 1;
}

.glads-content header::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 180px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgb(255, 255, 255);
  filter: blur(120px);
  z-index: -1;
}

/* розовое свечение вокруг фотографий */
.glads-grid .glads-item {
  box-shadow: 0 0 35px 15px #ffff;
}
.vertical-image {
  width: 540px;
  height: auto;
}

@media (max-width: 1200px) {

  .frame {
    width: 90vw;
    height: 90vh;
    padding: 6vw;
  }

  .frame img {
    max-width: 100%;
    max-height: 100%;
  }

}

@media (max-width: 700px) {

  .frame {
    width: 95vw;
    height: 90vh;
    padding: 5vw;
  }

}

.work-navigation a {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.prev-work {
  left: 30px;
}

.next-work {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.work-navigation img {
  width: 70px;
  height: auto;
  display: block;
}

.back-home {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 1000;
}
/* КРЕСТИК ЧТО ЗАКРЫВАЕТ */
.back-home img {
  width: 200px;
  height: auto;
  display: block;
}

body {
  animation: pageFade 0.5s ease;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.glads-prev,
.glads-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
  display: block;
}

.glads-prev {
  left: 30px;
}

.glads-next {
  right: 30px;
}

.glads-prev img,
.glads-next img {
  width: 70px;
  height: auto;
  display: block;
}

.glads-prev:hover,
.glads-next:hover {
  opacity: 0.6;
}

#glads-lightbox img {
  max-width: 65%;
  max-height: 65%;
  border: none;
}
#glads-lightbox > img {
  border: none;
  border-image: none;
  box-sizing: border-box;
}





.fragments-work .lightbox img {
  max-width: 70%;
  max-height: 70%;
  border: none;
  border-image: none;
  box-sizing: border-box;
}

.fragments-work .lightbox img {
  border: 50px solid transparent;
  border-image: url("images/frame-fragments.png") 40 stretch;
  box-sizing: border-box;
}