/* ================================================
   01) SLUŽBY – HERO SECTION (PRÉMIOVÝ STYL)
================================================ */

.services-hero {
  width: 90%;
  max-width: 1680px;

  margin: 100px auto 30px auto; /* 100px od navigace, 30px pod sekcí */

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

  text-align: center;
  align-items: stretch; /* oba sloupce stejná výška */
}

/* --------------------------------------------
   TEXTOWÝ BOX – sjednocená výška + flex center
-------------------------------------------- */
.services-hero-content {
  padding: 30px 40px;

  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-radius: 16px;
  border: 1px solid rgba(255, 200, 0, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);

  display: flex;
  flex-direction: column;
  justify-content: center; /* text vertikálně uprostřed */

  min-height: 250px;  /* 🔥 sjednocené výšky */
  max-height: 300px;

  color: #fff;
  box-sizing: border-box;
}

h1 {
  color: #fbbf24;
}

/* --------------------------------------------
   OBRÁZEK – přesná shoda výšky s textem
-------------------------------------------- */
.services-hero-image {
  display: flex;
}

.services-hero-image img {
  width: 100%;
  height: 100%;

  min-height: 250px;  /* 🔥 stejné jako text */
  max-height: 300px;

  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* ================================================
   02) CO VÁM DOKÁŽEME NABÍDNOUT – PRÉMIOVÉ BOXY
================================================ */

.services-about {
  width: 90%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
}

.services-about h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 50px;
}

/* GRID – 3 prémiové boxy */
.services-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Box */
.about-box {
  background: rgba(255, 200, 0, 0.06);
  border: 1px solid rgba(255, 200, 0, 0.25);
  backdrop-filter: blur(14px);

  padding: 40px 35px;
  border-radius: 14px;

  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
  transition: 0.25s ease;
}

.about-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.about-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
}

.about-box p {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.7;
}

/* Wrapper celé sekce */
.services-list {
  width: 90%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
}

/* Hlavní nadpis */
.services-list > h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 50px;
}

/* Úvodní dlouhý text pod nadpisem */
.services-longtext {
  max-width: 1100px;
  margin: 0 auto 70px;
  padding: 40px 50px;

  background: rgba(255, 200, 0, 0.06);
  border: 1px solid rgba(255, 200, 0, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);

  text-align: center;
}

.services-longtext h2 {
  color: #111;
  font-size: 2rem;
  margin-bottom: 20px;
}

.services-longtext p {
  color: #333;
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* CTA v úvodním bloku */
.services-longtext .cta-yellow {
  display: inline-block;
  margin-top: 10px;
}

/* GRID SLUŽEB */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Každá služba */
.service-item {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 0 0 35px;
  overflow: hidden;
  transition: 0.3s ease;
  text-align: center;

  display: flex;               /* ⭐ sjednocení výšky */
  flex-direction: column;
  margin-bottom: 50px;      /* ⭐ umožní zarovnání CTA */
}

/* Hover efekt */
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

/* Obrázek služby */
.service-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Nadpis služby */
.service-item h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  margin: 25px 0 10px;
}

/* Popis služby */
.service-item p {
  font-size: 1.1rem;
  color: #444;
  padding: 0 20px;
  line-height: 1.6;
}

/* SEO bloky pod každou službou */
.service-seo,
.service-detail-text {
  padding: 20px 25px;
  margin-top: 20px;

  background: rgba(255, 200, 0, 0.06);
  border: 1px solid rgba(255, 200, 0, 0.25);
  border-radius: 14px;
  text-align: left;

  flex: 1;                      /* ⭐ VYTÁHNE BLOKY NA STEJNOU VÝŠKU */
  display: flex;                /* ⭐ pro zarovnání textu uvnitř */
  flex-direction: column;
}

/* Nadpisy v SEO blocích */
.service-seo h4,
.service-detail-text h4,
.service-detail-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  justify-content: center;
  text-align: center;
}

/* Texty v SEO blocích */
.service-seo p,
.service-detail-text p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: center;
  justify-content: center;
}

/* CTA tlačítko v každé službě */
.service-item .cta-yellow {
  display: inline-block;
  margin-top: auto;            /* ⭐ posune CTA komplet na spodek karty */
  padding-top: 20px;           /* lepší optická mezera */
}

/* CTA pod celou sekcí */
.services-cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.services-cta-bottom .cta-yellow {
  display: inline-block;
  padding: 18px 40px;
  font-size: 1.3rem;
}

/* ===========================
   CTA – sjednocené tlačítko
=========================== */
.cta-yellow {
  background: #fbbf24;
  color: #111;
  padding: 14px 26px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(251, 191, 36, 0.25);
  transition: 0.25s ease;
}

.cta-yellow:hover {
  background: #ffe58f;
}

/* ============================================
   SOCIAL FOLLOW SECTION
============================================ */
.social-follow {
  max-width: 1680px;
  width: 100%;
  padding: 90px 0px;
  display: flex;
  justify-content: center;
  background: #fbbf24;
 margin: 0 auto;
}

.social-container {
  width: 100%;
  max-width: 1680px;
  text-align: center;
}

.social-follow h2 {
  font-size: 2.4rem;
  color: #111;
  margin-bottom: 10px;
  font-weight: 700;
}

.social-follow p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 40px;
}

/* BUTTON */
.social-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, #d89600, #ffce00);
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}


/* =======================================================
   04) CERTIFIKÁTY – PRÉMIOVÝ GLASS DESIGN
======================================================= */
/* SEKCE CERTIFIKÁTY */
.services-certificates {
  width: 90%;
  max-width: 1680px;
  margin: 0 auto;
  text-align: center;
}

/* TITULEK */
.services-certificates h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}

.services-certificates p {
  font-size: 1.25rem;
  color: #444;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* GRID – 3 sloupce */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* ČISTÝ OBRÁZEK — větší, neořezaný, bez rámečku */
.certificates-grid img {
  width: 100%;
  height: auto;            /* žádné useknutí obrázků */
  max-height: 550px;       /* můžeš upravit dle potřeby */
  object-fit: contain;     /* obrázky se NEbudou ořezávat */
  border: none !important; /* odstranění rámečku */
  box-shadow: none !important; /* odstranění stínu */
  background: transparent !important;
  border-radius: 0 !important;

  transition: transform 0.25s ease;
}

/* Hover – jemné zvětšení */
.certificates-grid img:hover {
  transform: scale(1.03);
}
/* =======================================================
   05) REFERENCE – MODERNÍ PRO SLUŽBY / GRID SLIDER
======================================================= */

.services-references {
  width: 90%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 90px 20px;
  text-align: center;
}

.services-references h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 50px;
}

/* Slider grid – 4 položky */
.references-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

/* Image style */
.references-slider img {
  width: 100%;
  height: 260px;
  object-fit: cover;

  border-radius: 16px;
  border: 1px solid rgba(255, 200, 0, 0.25);

  background: rgba(255, 200, 0, 0.06);
  backdrop-filter: blur(12px);

  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  transition: 0.25s ease;
}

.references-slider img:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.18);
}

/* ============================================
   PREMIUM MAP SCROLL – ZIMERSTAV
   Luxusní scroll efekt + soft mask fade
============================================ */

/* WRAPPER */
.regions-map {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;         /* luxusní jemné scrollování */
  scrollbar-width: none;           /* skryje scrollbar (Firefox) */
}

.regions-map::-webkit-scrollbar {
  display: none;                   /* skryje scrollbar (Chrome/Safari) */
}

/* FADE EDGES – prémiový styl */
.regions-map::before,
.regions-map::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.regions-map::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255,255,255,0));
}

.regions-map::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255,255,255,0));
}

/* IMAGE */
.regions-map img {
  width: 1500px;                   /* široký obrázek pro krásný detail */
  max-width: none;
  display: block;
  margin: 0 auto;
  transition: transform 0.25s ease;
}

/* jemný hover efekt – působí moderně */
.regions-map img:hover {
  transform: scale(1.01);
}
/* ================================================
   RESPONSIVE PREMIUM – FINAL VERSION
================================================ */

/* ============================
   TABLET – 992px
============================ */
@media (max-width: 992px) {

  /* GRID SLUŽBY */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-item img {
    height: 230px;
  }

  /* HERO */
  .services-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-hero-image img {
    height: 350px;
  }

  /* ABOUT BOXY */
  .services-about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-certificates p {
    width: 85%;
  }

  .certificates-grid,
  .references-slider {
    grid-template-columns: repeat(2, 1fr);
  }
}
.certificates-grid img {
  max-height: 350px !important;
  }
/* ============================
   MOBILE – 768px (FINAL CLEAN)
============================ */
@media (max-width: 768px) {

  /* HERO */
  .services-hero-content,
  .services-hero-image img {
    width: 70%;
    margin: 0 auto;
  }

  .services-hero-content {
    padding: 40px 25px;
    min-height: 330px;
    text-align: center;
  }

  /* ABOUT GRID */
  .services-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;

    width: 100% !important;  /* aby NIC nepřetékal doprava */
    margin: 0 auto;
    justify-items: center;
  }

  .about-box {
    width: 70%;             /* FINÁLNÍ SPRÁVNÁ ŠÍŘKA */
    margin: 0 auto;
    text-align: center;
  }

  /* SLUŽBY */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Úvodní text sekce služeb */
  .services-longtext {
    width: 70%;
    margin: 0 auto;
    text-align: center;
  }

  .services-longtext p {
    text-align: center;
  }

  .services-longtext .cta-yellow {
    display: block;
    margin: 30px auto 0;
    width: fit-content;
    text-align: center;
  }

  /* CERTIFIKÁTY + REFERENCE */
  .certificates-grid,
  .references-slider {
    grid-template-columns: 1fr;
  }

  .certificates-grid img,
  .references-slider img {
    width: 70%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}

/* ============================
   SMALL MOBILE – 480px
============================ */
@media (max-width: 480px) {

  /* HERO */
  .services-hero-content,
  .services-hero-image img,
  .about-box {
    width: 75%;
  }

  .services-hero-content {
    padding: 45px 25px;
    min-height: 420px;
  }

  .services-hero-content h1 {
    font-size: 1.85rem;
  }

  .services-hero-content p {
    font-size: 1rem;
  }

  /* SLUŽBY */
   .services-longtext {
    width: 90%;
  }

  .service-item img {
    height: 200px;
  }

  /* CERTIFIKÁTY */
  .certificates-grid img,
  .references-slider img {
    width: 85%;
    height: 220px;
  }
}


/* ============================
   TINY PHONES – 375px
============================ */
@media (max-width: 375px) {

  .about-box {
    width: 78%;
  }
.services-longtext {
    width: 68%;
    margin-bottom: 30px;
  }
  .services-hero-image img,
   .services-hero-content {
    max-width: 100%;
  width: 100%;
   }

  .services-hero-content {
    padding: 50px 22px;
    min-height: 410px;
  }

  .services-hero-content h1 {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .services-hero-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .certificates-grid img,
  .references-slider img {
    width: 90%;
    height: 350px;
  }
}
/* =======================================================
   FAQ – Prémium styl (glass / žlutý akcent)
======================================================= */
.services-faq {
  width: 90%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 90px 20px;
  text-align: center;
}

.services-faq h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 50px;
}

.faq-item {
  max-width: 1100px;
  margin: 0 auto 25px;
  padding: 25px 30px;

  background: rgba(255, 200, 0, 0.06);
  border: 1px solid rgba(255, 200, 0, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 14px;

  text-align: left;

  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transition: 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.faq-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.faq-item p {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.7;
}



/* =======================================================
   PROCESS – Jak probíhá spolupráce
======================================================= */
.services-process {
  width: 90%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 90px 20px;
  text-align: center;
}

.services-process h2 {
  font-size: 2.6rem;
  color: #111;
  margin-bottom: 60px;
}

/* GRID */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* Karta kroku */
.process-step {
  position: relative;
  background: rgba(255, 200, 0, 0.06);
  border: 1px solid rgba(255, 200, 0, 0.25);
  border-radius: 14px;

  padding: 40px 30px;
  text-align: center;

  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
  transition: 0.25s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.14);
}

/* Číslování */
.step-number {
  position: absolute;
  top: -15px;
  left: -15px;

  background: #fbbf24;
  color: #111;
  font-weight: 700;
  font-size: 1.2rem;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.process-step h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.6;
}



/* =======================================================
   REGIONS – Působíme po celé České republice
======================================================= */
.services-regions {
  width: 90%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 90px 20px;
  text-align: center;
}

.services-regions h2 {
  font-size: 2.6rem;
  color: #111;
  margin-bottom: 25px;
}

.services-regions p {
  max-width: 1000px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  color: #444;
  line-height: 1.7;
}

/* List regionů */
.regions-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1000px;
}

.regions-list li {
  background: rgba(255, 200, 0, 0.08);
  border: 1px solid rgba(255, 200, 0, 0.25);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
}

/* Mapa */
.regions-map img {
  width: 70%;
  max-width: 700px;
  margin: 0 auto;
  display: block;

  border-radius: 16px;
  border: 1px solid rgba(255, 200, 0, 0.25);
  background: rgba(255, 200, 0, 0.06);

  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  transition: 0.25s ease;
}

.regions-map img:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.18);
}



/* =======================================================
   END CTA – Velké zakončení stránky
======================================================= */
.services-end-cta {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 0; /* ODSUN celé sekce odshora */
  text-align: center;
  background: #111;
  color: #fff;
  margin-top: 30px;
}

.services-end-cta h2 {
  font-size: 2.4rem;
  font-weight: 700;
  padding: 30px auto;
  
}

.services-end-cta p {
  font-size: 1.2rem;
  color: #eaeaea;
  max-width: 900px;
  margin: 0 auto 35px;
}

/* Větší žluté tlačítko */
.cta-large {
  padding: 18px 60px !important;
  font-size: 1rem !important;
  border-radius: 12px;
  width: 50%;
   }
.services-end-cta .cta-large {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  max-width: 300px;
}


/* =======================================================
   RESPONSIVE – FINAL (FAQ / PROCESS / REGIONS / CTA)
======================================================= */

/* TABLET – 992px */
@media (max-width: 992px) {

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .regions-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .regions-map img {
    width: 85%;
  }
}

/* MOBILE – 768px */
@media (max-width: 768px) {

  .faq-item {
    width: 90%;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .regions-list {
    grid-template-columns: 1fr;
    width: 80%;
  }

  .regions-map img {
    width: 90%;
  }
}

/* SMALL MOBILE – 480px */
@media (max-width: 480px) {

  .faq-item,
  .process-step {
    width: 80%;
  }

  .regions-list {
    width: 95%;
  }

  .services-end-cta h2 {
    font-size: 1.9rem;
    width: 80%;
    margin: 0px auto;
    
  }

  .services-end-cta p {
    font-size: 1.05rem;
    width: 80%;
    margin: 30px auto;
  }
}
@media (max-width: 480px) {
    .services-longtext {
        width: 74%;
        margin: 30px auto;
    }
}