/* ===============================================
   SPIRIT ROADS PAGE STYLES (Тропами Духов)
   =============================================== */

/* ========== PAGE BACKGROUND ========== */
/* Параллакс фон для всей страницы Spirit Roads */
body.spirit-roads-page {
  background-image: url('../images/desktop/spirit_roads/bg.jpg');
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Отключаем параллакс на мобильных */
@media (max-width: 768px) {
  body.spirit-roads-page {
    background-attachment: scroll;
  }
}

/* ========== HERO / INTRO SECTION ========== */
.sr-intro {
  padding: 80px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url('../images/desktop/spirit_roads/spirits-intro.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.sr-intro .container {
  position: relative;
  z-index: 1;
}

.sr-intro .hero-content {
  display: block !important;
  text-align: center !important;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 3rem;
  border-radius: 12px;
  backdrop-filter: blur(3px);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.sr-intro .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.sr-intro .hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.sr-intro .hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  line-height: 1.8;
}

/* Hero image теперь в фоне через ::before и ::after */
.sr-hero-image {
  display: none;
}

/* ========== UNIFIED INFO SECTION ========== */
.sr-info-unified {
  padding: 80px 0;
  background: transparent;
}

/* Info Blocks */
.sr-info-block {
  padding: 35px 140px;
  margin-bottom: 3rem;
  border-radius: 12px;
  position: relative;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  text-align: center;
}

.sr-info-block--white {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  text-align: center;
}

.sr-info-block--gray {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  text-align: center;
}

.sr-info-block__title {
  font-size: 2.5rem;
  font-weight: 700;
  background: url('../images/desktop/about_me/skyjpg.jpg') center center fixed;
  background-size: cover;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: #37bed359;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.3;
}

.sr-info-block__content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-gray);
}

.sr-info-block__content p {
  margin-bottom: 1.5rem;
  font-size: larger;
  color: var(--color-light);
}

.sr-info-block__content p:last-child {
  margin-bottom: 0;
}

ol.spirit-roads {
    font-size: larger;
    color: var(--color-light);
}

ul.spirit-roads {
    font-size: larger;
}


/* Block Images - Места под фото */
.sr-block-image {
  margin: 2rem auto 2.5rem;
  max-width: 700px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sr-block-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.sr-block-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Lists Styling */
.sr-info-block__content ul,
.sr-info-block__content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  color: var(--color-light)
}

.sr-info-block__content ul li,
.sr-info-block__content ol li {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.sr-info-block__content ul li:last-child,
.sr-info-block__content ol li:last-child {
  margin-bottom: 0;
}

.sr-info-block__content strong {
  background: url('../images/desktop/about_me/skyjpg.jpg') center center fixed;
  background-size: cover;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: #37bed359;
  font-weight: 600;
}

.sr-info-block__content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Final text styling */
.sr-final-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-top: 2rem !important;
  text-align: center;
}

/* Text Divider */
.text-divider {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 3rem auto 0;
  opacity: 0.4;
    filter: invert(1) brightness(1.2);
}

/* ========== CLOSING SECTION ========== */
.sr-closing {
  padding: 80px 0;
  background-image: url('../images/desktop/spirit_roads/final.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.sr-closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.sr-closing .container {
  position: relative;
  z-index: 1;
}

.sr-closing__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.sr-closing__text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 2rem;
}

.sr-closing__btn-wrapper {
  margin: 2.5rem 0;
}

.sr-closing blockquote {
  margin-top: 3rem;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  border-left: 4px solid rgba(255, 255, 255, 0.5);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

/* Скрываем изображение, так как оно теперь фон */
.sr-final-image {
  display: none;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet */
@media (max-width: 1024px) {
  .sr-intro {
    padding: 100px 0 60px;
  }

  .sr-intro .hero-title {
    font-size: 3rem;
  }

  .sr-intro .hero-subtitle {
    font-size: 1.35rem;
  }

  .sr-intro .hero-description {
    font-size: 1.0625rem;
  }

  .sr-info-block {
    padding: 50px 30px;
  }

  .sr-info-block__title {
    font-size: 2.25rem;
  }

  .sr-info-block__content {
    font-size: 1.0625rem;
  }

  .sr-quote {
    font-size: 1.25rem;
    padding: 1.25rem 1.5rem;
  }

  .sr-hero-image,
  .sr-block-image {
    max-width: 100%;
  }
}

/* Отключаем параллакс на мобильных для hero */
@media (max-width: 768px) {
  .sr-intro {
    background-attachment: scroll;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .sr-intro {
    padding: 80px 0 40px;
  }

  .sr-intro .hero-title {
    font-size: 2.25rem;
  }

  .sr-intro .hero-subtitle {
    font-size: 1.15rem;
  }

  .sr-intro .hero-description {
    font-size: 1rem;
  }

  .sr-hero-image {
    margin-top: 2rem;
    border-radius: 12px;
  }

  .sr-info-unified {
    padding: 40px 0;
  }

  .sr-info-block {
    padding: 40px 20px;
  }

  .sr-info-block__title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .sr-info-block__content {
    font-size: 1rem;
  }

  .sr-quote {
    font-size: 1.125rem;
    padding: 1rem 1.25rem;
  }

  .sr-block-image {
    margin: 1.5rem auto 2rem;
    border-radius: 8px;
  }

  .sr-info-block__content ul,
  .sr-info-block__content ol {
    padding-left: 1.5rem;
  }

  .sr-info-block__content h3 {
    font-size: 1.25rem;
  }

  .sr-final-text {
    font-size: 1.125rem;
  }

  .text-divider {
    max-width: 200px;
    margin-top: 2rem;
  }

  .sr-closing {
    padding: 60px 0;
    background-attachment: scroll;
  }

  .sr-closing__text {
    font-size: 1.0625rem;
  }

  .sr-closing blockquote {
    padding: 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sr-intro .hero-title {
    font-size: 1.875rem;
  }

  .sr-intro .hero-subtitle {
    font-size: 1rem;
  }

  .sr-intro .hero-description {
    font-size: 0.9375rem;
  }

  .sr-info-block__title {
    font-size: 1.5rem;
  }

  .sr-info-block__content {
    font-size: 0.9375rem;
  }

  .sr-quote {
    font-size: 1rem;
  }

  .sr-final-text {
    font-size: 1rem;
  }
}
