/* Vlastní styly pro web Ing. Roman Hrdina */

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7fdf6;
  color: #333;
}
.navbar {
  background: linear-gradient(90deg, #4caf50, #2e7d32);
  transition: all 0.3s ease-in-out;
  padding:  1.4rem 1rem;
}
.navbar a {
  color: #fff !important;
  transition: color 0.3s;
}
.navbar a:hover {
  color: #c8e6c9 !important;
}
.navbar.fixed-top {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.nav-link {
  padding: 0px 30px !important;
}
.carousel-caption h1 {
  animation: fadeInDown 2s;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
.section {
  padding: 80px 20px;
  transition: all 0.3s ease-in-out;
  scroll-margin-top: 90px;
}
#o-nas { background: #ffffff; }
#poradci { background: #edfcea; }
#dokumenty { background: #e8f5e9; }

#kontakt-telo, #kontakt { background: #f0f4c3; }
.section h2 {
  font-weight: 600;
  color: #2e7d32;
}
ul.list-unstyled li {
  font-size: 1.2em;
  padding: 10px 0;
  transition: all 0.3s ease;
}
ul.list-unstyled li:hover {
  transform: translateX(10px);
  color: #1b5e20;
}
.footer {
  background: linear-gradient(90deg, #2e7d32, #1b5e20);
  color: white;
  padding: 30px 20px;
}
.footer p, .footer h5 {
  margin: 5px 0;
}
.carousel img {
  object-fit: cover;
  height: 600px;
}
.pdf-list i {
  color: red;
  margin-right: 10px;
}
.porad-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  border-radius: 18px;
  cursor: pointer;
}
.porad-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 8px 24px rgba(76,175,80,0.18), 0 1.5px 6px rgba(46,125,50,0.12);
  z-index: 2;
  background: #e8f5e9;
}
.porad-card .card-title {
  color: #2e7d32;
}
.porad-card .display-4 {
  font-size: 2.8rem;
}
.pdf-card {
  border: none;
  border-radius: 18px;
}
.contact-card {
  border-radius: 18px;
  font-size: 1.15em;
  background: #fff;
  box-shadow: 0 8px 32px rgba(46,125,50,0.13), 0 1.5px 6px rgba(76,175,80,0.10);
}
.contact-icon {
  width: 48px;
  height: 48px;
  font-size: 1.7rem;
  background: #43a047;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  box-shadow: 0 2px 8px rgba(76,175,80,0.10);
}
#kontakt a.text-dark:hover {
  color: #388e3c !important;
  text-decoration: underline;
}
#kontakt iframe {
  border-radius: 0;
  min-height: 350px;
  width: 100%;
  display: block;
}
.footer-divider {
  border-top: 2px solid #388e3c;
  width: 60px;
  margin: 0 auto 20px auto;
  opacity: 0.5;
}
.footer-content span {
  display: inline-block;
  margin: 0 10px 10px 10px;
  font-size: 1.1em;
}
.footer-content i {
  margin-right: 6px;
}
.footer a.text-light:hover {
  color: #c8e6c9 !important;
  text-decoration: underline;
}
.footer {
  font-size: 1.05em;
}
.dokumenty-item {
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  border-radius: 12px !important;
  margin-bottom: 12px;
  background: #fff;
}
.dokumenty-item:hover {
  box-shadow: 0 6px 24px rgba(46,125,50,0.13), 0 1.5px 6px rgba(76,175,80,0.10);
  background: #f1f8e9;
  transform: translateY(-3px) scale(1.02);
  text-decoration: none;
}
.dokumenty-item .fa-file-pdf {
  min-width: 36px;
}
