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

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  flex: 1;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.6; /* леко приглушаване */
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  font-weight: 700;
  text-decoration: none;
  font-size: 30px;
  margin-left: -65px;
}

.logo-img {
  width: 140px;
  height: auto;
  margin-top: 8px;
}

/* HEADER */
header {
  background-image: url("img/bg-header.jpg");
  color: rgb(255, 255, 255);
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px;
  margin: 25px auto;
  width: 95%;
  max-width: none;
  flex-wrap: nowrap;
  height: 80px;
}

header {
  background-image: url("img/bg-header.jpg");
  color: rgb(255, 255, 255);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px;
  margin: 25px auto;
  width: 90%;
  max-width: 1600px;
  flex-wrap: nowrap;
  height: 80px;
}

header h1 {
  font-size: 30px;
  margin-left: -40px;
}

.nav-container {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  gap: 20px;
}

.nav-center {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 20px;
}

.nav-center a,
.order-btn {
  color: white;
  text-decoration: none;
  font-weight: 600;
  background-color: rgba(61, 170, 243, 0.732);
  padding: 8px 14px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.nav-center a:hover,
.order-btn:hover {
  background-color: rgba(255, 255, 255, 0.313);
}

.cta-btn {
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.cta-btn:hover {
  background-color: #0056b3;
}

/* HERO VIDEO */
.hero-video {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 10% 60px;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  min-width: 280px;
}

.hero-left h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 16px;
  margin-bottom: 20px;
}

.hero-right {
  flex: 1;
  min-width: 280px;
  max-width: 450px;
  text-align: center;
  margin: 0 auto;
}

.video-wrapper {
  width: 100%;
  max-width: 430px; 
  aspect-ratio: 16/9;
  background-color: #000;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin: 0 auto; 
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* МОБИЛНИ УСТРОЙСТВА */
@media (max-width: 768px) {
  .hero-video {
      flex-direction: column;
      padding: 20px 5%;
      gap: 20px;
  }

  .hero-left, .hero-right {
      width: 100%;
      max-width: 100%;
      padding: 0;
  }

  .video-wrapper {
      max-width: 100%;
  }
}

.features {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 30px;
  padding: 10px;
}

.feature-card {
  background: linear-gradient(135deg, #ffffff77, #f0f8ff43);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
  padding: 30px 20px;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.4s; }
.feature-card:nth-child(4) { animation-delay: 0.6s; }

.feature-card:hover {
  transform: translateY(0px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature-card .icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 16px;
  color: #003366;
  font-weight: 600;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.features-wrapper {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px 40px;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1400px;
  text-align: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.features-wrapper h2 {
  font-size: 28px;
  color: #003366;
  font-weight: 700;
  margin-bottom: 30px;
}


/* GALLERY */

.gallery-page {
  padding: 10px 10%;
  color: #000;
}

.gallery-page h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

.gallery-section {
  margin-bottom: 60px;
}

.gallery-section h3 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 20px;
  text-align: left;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 50px;
  justify-items: center;
}

.gallery-row img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.gallery-row img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-row img {
    max-width: 100%;
    height: auto;
  }
}


/* PRICES */

.prices {
  padding: 10px 10%;
  text-align: center;
}

.prices h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.price-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
  justify-content: center;
}

.price-card {
  background-color: #e6f0ff;
  border-radius: 12px;
  padding: 40px;
  max-width: 330px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #003366;
}

.price-card p {
  margin: 5px 0;
  font-size: 16px;
  color: #003366;
}


.price-table {
  margin-top: 40px;
  text-align: center;
  padding-bottom: 80px;
}

.price-table h3 {
  font-size: 24px;
  color: #003366;
  margin-bottom: 20px;
}

.price-table table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.price-table th,
.price-table td {
  padding: 15px;
  border-bottom: 1px solid #ccc;
  font-size: 16px;
}

.price-table th {
  background-image: url("img/bg-header.jpg");
  color: white;
  font-weight: 600;
}

.price-table tr:last-child td {
  border-bottom: none;
}

/* FOOTER */

footer {
  background-image: url("img/bg-header.jpg");
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 20px 10%;
}

.footer-content p {
  margin: 5px 0;
  font-size: 14px;
}

.footer-content a {
  color: #ffffff;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* MEDIA */

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-img img {
    margin-top: 20px;
    width: 80%;
  }

  .price-cards {
    flex-direction: column;
    align-items: center;
  }
}

.sticker {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  width: 150px;
  opacity: 0;
  animation: bounceInRotate 1.2s ease-out forwards; 
  animation-delay: 1s;
}

.sticker img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .sticker {
    width: 90px; 
    top: 80px; 
    right: 10px;
  }
}

@keyframes bounceInRotate {
  0% {
    transform: scale(0.3) rotate(30deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(30deg);
    opacity: 1;
  }
  70% {
    transform: scale(0.95) rotate(30deg);
  }
  100% {
    transform: scale(1) rotate(30deg);
    opacity: 1;
  }
}

/* Ч.З.В? */
main.faq-container {
  padding: 10px 10%;
  flex: 1;
}

main.faq-container h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #003366;
}

.faq-item {
  background-color: #ffffffdd;
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.5s ease forwards;
}

.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.3s; }
.faq-item:nth-child(5) { animation-delay: 0.4s; }
.faq-item:nth-child(6) { animation-delay: 0.5s; }
.faq-item:nth-child(7) { animation-delay: 0.6s; }
.faq-item:nth-child(8) { animation-delay: 0.7s; }
.faq-item:nth-child(9) { animation-delay: 0.8s; }
.faq-item:nth-child(10) { animation-delay: 0.9s; }

.faq-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #007bff;
}

.faq-item p {
  font-size: 16px;
  color: #333;
}

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

/* CONTACT PAGE */

.contact-section {
  padding: 10px 10%;
  flex: 1;
}

.contact-section h2 {
  text-align: center;
  font-size: 32px;
  color: #003366;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-form, .contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 16px;
}

.contact-form button {
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.contact-info p {
  font-size: 15px;
  margin-bottom: 12px;
  color: #003366;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ORDER FORM */
.order-container {
  padding: 10px 10%;
  max-width: 1000px;
  margin: auto;
}

.order-container h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #003366;
}

.order-form {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-form label {
  font-weight: 600;
  color: #003366;
}

.order-form input,
.order-form select {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  width: 100%;
}

.order-form input[type="file"] {
  border: none;
}

.order-form .cta-btn {
  align-self: center;
  padding: 12px 30px;
  font-size: 18px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.order-form .cta-btn:hover {
  background-color: #0056b3;
}

.upload-instructions {
  text-align: center;
  margin: 40px auto;
  max-width: 900px;
}

.upload-instructions h2 {
  font-size: 28px;
  color: #000;
  margin-bottom: 10px;
}

.upload-instructions .warning {
  color: red;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.upload-instructions p {
  font-size: 16px;
  margin-bottom: 20px;
}

.upload-example {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.burger {
  display: none;
  font-size: 35px;
  cursor: pointer;
  color: white;
  margin-left: auto;
}

/* мобилна навигация */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .nav-center {
    display: none;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.716);
    padding: 15px;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 999;
    border-radius: 0 0 20px 20px;
  }

  .nav-center.show {
    display: flex;
  }
}

/* Универсално ограничение */
body, html {
  max-width: 100%;
  overflow-x: hidden;
}

.hero-video,
.hero-left,
.hero-right {
  max-width: 100%;
  overflow: hidden;
}

.hero-right video {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .features {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 90%;
    max-width: 300px;
  }
}

/* МОБИЛНИ УСТРОЙСТВА */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 20px;
  }

  .burger {
    display: block;
    font-size: 40px;
    color: white;
    cursor: pointer;
    margin-left: auto;
    margin-right: -50px;
  }

  .logo-link {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -90px;
  }

  .nav-center {
    display: none;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 999;
    border-radius: 0 0 20px 20px;
  }

  .nav-center.show {
    display: flex;
  }
}

@media (max-width: 768px) {
  header h1 {
      font-size: 25px;
      margin-left: -50px;
      text-align: center;
      width: 100%;
      margin-top: 5px;
  }
}





