
/* === ГЛОБАЛЬНЫЕ СТИЛИ === */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #1e1e2e, #2e2e44, #3f3f63);
  color: #fff;
}

/* === NAVBAR И БУРГЕР === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, rgba(126,34,206,0.7), rgba(144,238,144,0.5));
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar img.logo {
  height: 40px;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.navbar nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.navbar nav ul li a:hover {
  color: #ffccff;
}

.burger {
  display: none;
  font-size: 2rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #1e1e2e;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
    z-index: 1001;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 10px;
  }
}

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.hero .video-wrapper {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .content {
  z-index: 2;
  padding: 2rem;
  background-color: rgba(0,0,0,0.4);
  border-radius: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero .button {
  display: inline-block;
  padding: 12px 25px;
  background: #ff0066;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
}

/* === BUTTON === */
.button {
  background: linear-gradient(to right, #7f00ff, #00ff87);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* === ВИДЕО === */



.video-card {
  flex: 1 1 250px;
  max-width: 300px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.video-card img,
.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9; /* стандартный YouTube-формат */
  object-fit: cover;    /* обрезает лишнее, не искажает картинку */
  display: block;
  border-radius: 10px;
}


.video-card button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff0066;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

/* === FEEDBACK === */
.feedback-card, .feedback-entry {
  background: linear-gradient(to right, #7f00ff, #00ff87);
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  transition: transform 0.3s ease;
}
.feedback-card:hover,
.feedback-entry:hover {
  transform: scale(1.02);
}

/* === МОДАЛЬНОЕ ОКНО === */
.modal {
  display: none;
  opacity: 0;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}
.modal.show {
  display: flex;
  opacity: 1;
}
.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
}
.modal-content iframe {
  width: 100%;
  height: 56vw;
  max-height: 450px;
  border-radius: 10px;
}
.close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}


.call-button {
  position: fixed;
  bottom: -80px;
  left: 1rem;
  z-index: 9999;
  background: linear-gradient(145deg, #ff5858, #ff0000);
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: bottom 0.6s ease;
  opacity: 0.9;
}
.call-button:hover {
  opacity: 1;
}
@media (max-width: 768px) {
  .call-button {
    font-size: 12px;
    padding: 10px 14px;
  }
}
