/* ===== Custom properties ===== */
:root {
  --clr-black:        #181e29;
  --clr-black-deep:   #0c0f14;
  --clr-white:        #ffffff;
  --clr-off-white:    #f6f6f6;
  --clr-orange:       #f47421;
  --clr-orange-light: #ff8830;
  --clr-orange-dark:  #f66200;
  --clr-border:       rgba(255, 255, 255, 0.12);
  --sidebar-w:        280px;
  --ease:             0.3s ease;
  --font:             'Play', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  /*background: var(--clr-off-white);*/
  color: var(--clr-black);
  line-height: 1.5;
}

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul  { list-style: none; }

/* =============================================================
   MOBILE – základné štýly (mobile-first)
   Sidebar = sticky top bar, main-content a adresa--mobile pod ním
   ============================================================= */

/* ===== Layout ===== */
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1920px;
 /* margin-inline: auto;*/
}

/* ===== Sidebar – sticky top bar na mobile ===== */
.sidebar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--clr-black) 0%, var(--clr-black-deep) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* ===== Navigácia ===== */
.main-nav {
  position: relative;
}

/* Brand + hamburger row */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-brand__logo {
  width: 78px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(110deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.main-nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.main-nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.main-nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav links – dropdown, nepresúva obsah */
.nav-links {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.main-nav.is-open .nav-links {
  max-height: 300px;
}

.nav-links li {
  border-bottom: 1px solid var(--clr-border);
}

.nav-links li:first-child {
  border-top: 1px solid var(--clr-border);
}

.nav-links a {
  display: block;
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  transition: color var(--ease), padding-left var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-white);
  padding-left: 1.4rem;
}

.nav-links a.active {
  color: var(--clr-orange-light);
}

/* ===== Hlavný obsah ===== */
.main-content {
  flex: 1;
  padding: 1.75rem 1.25rem 2.5rem;
  background: var(--clr-white);
}

h1 {
  font-size: clamp(1.4rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  position: relative;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: linear-gradient(110deg, var(--clr-orange-light) 0%, var(--clr-orange-dark) 100%);
  border-radius: 2px;
}

.hero-figure {
  margin-bottom: 1.75rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.1);
}

.hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  background: linear-gradient(110deg, var(--clr-black) 0%, var(--clr-black-deep) 100%);
}

.intro p {
  font-size: 1.125rem;
  color: var(--clr-black);
  line-height: 1.625;
  text-align: justify;
}

.intro p + p {
  margin-top: 1rem;
}

/* ===== Adresa – zdieľané štýly ===== */
.adresa {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(110deg, var(--clr-orange-light) 0%, var(--clr-orange-dark) 100%);
}

.adresa__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
  margin-bottom: 0.5rem;
}

.adresa a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-black-deep);
  transition: color var(--ease);
}

.adresa a:hover {
  color: var(--clr-white);
}

.adresa a svg {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  flex-shrink: 0;
}

.adresa__copy {
  width: 100%;
  font-size: 0.875rem;
  color: var(--clr-white);
  text-align: center;
}

/* Desktop adresa: skrytá na mobile */
.adresa--desktop {
  display: none;
}

/* ===== Overlay ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

.nav-overlay.is-visible {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

/* =============================================================
   DESKTOP – rozšírenie pre väčšie obrazovky (min-width: 769px)
   .layout      = flex row
   .sidebar     = flex column, sticky, height 100vh
   .main-content = flex: 1
   ============================================================= */
@media (min-width: 1024px) {

  .nav-overlay {
    display: none;
  }

  /* Flex row */
  .layout {
    flex-direction: row;
    align-items: flex-start;
  }

  /* Sidebar – sticky flex stĺpec, plná výška viewportu */
  .sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(110deg, var(--clr-black) 0%, var(--clr-black-deep) 100%);
    box-shadow: none;
  }

  /* Nav rastie a vypĺňa zvyšok sidebaru */
  .main-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    overflow-y: auto;
  }

  /* Brand – logo nad názvom, vycentrované */
  .nav-bar {
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
  }

  .nav-brand {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
  }

  .nav-brand__logo {
    width: 120px;
    height: 68px;
  }

  .nav-brand__name {
    font-size: 1.35rem;
  }

  /* Hamburger – skrytý na desktope */
  .nav-toggle {
    display: none;
  }

  /* Nav links – vždy viditeľné, vertikálny zoznam */
  .nav-links {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    transition: none;
    box-shadow: none;
  }

  .nav-links a {
    padding: 0.875rem;
    font-size: 1rem;
  }

  .nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(110deg, var(--clr-orange-light) 0%, var(--clr-orange-dark) 100%);
    border-radius: 2px;
    transition: height var(--ease);
  }

  .nav-links a:hover::before,
  .nav-links a.active::before {
    height: 55%;
  }

  .nav-links a:hover,
  .nav-links a.active {
    padding-left: 1.25rem;
  }

  /* Hlavný obsah */
  .main-content {
    padding: 3.5rem 4rem 4rem;
    min-height: 100vh;
  }


  /* Desktop adresa – prirodzene na spodku flex sidebaru */
  .adresa--desktop {
    display: flex;
    padding: 1.25rem 1.5rem;
  }

  .adresa__contacts {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  /* Mobile adresa – skrytá na desktope */
  .adresa--mobile {
    display: none;
  }
}
@media (min-width: 1440px) {
.hero-image {
  height: 640px;
}
  }