:root{
  --nav-h: 76px;

  /* parallax overlay */
  --overlay: rgba(0,0,0,.55);
  --overlay-strong: rgba(0,0,0,.70);

  /* UI colors */
  --bg: #0b0f14;
  --text: #eef5ff;
  --muted: rgba(255,255,255,.82);

  /* card */
  --card-bg: rgba(20, 26, 34, .78);
  --card-border: rgba(255,255,255,.14);

  /* icon pill */
  --pill-bg: rgba(255,255,255,.12);
  --pill-border: rgba(255,255,255,.22);
}

html { scroll-behavior: smooth; }

body{
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Anchor offset pod navbar */
section[id]{
  scroll-margin-top: calc(var(--nav-h) + 14px);
}

/* Navbar helpers */
.brand-logo{
  height: 42px;
  width: auto;
}
.brand-title{
  font-family: "Libre Franklin", system-ui, sans-serif;
  letter-spacing: .2px;
}

/* ------------------------------------------------------------
   PARALLAX
------------------------------------------------------------ */
.parallax{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* desktop */
  isolation: isolate;
}

.parallax::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    var(--overlay-strong) 0%,
    var(--overlay) 40%,
    rgba(0,0,0,.68) 100%
  );
  z-index: 0;
}

.parallax .content{
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 64px 16px;
}

.parallax h1, .parallax h2, .parallax h3{
  font-family: "Libre Franklin", system-ui, sans-serif;
  text-shadow: 0 10px 26px rgba(0,0,0,.45);
  margin: 0 0 16px 0;
}

.parallax .lead{
  max-width: 900px;
  margin: 0 auto 22px auto;
  opacity: .95;
  text-shadow: 0 8px 20px rgba(0,0,0,.45);
}

.btn-cta{
  border-radius: 999px;
  padding: 12px 18px;
}

/* Pozadia (PNG) */
.bg-1{ background-image: url("../_data/parallax_1.png"); }
.bg-2{ background-image: url("../_data/parallax_2.png"); }
.bg-3{ background-image: url("../_data/parallax_3.png"); }

/* ------------------------------------------------------------
   KONTAKT SEKCIA
------------------------------------------------------------ */
.section-pad{
  padding: 72px 0;
  background:
    radial-gradient(1200px 520px at 50% -12%, rgba(255,255,255,.09), transparent 60%),
    var(--bg);
  color: var(--text);
}

.section-title{
  font-family: "Libre Franklin", system-ui, sans-serif;
  margin-bottom: 18px;
  letter-spacing: .2px;
}

/* Karta – prepíš Bootstrap .card na 100% spoľahlivo */
.card.card-dark{
  --bs-card-bg: var(--card-bg);
  --bs-card-border-color: var(--card-border);
  --bs-card-color: var(--text);
  --bs-body-color: var(--text);

  background-color: var(--bs-card-bg);
  border: 1px solid var(--bs-card-border-color);
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(0,0,0,.48);
  overflow: hidden;

  color: var(--text) !important;
}

.card_title{
  color: rgba(255,255,255,0.98) !important;
  text-shadow: 0 6px 16px rgba(0,0,0,.35);
}

/* Bootstrap trieda text-white-50 je na tmavom často príliš slabá */
.card-dark .text-white-50{
  color: var(--muted) !important;
}

/* oddelovače viditeľnejšie */
.card-dark hr{
  opacity: .22 !important;
}

/* Ikonky v “štvorčekoch” */
.icon-pill{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;

  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 12px 26px rgba(0,0,0,.40);
}

.icon-pill i,
.icon-pill svg{
  color: rgba(255,255,255,.96);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
}

/* Linky výraznejšie */
a.link-soft{
  color: rgba(255,255,255,.95);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,.50);
}
a.link-soft:hover{
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,.95);
}

/* CTA outline button */
.btn.btn-outline-light{
  border-width: 2px;
}

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
footer{
  padding: 18px 0;
  color: rgba(255,255,255,.75);
  background: #070a0e;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* ------------------------------------------------------------
   REVEAL ANIMÁCIE
------------------------------------------------------------ */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------
   MOBILE TWEAKS
------------------------------------------------------------ */
@media (max-width: 991.98px){
  :root{ --nav-h: 70px; }
  .parallax{ background-attachment: scroll; }
  .navbar .navbar-brand span{ display: none; }
}

/* ============================================================
   HERO vylepšenie
============================================================ */
.hero-box{
  max-width: 980px;
  margin: 0 auto;
}

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
}

.btn-cta-primary{
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  transition: transform .18s ease;
}
.btn-cta-primary:hover{
  transform: translateY(-1px);
}

.btn-cta-secondary{
  padding: 12px 20px;
  border-radius: 999px;
}

.btn-cta-link{
  color: rgba(255,255,255,.9);
  text-decoration: none;
  padding: 12px 10px;
}
.btn-cta-link:hover{
  color: #fff;
  text-decoration: underline;
}

.hero-metrics{
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.metric-num{
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-weight: 700;
  color: rgba(255,255,255,.96);
}
.metric-text{
  color: rgba(255,255,255,.78);
  font-size: .95rem;
}

@media (max-width: 767.98px){
  .hero-metrics{ grid-template-columns: 1fr; }
}

/* ============================================================
   WHY sekcia
============================================================ */
.why-section{
  padding: 72px 0;
  background:
    radial-gradient(1100px 500px at 50% 0%, rgba(255,255,255,.07), transparent 60%),
    #0b0f14;
  color: var(--text);
}

.why-subtitle{
  color: rgba(255,255,255,.82);
  margin: 0 auto;
  max-width: 820px;
}

.why-card{
  height: 100%;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.why-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}

.why-icon{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;

  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.why-icon i{ color: rgba(255,255,255,.96); font-size: 20px; }

.why-title{
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  color: rgba(255,255,255,.96);
}
.why-text{
  margin: 0;
  color: rgba(255,255,255,.82);
}

/* ============================================================
   KONTAKT: hover + telefón pulse
============================================================ */
.contact-item{
  padding: 10px 12px;
  border-radius: 16px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  border: 1px solid transparent;
}

.contact-item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
}

.phone-link{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-link.is-highlight{
  animation: phonePulse 1.8s ease-in-out infinite;
}

@keyframes phonePulse{
  0%, 100%{ filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  50%{ filter: drop-shadow(0 0 10px rgba(255,255,255,.22)); }
}
