
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-dark: #333333;
  --gray-medium: #666666;
  --gray-light: #eeeeee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--gray-dark);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
}
/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-logo {
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 1px;
}

.navbar-menu {
  display: flex;
  list-style: none;
}

.navbar-item {
  margin-left: 30px;
}

.navbar-link {
  color: var(--gray-dark);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-link:hover {
  color: var(--black);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.3s ease;
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar-container {
    height: 70px;
  }

  .navbar-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .navbar-menu.active {
    left: 0;
  }

  .navbar-item {
    margin: 15px 0;
    text-align: center;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  header {
    margin-top: 70px;
  }
}
header {
  position: relative;
  height: calc(100vh - 80px); /* Учитываем высоту navbar */
  min-height: 600px;
  margin-top: 80px; /* Высота navbar */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background-color: var(--black);
}


header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.header-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease;
}

.header-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--gray-light);
  animation: fadeInUp 1s ease;
}

.cta-button {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 12px 30px;
  border: 1px solid var(--white);
  border-radius: 0;
  text-decoration: none;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.3s ease;
  animation: fadeIn 1.5s ease;
}

.cta-button:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.content {
  background: var(--white);
  border: 1px solid var(--gray-light);
  margin-bottom: 50px;
}

.content1 .content {
  padding: 40px;
}

.text h2 {
  color: var(--black);
  font-size: 2.2rem;
  margin-bottom: 20px;
  position: relative;
  font-weight: 300;
  letter-spacing: 1px;
}

.text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 1px;
  background: var(--black);
}

.text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--gray-medium);
  line-height: 1.8;
}

.images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.images img:hover {
  transform: scale(1.03);
  filter: grayscale(30%);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: var(--gray-light);
}

.caption {
  margin: auto;
  display: block;
  width: 80%;
  text-align: center;
  color: var(--white);
  padding: 10px 0;
  font-size: 1.1rem;
}

footer {
  background: var(--black);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
  font-weight: 300;
  letter-spacing: 1px;
}

footer p {
  color: var(--gray-light);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header-content h1 {
    font-size: 2.5rem;
  }

  .header-content p {
    font-size: 1rem;
  }

  .container {
    padding: 50px 15px;
  }

  .content1 .content {
    padding: 25px;
  }

  .text h2 {
    font-size: 1.8rem;
  }

  .modal-content {
    max-width: 95%;
    max-height: 95%;
  }
}

@media (max-width: 480px) {
  .header-content h1 {
    font-size: 2rem;
  }

  .images {
    grid-template-columns: 1fr;
  }

  .close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}
