* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  cursor: none;
  background: radial-gradient(circle at 20% 30%, #1a1a1a, #0a0a0a);
  color: #f0f0f0;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
  background-color: #0a0a0a;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 100px
  );
}
.custom-cursor {
  width: 24px;
  height: 24px;
  border: 2px solid #aaa;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  transition:
    transform 0.2s ease,
    width 0.2s,
    height 0.2s,
    background 0.2s;
  transform: translate(-50%, -50%);
}
.custom-cursor.hover {
  width: 36px;
  height: 36px;
  background-color: rgba(170, 170, 170, 0.2);
  border-color: #fff;
}
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1),
    transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-item:nth-child(1) {
  transition-delay: 0.1s;
}
.service-item:nth-child(2) {
  transition-delay: 0.2s;
}
.service-item:nth-child(3) {
  transition-delay: 0.3s;
}
.service-item:nth-child(4) {
  transition-delay: 0.4s;
}
.hero {
  transition: transform 0.1s ease-out;
  will-change: transform;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.navbar {
  padding: 24px 0;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  background-color: #141414;
  z-index: 100;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.logo {
  font-family: monospace;
  font-size: 1rem;
  color: #888;
  opacity: 0.8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.datetime {
  font-family: monospace;
  font-size: 0.7rem;
  color: #aaa;
}
.brand {
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: center;
  font-family: monospace;
  font-size: 2rem;
  font-weight: bold;
}
.brand-letter {
  background-color: #888;
  color: #141414;
  padding: 4px 8px;
  transition: all 0.4s ease-in-out;
  cursor: default;
  border-radius: 6px;
}
.brand-letter:hover {
  background-color: #141414;
  color: #888;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #f0f0f0;
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: #fff;
}
.hero {
  padding: 120px 0 80px;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: -2px;
  color: #d2d2d2;
  max-width: 900px;
  min-height: 6rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero p {
  margin-top: 24px;
  font-size: 1.2rem;
  color: #aaa;
  max-width: 600px;
  min-height: 3rem;
}
section {
  padding: 100px 0;
  border-top: 1px solid #2a2a2a;
}
h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 48px;
  letter-spacing: -1px;
  min-height: 3.5rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.service-item {
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 24px;
}
.service-item h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 8px;
  min-height: 2.5rem;
}
.service-item p {
  color: #aaa;
  min-height: 3rem;
}
.form-group {
  position: relative;
  margin-bottom: 32px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}
.form-group label {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #888;
  transition: all 0.2s ease;
  pointer-events: none;
  background-color: #1a1a1a;
  padding: 0 4px;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 8px;
  font-size: 0.75rem;
  color: #aaa;
  background-color: #141414;
}
.btn-3d {
  background: #2a2a2a;
  border: none;
  padding: 10px 24px;
  color: #f0f0f0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.05s linear;
  box-shadow: 0 4px 0 #555;
  transform: translateY(-2px);
}
.btn-3d:hover {
  background: #3a3a3a;
  transform: translateY(0);
  box-shadow:
    0 2px 0 #555,
    0 0 8px rgba(136, 136, 136, 0.5);
}
.btn-3d:active {
  transform: translateY(2px);
  box-shadow: 0 0px 0 #555;
}
.step-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.form-message {
  margin-top: 20px;
  font-size: 0.9rem;
}
footer {
  padding: 40px 0;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  color: #777;
  font-size: 0.8rem;
}
footer p {
  transition: color 0.3s;
}
footer p:hover {
  color: #aaa;
}
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .service-item h3 {
    font-size: 1.3rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: #666;
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 360px;
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 16px;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.cookie-content p {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: #ccc;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 6px 16px;
  font-size: 0.8rem;
  cursor: pointer;
  background: none;
  border: 1px solid #444;
  color: #ddd;
  transition: all 0.2s;
}
.cookie-btn.accept:hover,
.cookie-btn.essential:hover,
.cookie-btn.decline:hover {
  background-color: #2a2a2a;
  border-color: #888;
}
/* Modal langas (Parinktys) */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-content {
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 24px;
  max-width: 500px;
  width: 90%;
}
.cookie-modal-content h3 {
  margin-bottom: 16px;
}
.cookie-option {
  margin-bottom: 12px;
}
.cookie-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}
@media (max-width: 480px) {
  .cookie-banner {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }
}
/* Karuselės konteineris */
.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 2rem 0;
  overflow: hidden;
}

/* Miniatiūrų juosta (desktop) */
.carousel-thumbnails {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 8px 0;
}

.thumbnail-item {
  flex: 0 0 auto;
  width: calc(25% - 12px); /* 4 miniatiūros vienoje eilėje */
  cursor: pointer;
  transition: transform 0.2s;
}

.thumbnail-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.thumbnail-item:hover {
  transform: scale(1.02);
}

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

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-content img {
  width: 100%;
  height: auto;
}

.close-modal {
  position: absolute;
  top: -30px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* MOBILI VERSIJA (telefonas) */
@media (max-width: 768px) {
  .carousel-thumbnails {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
  }

  .thumbnail-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
  }

  .carousel-btn {
    width: 36px;
    height: 60px;
  }

  .carousel-btn span {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .carousel-btn {
    width: 30px;
    height: 50px;
  }
}
/* Responsive centravimas */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 16px;
  }

  .services-list,
  .triangle-container,
  .angles-panel {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .angles-panel p {
    text-align: center;
    word-break: break-word;
  }

  .carousel-thumbnails {
    justify-content: center;
  }
}
