/* Gallery Item Detail Page Styles */
/* Based on dreamview-co-il-new (3).html design */

.gallery-item-detail {
  min-height: 100vh;
  background-color: #000;
  color: #fff;
  font-family: "Assistant Regular", sans-serif;
}

/* Hero Section with Image */
.item-image {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.7s ease-in-out;
}

/* Overlay for better text readability */
.item-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(0 0 0 / 0.6);
  pointer-events: none;
}

/* Title Section */
.item-title {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  max-width: 1334px;
  width: 100%;
  box-sizing: border-box;
  padding: 3rem 24px;
}

.item-title h1 {
  font-size: 72px;
  font-weight: 800;
  font-family: "Assistant ExtraBold", sans-serif;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Description Section */
.item-description {
  max-width: 908px;
  margin: 0 auto;
  padding: 6rem 0;
}

.content-wrapper {
  margin-bottom: 3rem;
}

.content-wrapper h2 {
  font-size: 30px;
  font-weight: 700;
  font-family: "Assistant Bold", sans-serif;
  margin: 2.5rem 0;
  color: #fff;
}

.content-wrapper h3 {
  font-size: 24px;
  font-weight: 600;
  font-family: "Assistant SemiBold", sans-serif;
  margin-bottom: 1rem;
  color: #f97316;
  margin-top: 2rem;
}

.content-wrapper p {
  font-size: 20px;
  line-height: 1.7;
  font-family: "Assistant Regular", sans-serif;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.content-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
/* SVG Icons in Product Lists */
.product-detail svg {
  width: 24px;
  height: 24px;
  color: #22c55e; /* Зеленый цвет для галочек */
  flex-shrink: 0;
}

.product-detail svg path {
  stroke: #22c55e;
  stroke-width: 2;
}
.content-wrapper li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-family: "Assistant Regular", sans-serif;
  color: #d1d5db;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.content-wrapper strong {
  color: #fff;
  font-weight: 600;
  font-family: "Assistant SemiBold", sans-serif;
}

.content-wrapper a {
  color: #ea580c;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: "Assistant Medium", sans-serif;
}

.content-wrapper a:hover {
  color: #c2410c;
  text-decoration: underline;
}
.back-buttons a span,
.back-button a span {
  color: #f97316;
  transition: color 0.3s ease;
}

.back-buttons a:hover span,
.back-button a:hover span {
  color: #f7a267;
}

.back-buttons {
  margin-top: 2rem;
  text-align: center;
  display: flex;
  justify-content: center;
}
.back-buttons a,
.back-button a {
  display: inline-flex;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: "Assistant SemiBold", sans-serif;
  text-decoration: none;
  transition: color 0.3s ease;
  align-items: center;
}

.back-buttons a:hover,
.back-button a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.back-buttons a svg,
.back-button a svg {
  margin-left: 0.5rem;
  color: #f97316;
  transition: transform 0.3s ease, color 0.3s ease;
}

.back-buttons a:hover svg,
.back-button a:hover svg {
  transform: translateX(-0.25rem);
  color: #f7a267;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .item-title h1 {
    font-size: 3rem;
  }

  .item-description {
    padding: 4rem 1.5rem;
  }

  .content-wrapper h2 {
    font-size: 2.25rem;
  }

  .content-wrapper h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .item-image {
    height: 50vh;
  }

  .item-title h1 {
    font-size: 2.5rem;
  }

  .item-description {
    padding: 3rem 1.5rem;
  }

  .content-wrapper h2 {
    font-size: 2rem;
  }

  .content-wrapper h3 {
    font-size: 1.5rem;
  }

  .content-wrapper p,
  .content-wrapper li {
    font-size: 1rem;
  }

  .back-button a {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .item-title h1 {
    font-size: 2rem;
  }

  .content-wrapper h2 {
    font-size: 1.75rem;
  }

  .content-wrapper h3 {
    font-size: 1.25rem;
  }

  .back-button a {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .back-button a svg {
    margin-left: 0;
    margin-bottom: 0.25rem;
  }
}
@media (max-width: 385px) {
  .content-wrapper p,
  .content-wrapper li {
    font-size: 12px;
  }
}
