/* -----------------------------------
   ODKAZY
----------------------------------- */
footer a {
  color: var(--color-light);
  text-decoration: none;
}

footer a:hover {
  color: var(--color-primary);
}

/* -----------------------------------
   RESPONSIVITA
----------------------------------- */
@media (max-width: 900px) {
  .content-block,
  .about,
  .contact {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-slogan {
    font-size: 34px;
  }
}

@media (max-width: 800px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: flex; }
}

@media (max-width: 600px) {
  .hero-image { height: 360px; }
  .hero-slogan { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
}

/* -----------------------------------
   PLACEHOLDER (Varianta 2 – jen když chybí obrázek)
----------------------------------- */
.placeholder {
  background-color: var(--color-placeholder) !important;
  background-image: none !important;
  position: relative;
  display: block;
}

.placeholder::after {
  content: "Obrázek";
  color: #8a6f2d;
  font-size: 16px;
  font-family: var(--font-body);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

/* Specifické výšky pro různé bloky */
.content-image1,
.content-image2,
.content-image3 {
  min-height: 260px;
}

.about-image {
  min-height: 300px;
}

.contact-map {
  background-image: url('../img/logo.png'); /* nebo správná cesta */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 200px; /* nebo výška, kterou chceš */
}

.service-icon1,
.service-icon2,
.service-icon3,
.service-icon4,
.service-icon5,
.service-icon6,
.service-icon7,
.service-icon8,
.service-icon9 {
  min-height: 190px;
  width: 190px;
  margin: 0 auto;
}

/* Text uvnitř placeholderu */
.placeholder::after {
  content: "Obrázek";
  color: #8a6f2d;
  font-size: 16px;
  font-family: var(--font-body);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}
/* === CONTENT BLOCKS === */
.content-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Textová část */
.content-text {
  flex: 1 1 400px;
  min-width: 300px;
}

.content-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: #2f2418;
}

.content-text p {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4a3b2a;
}

/* Obrázková část */
.content-image1,
.content-image2,
.content-image3 {
  flex: 1 1 400px;
  min-width: 300px;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .content-block {
    gap: 1.5rem;
  }

  .content-text h2 {
    font-size: 2rem;
  }

  .content-image1,
  .content-image2,
  .content-image3 {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .content-block {
    flex-direction: column;
    text-align: center;
  }

  .content-text {
    flex: 1 1 100%;
  }

  .content-image1,
  .content-image2,
  .content-image3 {
    width: 100%;
    height: 220px;
  }

  .content-text h2 {
    font-size: 1.8rem;
  }

  .content-text p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .content-image1,
  .content-image2,
  .content-image3 {
    height: 180px;
  }

  .content-text h2 {
    font-size: 1.6rem;
  }
}

#kontakt {
  scroll-margin-top: 80px;
}

footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding: 60px 20px 30px;
  margin-top: 80px;
  width: 100%;
}

/* === GRID 3 SLOUPCE === */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 3 stejné sloupce */
  width: 100%;
  gap: 40px;
}

/* === TEXT === */
.footer-col h3,
.footer-col h4 {
  margin-top: 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.footer-contact p {
  margin-bottom: 6px;
  font-size: 15px;
}

/* === SOCIAL ICON === */
.footer-social {
  text-align: right; /* zarovnání nadpisu doprava */
}

.footer-social .social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-dark);
  border-radius: 50%;
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-social .social-icon:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

/* === SPODNÍ ČÁST === */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  opacity: 0.7;
}

/* === RESPONSIVE === */
@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    text-align: center;
  }
}