/* ===== ZÁKLAD ===== */

* {

  box-sizing: border-box;

}

 

body {

  margin: 0;

  font-family: "Segoe UI", Roboto, sans-serif;

  background-color: #f7f7f7;

  color: #222;

  line-height: 1.6;

}

 

/* ===== HEADER ===== */

header {

  position: relative;

  background: linear-gradient(to bottom, #111 60%, #1a1a1a);

  text-align: center;

  color: #FFD700;

  padding: 5rem 1rem 6rem;

}

 

#main-logo {

  margin: 0;

  font-size: clamp(4rem, 8vw, 8rem);

  font-weight: 900;

  letter-spacing: 6px;

  -webkit-text-stroke: 3px #000;

  opacity: 0;

  transform: scale(0.9);

  transition: all 1s ease;

}

 

header p {

  margin-top: 1.5rem;

  color: #eaeaea;

  font-size: 1.1rem;

}

 

/* TLAČÍTKO VOLÁNÍ */

.call-btn {

  position: absolute;

  bottom: 1.5rem;

  right: 2rem;

  background-color: #FFD700;

  color: #111;

  padding: 0.8rem 1.4rem;

  border-radius: 8px;

  font-weight: bold;

  text-decoration: none;

  box-shadow: 0 4px 10px rgba(0,0,0,0.25);

}

 

.call-btn:hover {

  background-color: #e6c200;

}

 

/* ===== NAVIGACE ===== */

nav {

  position: sticky;

  top: 0;

  z-index: 100;

  background-color: #222;

  display: flex;

  justify-content: center;

  gap: 2rem;

  padding: 1rem;

}

 

nav a {

  color: #fff;

  text-decoration: none;

  font-weight: 600;

}

 

nav a:hover {

  text-decoration: underline;

}

 

/* ===== HLAVNÍ OBSAH ===== */

main {

  max-width: 1100px;

  margin: 4rem auto;

  padding: 0 1.5rem;

}

 

.content-box {

  background: #fff;

  padding: 2.5rem;

  margin-bottom: 3rem;

  border-radius: 12px;

  box-shadow: 0 3px 12px rgba(0,0,0,0.1);

}

 

.content-box h2 {

  margin-top: 0;

}

 

/* ===== PRODUKTY ===== */

.product-links {

  list-style: none;

  padding: 0;

  margin: 0;

}

 

.product-links li {

  margin-bottom: 0.8rem;

}

 

.product-links a {

  color: #0056b3;

  text-decoration: none;

  font-weight: 500;

}

 

.product-links a:hover {

  text-decoration: underline;

}

 

/* ===== OTEVÍRACÍ DOBA ===== */

.hours-table {

  width: 100%;

  border-collapse: collapse;

}

 

.hours-table td {

  padding: 0.5rem 0;

}

 

.note {

  margin-top: 1rem;

  font-size: 0.95rem;

}

 

/* ===== KONTAKTY ===== */

.company-info {

  margin-bottom: 2rem;

}

 

.contacts {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 1.5rem;

}

 

.contact-card {

  background: #fff;

  padding: 1.5rem;

  border-radius: 12px;

  box-shadow: 0 3px 10px rgba(0,0,0,0.1);

}

 

.contact-card h3 {

  margin-top: 0;

}

 

/* ===== ANIMACE ===== */

.fade-section {

  opacity: 0;

  transform: translateY(30px);

  transition: all 0.8s ease;

}

 

.fade-section.visible {

  opacity: 1;

  transform: translateY(0);

}

 

/* ===== FOOTER ===== */

footer {

  text-align: center;

  padding: 1.5rem;

  background: #111;

  color: #fff;

  font-size: 0.9rem;

}

 

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

  .call-btn {

    position: static;

    display: inline-block;

    margin-top: 2rem;

  }

 

  nav {

    flex-wrap: wrap;

    gap: 1rem;

  }

}

 

JS:

window.addEventListener("load", () => {

  const logo = document.getElementById("main-logo");

  if (logo) {

    logo.style.opacity = "1";

    logo.style.transform = "scale(1)";

  }

});

 

const sections = document.querySelectorAll(".fade-section");

 

const observer = new IntersectionObserver(entries => {

  entries.forEach(entry => {

    if (entry.isIntersecting) {

      entry.target.classList.add("visible");

    }

  });

}, { threshold: 0.2 });

 

sections.forEach(section => observer.observe(section));