/* Bendras fonas, šriftas */
body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  background: #0a0a0a;
  color: #f0f0f0;
}

/* Viršutinis meniu */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  z-index: 1000;
}

header .logo {
  font-size: 26px;
  font-weight: bold;
  color: #a054ff;
  text-decoration: none;
  letter-spacing: 0.5px;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav a {
  color: #ccc;
  text-decoration: none;
  margin: 0 18px;
  font-size: 16px;
  transition: 0.3s;
}

nav a:hover {
  color: #a054ff;
}

/* Hero sekcija */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) brightness(0.5);
  top: 0;
  left: 0;
  z-index: -1;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
  z-index: -1;
}

.hero-content h1 {
  font-size: 58px;
  margin-bottom: 5px;
}

.hero-content p {
  font-size: 22px;
  color: #cfcfcf;
  margin: 0;
}

.hero-content h3 {
  font-weight: 400;
  color: #999;
  margin-top: 10px;
}

/* Produktų sekcija */
.product {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 120px 10%;
  border-bottom: 1px solid #1b1b1b;
}

.product.reverse {
  flex-direction: row-reverse;
  background: #0f0f0f;
}

.product-img {
  width: 45%;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(160, 84, 255, 0.25);
}

.product-info {
  width: 50%;
}

.product-info h2 {
  font-size: 34px;
  margin-bottom: 8px;
}

.price {
  font-size: 22px;
  font-weight: bold;
  color: #a054ff;
  margin-bottom: 15px;
}

.product-info p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.product-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-info li {
  margin-bottom: 8px;
  border-left: 3px solid #a054ff;
  padding-left: 10px;
  color: #bcbcbc;
  font-size: 15px;
}

/* Techniniai duomenys */
.specs {
  text-align: center;
  padding: 80px 5%;
  background: #121212;
}

.specs table {
  width: 100%;
  border-collapse: collapse;
  color: #bbb;
  border-radius: 10px;
  overflow: hidden;
}

.specs th {
  background: #1a1a1a;
  color: #a054ff;
  padding: 10px 15px;
  font-size: 16px;
}

.specs td {
  padding: 10px 15px;
  border-bottom: 1px solid #333;
}

.specs tr:hover {
  background: rgba(160, 84, 255, 0.05);
}

/* Santrauka */
.summary {
  text-align: center;
  padding: 100px 10%;
  background: #0a0a0a;
}

.summary h2 {
  font-size: 30px;
  margin-bottom: 15px;
}

.summary p {
  font-size: 17px;
  color: #ccc;
  max-width: 700px;
  margin: auto;
  line-height: 1.5;
}

/* Galerija */
.gallery {
  text-align: center;
  padding: 80px 0;
  background: #090909;
}

.gallery h2 {
  font-size: 30px;
  margin-bottom: 25px;
}

.gallery-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery-wrap img {
  width: 280px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(160, 84, 255, 0.2);
  transition: 0.3s;
}

.gallery-wrap img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(160, 84, 255, 0.4);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  background: #000;
  color: #777;
  font-size: 13px;
}

/* Animacija */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Telefonams */
@media (max-width: 850px) {
  header {
    flex-direction: column;
    padding: 15px 20px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    margin: 8px 10px;
    font-size: 15px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content h3 {
    font-size: 15px;
  }

  .product {
    flex-direction: column;
    padding: 80px 7%;
    gap: 30px;
  }

  .product-img {
    width: 90%;
  }

  .product-info {
    width: 100%;
    text-align: center;
  }

  .product-info ul {
    display: inline-block;
    text-align: left;
  }

  .gallery-wrap img {
    width: 90%;
    max-width: 350px;
  }

  .summary p {
    font-size: 16px;
    line-height: 1.6;
  }
/* --- Pataisyta mobili versija --- */
@media (max-width: 850px) {
  /* header */
  header {
    flex-direction: column;
    padding: 10px 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    margin: 6px 10px;
    font-size: 14px;
  }

  /* hero */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 100px 5% 60px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 34px;
    line-height: 1.1;
    word-break: break-word;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-content h3 {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
    color: #bfbfbf;
    padding: 0 10px;
  }

  /* product sections */
  .product {
    flex-direction: column;
    padding: 70px 5%;
    gap: 25px;
  }

  .product.reverse {
    flex-direction: column;
  }

  .product-img {
    width: 100%;
    max-width: 380px;
  }

  .product-info {
    width: 100%;
    text-align: center;
  }

  .product-info h2 {
    font-size: 26px;
  }

  .product-info p {
    font-size: 15px;
    line-height: 1.6;
  }

  .product-info ul {
    display: inline-block;
    text-align: left;
    font-size: 14px;
  }

  .price {
    font-size: 18px;
  }

  /* specs table */
  .specs {
    padding: 60px 4%;
  }

  .specs h2 {
    font-size: 26px;
  }

  .specs table {
    font-size: 14px;
  }

  .specs th, .specs td {
    padding: 8px;
  }

  /* summary */
  .summary {
    padding: 70px 8%;
  }

  .summary h2 {
    font-size: 22px;
  }

  .summary p {
    font-size: 15px;
  }

  /* gallery */
  .gallery {
    padding: 70px 0;
  }

  .gallery h2 {
    font-size: 24px;
  }

  .gallery-wrap {
    gap: 15px;
  }

  .gallery-wrap img {
    width: 90%;
    max-width: 320px;
  }

  /* footer */
  footer {
    font-size: 12px;
    padding: 25px 0;
  }
}

