/* ==========================================
   ANICHKOV BRIDGE - STYLES
   ========================================== */

/* ========== CSS VARIABLES ========== */
:root {
  /* Colors */
  --primary: #1B3A57;
  --primary-light: #2C5F8D;
  --primary-dark: #0F1F2E;
  
  --gold: #C9A961;
  --gold-light: #E0C589;
  --bronze: #8B7355;
  
  --accent-red: #A4343A;
  --stone: #8C9BA5;
  
  --white: #FFFFFF;
  --cream: #F8F6F1;
  --gray-light: #E8E8E8;
  --gray: #6B7280;
  --gray-dark: #374151;
  --black: #1F2937;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #1B3A57 0%, #2C5F8D 100%);
  --gradient-gold: linear-gradient(135deg, #C9A961 0%, #E0C589 100%);
  --overlay-dark: linear-gradient(180deg, rgba(15,31,46,0.7) 0%, rgba(15,31,46,0.3) 100%);
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-2xl: 8rem;
  
  /* Sizes */
  --container-width: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

/* ========== UTILITIES ========== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(201,169,97,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,169,97,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(15,31,46,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 1rem 2rem;
}

.navbar__container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.navbar__logo span {
  color: var(--gold);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition-base);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.navbar__nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar__link {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.navbar__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--gold);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__lang {
  display: flex;
  gap: 0.5rem;
}

.navbar__lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: all var(--transition-base);
}

.navbar__lang-btn.active,
.navbar__lang-btn:hover {
  background: rgba(201,169,97,0.2);
  border-color: var(--gold);
  color: var(--gold);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 2rem;
}

.hero__label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  color: var(--white);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 3rem;
}

.hero__meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 3rem;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__meta-item::before {
  content: "•";
  color: var(--gold);
  font-size: 1.5rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.hero__scroll-icon {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  position: relative;
}

.hero__scroll-icon::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

/* ========== INTRO SECTION ========== */
.intro {
  padding: var(--spacing-xl) 2rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201,169,97,0.05) 0%, transparent 100%);
  transform: skewX(-10deg);
}

.intro__container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.intro__content {
  position: relative;
  z-index: 2;
}

.intro__eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.intro__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.intro__description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 2rem;
}

.intro__map {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro__stats {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color:#FFF;
  background: var(--gradient-gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-card__value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-card__label {
  font-size: 0.875rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== TIMELINE SECTION (UPDATED) ========== */
.timeline {
  padding: var(--spacing-2xl) 2rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.timeline__header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.timeline__title {
  margin-bottom: 1rem;
}

.timeline__subtitle {
  font-size: 1.25rem;
  color: var(--gray);
}

.timeline__wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.timeline__container {
  position: relative;
  padding: 80px 60px 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--gray-light);
}

/* Кастомный скроллбар */
.timeline__container::-webkit-scrollbar {
  height: 8px;
}

.timeline__container::-webkit-scrollbar-track {
  background: var(--gray-light);
  border-radius: 4px;
}

.timeline__container::-webkit-scrollbar-thumb {
  background: var(--gradient-gold);
  border-radius: 4px;
}

.timeline__container::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

.timeline__line {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
  z-index: 1;
}

.timeline__track {
  display: flex;
  gap: 3rem;
  position: relative;
  min-width: min-content;
}

/* Timeline Event */
.timeline-event {
  position: relative;
  flex: 0 0 340px;
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Год над точкой */
.timeline-event__year {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
  z-index: 3;
}

/* Точка на линии */
.timeline-event__dot {
  width: 24px;
  height: 24px;
  background: var(--white);
  border: 5px solid var(--gold);
  border-radius: 50%;
  z-index: 2;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.4);
  animation: pulse 2s infinite;
}

.timeline-event:hover .timeline-event__dot {
  width: 32px;
  height: 32px;
  border-color: var(--primary);
  box-shadow: 0 0 0 8px rgba(201, 169, 97, 0.2);
  animation: none;
}

/* Карточка события */
.timeline-event__card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  width: 100%;
}

.timeline-event:hover .timeline-event__card {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.timeline-event__title {
  padding: 1.5rem 1.5rem 1rem;
  font-size: 1.25rem;
  color: var(--primary);
  text-align: center;
  background: var(--white);
}

.timeline-event__image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.timeline-event__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.timeline-event:hover .timeline-event__image img {
  transform: scale(1.1);
}

.timeline-event__description {
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-dark);
  text-align: center;
  min-height: 100px;
}

.timeline-event__badge {
  display: block;
  margin: 0 1.5rem 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* Кнопки навигации */
.timeline__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.timeline__nav:hover {
  background: var(--gradient-gold);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.timeline__nav--prev {
  left: 1rem;
}

.timeline__nav--next {
  right: 1rem;
}

.timeline__nav .material-icons {
  font-size: 28px;
}

/* Индикатор прокрутки */
.timeline__indicator {
  text-align: center;
  margin-top: 2rem;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.timeline__indicator .material-icons {
  font-size: 2rem;
  color: var(--gold);
}

.timeline__indicator p {
  font-size: 0.875rem;
  margin: 0;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(201, 169, 97, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .timeline__container {
    padding: 60px 20px 2rem;
  }
  
  .timeline-event {
    flex: 0 0 280px;
    width: 280px;
  }
  
  .timeline__nav {
    display: none;
  }
  
  .timeline__indicator {
    display: flex;
  }
}

@media (min-width: 769px) {
  .timeline__indicator {
    display: none;
  }
}



/* ========== SCULPTURES SECTION ========== */
.sculptures {
  padding: var(--spacing-2xl) 2rem;
  background: var(--cream);
}

.sculptures__header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.sculptures__title {
  margin-bottom: 1rem;
}

.sculptures__subtitle {
  font-size: 1.25rem;
  color: var(--gray);
}

.sculptures__slider {
  max-width: var(--container-width);
  margin: 0 auto 4rem;
}

.sculpture-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sculpture-card__image {
  position: relative;
  height: 500px;
}

.sculpture-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sculpture-card__badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 60px;
  height: 60px;
  background: var(--gradient-gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.sculpture-card__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sculpture-card__title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.sculpture-card__location {
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.sculpture-card__description {
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.sculpture-card__details {
  background: var(--cream);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: var(--gray);
}

.detail-value {
  color: var(--primary);
  font-weight: 500;
}

/* Swiper customization */
.swiper-button-next,
.swiper-button-prev {
  color: var(--gold);
  background: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.25rem;
}

.swiper-pagination-bullet {
  background: var(--gold);
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
  border-radius: 6px;
}

/* Bridge Map */
.sculptures__map {
  max-width: 900px;
  margin: 0 auto;
}

.sculptures__map-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.bridge-map {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.bridge-map__container {
  position: relative;
  width: 100%;
  padding-bottom: 60%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.bridge-map__container::before {
  content: "Фонтанка";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.2);
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.bridge-map__sculpture {
  position: absolute;
  cursor: pointer;
}

.bridge-map__marker {
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 3px solid var(--white);
}

.bridge-map__sculpture:hover .bridge-map__marker {
  transform: scale(1.2);
  box-shadow: 0 0 0 10px rgba(201,169,97,0.2);
}

.bridge-map__tooltip {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.bridge-map__sculpture:hover .bridge-map__tooltip {
  opacity: 1;
}

/* ========== LEGENDS SECTION ========== */
.legends {
  padding: var(--spacing-2xl) 2rem;
  background: var(--white);
}

.legends__header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.legends__title {
  margin-bottom: 1rem;
}

.legends__subtitle {
  font-size: 1.25rem;
  color: var(--gray);
}

.legends__grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.legend-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
  cursor: pointer;
}

.legend-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.legend-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.legend-card__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legend-card__text {
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.legend-card__tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--cream);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== GALLERY SECTION ========== */
.gallery {
  padding: var(--spacing-2xl) 2rem;
  background: var(--cream);
}

.gallery__header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.gallery__title {
  margin-bottom: 1rem;
}

.gallery__subtitle {
  font-size: 1.25rem;
  color: var(--gray);
}

.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.gallery__filter {
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-dark);
  transition: all var(--transition-base);
  cursor: pointer;
}

.gallery__filter:hover,
.gallery__filter.active {
  background: var(--gradient-gold);
  border-color: var(--gold);
  color: var(--white);
}

.gallery__grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform var(--transition-base);
}

.gallery__item:hover {
  transform: scale(1.05);
  z-index: 10;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  color: #fff;
  background: rgba(27,58,87,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__icon {
  font-size: 3rem;
}

.gallery__item.hidden {
  display: none;
}


/* ========== VISIT SECTION (UPDATED) ========== */
.visit {
  padding: var(--spacing-2xl) 2rem;
  background: var(--white);
}

.visit__header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.visit__title {
  margin-bottom: 1rem;
}

.visit__subtitle {
  font-size: 1.25rem;
  color: var(--gray);
}

.visit__content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Visit Block */
.visit-block {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.visit-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.visit-block:hover::before {
  transform: scaleX(1);
}

.visit-block__icon {
  margin-bottom: 1.5rem;
}

.visit-block__icon .material-icons {
  font-size: 3rem;
  color: var(--gold);
}

.visit-block__title {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.visit-block__content {
  color: var(--gray-dark);
}

/* Transport Options */
.transport-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.transport-option {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.transport-option:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.transport-option .material-icons {
  font-size: 2.5rem;
  color: var(--gold);
  min-width: 40px;
}

.transport-option strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.transport-option p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  color: var(--gray-dark);
}

/* Photo Spots List */
.photo-spots-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.photo-spot-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.photo-spot-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.photo-spot-item__number {
  min-width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.photo-spot-item__content h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.photo-spot-item__content p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--gray-dark);
}

.rating {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.25rem;
}

.rating .material-icons {
  font-size: 1.25rem;
  color: var(--gold);
}

/* Nearby Attractions */
.nearby-attractions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nearby-attraction {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.nearby-attraction:hover {
  background: var(--gradient-gold);
  color: var(--white);
  transform: translateX(10px);
}

.nearby-attraction__distance {
  min-width: 60px;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  flex-shrink: 0;
}

.nearby-attraction:hover .nearby-attraction__distance {
  background: var(--white);
  color: var(--gold);
}

.nearby-attraction__content {
  flex: 1;
}

.nearby-attraction__content h4 {
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  transition: color var(--transition-base);
}

.nearby-attraction:hover .nearby-attraction__content h4 {
  color: var(--white);
}

.nearby-attraction__content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray);
  transition: color var(--transition-base);
}

.nearby-attraction:hover .nearby-attraction__content p {
  color: rgba(255, 255, 255, 0.9);
}

.nearby-attraction > .material-icons {
  font-size: 1.5rem;
  color: var(--gray);
  transition: all var(--transition-base);
}

.nearby-attraction:hover > .material-icons {
  color: var(--white);
  transform: translateX(5px);
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.tips-grid li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.tips-grid li:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.tips-grid li .material-icons {
  font-size: 1.75rem;
  color: var(--gold);
  flex-shrink: 0;
}

.tips-grid li span:last-child {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-dark);
}

/* Map Container */
.map-container {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .visit-block {
    padding: 2rem 1.5rem;
  }
  
  .transport-option {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .photo-spot-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .map-actions {
    flex-direction: column;
  }
  
  .map-actions .btn {
    width: 100%;
  }
}


/* ========== QUIZ SECTION (UPDATED) ========== */
.quiz {
  padding: var(--spacing-xl) 2rem;
  background: var(--gradient-hero);
  color: var(--white);
}

.quiz__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quiz__icon .material-icons {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.quiz__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.quiz__subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.quiz__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.quiz__stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
}

.quiz__stat .material-icons {
  font-size: 2.5rem;
  color: var(--gold);
}

.quiz__stat div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.quiz__stat strong {
  font-size: 1.75rem;
  font-family: var(--font-heading);
  display: block;
}

.quiz__stat span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

/* ========== FACTS SECTION ========== */
.facts {
  padding: var(--spacing-xl) 2rem;
  background: var(--cream);
}

.facts__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.facts__icon {
  margin-bottom: 1.5rem;
}

.facts__icon .material-icons {
  font-size: 4rem;
  color: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

.facts__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.facts__subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 3rem;
}

.facts__display {
  margin-bottom: 2rem;
}

.facts__card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  transition: all var(--transition-base);
}

.facts__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.facts__card-icon {
  font-size: 3rem;
  color: var(--gold);
}

.facts__card p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-dark);
  margin: 0;
  max-width: 600px;
}

.facts__counter {
  font-size: 0.875rem;
  color: var(--gray);
  font-weight: 600;
}

.facts__counter span {
  color: var(--gold);
  font-size: 1.25rem;
}

/* ========== CTA SECTION ========== */
.cta {
  padding: var(--spacing-2xl) 2rem;
  background: var(--cream);
  text-align: center;
}

.cta__content {
  max-width: 800px;
  margin: 0 auto;
}

.cta__title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta__subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta__social span {
  color: var(--gray);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.social-link:hover {
  background: var(--gradient-gold);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3rem 2rem 2rem;
}

.footer__content {
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer__logo span {
  color: var(--gold);
}

.footer__tagline {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__column h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer__column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__column a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-base);
}

.footer__column a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.footer__scroll-top {
  width: 48px;
  height: 48px;
  background: var(--gradient-gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.footer__scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ========== ANIMATIONS ========== */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .sculpture-card {
    grid-template-columns: 1fr;
  }
  
  .sculpture-card__image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  /* Navigation */
  .navbar__toggle {
    display: flex;
  }
  
  .navbar__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition-base);
    box-shadow: -5px 0 20px rgba(0,0,0,0.3);
  }
  
  .navbar__nav.active {
    right: 0;
  }
  
  .navbar__link {
    font-size: 1.125rem;
  }
  
  /* Hero */
  .hero__meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero__cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Intro */
  .intro__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .intro__stats {
    grid-template-columns: 1fr;
  }
  
  /* Timeline */
  .timeline__items {
    grid-template-columns: 1fr;
    padding-top: 0;
  }
  
  .timeline__line {
    display: none;
  }
  
  .timeline-item__dot {
    display: none;
  }
  
  /* Footer */
  .footer__main {
    grid-template-columns: 1fr;
  }
  
  .footer__links {
    grid-template-columns: 1fr;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cta__buttons {
    flex-direction: column;
  }
  
  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* =============== */

/* ========== LAZY LOADING & PLACEHOLDERS ========== */

/* Placeholder для изображений */
.image-placeholder {
    /*position: absolute;
    top: 0;
    left: 0;*/
    width: 100%;
    height: 100%;
    background: linear-gradient(
        110deg, 
        #ececec 8%, 
        #f5f5f5 18%, 
        #ececec 33%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    border-radius: inherit;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Lazy изображения */
.lazy-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 2;
}

.lazy-image.loaded {
    opacity: 1;
}

.lazy-image.loaded ~ .image-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Material Icons */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

/* Иконки в статистике */
.stat-card__icon.material-icons {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Иконки в легендах */
.legend-card__icon.material-icons {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Иконки в инфокартах */
.info-card__icon.material-icons {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Иконки в галерее */
.gallery__icon.material-icons {
    font-size: 48px;
}

/* Иконки в квизе */
.quiz__icon.material-icons {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Иконки в кнопках */
.btn .material-icons {
    font-size: 20px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover .material-icons {
    transform: translateX(4px);
}

.btn-large .material-icons {
    font-size: 24px;
    margin-left: 12px;
}

/* Иконки рейтинга */
.photo-spot__rating .material-icons {
    font-size: 16px;
    color: #ffc107;
}

/* Иконка локации */
.sculpture-card__location .material-icons,
.legend-card__location .material-icons {
    font-size: 18px;
    vertical-align: middle;
    margin-right: 4px;
}

/* Контейнеры для изображений */
/* .hero__background, */
.timeline-item__image,
.sculpture-card__image,
.gallery__item {
    position: relative;
    overflow: hidden;
}

/* Адаптация для скульптурных карточек */
.sculpture-card__image {
    height: 400px;
}

.sculpture-card__image img {
    border-radius: 12px 12px 0 0;
}

/* Адаптация для таймлайна */
.timeline-item__image {
    height: 250px;
    margin-bottom: 1rem;
    border-radius: 8px;
}

/* Адаптация для галереи */
.gallery__item {
    aspect-ratio: 4/3;
}

.gallery__item img {
    border-radius: 8px;
}

/* Responsive для Material Icons */
@media (max-width: 768px) {
    .stat-card__icon.material-icons {
        font-size: 36px;
    }
    
    .legend-card__icon.material-icons {
        font-size: 48px;
    }
    
    .info-card__icon.material-icons {
        font-size: 42px;
    }
    
    .quiz__icon.material-icons {
        font-size: 64px;
    }
}

/* Accessibility */
.material-icons[aria-hidden="true"] {
    pointer-events: none;
}

/* Print styles */
@media print {
    .image-placeholder {
        display: none;
    }
    
    .lazy-image {
        opacity: 1 !important;
    }
}


/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(mt-icons.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
}
