/* Reset a základné nastavenia */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Outfit', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
   overflow-x: hidden;
}

/* Sekcie s obmedzenou šírkou (okrem slidera) */
section:not(.slider) {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* HERO SLIDER – fullscreen */
.slider {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slide {
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 3;
  padding: 1rem;
}

.overlay h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
}

.overlay p {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.7);
  color: black;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 10;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Starý HERO fallback (ak slider nepoužívaš) */
.hero {
  height: 100vh;
  background: url('/images/hero.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.logo {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
  z-index: 2;
}

.slogan {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 1rem;
  z-index: 2;
}

/* Nadpisy */
h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #222;
}

/*o nas*/
.about-section {
  padding: 6rem 2rem;
  background-color: #ffffff;
}

.about-container {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #111;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #444;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}


/* Služby */
.services-home {
  padding: 5rem 2rem;
  background-color: #ffffff;
  text-align: center;
}

.services-home h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #222;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 320px;
  flex: 1 1 280px;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.service-card img {
  width: 60px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.service-card p {
  font-size: 1rem;
  color: #444;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  background-color: #ffffff;
}

.service-card i {
  font-size: 3rem;
  color: #FFD700;
  margin-bottom: 1rem;
}

/*Projekty*/
.projects-home {
  padding: 5rem 2rem;
  background-color: #ffffff;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.projects-button {
  display: inline-block;
  margin-top: 2rem;
  background-color: #000;
  color: rgb(255, 255, 255);
  padding: 0.9rem 2rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.projects-button:hover {
  background-color: #e0c200;
}

.center-btn {
  margin-top: 2rem;
}


/* Recenzie */
.reviews-section {
  padding: 5rem 2rem;
  text-align: center;
}

.reviews-carousel {
  overflow: hidden;
  max-width: 800px;
  margin: 3rem auto 0 auto;
  position: relative;
  height: 160px;
}

.review-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.review {
  min-width: 100%;
  font-size: 1.2rem;
  font-style: italic;
  color: #333;
  padding: 2rem;
  box-sizing: border-box;
  line-height: 1.8;
  background: white;
  border-radius: 8px;
}

.review span {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #555;
}


/* Footer */
footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

footer a {
  color: #FFD700;
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  text-decoration: underline;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

