* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #0b1623, #003566);
  color: #fff;
  height: 64px;              /* normálna výška headera */
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */



/* Navigation – desktop */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: #f8f9fa;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ffd60a;
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Checkbox na toggle – skrytý */

.nav-toggle {
  display: none;
}

/* Hamburger / krížik */

.nav-toggle-label {
  display: none;              /* defaultne skryté na desktope */
  width: 32px;
  height: 32px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Tri čiarky (hamburger) */
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label span::before {
  transform: translateY(-6px);
}

.nav-toggle-label span::after {
  transform: translateY(6px);
}

/* Keď je checkbox zaškrtnutý -> z hamburgera sprav X */

.nav-toggle:checked + .nav-toggle-label span {
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::before {
  transform: rotate(-90deg);
}

.nav-toggle:checked + .nav-toggle-label span::after {
  transform: rotate(0deg);
  opacity: 0;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .site-header {
    padding: 0 1rem;
  }

  /* Skryť klasickú horizontálnu navigáciu */
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0b1623;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    gap: 0.75rem;
  }

  .main-nav a {
    display: block;
    padding: 0.35rem 0;
  }

  /* Zobraziť hamburger na mobile */
  .nav-toggle-label {
    display: flex;
  }

  /* Keď je nav-toggle ON – otvor menu */
  .nav-toggle:checked ~ .main-nav {
    max-height: 260px; /* stačí na 4 položky; môžeš upraviť */
  }
}


/* Hero */ 

/* Hero rotátor sekcia */
.hero-rotator {
  position: relative;
  width: 100%;
  height: 100vh;               /* fullscreen */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.hero-rotator-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-rotator-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* obrázok sa zachová pekne */
  object-position: center;
  transition: opacity 0.6s ease;
 
}

.hr-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2;
}

.hero-rotator-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 900px;
}

.hero-rotator-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-rotator-content p {
  font-size: 2rem;
  font-weight: 900;
  opacity: 0.9;
  font-weight: bold;
}

/* Responzivita */
@media (max-width: 768px) {
  .hero-rotator-content h1 {
    font-size: 2rem;
  }
  .hero-rotator-content p {
    font-size: 1.2rem;
  }
  .hero-rotator{
    height: 80vh;
  }
}


.hero-rotator-content p{
    color:#ffd60a;
}

.hr-btn {
  display: inline-block;
  margin-top: 1.8rem;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  color: #111;
  background: linear-gradient(135deg, #fde047, #facc15, #fbbf24);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.45);
  transition: 0.25s ease-in-out;
}

.hr-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.6);
}

/* Responzívne úpravy */
@media (max-width: 768px) {
  .hr-btn {
    padding: 12px 28px;
    font-size: 1rem;
  }
}



.logo img {
  width: 21rem;     /* maximálna šírka na veľkých obrazovkách */
  max-width: 100%;  /* pri zužovaní bude obraz zmenšovať */
  height: auto;     /* zachová pomer strán */
}




.kto-sme {
  padding: 80px 20px;
  background: #0e1525;
  color: #f5f7fa;
}

.kto-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.kto-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #facc15;
}

/* Icon boxes */
.kto-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.kto-icon-box {
  text-align: center;
  width: 230px;
}

.kto-icon-box i {
  display: block;
  margin: 0 auto 12px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #fcd34d, #fbbf24);
  border-radius: 14px;
  mask-size: 60%;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* Ikony */
.icon-world         { mask-image: url('https://img.icons8.com/ios-filled/50/car.png'); }


.icon-location    { mask-image: url('https://img.icons8.com/ios-filled/50/marker.png'); }
.icon-car         { mask-image: url('https://img.icons8.com/ios-filled/50/car.png'); }

.kto-text {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  opacity: 0.9;
}

/* Grid obrázkov */
.kto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.kto-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  filter: brightness(0.85);
  transition: 0.25s;
}

.kto-grid img:hover {
  filter: brightness(1);
  transform: scale(1.03);
}

/* Mobile */
@media (max-width: 768px) {
  .kto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kto-icon-box {
    width: 180px;
  }
}


.services-main-absoft {
  background: #0b0b0b;
  padding: 80px 20px;
}

.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffd900;   /* žltá ABSoft */
  margin-bottom: 10px;
}

.services-subtitle {
  font-size: 1.1rem;
  color: #d1d1d1;
  margin-bottom: 45px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

/* KARTY */
.service-card {
  background: #111;
  border-radius: 18px;
  padding: 28px 20px;
  border: 1px solid rgba(255, 217, 0, 0.15);
  box-shadow: 0 0 18px rgba(255, 217, 0, 0.05);
  transition: 0.25s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards;
}

.service-card:nth-child(odd) {
  animation-delay: 0.1s;
}
.service-card:nth-child(even) {
  animation-delay: 0.2s;
}

/* HOVER */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(255, 217, 0, 0.25);
  border-color: rgba(255, 217, 0, 0.5);
}

/* IKONY – žltý gradient */
.service-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ffd800, #ffbb00);
  border-radius: 14px;
  margin-bottom: 18px;
  mask-size: 60%;
  mask-position: center;
  mask-repeat: no-repeat;
}

/* Ikony */
.icon-chip       {mask-image: url('https://img.icons8.com/ios-filled/50/automatic.png'); }
.icon-gear       { mask-image: url('https://img.icons8.com/ios-filled/50/automatic.png'); }
.icon-auto       {mask-image: url('https://img.icons8.com/ios-filled/50/automatic.png'); }
.icon-oil        { mask-image: url('https://img.icons8.com/ios-filled/50/oil-industry.png'); }
.icon-bcm        { mask-image: url('https://img.icons8.com/ios-filled/50/electrical.png'); }
.icon-mmi        { mask-image: url('https://img.icons8.com/ios-filled/50/car-audio.png'); }
.icon-code       { mask-image: url('https://img.icons8.com/ios-filled/50/code.png'); }
.icon-abs        { mask-image: url('https://img.icons8.com/ios-filled/50/abs.png'); }
.icon-light      { mask-image: url('https://img.icons8.com/ios-filled/50/idea.png'); }
.icon-key        { mask-image: url('https://img.icons8.com/ios-filled/50/key.png'); }
.icon-steering   { mask-image: url('https://img.icons8.com/ios-filled/50/steering-wheel.png'); }
.icon-dashboard  { mask-image: url('https://img.icons8.com/ios-filled/50/speedometer.png'); }
.icon-lookup     { mask-image: url('https://img.icons8.com/ios-filled/50/search.png'); }
.icon-4x4        { mask-image: url('https://img.icons8.com/ios-filled/50/suv.png'); }
.icon-diesel     { mask-image: url('https://img.icons8.com/ios-filled/50/engine.png'); }

.service-card h3 {
  font-size: 1.05rem;
  color: #f5f5f5;
  font-weight: 600;
  line-height: 1.45;
}

/* Animácia */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/**********/

.footer {
  background: #111;
  color: #eee;
  padding: 3rem 1.5rem;

  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-logo img {
  width: 220px;
  height: auto;
  filter: brightness(1.1);
}

.footer-info, .footer-contact {
  min-width: 220px;
}

.footer h3 {
  color: #ff3b3b; /* pekná moderná červená */
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.footer p {
  margin: 4px 0;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #888;
}



.electro-section {
  background: #0d0f12;
  padding: 4rem 1.5rem;
  border-top: 1px solid #1d1d1d;
  border-bottom: 1px solid #1d1d1d;
}

.electro-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.electro-text {
  flex: 1 1 480px;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1.1s ease forwards;
}

.electro-text h2 {
  color: #ff3b3b;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.electro-text p {
  color: #e0e0e0;
  line-height: 1.65;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.electro-text .highlight {
  color: #ffffff;
  font-weight: 600;
  border-left: 3px solid #ff3b3b;
  padding-left: 1rem;
}

.electro-anim {
  flex: 1 1 400px;
  text-align: center;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1.1s ease 0.3s forwards;
}

.electro-anim img {
  max-width: 100%;
  filter: drop-shadow(0 0 25px rgba(255, 59, 59, 0.2));
  border-radius: 6px;
}

/* Fade-Up animácia */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsívne prispôsobenie */
@media (max-width: 768px) {
  .electro-inner {
    flex-direction: column;
    text-align: left;
  }

  .electro-anim img {
    max-width: 85%;
  }
}
.footer-facebook a {
  color: #ff3b3b;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-facebook a:hover {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 59, 59, 0.6);
}



.photo-grid-section {
  background: #0d0f12;
  padding: 80px 20px;
  border-top: 1px solid #1d1d1d;
}

.photo-grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.photo-grid-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ff3b3b;
  margin-bottom: 10px;
}

.photo-grid-subtitle {
  font-size: 1.05rem;
  color: #d1d1d1;
  margin-bottom: 45px;
  opacity: 0.95;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 v rade */
  gap: 18px;
}

.photo-card {
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 59, 59, 0.18);
  box-shadow: 0 0 18px rgba(255, 59, 59, 0.06);
  transform: translateY(0);
  transition: 0.22s ease;
}

.photo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 59, 59, 0.45);
  box-shadow: 0 0 26px rgba(255, 59, 59, 0.18);
}

.photo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover; /* fotky pekne vyplnia box */
  display: block;
  filter: brightness(0.92);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.photo-card:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

.photo-card figcaption {
  padding: 12px 12px 14px;
  color: #f0f0f0;
  font-size: 0.98rem;
  line-height: 1.35;
  text-align: left;
}

@media (max-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr); /* tablet */
  }
}

@media (max-width: 520px) {
  .photo-grid {
    grid-template-columns: 1fr; /* mobil */
  }
  .photo-card img {
    height: 200px;
  }
}

.reviews-section {
  background: #0b0b0b;
  padding: 90px 20px;
  border-top: 1px solid #1d1d1d;
}

.reviews-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.reviews-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ff3b3b;
  margin-bottom: 10px;
}

.reviews-subtitle {
  font-size: 1.05rem;
  color: #d1d1d1;
  margin-bottom: 50px;
  opacity: 0.95;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

/* KARTA RECENZIE */
.review-card {
  background: #111;
  border-radius: 18px;
  padding: 28px 24px 30px;
  border: 1px solid rgba(255, 59, 59, 0.18);
  box-shadow: 0 0 18px rgba(255, 59, 59, 0.05);
  text-align: left;
  transition: 0.25s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 59, 59, 0.45);
  box-shadow: 0 0 26px rgba(255, 59, 59, 0.18);
}

/* HVIEZDIČKY */
.review-stars {
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: #ffd700;
  margin-bottom: 14px;
}

/* TEXT */
.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 18px;
}

/* AUTOR */
.review-author {
  font-size: 0.9rem;
  color: #bdbdbd;
  font-style: italic;
}
