/* -------------------------------------------------------------------------- */
/* 1. Premenné a základ                                                       */
/* -------------------------------------------------------------------------- */
:root {
  --bg: #f4efe8;
  --paper: #fbf8f3;
  --ink: #171512;
  --muted: #70675e;
  --line: #ddd2c5;
  --accent: #a07952;
  --dark: #181713;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(30, 24, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}


/* -------------------------------------------------------------------------- */
/* 2. Layout                                                                  */
/* -------------------------------------------------------------------------- */
.container {
  width: min(1380px, calc(100% - 34px));
  margin: auto;
}


/* -------------------------------------------------------------------------- */
/* 3. Navigácia                                                               */
/* -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 232, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23, 21, 18, 0.07);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 110px;   /* uprav podľa potreby */
  width: auto;
}

.navlinks {
  display: flex;
  gap: 25px;
  font-size: 14px;
  color: var(--muted);
}

.navlinks a:hover {
  color: var(--ink);
}

.navcta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 11px 17px;
  font-size: 13px;
}


/* -------------------------------------------------------------------------- */
/* 4. Hero                                                                    */
/* -------------------------------------------------------------------------- */
.hero {
  padding: 20px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 18px;
  min-height: 710px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(30px, 5vw, 68px);
  box-shadow: var(--shadow);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(52px, 5.5vw, 86px);
  line-height: 0.93;
  letter-spacing: -0.055em;
  font-weight: 420;
  margin: 22px 0 26px;
}

.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-copy>p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 20px;
  background: #fff;
  cursor: pointer;
}

.btn.dark {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.hero-photo {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(14px);
  padding: 15px 17px;
  border-radius: 16px;
  max-width: 310px;
}

.photo-label small {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.photo-label strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}


/* -------------------------------------------------------------------------- */
/* 5. Úvod                                                                    */
/* -------------------------------------------------------------------------- */
.intro {
  padding: 85px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
}

.intro h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 420;
  margin: 10px 0;
}

.intro-copy {
  font-size: 21px;
  color: var(--muted);
  max-width: 720px;
  align-self: end;
}


/* -------------------------------------------------------------------------- */
/* 6. Kategórie                                                               */
/* -------------------------------------------------------------------------- */
.categories {
  padding: 20px 0 100px;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 26px;
}

.head h2 {
  font-size: clamp(36px, 4vw, 60px);
  margin: 8px 0 0;
  font-weight: 420;
  letter-spacing: -0.04em;
}

.head p {
  max-width: 620px;
  color: var(--muted);
  margin: 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: 0.2s;
  box-shadow: var(--shadow);
}

.cat:hover {
  transform: translateY(-3px);
}

.cat img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

.cat-body {
  padding: 18px;
}

.cat h3 {
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 500;
}

.cat p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}


/* -------------------------------------------------------------------------- */
/* 7. Realizácie / portfólio                                                  */
/* -------------------------------------------------------------------------- */
.portfolio {
  background: #1b1a17;
  color: #f5f1ea;
  padding: 100px 0;
}

.portfolio .head p {
  color: #aaa49c;
}

.portfolio .eyebrow {
  color: #c8a274;
}

.project {
  padding: 54px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.project:first-of-type {
  border-top: 0;
}

.project-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
}

.project-info {
  position: sticky;
  top: 105px;
  align-self: start;
}

.project-info h3 {
  font-size: 32px;
  line-height: 1.08;
  font-weight: 450;
  margin: 9px 0 10px;
}

.project-info .lead {
  font-family: Georgia, serif;
  font-size: 19px;
  font-style: italic;
  color: #d7cec2;
  margin-bottom: 16px;
}

.project-info p {
  color: #aaa49c;
  font-size: 15px;
}

.project-count {
  display: inline-block;
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  color: #c9c3ba;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.shot {
  grid-column: span 4;
  overflow: hidden;
  border-radius: 18px;
  background: #2a2925;
  cursor: zoom-in;
  min-height: 270px;
}

.shot:first-child {
  grid-column: span 8;
  grid-row: span 2;
}

.shot img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: 0.35s;
}

.shot:hover img {
  transform: scale(1.015);
}


/* -------------------------------------------------------------------------- */
/* 8. Proces                                                                  */
/* -------------------------------------------------------------------------- */
.process {
  padding: 110px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.step {
  padding: 26px 24px 30px 0;
  border-bottom: 1px solid var(--line);
}

.step+.step {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.num {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 35px;
}

.step h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}


/* -------------------------------------------------------------------------- */
/* 9. Náš prístup                                                             */
/* -------------------------------------------------------------------------- */
.feature {
  padding-bottom: 110px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  min-height: 650px;
}

.feature-img {
  border-radius: 28px;
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  background: #ded3c5;
  border-radius: 28px;
  padding: clamp(30px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-copy h2 {
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 430;
  margin: 14px 0 24px;
}

.feature-copy p {
  color: #665b50;
  font-size: 17px;
}

.points {
  margin-top: 25px;
  display: grid;
  gap: 12px;
}

.point {
  padding: 14px 0;
  border-top: 1px solid rgba(23, 21, 18, 0.16);
  display: grid;
  grid-template-columns: 36px 1fr;
}

.point span {
  color: var(--accent);
  font-size: 13px;
}

.point strong {
  font-weight: 500;
}


/* -------------------------------------------------------------------------- */
/* 10. Kontakt                                                                */
/* -------------------------------------------------------------------------- */
.contact {
  background: #131310;
  color: #f5f0e8;
  padding: 95px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8vw;
}

.contact h2 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 420;
  margin: 13px 0 22px;
}

.contact p {
  color: #aaa49c;
  max-width: 650px;
}

.contact .btn.light {
  background: #f5f0e8;
  border-color: #f5f0e8;
  color: #171512;
}

.contact .btn.ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: #f5f0e8;
}

.contact-meta {
  display: grid;
  gap: 12px;
  align-self: end;
}

.contact-card {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0;
}

.contact-card small {
  display: block;
  color: #817b73;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-card strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 450;
}


/* -------------------------------------------------------------------------- */
/* 11. Footer                                                                 */
/* -------------------------------------------------------------------------- */
.footer {
  background: #131310;
  color: #757068;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 25px 0 38px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}


/* -------------------------------------------------------------------------- */
/* 12. Lightbox                                                               */
/* -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 8, 0.92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.open {
  display: flex;
}

.modal img {
  max-width: 92vw;
  max-height: 87vh;
  border-radius: 16px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.modal-prev, .modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 26px;
  cursor: pointer;
}

.modal-prev {
  left: 18px;
}

.modal-next {
  right: 18px;
}
/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;

  position: relative;
  width: 42px;
  height: 42px;

  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 9px;

  width: 24px;
  height: 1.5px;

  background: var(--ink);

  transition:
    top 0.25s ease,
    transform 0.25s ease;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 24px;
}

/* Hamburger → X */

.menu-toggle.open span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle.open span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}


/* Mobile menu */

.mobile-menu {
  position: fixed;

  top: 78px;
  left: 0;
  right: 0;

  z-index: 45;

  padding: 30px 17px 45px;

  background: var(--bg);

  border-bottom: 1px solid var(--line);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav {
  width: 100%;
}

.mobile-menu a {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;

  padding: 18px 0;

  border-bottom: 1px solid var(--line);

  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.mobile-menu a:first-child {
  border-top: 1px solid var(--line);
}

.mobile-menu a span {
  font-size: 11px;
  letter-spacing: 0.12em;

  color: var(--accent);
}
/* MOBILE MENU JE DEFAULTNE SKRYTÉ */
.mobile-menu,
.menu-toggle {
  display: none;
}
body.menu-open {
  overflow: hidden;
}
/* -------------------------------------------------------------------------- */
/* 13. Responzívne pravidlá                                                   */
/* -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid, .intro-grid, .feature-grid, .contact-grid, .project-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-photo {
    min-height: 520px;
  }

  .cat-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-info {
    position: static;
  }

  .step+.step {
    border-left: 0;
    padding-left: 0;
  }

  .gallery .shot:first-child {
    grid-column: span 12;
  }

  .shot {
    grid-column: span 6;
  }
}

@media (max-width: 650px) {
  .navlinks {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .nav {
    gap: 10px;
  }

  .navcta {
    padding: 9px 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  .logo img {
    height: 100px;
    width: auto;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   MOBILE ONLY
   ========================= */

.mobile-menu,
.menu-toggle {
  display: none !important;
}

@media (max-width: 650px) {
  .menu-toggle {
    display: block !important;
  }

  .mobile-menu {
    display: block !important;
  }
}