/* CSS Document */

/* =====================================================
   ÚVOD 
   ===================================================== */

.home-hero,
.home-cards,
.home-contact {
  max-width: 1200px;
  margin: 0 0 64px;

}

.hero-text h1 {
  color: #A52921;
  margin-bottom: 16px;
}

.hero-text p {
  line-height: 1.6;
  color: #333;
}

.hero-text .note {
  color: #666;
  font-size: 0.95rem;
}



/* === TEXTOVÁ ČÁST UVNITŘ HERO BOXU === */
.hero-box-text {
  position: relative;
  max-width: 50%;
  padding: 36px 40px;

  background: rgba(255, 255, 255, 0.88);
  border-radius: 22px;

  z-index: 2;
}

/* === NADPIS === */
.hero-box-text h3 {
  margin: 0 0 20px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #a52921;
}


/* === SEZNAM === */
.hero-box-text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-box-text li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* === HERO BOX – KONTEJNER === */
.hero-box {
  position: relative;
  margin: 48px 0;
  padding: 56px;
  border-radius: 28px;
  overflow: hidden;

  background-color: #f7f2ee;
  background-image: url("http://www.zssadopce.cz/wp-content/uploads/2026/02/foto_stendo_long.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
    filter: brightness(0.95) saturate(0.90);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.hero-box::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    rgba(244, 244, 243, 0.96) 0%,
    rgba(244, 244, 243, 0.88) 32%,
    rgba(244, 244, 243, 0.65) 50%,
    rgba(244, 244, 243, 0.35) 65%,
    rgba(244, 244, 243, 0.15) 78%,
    rgba(244, 244, 243, 0) 88%
  );

  z-index: 1;
}


.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
}

/* HLAVNÍ CTA */
.btn.primary {
  background: #A52921;
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(165,41,33,0.35);
}

/* SEKUNDÁRNÍ – MĚKKÉ */
.btn.soft {
  background: rgba(255,255,255,0.85);
  color: #A52921;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  border: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* TŘETÍ – JEN TEXT, ALE KULTIVOVANĚ */
.btn.link {
  background: none;
  padding: 0;
  color: #A52921;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(165,41,33,0.35);
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.home-card {
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 20px;

  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.home-card h3 {
  color: #A52921;
}

.home-card p {
  color: #555;
  line-height: 1.6;
}

.home-card-image {
  height: 180px;
  border-radius: 14px;
  margin-bottom: 16px;
  background-size: cover;
  background-position: center;
}


.home-contact {
  background: rgba(255,255,255,0.75);
  border-radius: 18px;
  padding: 32px;
  text-align: center;

  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.home-contact h3 {
  color: #A52921;
}

.contact-mail {
  font-weight: 600;
  font-size: 1.1rem;
}

/* === MOBIL === */
@media (max-width: 768px) {
  .hero-box {
    padding: 0;
    background: none; /* zrušíme desktop bg */
  }

  .hero-box::before {
    content: "";
    display: block;
    position: relative;

    height: 260px;

    background-image: url("http://www.zssadopce.cz/wp-content/uploads/2026/02/foto_stendo_long.png");
    background-size: cover;
    background-position: center center;

    filter: brightness(0.95) saturate(0.9);

    border-radius: 24px;
    margin: 0 16px;
  }

  .hero-box-text {
    max-width: none;

    margin: -32px 16px 0; /* menší překryv */
    padding: 24px 22px;

    background: rgba(255, 255, 255, 0.96); /* světlejší, čistší */
    border-radius: 22px;

    box-shadow: 0 16px 40px rgba(0,0,0,0.10);

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    position: relative;
    z-index: 2;
  }
  
 .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 28px;
  }

  /* HLAVNÍ CTA – plná šířka */
  .hero-actions .btn.primary {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 1.05rem;
  }

  /* SEKUNDÁRNÍ – také plná šířka, klidnější */
  .hero-actions .btn.soft {
    width: 100%;
    text-align: center;
    padding: 14px 22px;
    background: rgba(255,255,255,0.92);
  }

  /* TŘETÍ – už ne jako tlačítko */
  .hero-actions .btn.link {
    text-align: center;
    padding-top: 6px;
    border-bottom: none;
    opacity: 0.85;
  }  
  
}

.home-cards--visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.home-card--image {
  position: relative;
  aspect-ratio: 918 / 1020;

  border-radius: 18px;
  overflow: hidden;

  display: flex;
  align-items: flex-end;

  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.08);

  background-color: #ffffff;
  padding: 0;
}

.home-card--image::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.85) 28%,
    rgba(255,255,255,0.55) 48%,
    rgba(255,255,255,0.20) 65%,
    rgba(255,255,255,0.05) 78%,
    rgba(255,255,255,0.00) 88%
  );

  z-index: 1;
}

.home-card--image::after {
  content: "";
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  filter: saturate(0.85) contrast(0.95);

  z-index: 0;
}

.home-card-content {
  position: relative;
  z-index: 2;

  padding: 28px;
}

.home-card-content h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #A52921;
}

.home-card-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.home-card--image.adoption::after {
  background-image: url("http://www.zssadopce.cz/wp-content/uploads/2026/02/predavka-mazleni.png");
}

.home-card--image.sleep::after {
  background-image: url("http://www.zssadopce.cz/wp-content/uploads/2026/02/spici-kotatko.png");
}


@media (max-width: 900px) {
  .home-cards--visual {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-card--image {
    aspect-ratio: 3 / 4;
  }

  .home-card-content {
    padding: 24px;
  }
}
   
/* =====================================================
   JAK MŮŽETE POMOCI 
   ===================================================== */   


.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.help-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.help-card {
  position: relative;
  aspect-ratio: 473 / 784;

  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  filter: saturate(0.8) contrast(0.95);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.help-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255,255,255,0.75) 0%,
    rgba(255,255,255,0.45) 35%,
    rgba(255,255,255,0.0) 70%
  );
  z-index: 0;
}

.help-card h3,
.help-card p {
  position: relative;
  z-index: 1;
}

.help-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 600;
}

.help-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}


.help-item:nth-child(1) .help-card {
  background: url("http://www.zssadopce.cz/wp-content/uploads/2026/01/karta-finance.jpg")
              center / contain no-repeat;
}

.help-item:nth-child(2) .help-card {
  background: url("http://www.zssadopce.cz/wp-content/uploads/2026/01/karta-prevozy.jpg")
              center / contain no-repeat;
}

.help-item:nth-child(3) .help-card {
  background: url("http://www.zssadopce.cz/wp-content/uploads/2026/01/karta-docasky.jpg")
              center / contain no-repeat;
}

.help-detail {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);

  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.help-detail strong {
  font-weight: 600;
}

@media (max-width: 900px) {
  .help-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =====================================================
   O NÁS
   ===================================================== */

.about-hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 96px;
  border-radius: 28px;
  overflow: hidden;

  background-image: url("http://www.zssadopce.cz/wp-content/uploads/2026/02/jana1.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;

  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
}

/* bílý překryv zleva */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    rgba(255,255,255,0.96) 0%,
    rgba(255,255,255,0.96) 22%,   /* dlouho plná bílá */
    rgba(255,255,255,0.78) 38%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0.18) 60%,
    rgba(255,255,255,0.05) 70%,
    rgba(255,255,255,0.0) 78%    /* rychlý přechod do fotky */
  );

  z-index: 1;
}

/* karta s textem */
.about-hero-card {
  position: relative;
  z-index: 2;

  max-width: 560px;
  padding: 40px 44px;
}

.about-hero-card h2 {
  margin: 0 0 20px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #A52921;
}

/* seznam údajů */
.about-hero-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 16px;
  row-gap: 8px;

  font-size: 0.95rem;
  line-height: 1.45;
}

.about-hero-list dt {
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}

.about-hero-list dd {
  margin: 0;
  font-weight: 500;     /* ← VIDITELNĚ SILNĚJŠÍ NEŽ NORMAL */
  color: #2b2b2b;
}

.about-hero-content {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
  font-weight: 450; /* jemně silnější než normal */
}

.about-hero-content dd {
  font-weight: 500;
  color: #2f2f2f;
}

.about-hero-content dt,
.about-hero-content dd {
  text-shadow: 0 0 0.01px rgba(0,0,0,0.3);
}

/* =====================================================
   doplnění pro INFORMACE
   ===================================================== */

.info-hero {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.info-lead {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.info-grid {
  max-width: 1200px;
  margin: 0 auto 96px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.info-block {
  background: rgba(255,255,255,0.75);
  border-radius: 22px;
  padding: 36px;

  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.info-block h3 {
  margin-top: 0;
  color: #A52921;
}

.info-block p {
  line-height: 1.6;
  color: #444;
}

.info-block--wide {
  grid-column: span 2;
}

.info-sub-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-sub-links a {
  text-decoration: none;
  color: #A52921;
  font-weight: 500;
}

.info-sub-links a:hover {
  text-decoration: underline;
}

.about-mission hr {
  margin: 40px 0;
  border: none;
  height: 1px;
  background: rgba(0,0,0,0.08);
}

.about-mission h3 {
  margin-top: 32px;
  color: #A52921;
}

.about-mission h4 {
  margin-top: 24px;
  font-weight: 600;
}

/* UL jako bílý rámeček */
.about-mission ul {
  list-style-type: disc !important;
  list-style-position: outside !important;

  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  padding: 18px 22px 18px 28px !important;

  margin: 14px 0 22px 0 !important;

  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.about-mission ul li {
  margin: 4px 0 !important;
  line-height: 1.45 !important;
}

.back-link {
  margin: 8px 0 28px;
}

.back-link a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #A52921;
  font-weight: 500;
  opacity: 0.8;
}

.back-link a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* MOBIL */

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .info-block--wide {
    grid-column: span 1;
  }
}


/* =====================================================
   MOBIL
   ===================================================== */
   
@media (max-width: 768px) {

  .about-hero {
    display: block;
  }

  .about-hero::before {
    display: none; /* vypneme boční gradient */
  }

  .about-hero-card {
    position: relative;
    max-width: 100%;
    padding: 20px;
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
  }

  .about-hero-list {
    display: block; /* ZRUŠÍ GRID */
  }

  .about-hero-list dt {
    font-weight: 600;
    margin-top: 12px;
  }

  .about-hero-list dd {
    margin: 2px 0 0;
    font-weight: 500;
    line-height: 1.4;
  }


/* === POSLÁNÍ === */
.about-mission {
  max-width: 1200px;
  margin: 0 auto 96px;
  padding: 0 24px;
}

.about-mission h2 {
  color: #A52921;
  margin-bottom: 24px;
}

.about-mission p {
  margin-bottom: 18px;
  line-height: 1.7;
  color: #444;
}

.about-mission-lead {
  font-weight: 600;
  font-size: 1.05rem;
}

/* články */

.zss-article-content {
  line-height: 1.7;
  color: #444;
}

.zss-article-content p {
  margin-bottom: 16px;
}

.zss-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 12px;
}
