/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Sep 03 2026 | 09:50:40 */
/* ==========================================================================
   1. SEKCIJU PĀREJAS UN VIZUĀLIE EFEKTI
   ========================================================================== */

/* Sekcijas fona izpludināšanas bāzes pāreja */
.blur-card {
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  will-change: filter, transform;
}

/* Stāvoklis, kad sekcija tiek aizsegta vai kļūst neaktīva */
.blur-card.is-blurred {
  filter: blur(4px);
  opacity: 1;
  transform: scale(1); /* Rada vizuālu dziļuma efektu */
}

/* Ritināšanas laikā aizpildāma teksta krāsas maska */
.scroll-color-mask {
  color: #ffffff;
  display: inline-block;
  --fill: 0%;

  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 var(--fill),
    rgba(0, 0, 0, 0.04) var(--fill),
    rgba(0, 0, 0, 0.04) 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 var(--fill),
    rgba(0, 0, 0, 0.04) var(--fill),
    rgba(0, 0, 0, 0.04) 100%
  );
}

/* ==========================================================================
   2. DINAMISKĀ TIPOGRĀFIJA (CONTAINER QUERIES)
   ========================================================================== */

/* Konteiners, kas reģistrē pats savu iekšējo platumu mērījumiem */
.counter-wrapper {
  container-type: inline-size;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

/* Teksts, kas automātiski aizpilda konteineru no malas līdz malai */
.fit-text {
  /* 13.2cqw nozīmē 13.2% no wrapper platuma; nodrošina liela skaitļa ietilpšanu */
  font-size: clamp(2rem, 13.2cqw, 20rem);
  line-height: 1;
  white-space: nowrap; /* Novērš skaitļa pārlēkšanu divās rindās */
  display: inline-block;
  margin: 0;
}

/* ==========================================================================
   3. PARALLAX UN FONA KARTES SLĀŅI
   ========================================================================== */

/* Parallax bāzes sekcija */
.hero-parallax-section {
  position: relative;
  overflow: hidden;
}

/* Peldošie dekoratīvie elementi virs fona */
.parallax-floating-item {
  will-change: transform;
  pointer-events: none; /* Neļauj elementam bloķēt klikšķus uz zemāk esošajām pogām */
  transform-origin: center center;
}

/* Karte, kas nostājas pilnā izmērā kā sekcijas fons */
.map-as-background {
  position: absolute !important;
  inset: 0 !important; /* top, right, bottom, left: 0 */
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important; /* Novieto karti zem visa pārējā satura */
}

/* Nodrošina, ka visi satura bloki paliek virs fona kartes */
.hero-map-section > *:not(.map-as-background) {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   4. LEAFLET POPUP PAMATSTILI UN FONTU OPTIMIZĀCIJA
   ========================================================================== */

/* Noklusējuma Leaflet baltā rāmja pielāgošana */
.leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.4;
}

/* Teksta asuma fiksācija Leaflet 3D paātrinājuma konteineros */
.leaflet-popup-content-wrapper,
.leaflet-popup-content,
.supporter-card {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: 0.01em !important; /* Novērš saspiesto letter-spacing */
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

/* ==========================================================================
   5. ATBALSTĪTĀJA (KOKAUDZĒTAVAS) KARTĪTE POPUP LOGĀ
   ========================================================================== */

/* Kartītes pamatbloks */
.supporter-card {
  width: 280px;
  padding: 16px 18px;
  color: #1f2937;
  box-sizing: border-box;
}

/* Galvene ar logo un nosaukumu */
.supporter-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.supporter-card-logo {
  max-height: 44px;
  max-width: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

.supporter-card-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: #111827 !important;
  margin: 0;
  line-height: 1.25;
}

/* Akcijas / atlaides birka */
.supporter-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2d6a4f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

/* Kontaktinformācijas saraksts */
.supporter-info-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  line-height: 1.45 !important;
  margin: 10px 0 14px 0;
}

.supporter-info-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.supporter-info-item span.icon {
  font-size: 14px;
  line-height: 1;
  margin-top: 2px;
}

.supporter-info-item a {
  font-weight: 600 !important;
  color: #1b4332 !important;
  text-decoration: none;
  word-break: break-all;
}

.supporter-info-item a:hover {
  text-decoration: underline;
}

/* Apakšējā navigācijas rīkjosla */
.supporter-card-actions {
  display: flex;
  gap: 6px;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
}

/* Poga saitēm (Mājaslapa, Waze, Google Maps) */
.supporter-action-btn {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  background: #f0fdf4 !important;
  color: #1b4332 !important;
  border-radius: 6px;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.supporter-action-btn:hover {
  background: #2d6a4f !important;
  color: #ffffff !important;
}

/* Izvēles modāļa fons */
.loc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 36, 29, 0.65);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Kartītes izskats */
.loc-modal-box {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  animation: locFadeIn 0.2s ease-out;
}

@keyframes locFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.loc-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
  line-height: 1;
}

.loc-modal-close:hover {
  color: #111827;
}

.loc-modal-title {
  font-size: 19px;
  font-weight: 800;
  color: #132a13;
  margin: 0 0 8px 0;
}

.loc-modal-desc {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.loc-modal-actions {
  display: flex;
  flex-direction: column;
 
}

/* Izvēles pogas */
.loc-choice-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: #f8faf8;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.loc-choice-btn:hover {
  background: #f0fdf4;
  border-color: #2d6a4f;
  transform: translateY(-1px);
}

.loc-btn-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.loc-btn-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.loc-btn-text small {
  display: block;
  font-size: 12.5px;
  color: #6b7280;
  margin-top: 2px;
}

/* Palīgpaziņojums kartes augšpusē */
.map-selection-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1b4332;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  animation: toastBounce 0.3s ease;
}

.map-selection-toast button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
}

/* Kursors kartē, kad ieslēgts atlases režīms */
.picking-mode-active {
  cursor: crosshair !important;
}
.picking-mode-active * {
  cursor: crosshair !important;
}
