/* Импорт шрифтов */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap");

/* Цвета георгиевской ленты и премиальная палитра */
:root {
  --ribbon-orange: #f58220;
  --ribbon-black: #000000;
  --ribbon-orange-light: #ff9d45;
  --ribbon-orange-dark: #d04a02;
  --bg-color: #0a0a0a;
  --text-color: #ffffff;
  --text-secondary: #cccccc;
  --accent-color: #d04a02;
  --secondary-color: #8b0000;
  --card-bg: rgba(20, 20, 20, 0.8);
  --card-bg-hover: rgba(30, 30, 30, 0.9);
  --card-shadow: rgba(0, 0, 0, 0.3);
  --hero-overlay: rgba(0, 0, 0, 0.7);
  --gold: #d4af37;
  --gold-light: #f0d078;
  --gold-dark: #a67c00;
  --silver: #c0c0c0;
  --bronze: #cd7f32;
}

[data-theme="light"] {
  --bg-color: #ffffff;
  --text-color: #000000;
  --text-secondary: #666666;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-bg-hover: rgba(255, 255, 255, 0.9);
  --card-shadow: rgba(0, 0, 0, 0.1);
  --hero-overlay: rgba(255, 255, 255, 0.7);
}

/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Фоновые элементы */
.bg-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  background: radial-gradient(circle, var(--ribbon-orange) 0%, transparent 70%);
}

.circle-1 {
  width: 800px;
  height: 800px;
  top: -200px;
  right: -200px;
}

.circle-2 {
  width: 600px;
  height: 600px;
  bottom: -100px;
  left: -100px;
}

.bg-star {
  position: absolute;
  width: 100px;
  height: 100px;
  opacity: 0.1;
  background-image: url("images/star.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.star-1 {
  top: 20%;
  left: 10%;
}

.star-2 {
  top: 60%;
  right: 15%;
  transform: scale(0.7);
}

.star-3 {
  bottom: 15%;
  left: 30%;
  transform: scale(0.5);
}

/* Георгиевская лента в виде декоративного элемента */
.ribbon-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.ribbon-segment {
  position: absolute;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--ribbon-orange),
    var(--ribbon-orange) 20px,
    var(--ribbon-black) 20px,
    var(--ribbon-black) 40px
  );
  top: 60px;
  transform-origin: left;
  transform: skewY(-5deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Навигация */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 1002;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: "Montserrat", sans-serif;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Анимированный вечный огонь */
.logo-flame {
  position: relative;
  width: 30px;
  height: 40px;
  display: flex;
  justify-content: center;
}

.logo-flame span {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 20px;
  background: var(--ribbon-orange);
  border-radius: 10px 10px 0 0;
}

.logo-flame span:nth-child(1) {
  left: 6px;
  height: 25px;
  background: var(--ribbon-orange-dark);
}

.logo-flame span:nth-child(2) {
  height: 35px;
  width: 10px;
  background: var(--ribbon-orange);
  z-index: 1;
}

.logo-flame span:nth-child(3) {
  right: 6px;
  height: 30px;
  background: var(--ribbon-orange-light);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.3s;
}

.nav-link-text {
  position: relative;
  z-index: 1;
}

.nav-link-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--ribbon-orange);
}

.burger-menu {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.burger-menu div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
}

@media (max-width: 768px) {
  .burger-menu {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px;
    backdrop-filter: blur(10px);
  }

  .nav-links.active {
    display: flex;
  }
}

/* Добавить после существующих стилей .burger-menu */
.burger-menu.active div:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active div:nth-child(2) {
  opacity: 0;
}

.burger-menu.active div:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Карта */
#map {
  width: 100%;
  height: calc(80vh - 40px);
  position: relative;
  z-index: 1;
}

/* Страницы секций */
.section-page {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  overflow-y: auto;
  display: none;
  padding-top: 0;
}

.section-page.active {
  display: block;
}

/* Кнопки управления */
.section-controls {
  position: absolute;
  top: 100px;
  right: 20px;
  z-index: 2100;
  display: flex;
  gap: 10px;
}

.control-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--ribbon-orange);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;

  box-shadow: 0 0 15px rgba(245, 130, 32, 0.3);
}

.control-button {
  background: var(--ribbon-orange);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 20px rgba(245, 130, 32, 0.5);
}

/* Hero секция */
.hero-full {
  background: var(--bg-color);
  color: var(--text-color);
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-image: url("images/victory-monument.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  color: white !important;
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  letter-spacing: 2px;
}

.hero-subtitle {
  color: var(--text-secondary) !important;
  font-size: 24px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  margin-bottom: 30px;
}

.hero-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.hero-star {
  width: 30px;
  height: 30px;
  background-image: url("images/star.png");
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 5px rgba(245, 130, 32, 0.7));
}

/* Параллакс элементы */
.parallax-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.parallax-element {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
}

.element-1 {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 10%;
  background-image: url("images/medal.png");
}

.element-2 {
  width: 100px;
  height: 100px;
  bottom: 30%;
  right: 15%;
  background-image: url("images/star.png");
}

.element-3 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 20%;
  background-image: url("images/ribbon.png");
}

/* Временная шкала */
.about-section {
  padding: 0;
  position: relative;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline-card {
  margin-bottom: 80px;
}

.timeline-card:last-child {
  margin-bottom: 0;
}

.timeline-point-content {
  margin-bottom: 80px;
}

.timeline-point:last-child .timeline-point-content {
  margin-bottom: 0;
}

.timeline-point:nth-child(odd) .timeline-point-content {
  margin-bottom: 80px;
}

.timeline-point:last-child .timeline-point-content {
  margin-bottom: 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    var(--ribbon-orange),
    var(--ribbon-orange) 20px,
    var(--ribbon-black) 20px,
    var(--ribbon-black) 40px
  );
  transform: translateX(-50%);
}

.timeline-point {
  position: relative;
  margin: 80px 0;
}

.timeline-point::before {
  content: attr(data-year);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ribbon-orange);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.timeline-content {
  background: linear-gradient(135deg, #ff6b00, #ff4400);
  padding: 45px 35px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  border: 2px solid #ff8800;
  position: relative;
}

.timeline-content h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

/* Карточки О проекте */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-card {
  height: 300px;
  perspective: 1000px;
}

.about-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.about-card-front,
.about-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
}

.about-card-front {
  background: var(--card-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--ribbon-orange);
}

.about-card-back {
  background: var(--card-bg-hover);
  transform: rotateY(180deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-right: 4px solid var(--ribbon-orange);
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-icon {
  font-size: 60px;
  margin-bottom: 30px;
}

.about-card-front h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
}

.about-card-back p {
  font-size: 18px;
  line-height: 1.6;
}

/* Команда */
.team-section {
  padding: 80px 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
}

.team-photo {
  height: 350px;
  position: relative;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.team-info {
  padding: 30px;
  position: relative;
}

.team-info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
}

.team-role {
  color: var(--ribbon-orange);
  font-weight: 500;
  display: block;
  margin-bottom: 15px;
  font-size: 16px;
}

.team-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.team-decoration {
  display: flex;
  justify-content: flex-end;
}

.team-medal {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url("images/medal.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
}

/* Контакты */
.contacts-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.1) 0%, transparent 70%);
  opacity: 0;
}

.contact-icon-container {
  display: none;
}

.contact-icon-container::before {
  display: none;
}

.contact-icon {
  display: none;
}

.contact-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  margin-bottom: 15px;
}

.contact-card p {
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-description {
  color: var(--text-secondary) !important;
  font-size: 16px !important;
  margin-top: 15px;
}

.contact-decoration {
  display: none;
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  opacity: 0;
}

.modal.active {
  opacity: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.modal-content {
  background-color: var(--card-bg);
  padding: 8px;
  border: 1px solid var(--ribbon-orange);
  width: 90%;
  max-width: 150px;
  max-height: 30vh;
  overflow-y: auto;
  position: relative;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(245, 130, 32, 0.2);
  margin-top: 0;
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
}

.obelisk-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px;
}

.obelisk-details h2 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.2em;
  text-align: center;
}

.obelisk-details h3 {
  color: var(--ribbon-orange);
  font-size: 1em;
  margin: 10px 0 5px;
}

.obelisk-details p {
  margin: 5px 0;
  font-size: 0.9em;
  line-height: 1.4;
}

.obelisk-details strong {
  color: var(--ribbon-orange);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
  gap: 2px;
  margin: 3px 0;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  aspect-ratio: 1;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.fullscreen-image img {
  max-width: 30%;
  max-height: 20vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.nav-button {
  background: var(--ribbon-orange);
  color: white;
  border: none;
  padding: 2px 4px;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 500;
  font-size: 9px;
}

.nav-button {
  background: var(--ribbon-orange-light);
}

/* Футер */
.main-footer {
  position: relative;
  width: 100%;
  background: var(--bg-color);
  padding: 20px 0;
  margin-top: 0;
  bottom: 0;
}

.footer-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--ribbon-orange),
    var(--ribbon-orange) 20px,
    var(--ribbon-black) 20px,
    var(--ribbon-black) 40px
  );
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  justify-content: center;
}

.footer-flame {
  transform: scale(0.8);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-nav a {
  color: var(--text-color);
  text-decoration: none;
  padding: 5px 10px;
  position: relative;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--text-color);
  opacity: 0.8;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--text-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-nav a.active {
  color: var(--text-color);
}

.footer-nav a.active::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-bottom: 0;
}

.footer-bottom div {
  height: 10px;
}

.footer-decoration {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.footer-star {
  width: 40px;
  height: 40px;
  background-image: url("images/star.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .timeline-point-content {
    width: 80%;
    margin: 0 auto !important;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-point::before {
    left: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .about-grid,
  .team-grid,
  .contact-cards {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
  }
}

/* Стили для списка участников */
.team-list {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.team-member {
    background: var(--card-bg);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
}

.team-member h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.team-member .member-role {
    color: var(--ribbon-orange);
    font-size: 18px;
    margin-bottom: 10px;
}

.team-member .member-description {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 5px;
    opacity: 0.9;
}

/* Дополнительные дизайнерские элементы */

/* 1. Анимированная георгиевская лента в качестве разделителя секций */
.ribbon-divider {
  position: relative;
  height: 30px;
  margin: 40px 0;
  background: linear-gradient(
    45deg,
    var(--ribbon-orange) 50%,
    var(--ribbon-black) 50%
  );
  transform: translateY(-50%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 2. Стилизованные цитаты с георгиевской лентой */
.memorial-quote {
  position: relative;
  padding: 25px 35px;
  margin: 30px auto;
  background: var(--card-bg);
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.7;
  color: var(--text-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 1200px;
  width: 95%;
}

.memorial-quote::before {
  display: none;
}

.memorial-quote::after {
  display: none;
}

.quote-author {
  display: block;
  text-align: right;
  margin-top: 20px;
  font-style: normal;
  font-weight: 600;
  color: var(--ribbon-orange);
}

.memorial-tab-content {
  display: none;
  padding: 30px;
  background: var(--card-bg-hover);
  border-radius: 0 5px 5px 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.memorial-tab-content.active {
  display: block;
}

/* 7. Стилизованные карточки с эффектом "старой фотографии" */
.vintage-photo-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.vintage-photo-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border: 10px solid white;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.vintage-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(30%) contrast(110%);
}

.vintage-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-family: "Montserrat", sans-serif;
}

.vintage-photo-date {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 10px;
  background: var(--ribbon-orange);
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  transform: rotate(5deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* 8. Стилизованный счетчик с георгиевской лентой */
.memorial-counter {
  display: flex;
  justify-content: space-around;
  margin: 40px 0;
  flex-wrap: wrap;
}

.counter-item {
  text-align: center;
  position: relative;
  padding: 20px;
}

.counter-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.counter-value::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--ribbon-orange),
    var(--ribbon-orange) 5px,
    var(--ribbon-black) 5px,
    var(--ribbon-black) 10px
  );
}

.counter-label {
  font-size: 16px;
  color: var(--text-secondary);
  font-family: "Montserrat", sans-serif;
}

.literature-link {
  color: var(--ribbon-orange);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.literature-link:hover {
  color: var(--ribbon-orange-light);
  text-decoration: underline;
}