/* =========================================================
   Guele s.r.o. – hlavný štýl
   Farby a základné hodnoty meníte v :root nižšie.
   ========================================================= */

:root {
  --bg: #131520;          /* pozadie stránky */
  --bg-soft: #1d1f2b;     /* pozadie kariet a sekcií */
  --bg-card: #1a1c27;
  --border: #2b2e3d;
  --text: #fafafa;        /* hlavný text */
  --muted: #a3a7b8;       /* sivší text */
  --accent: #f7d21d;      /* žltá – hlavná farba značky */
  --accent-2: #f2b705;    /* tmavšia žltá na gradienty */
  --accent-ink: #131520;  /* text na žltom tlačidle */
  --radius: 16px;
  --max: 1160px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 12px;
  font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 8px 28px -10px rgba(247, 210, 29, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -10px rgba(247, 210, 29, .7); }
.btn-ghost { background: var(--bg-soft); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  color: var(--bg);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 56px; width: auto; }
.logo .logo-text { font-weight: 800; font-size: 24px; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: #b38f00; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--bg); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 96px 0 104px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(247, 210, 29, .12), transparent 70%),
    var(--bg);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: 13px; color: var(--muted); margin-bottom: 28px;
}
.badge svg { width: 15px; height: 15px; color: var(--accent); }
.hero h1 { font-size: clamp(34px, 6vw, 64px); }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); color: #d4d6df; max-width: 720px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 56px; color: var(--muted); font-size: 14px; }
.hero-stats strong { display: block; color: var(--text); font-size: 18px; }

/* Úvod zaberá celú výšku obrazovky (mínus hlavička), obsah je vycentrovaný */
.hero { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; align-items: center; }
.hero > .container { width: 100%; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  color: var(--muted); opacity: .7; animation: hint 2s ease-in-out infinite;
}
.scroll-hint svg { width: 28px; height: 28px; display: block; }
.scroll-hint:hover { color: var(--accent); opacity: 1; }
@keyframes hint { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint { animation: none; } }

/* ---------- Sekcie ---------- */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }

/* ---------- Karty služieb ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
  text-decoration: none;
}
.card:hover { border-color: rgba(247, 210, 29, .55); transform: translateY(-3px); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
  margin-bottom: 22px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .more { color: var(--accent); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- O nás ---------- */
.about { background: var(--bg-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(28px, 4vw, 40px); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px;
}
.checks svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 1px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.contact-item .icon { color: var(--accent); margin-bottom: 12px; }
.contact-item .icon svg { width: 26px; height: 26px; }
.contact-item h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.contact-item a, .contact-item address { font-style: normal; font-weight: 600; text-decoration: none; font-size: 17px; }
.contact-item a:hover { color: var(--accent); }
.contact-item small { display: block; font-weight: 500; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- CTA pás ---------- */
.cta {
  margin-top: 48px; border-radius: 22px; padding: 48px 32px; text-align: center;
  background: linear-gradient(135deg, rgba(247,210,29,.14), rgba(247,210,29,.03));
  border: 1px solid rgba(247, 210, 29, .35);
}
.cta h2 { font-size: clamp(24px, 3.2vw, 34px); }
.cta p { color: #d4d6df; max-width: 560px; margin: 0 auto 26px; }
.cta .hero-actions { margin: 0; }

/* ---------- Podstránka služby ---------- */
.page-hero { padding: 64px 0 40px; background: radial-gradient(ellipse 60% 60% at 0% 0%, rgba(247,210,29,.10), transparent 70%); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 26px; }
.back:hover { color: var(--accent); }
.back svg { width: 16px; height: 16px; }
.page-hero .title-row { display: flex; align-items: center; gap: 18px; }
.page-hero .icon {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
}
.page-hero .icon svg { width: 30px; height: 30px; }
.page-hero h1 { font-size: clamp(30px, 5vw, 48px); margin: 0; }
.page-hero p.lead { font-size: 18px; color: #d4d6df; max-width: 780px; margin-top: 22px; }
.page-body { padding: 24px 0 88px; }
.page-body h2 { font-size: 24px; margin-bottom: 20px; }
.page-body .checks { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 3/4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.related { margin-top: 56px; }
.related .services { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.related .card { padding: 22px; }
.related .card p { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(8, 9, 14, .92); display: none; place-items: center; z-index: 100; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; border-radius: 10px; }

/* ---------- Pätička ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: 14px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ---------- Plávajúce tlačidlo „Zavolať" (len mobil) ---------- */
.call-fab { display: none; }

/* ---------- Animácia pri scrollovaní ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid rgba(0,0,0,.08);
    display: none; padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
  .nav .btn { margin-top: 14px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .services { grid-template-columns: 1fr; }
  .call-fab {
    display: grid; place-items: center;
    position: fixed; right: 18px; bottom: 18px; z-index: 60;
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
    box-shadow: 0 10px 30px -6px rgba(0,0,0,.5);
  }
  .call-fab svg { width: 26px; height: 26px; }
}

/* Logo v pätičke (biela verzia) */
.footer-logo img { height: 54px; width: auto; }

/* Sekcia Služby: po preskočení (šípka / menu) vyplní obrazovku a obsah je vycentrovaný */
#sluzby { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; align-items: center; padding: 48px 0; }
#sluzby .section-head { margin-bottom: 36px; }
#sluzby .section-head h2 { margin-bottom: .4em; }
#sluzby .card { padding: 26px 28px; }
#sluzby .card .icon { margin-bottom: 16px; }
#sluzby .card p { margin-bottom: .8em; }
