/* ================================
   GAUS24 — Pamata stili
   ================================ */

/* Restartē pārlūka noklusējuma stilus */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Pamata fonts un krāsas visai lapai */
body {
  font-family: "Inter", system-ui, sans-serif;
  background: #ffffff;
  color: #222222;
  line-height: 1.6;
}

/* ================================
   KRĀSU MAINĪGIE — GAUS24 zīmols
   ================================ */
:root {
  --zils: #1b2d6b;
  --zils-gaiss: #4a5fa8;
  --zils-fons: #e6f1fb;
  --teksts: #222222;
  --teksts-gaiss: #6b7280;
  --teksts-videjs: #555555 --robeža: #e5e7eb;
  --fons: #f9fafb;
}

/* ================================
   NAVIGĀCIJA
   ================================ */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--robeža);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--zils);
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
}

.logo span {
  color: var(--zils-gaiss);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--teksts);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--zils);
}

.nav-phone {
  font-size: 14px;
  color: var(--zils);
  font-weight: 600;
  text-decoration: none;
}

.nav-phone:hover {
  text-decoration: underline;
}
/* ================================
   DROPDOWN NAVIGĀCIJA
   ================================ */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--robeza);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  list-style: none;
  padding: 8px 0;
  z-index: 200;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--teksts);
  text-decoration: none;
  transition: background 0.15s;
}

.dropdown-menu li a:hover {
  background: var(--zils-fons);
  color: var(--zils);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* ================================
   HERO SEKCIJA
   ================================ */
.hero {
  background: var(--zils);
  padding: 80px 40px;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero p {
  font-size: 16px;
  color: #85b7eb;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ================================
     POGAS
     ================================ */
.btn-primary {
  background: #ffffff;
  color: var(--zils);
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #f0f4ff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ================================
   UZTICAMĪBAS JOSLA
   ================================ */
.trust-bar {
  background: var(--zils-fons);
  border-bottom: 1px solid var(--robeza);
  padding: 16px 40px;
  display: flex;
  justify-content: center;
  gap: 48px;
}

.trust-item {
  font-size: 14px;
  color: var(--zils);
  font-weight: 500;
}

/* ================================
   KATEGORIJU SEKCIJA
   ================================ */
.kategorijas {
  padding: 60px 40px;
  background: #ffffff;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  color: var(--teksts-gaiss);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kategorijas h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--zils);
  margin-bottom: 32px;
}

/* KATEGORIJU REŽĢIS */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cat-card {
  border: 1px solid var(--robeza);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  display: block;
}

.cat-card:hover {
  border-color: var(--zils);
  box-shadow: 0 4px 16px rgba(27, 45, 107, 0.1);
}

.cat-img {
  height: 180px;
  background: var(--fons);
  overflow: hidden;
}

.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-body {
  padding: 16px;
}

.cat-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--zils);
  margin-bottom: 4px;
}

.cat-body p {
  font-size: 13px;
  color: var(--teksts-gaiss);
}

.trust-item i,
.footer-col i,
.kontakti-bloks i {
  margin-right: 6px;
  color: var(--zils);
}

.footer-col i {
  color: #85b7eb;
}

/* ================================
   B2B JOSLA
   ================================ */
.b2b-strip {
  background: var(--zils);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.b2b-strip-text {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

.b2b-strip-text span {
  color: #85b7eb;
  font-size: 14px;
  font-weight: 400;
  display: block;
  margin-top: 4px;
}

.btn-b2b {
  background: #ffffff;
  color: var(--zils);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-b2b:hover {
  background: #f0f4ff;
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: #111827;
  color: #6b7280;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.footer-logo span {
  color: var(--zils-gaiss);
}

.footer-tagline {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  background: #1f2937;
  color: #9ca3af;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--zils);
  color: #ffffff;
}

.footer-col h4 {
  color: #85b7eb;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #85b7eb;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 20px 40px;
  text-align: center;
  font-size: 13px;
  color: #4b5563;
  max-width: 100%;
}

/* ================================
   BREADCRUMB
   ================================ */
.breadcrumb {
  padding: 16px 40px;
  font-size: 13px;
  color: var(--teksts-gaiss);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb a {
  color: var(--zils);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ================================
     KATEGORIJAS VIRSRAKSTS
     ================================ */
.kat-header {
  padding: 24px 40px 16px;
  border-bottom: 1px solid var(--robeza);
}

.kat-header h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--zils);
  margin-bottom: 16px;
}

/* ================================
     FILTRI
     ================================ */
.filtri {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.filtrs-btn {
  padding: 8px 18px;
  border: 1px solid var(--robeza);
  border-radius: 20px;
  background: #ffffff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--teksts);
}

.filtrs-btn:hover {
  border-color: var(--zils);
  color: var(--zils);
}

.filtrs-btn.aktīvs {
  background: var(--zils);
  color: #ffffff;
  border-color: var(--zils);
}

/* ================================
     PRODUKTU SEKCIJA
     ================================ */
.produkti-section {
  padding: 32px 40px 60px;
}

/* ================================
     PRODUKTU REŽĢIS
     ================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prod-card {
  border: 1px solid var(--robeza);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  display: block;
}

.prod-card:hover {
  border-color: var(--zils);
  box-shadow: 0 4px 16px rgba(27, 45, 107, 0.1);
}

.prod-img {
  height: 200px;
  background: var(--fons);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-body {
  padding: 16px;
}

.prod-kategorija {
  font-size: 11px;
  color: var(--zils-gaiss);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.prod-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--teksts);
  margin-bottom: 8px;
  line-height: 1.4;
}

.prod-cena {
  font-size: 17px;
  font-weight: 700;
  color: var(--zils);
  margin-bottom: 4px;
}

.prod-pieejamība {
  font-size: 12px;
  color: #16a34a;
  font-weight: 500;
}

.prod-pieejamiba.nav {
  color: #dc2626;
}

/* ================================
   PRODUKTA LAPA
   ================================ */
.prod-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
}

.prod-detail-img {
  background: var(--fons);
  border-radius: 12px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teksts-gaiss);
  font-size: 14px;
  overflow: hidden;
}

.prod-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prod-detail-right h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--teksts);
  margin-bottom: 12px;
  line-height: 1.4;
}

.prod-detail-cena {
  font-size: 28px;
  font-weight: 700;
  color: var(--zils);
  margin-bottom: 4px;
}

.prod-detail-mervieniba {
  font-size: 13px;
  color: var(--teksts-gaiss);
  margin-bottom: 20px;
}

.prod-variacijas {
  margin-bottom: 20px;
}

.prod-variacijas h4 {
  font-size: 13px;
  color: var(--teksts-gaiss);
  margin-bottom: 8px;
  font-weight: 500;
}

.var-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.var-tag {
  border: 1px solid var(--robeza);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}

.var-tag:hover {
  border-color: var(--zils);
  color: var(--zils);
}

.prod-detail-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-order {
  background: var(--zils);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  flex: 1;
  text-align: center;
  transition: background 0.2s;
}

.btn-order:hover {
  background: #0c1f4a;
}

.btn-call {
  background: transparent;
  color: var(--zils);
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid var(--zils);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-call:hover {
  background: var(--zils-fons);
}

.prod-sku {
  font-size: 12px;
  color: var(--teksts-gaiss);
  margin-bottom: 12px;
}

.prod-kontakts {
  font-size: 13px;
  color: var(--teksts-gaiss);
}

.prod-kontakts a {
  color: var(--zils);
  text-decoration: none;
}

/* ================================
     TABS
     ================================ */
.prod-tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 60px;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--robeza);
  margin-bottom: 24px;
  gap: 0;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--teksts-gaiss);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s;
}

.tab-btn.active {
  color: var(--zils);
  border-bottom-color: var(--zils);
  font-weight: 600;
}

.tab-content {
  font-size: 14px;
  color: var(--teksts-videjs);
  line-height: 1.8;
}
.var-tag.aktiva {
  background: var(--zils);
  color: #ffffff;
  border-color: var(--zils);
}

/* ================================
   KONTAKTU LAPA
   ================================ */
.kontakti-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 60px;
}

.kontakti-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--zils);
  margin-bottom: 32px;
}

.kontakti-bloki {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kontakti-bloks {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.kontakti-ikona {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
}

.kontakti-bloks h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--teksts);
  margin-bottom: 4px;
}

.kontakti-bloks a {
  color: var(--zils);
  text-decoration: none;
  font-size: 15px;
  display: block;
  margin-bottom: 2px;
}

.kontakti-bloks a:hover {
  text-decoration: underline;
}

.kontakti-bloks p {
  font-size: 13px;
  color: var(--teksts-gaiss);
}

/* ================================
     KONTAKTU FORMA
     ================================ */
.kontakti-forma-wrap {
  background: var(--fons);
  border-radius: 16px;
  padding: 36px;
}

.kontakti-forma-wrap h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--zils);
  margin-bottom: 8px;
}

.forma-apraksts {
  font-size: 14px;
  color: var(--teksts-gaiss);
  margin-bottom: 24px;
}

.forma-grupa {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.forma-grupa label {
  font-size: 13px;
  font-weight: 500;
  color: var(--teksts);
}

.forma-grupa input,
.forma-grupa select,
.forma-grupa textarea {
  padding: 10px 14px;
  border: 1px solid var(--robeza);
  border-radius: 8px;
  font-size: 14px;
  color: var(--teksts);
  background: #ffffff;
  transition: border-color 0.2s;
  font-family: inherit;
}

.forma-grupa input:focus,
.forma-grupa select:focus,
.forma-grupa textarea:focus {
  outline: none;
  border-color: var(--zils);
}

.forma-rinda {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.forma-gdpr {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.forma-gdpr input {
  margin-top: 3px;
  flex-shrink: 0;
  width: auto;
}

.forma-gdpr label {
  font-size: 12px;
  color: var(--teksts-gaiss);
  line-height: 1.5;
  font-weight: 400;
}

.btn-submit {
  width: 100%;
  background: var(--zils);
  color: #ffffff;
  padding: 14px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.btn-submit:hover {
  background: #0c1f4a;
}

/* ================================
     PALDIES ZIŅOJUMS
     ================================ */
.forma-paldies {
  text-align: center;
  padding: 40px 20px;
}

.paldies-ikona {
  font-size: 48px;
  margin-bottom: 16px;
}

.forma-paldies h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--zils);
  margin-bottom: 8px;
}

.forma-paldies p {
  font-size: 14px;
  color: var(--teksts-gaiss);
  margin-bottom: 6px;
}

.forma-paldies a {
  color: var(--zils);
  text-decoration: none;
  font-weight: 600;
}
