/* ==========================================================================
   NK INŽINIERING - STYLESHEET (FINAL)
   Clean, Pure-CSS, Zero-JavaScript, Lightweight & Pixel-Faithful
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-hero: #f7f8f9;
  --bg-services: #111f2a;
  --bg-contact: #f4f5f7;
  --bg-footer: #0c1720;
  
  --color-navy: #101e2b;
  --color-navy-hover: #1b2e40;
  --color-gold: #cb9346;
  --color-gold-hover: #dfa759;
  
  --text-dark-primary: #101e2b;
  --text-dark-secondary: #2f3e4e;
  --text-dark-muted: #64748b;
  
  --text-light-primary: #ffffff;
  --text-light-secondary: #c2ccd6;
  --text-light-muted: #8596a6;
  
  --border-light: #d8e0e8;
  --border-services-grid: rgba(255, 255, 255, 0.08);
  
  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark-primary);
  background-color: var(--bg-hero);
  line-height: 1.4;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   SECTION PAGINATION DOTS (Right-aligned indicators per section)
   ========================================================================== */
.section-dots {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 20;
}

.section-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
  transition: transform var(--transition-normal);
}

/* Hero Section Dots */
.hero-dots .dot {
  border: 1.6px solid var(--color-navy);
  background-color: transparent;
}
.hero-dots .dot.active {
  background-color: var(--color-navy);
}

/* Services Section Dots */
.services-dots .dot {
  border: 1.6px solid rgba(255, 255, 255, 0.75);
  background-color: transparent;
}
.services-dots .dot.active {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

/* Contact Section Dots */
.contact-dots .dot {
  border: 1.6px solid var(--color-navy);
  background-color: transparent;
}
.contact-dots .dot.active {
  background-color: var(--color-navy);
}

.section-dots .dot:hover {
  transform: scale(1.25);
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--bg-hero);
  padding: 20px 80px 24px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 30;
}

.logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.logo-link:hover .logo-img {
  transform: translateY(-2px);
}

.hero-main {
  position: relative;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  z-index: 10;
  padding-top: 6px;
}

.hero-content {
  max-width: 580px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-title-primary {
  font-family: var(--font-heading);
  font-size: 2.65rem;
  font-weight: 800;
  color: var(--text-dark-primary);
  letter-spacing: -0.3px;
}

.hero-title-secondary {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--text-dark-primary);
  letter-spacing: 2px;
  margin-top: 3px;
}

.gold-line {
  width: 44px;
  height: 3px;
  background-color: var(--color-gold);
  margin-bottom: 14px;
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text-dark-secondary);
  margin-bottom: 0;
  font-weight: 400;
}

/* Blueprint Visual */
.hero-visual {
  position: absolute;
  right: -25px;
  top: -85px;
  bottom: -40px;
  width: 65%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
}

.blueprint-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}

/* ==========================================================================
   SECTION 2: NAŠE SLUŽBY
   ========================================================================== */
.services-section {
  background-color: var(--bg-services);
  color: var(--text-light-primary);
  padding: 24px 80px 26px 80px;
  position: relative;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: 16px;
}

.services-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text-light-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  border-top: 1px solid var(--border-services-grid);
  border-left: 1px solid var(--border-services-grid);
}

.service-card {
  padding: 20px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-services-grid);
  border-bottom: 1px solid var(--border-services-grid);
  transition: background-color var(--transition-normal);
  position: relative;
}

.service-card:hover {
  background-color: rgba(255, 255, 255, 0.025);
}

.service-content {
  display: flex;
  flex-direction: column;
}

.service-header-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.1;
  flex-shrink: 0;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.1px;
  color: var(--text-light-primary);
  text-transform: uppercase;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-light-secondary);
  font-weight: 400;
}

/* ==========================================================================
   SECTION 3: KONTAKT & PÔSOBNOSŤ
   ========================================================================== */
.info-section {
  background-color: var(--bg-contact);
  padding: 22px 80px 24px 80px;
  position: relative;
}

.info-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr auto 1.1fr;
  align-items: center;
  gap: 36px;
}

.info-col {
  display: flex;
  flex-direction: column;
}

.info-header {
  margin-bottom: 14px;
}

.info-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text-dark-primary);
  margin-bottom: 6px;
}

.contact-details-grid {
  display: flex;
  align-items: center;
  gap: 26px;
}

.contact-person-block {
  display: flex;
  align-items: center;
}

.person-meta {
  display: flex;
  flex-direction: column;
}

.person-name {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  line-height: 1.25;
}

.person-role {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark-muted);
  margin-top: 1px;
}

.contact-separator-v {
  width: 1px;
  height: 48px;
  background-color: var(--border-light);
}

.contact-reachability-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reachability-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark-primary);
}

.reachability-item .contact-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  background: transparent;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.reachability-item:hover .contact-icon-circle {
  transform: scale(1.06);
}

.reachability-item .contact-svg {
  width: 17px;
  height: 17px;
}

.reachability-text {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
}

.reachability-item:hover .reachability-text {
  color: var(--color-gold);
}

.main-column-divider {
  width: 1px;
  background-color: var(--border-light);
  align-self: stretch;
  min-height: 75px;
}

/* Pôsobnosť */
.posobnost-details-block {
  display: flex;
  align-items: center;
}

.posobnost-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.posobnost-row-primary {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-dark-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.region-sep {
  color: var(--text-dark-muted);
  font-weight: 400;
}

.posobnost-row-secondary {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-dark-primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  padding: 12px 80px;
  text-align: center;
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.copyright-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-light-muted);
  letter-spacing: 0.3px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-section, .services-section, .info-section {
    padding-left: 40px;
    padding-right: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .main-column-divider {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-top: 15px;
    justify-content: center;
  }
  .hero-title-primary {
    font-size: 2.2rem;
  }
  .hero-title-secondary {
    font-size: 1.4rem;
  }
  .blueprint-img {
    max-width: 480px;
  }
  .section-dots {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 20px 20px 25px 20px;
  }
  .services-section {
    padding: 25px 20px 30px 20px;
  }
  .info-section {
    padding: 20px 20px 25px 20px;
  }
  .site-footer {
    padding: 12px 20px;
  }
  .logo-img {
    height: 60px;
  }
  .hero-title-primary {
    font-size: 1.75rem;
  }
  .hero-title-secondary {
    font-size: 1.15rem;
    letter-spacing: 1.5px;
  }
  .contact-details-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .contact-separator-v {
    display: none;
  }
  .posobnost-row-primary {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .region-sep {
    display: none;
  }
}
