* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1e1b17;
  --secondary-color: #f3d3b4;
  --accent-color: #d4a574;
  --bg-light: #f9f1ea;
  --text-dark: #1e1b17;
  --text-light: #666;
  --white: #ffffff;
  --shadow: rgba(30, 27, 23, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}



/* Hero Block */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a3530 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero__title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--secondary-color);
  max-width: 600px;
  margin: 0 auto;
}

/* Presentation Video Block */
.presentation {
  padding: 80px 0;
  background-color: var(--white);
  text-align: center;
}

.presentation__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.presentation__subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.presentation__video-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  background-color: #000;
}

.presentation__video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
}

/* Gallery Block */
.gallery {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.gallery__main-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
}

/* Gallery Filters */
.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.gallery__filter {
  padding: 12px 30px;
  background-color: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 30px;
  transition: var(--transition);
}

.gallery__filter:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.gallery__filter--active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Gallery Grid */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 5px 20px var(--shadow);
  transition: var(--transition);
  background-color: var(--white);
  min-height: 300px;
}

.gallery__item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(30, 27, 23, 0.2);
}

.gallery__item--hidden {
  display: none;
}

.gallery__image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.gallery__item:hover .gallery__image {
  transform: scale(1.1);
}

/* Gallery Overlay */
.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(30, 27, 23, 0.9), transparent);
  color: var(--white);
  padding: 30px 20px;
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 3;
}

.gallery__item:hover .gallery__overlay {
  transform: translateY(0);
}

.gallery__title {
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 600;
}

.gallery__description {
  font-size: 14px;
  color: var(--secondary-color);
}

/* Load More */
.gallery__load-more {
  text-align: center;
}

.gallery__load-btn {
  padding: 15px 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 30px;
  transition: var(--transition);
}

.gallery__load-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--shadow);
}

/* Lightbox Block */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox--active {
  display: flex;
}

.lightbox__content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox__caption {
  background-color: rgba(30, 27, 23, 0.9);
  color: var(--white);
  padding: 20px;
  border-radius: 0 0 10px 10px;
  text-align: center;
}

.lightbox__title {
  font-size: 24px;
  margin-bottom: 8px;
}

.lightbox__description {
  color: var(--secondary-color);
  font-size: 16px;
}

.lightbox__close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 50px;
  cursor: pointer;
  z-index: 1001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
  padding: 20px;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 1001;
}

.lightbox__nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: 30px;
}

.lightbox__nav--next {
  right: 30px;
}

.lightbox__counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(30, 27, 23, 0.8);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
}

.lightbox__current,
.lightbox__total {
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }

  .presentation__title {
    font-size: 36px;
  }

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

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

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .presentation {
    padding: 60px 0;
  }

  .presentation__title {
    font-size: 32px;
  }

  .presentation__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .presentation__video-container {
    border-radius: 15px;
  }

  .gallery {
    padding: 60px 0;
  }

  .gallery__main-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .gallery__filters {
    gap: 10px;
  }

  .gallery__filter {
    padding: 10px 20px;
    font-size: 14px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lightbox__nav {
    padding: 15px;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }

  .lightbox__close {
    top: 10px;
    right: 10px;
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 0;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .presentation {
    padding: 50px 0;
  }

  .presentation__title {
    font-size: 26px;
  }

  .presentation__subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .presentation__video-container {
    border-radius: 10px;
  }

  .gallery {
    padding: 50px 0;
  }

  .gallery__main-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .gallery__filters {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .gallery__filter {
    width: 100%;
  }

  .gallery__item {
    min-height: 250px;
  }

  .gallery__image {
    min-height: 250px;
  }

  .gallery__overlay {
    padding: 20px 15px;
  }

  .gallery__title {
    font-size: 18px;
  }

  .gallery__description {
    font-size: 13px;
  }

  .gallery__load-btn {
    padding: 12px 40px;
    font-size: 14px;
  }

  .lightbox__content {
    max-width: 95%;
  }

  .lightbox__caption {
    padding: 15px;
  }

  .lightbox__title {
    font-size: 18px;
  }

  .lightbox__description {
    font-size: 14px;
  }

  .lightbox__counter {
    font-size: 14px;
    padding: 8px 15px;
    bottom: 15px;
  }
}