/* ==== BENDRI STILIAI ==== */
body {
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  color: #1e293b;
  background: #fff;
  line-height: 1.6;
}

a {
  color: #0d6efd;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  color: #0f172a;
  margin-top: 0;
}

/* ==== NAVIGACIJA ==== */
.main-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 38px;
}

.logo-text {
  font-size: 0.9rem;
  line-height: 1.2;
  color: #475569;
}

.menu {
  display: flex;
  gap: 24px;
}

.menu a {
  color: #1e293b;
  font-weight: 500;
}

.menu a:hover {
  color: #0d6efd;
}

/* === Telefonas === */
.tel-btn {
  padding: 8px 18px;
  border-radius: 30px;
  background: #f59e0b;
  color: #fff;
  font-weight: 600;
  border: none;
}

.tel-btn:hover {
  background: #d97706;
}

/* Mobilus mygtukas */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Mobilus meniu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.mobile-menu a {
  padding: 12px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-menu.open {
  display: flex;
}

@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* ==== PRODUKTAI ==== */
.intro {
  text-align: center;
  padding: 3rem 1rem 1rem;
}

.produktai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.produktas {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.produktas:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.produktas img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.produktas .info {
  padding: 1.5rem;
}

/* ==== KONTAKTAI ==== */
.kontaktai {
  padding: 2rem 1rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.kontaktai-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.kontaktai-info h1 {
  margin-bottom: 0.5rem;
}

.kontaktai-info p {
  margin: 0.4rem 0;
}

.kontaktai-buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kontaktai-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .kontaktai-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ==== MODAL FORMOS LANGAS ==== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
  margin-top: 0;
}

.modal .close {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #64748b;
}

/* Forma */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:hover {
  background: #1d4ed8;
}

/* ==== TOAST PRANEŠIMAS ==== */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: #1e293b;
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: 0.4s;
  z-index: 99999;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==== FOOTER ==== */
footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column a {
  color: #fbbf24;
}

.footer-column a:hover {
  text-decoration: underline;
}

.bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #94a3b8;
}
