/* =============================================
   DB-STAV — Luxury Editorial Design
   ============================================= */

@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/inter-tight.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:       #f9f7f4;
  --surface:  #ffffff;
  --alt:      #f2ede6;
  --text:     #1a1814;
  --muted:    #6b6560;
  --muted-2:  #a09890;
  --border:   #e5ddd4;

  --ink:      #141210;
  --ink-2:    #252220;

  --water:    #1a4a7a;
  --water-2:  #2460a0;
  --water-3:  #c8dff5;

  --f: 'Inter Tight', system-ui, sans-serif;
  --f-serif: Georgia, 'Times New Roman', serif;
  --nav-h: 72px;
  --cont: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text); font-family: var(--f); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--cont); margin: 0 auto; padding: 0 2.5rem; }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(249,247,244,0.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: var(--cont);
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  background: var(--water);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  flex-shrink: 0;
  transition: background 0.3s;
}
#navbar.scrolled .logo-mark { background: var(--water); }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  transition: color 0.3s, text-shadow 0.3s;
}
#navbar.scrolled .logo-name { color: var(--text); text-shadow: none; }
.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
#navbar.scrolled .logo-sub { color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 0.1rem; }

.nav-link {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  transition: color 0.2s;
  text-shadow:
    0 0 4px rgba(0,0,0,0.9),
    0 0 14px rgba(0,0,0,0.7),
    0 1px 3px rgba(0,0,0,0.9);
}
.nav-link:hover { color: var(--water-3); }
#navbar.scrolled .nav-link { color: var(--text); text-shadow: none; }
#navbar.scrolled .nav-link:hover { color: var(--water); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 0.75rem;
  background: var(--water);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
  text-shadow: none !important;
}
.nav-cta:hover { background: var(--water-2); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.25s; }
#navbar.scrolled .hamburger span { background: var(--text); }

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,8,6,0.55) 0%,
    rgba(10,8,6,0.35) 40%,
    rgba(10,8,6,0.65) 70%,
    rgba(10,8,6,0.88) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  max-width: var(--cont);
  margin: 0 auto;
  width: 100%;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

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

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}

.hero-h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero-h1 em {
  font-style: italic;
  font-family: var(--f-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.85);
}

.hero-perex {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--water);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--water-2); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1.5px solid rgba(255,255,255,0.3);
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}
.btn-ghost:hover { color: #ffffff; border-color: rgba(255,255,255,0.7); }

/* Hero bottom strip */
.hero-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 2.5rem;
}

.strip-item {
  padding: 0 3rem;
  text-align: center;
}
.strip-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.strip-div {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 7rem 0; }
.section-dark {
  background: var(--ink);
  color: #f0ece4;
}

.section-intro {
  max-width: var(--cont);
  margin: 0 auto 4rem;
  padding: 0 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--water);
  margin-bottom: 1rem;
}
.eyebrow--light { color: rgba(255,255,255,0.4); }

.section-h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
}
.section-h2--light { color: #f0ece4; }

/* =============================================
   SERVICES EDITORIAL GRID
   ============================================= */
.services-editorial {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--border);
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
}

.svc-editorial {
  background: var(--surface);
  overflow: hidden;
  transition: background 0.3s;
}
.svc-editorial + .svc-editorial {
  border-left: 1.5px solid var(--border);
}

.svc-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.svc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease);
}
.svc-editorial:hover .svc-img-wrap img {
  transform: scale(1.04);
}

.svc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(10,8,6,0.45) 100%
  );
  pointer-events: none;
}

.svc-body {
  padding: 1.75rem 2rem 2rem;
  border-top: 1.5px solid var(--border);
}

.svc-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  margin-bottom: 0.6rem;
}

.svc-body h3 {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.svc-body p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =============================================
   PROČ MY — DARK
   ============================================= */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.why-left {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.why-left .section-h2--light {
  margin-bottom: 2.5rem;
  line-height: 1.1;
}

.btn-primary--light {
  background: #ffffff;
  color: var(--ink) !important;
}
.btn-primary--light:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-2px);
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-item {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.why-item:first-child { padding-top: 0; }
.why-item:last-child { border-bottom: none; }

.why-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #f0ece4;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.why-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* =============================================
   KONTAKT
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact-left .eyebrow { margin-bottom: 0.75rem; }
.contact-left .section-h2 { margin-bottom: 2.5rem; }

.contact-phone {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.contact-phone:hover { color: var(--water); }

.contact-email {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.75rem;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--water); }

.contact-addr {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-right iframe {
  border-radius: var(--radius);
  filter: saturate(0.75) brightness(0.98);
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--ink-2);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-brand {
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
.footer-copy a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-copy a:hover { color: rgba(255,255,255,0.7); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-editorial { grid-template-columns: 1fr 1fr; }
  .svc-editorial + .svc-editorial { border-left: none; }
  .svc-editorial:nth-child(odd) { border-right: 1.5px solid var(--border); }
  .svc-editorial:nth-child(3),
  .svc-editorial:nth-child(4) { border-top: 1.5px solid var(--border); }
  .why-layout { grid-template-columns: 1fr; gap: 3rem; }
  .why-left { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 1.5rem; }
  .nav-inner { padding: 0 1.5rem; }
  .hero-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
  .section-intro { padding: 0 1.5rem; }

  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(249,247,244,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
  .nav-links.open { display: flex; }
  .nav-link {
    font-size: 1.5rem;
    text-shadow: none;
    color: var(--text);
    font-weight: 800;
  }
  .nav-cta { margin-left: 0; font-size: 1.1rem; padding: 0.75rem 2rem; }

  .services-editorial { grid-template-columns: 1fr 1fr; }
  .svc-editorial:nth-child(odd) { border-right: 1.5px solid var(--border); }
  .svc-editorial:nth-child(3),
  .svc-editorial:nth-child(4) { border-top: 1.5px solid var(--border); }

  .strip-item { padding: 0 1.25rem; }
  .hero-strip { padding: 1rem 1.5rem; }

  .footer-inner { flex-direction: column; text-align: center; gap: 0.5rem; }
}

@media (max-width: 540px) {
  .services-editorial { grid-template-columns: 1fr; }
  .svc-editorial + .svc-editorial { border-left: none; border-top: 1.5px solid var(--border); }
  .svc-editorial:nth-child(odd) { border-right: none; }
  .hero-strip { display: none; }
  .section { padding: 4.5rem 0; }
  .why-layout { gap: 2.5rem; }
}
