:root {
      --primary-color: #f9b233;
      --accent-color: #212121;
      --bg-color: #ffffffef;
      --text-color: #333;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

  body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ffffff, #efefef); ;;
    color: #222;
    line-height: 1.6;
  }


.zoom-gallery-gallery {
  display: grid;
  gap: 10px; /* расстояние между картинками */
  grid-template-columns: repeat(3, 1fr); /* по умолчанию 3 колонки на ПК */
}

.zoom-gallery-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* Адаптив для телефонов */
@media (max-width: 768px) {
  .zoom-gallery-gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на мобильных */
  }
}


header {
  position: relative;
  height: 100vh;
  background: url('images/20.webp') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  overflow: hidden;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

header .header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

header h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.3em;
  margin: 10px 0 20px 0;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 1em;
  }
}
.btn {
  display: inline-flex;
  justify-content: center; 
  align-items: center;    
  padding: 14px 28px;
  font-size: 1.1em;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
}

.btn:hover {
  background-color: #0056b3;
}


section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px 20px;
  background: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); 
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s
}


h2 {
  margin-top: 0;
  font-size: 1.8em;
  color: #111;
}
    section h2 {
      text-align: center;
      margin-bottom: 30px;
      color: var(--accent-color);
    }




    .photo-placeholder {
      width: 100%;
      aspect-ratio: 16 / 9;
      background-color: #ccc;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 30px 0;
      font-style: italic;
      color: #555;
      border-radius: 8px;
    }

    .photo-placeholder-2 {
      width: 100%;
      aspect-ratio: 15 / 10;
      background-color: #ccc;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 30px 0;
      font-style: italic;
      color: #555;
      border-radius: 8px;
    }

    .photo-placeholder-3 {
      width: 100%;
      aspect-ratio: 16 / 9;
      background-color: #ccc;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 30px 0;
      font-style: italic;
      color: #555;
      border-radius: 8px;
    }

    .photo-placeholder-4 {
      width: 100%;
      aspect-ratio: 16 / 11;
      background-color: #ccc;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 30px 0;
      font-style: italic;
      color: #555;
      border-radius: 8px;
    }

    ul {
      margin: 20px 0;
      padding-left: 20px;
    }

    footer {
      background-color: var(--accent-color);
      color: #fff;
      padding: 40px 20px;
      text-align: center;
    }

    a {
      color: #0077cc;
    }

    @media (max-width: 768px) {
      header h1 {
        font-size: 2em;
      }

      header p {
        font-size: 1em;
      }
    }
    


.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 25px 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 450px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  position: relative;
}

.popup h2 {
  margin-top: 0;
  color: #333;
}

.popup .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.popup ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.popup ul li {
  margin: 12px 0;
  padding: 8px 12px;
  border-radius: 5px;
  background: #f0f0f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.popup ul li:hover {
  background: #e0e0e0;
  font-size: 1.03em;
}
