:root {
  --bg: #0d0d0d;
  --panel: #151515;
  --accent: #ffd000;
  --white: #ffffff;
  --muted: #bfbfbf;
  --radius: 12px;
}

/* ===== BODY ===== */
body {
  margin: 0;
  font-family: Inter, system-ui, Arial;
  background: var(--bg);
  color: var(--white);
  line-height: 1.5;
  padding-top: 60px;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;                 /* fons aizņem visu ekrānu */
  z-index: 999;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* Header saturs – centrēts un ierobežots platums */
header .nav {
  max-width: 1100px;           /* vienā platumā ar .container */
  margin: 0 auto;              /* centrēšana */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  width: 100%;                 /* obligāti, lai margini + padding darbotos pareizi */
}


/* ===== BRAND ===== */
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--accent);
  font-size: 18px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffd000;

  position: relative;
  overflow: hidden;
  isolation: isolate;

  /* viegls pastāvīgs glow */
  box-shadow: 0 0 12px rgba(255,165,0,0.3), 0 0 28px rgba(255,140,0,0.2);

  animation: beaconPulse 1.5s infinite ease-in-out;
}
.logo::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    /* Liels halo, vienmēr apkārt */
    radial-gradient(circle, rgba(255,165,0,0.35) 0%, rgba(255,165,0,0.05) 80%),
    /* Horizontāla strīpa */
    linear-gradient(90deg, rgba(255,165,0,0) 0%, rgba(255,165,0,0.8) 50%, rgba(255,165,0,0) 100%);

  background-blend-mode: screen;
  filter: blur(2.5px);
  transform: translateX(-100%);
  animation: sweepX 1.5s linear infinite;
  pointer-events: none;
}
@keyframes sweepX {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}
@keyframes beaconPulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255,165,0,0.3), 0 0 28px rgba(255,140,0,0.2);
  }
  50% {
    box-shadow: 0 0 24px rgba(255,165,0,0.9), 0 0 48px rgba(255,140,0,0.8);
  }
}
@keyframes beacon {
  0% {
    box-shadow: 0 0 2px rgba(255,165,0,0.15);
  }
  10% {
    box-shadow:
      0 0 10px rgba(255,165,0,0.6),
      0 0 24px rgba(255,140,0,0.5);
  }
  20% {
    box-shadow:
      0 0 18px rgba(255,165,0,1),
      0 0 44px rgba(255,140,0,0.9);
  }
  100% {
    box-shadow: 0 0 2px rgba(255,165,0,0.15);
  }
}
.contact-inline { display:flex; gap:12px; align-items:center; }
.phone { font-weight:700; font-size:16px; color: var(--white); }

.highlight {
  color: #ffd000; /* dzeltena pamatkrāsa */

}

/* ===== CONTACT ===== */
.contact-inline {
  display: flex;
  gap: 12px;
  align-items: center;
}

.phone {
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

/* ===== HERO ===== */
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  background: var(--panel);
  color: #fff;
  border-radius: 20px;
}

.text-column ul {
  padding-left: 28px;
  margin: 0;
}

.text-column li {
  margin-bottom: 10px;
}

.text-column li::marker {
  color: var(--accent);
}

.image-column img {
  width: 100%;
  display: block;
}

.fade-image {
  transition: opacity 1s ease-in-out;
}

/* ===== CONTENT WRAPPER ===== */
.wrap {
  max-width: 1100px;
  margin: 50px auto;
  padding: 34px 20px;
  background: var(--panel);
  border-radius: 20px;
}

/* ===== TYPOGRAPHY ===== */
.highlight {
  color: var(--accent);
}

article h1,
article h2 {
  color: var(--accent);
  margin-bottom: 14px;
}

article p,
article li,
article dd,
article ol li {
  margin-bottom: 12px;
}

ul,
ol,
dl {
  padding-left: 20px;
  margin: 12px 0;
}

/* ===== BUTTONS ===== */
.btn-hero,
.cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid #ffd000aa;
  transition: all 0.3s ease-in-out;
}

.btn-hero:hover,
.cta:hover {
  background: #ffe600;
  transform: translateY(-2px);
  box-shadow: 0 0 16px var(--accent), 0 0 32px #ffd00088;
}

.btn-hero:active,
.cta:active {
  transform: translateY(1px);
  box-shadow: 0 0 12px #ffd00066;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px 10px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  font-size: 14px;
}

/* ===== MOBILE OPTIMIZED ===== */
@media (max-width: 600px) {

  /* BODY */
  html, body {
    overflow-x: hidden;
    padding-top: 80px; /* header augstums mobilajā */
  }

  /* HEADER NAV */
  .nav {
    max-width: 100%;
    margin: 0;
    padding: 10px 14px; /* mazāks padding */
    gap: 8px;
    justify-content: space-between;
  }

  /* BRAND */
  .brand {
    font-size: 16px;
  }

  /* PHONE */
  .phone {
    font-size: 14px;
  }

  /* CONTAINER */
  .container,
  .wrap {
    max-width: 100%;
    padding: 12px 10px; /* mazāks padding */
    border-radius: 12px;
    margin: 0 auto;
  }

  /* IMAGE COLUMN */
  .image-column img,
  .fade-image {
    width: 100%;
    height: auto;
  }

  /* HERO / CTA pogas */
  .btn-hero,
  .cta {
    width: 100%;
    max-width: 100%;
    padding: 12px 0;
    font-size: 14px;
    margin: 10px auto;
    text-align: center;
  }

  /* GRID TO SINGLE COLUMN */
  .container {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* SERVICES */
  .services {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* SERVICE INTRO */
  .intro-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .intro-item .icon {
    font-size: 28px;
  }
  .service-intro p {
    text-align: justify;
  }

  /* PRICES & TESTIMONIALS */
  .prices, .testimonials {
    flex-direction: column;
    gap: 12px;
  }

  /* SECTION BUTTONS */
  section ul {
    flex-direction: column;
    gap: 10px;
  }
  section ul li {
    flex: 1 1 auto;
  }

}

/* FACEBOOK POGA — līdzīgs glow stils */
.btn-fb {
  display: inline-flex;
  
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  background: #1877f2;        /* Facebook zilais */
  color: #fff;

  font-weight: 800;
  font-size: 26px;
  font-family: Arial, Helvetica, sans-serif;

  border-radius: 12px;
  border: 2px solid #1877f2aa;

  text-decoration: none;
  position: relative;

  transition: all 0.3s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* Hover efekts */
.btn-fb:hover {
  background: #2d88ff;
  transform: translateY(-2px);
  box-shadow:
    0 0 14px #1877f2,
    0 0 28px #1877f288,
    0 0 42px #1877f255;
  animation: fb-pulse 1.5s infinite;
}

/* Active (klikšķis) */
.btn-fb:active {
  transform: translateY(1px);
  
  box-shadow:
    0 0 10px #1877f266,
    0 0 20px #1877f233;
  background: #1877f2;
}

/* Pulse animācija */
@keyframes fb-pulse {
  0% {
    box-shadow:
      0 0 10px #1877f288,
      0 0 22px #1877f244,
      0 0 34px #1877f222;
  }
  50% {
    box-shadow:
      0 0 18px #1877f2ff,
      0 0 34px #1877f2aa,
      0 0 46px #1877f266;
  }
  100% {
    box-shadow:
      0 0 10px #1877f288,
      0 0 22px #1877f244,
      0 0 34px #1877f222;
  }
}

/* Hero pogu rinda */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Facebook poga – tāds pats augstums kā btn-hero */
.btn-facebook {
  height: 54px;               /* IDENTISKS btn-hero augstumam */
  min-width: 24px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1877f2;        /* Facebook blue */
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-size: 20px;
  border: 2px solid #1877f2;
  transition: all 0.25s ease;
}

/* Hover */
.btn-facebook:hover {
  background: #2d88ff;
  transform: translateY(-2px);
  box-shadow:
    0 0 14px #1877f2,
    0 0 28px #1877f288,
    0 0 42px #1877f255;
  animation: fb-pulse 1.5s infinite;
}
/* Active */
.btn-facebook:active {
  transform: translateY(1px);
}
#internal-links ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
}

#internal-links a {
  text-decoration: none;
  color: #facc15;
  font-weight: 600;
}
#sakura-layer {
  position: fixed;
  z-index: 9999;
}

.image-column {
  position: relative;
  z-index: 1;
  overflow: visible; /* ja gribi, lai krīt pāri */
}

.petal {
  position: absolute;
  font-size: 16px;
  animation: fall linear infinite;
  user-select: none;
}


/* ❄️ 6-point snowflake 
.snowflake {
  position: absolute;
  top: -16px;
  width: 7px;
  height: 7px;
  opacity: 0.8;
  animation-name: snow-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.snowflake::before,
.snowflake::after,
.snowflake span {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,0.9);
  transform-origin: center;
}

.snowflake::before {
  transform: translateX(-50%) rotate(0deg);
}

.snowflake::after {
  transform: translateX(-50%) rotate(60deg);
}

.snowflake span {
  transform: translateX(-50%) rotate(120deg);
}


@keyframes snow-fall {
  from {
    transform: translate(0, 0) rotate(0deg);
  }
  to {
    transform: translate(var(--drift), 170px) rotate(240deg);
  }
}
*/
/* ===== Desktop: paslēpt “Zvanīt” pogu headerī ===== */
@media (min-width: 601px) {
  .nav .cta {
    display: none;
  }
}

/* ===== Mobile: saglabāt redzamu ===== */
@media (max-width: 600px) {
  .nav .cta {
    display: inline-block;
  }
}