﻿@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@500;650&family=Space+Grotesk:wght@400;500;600;700&display=swap");

    :root {
      color-scheme: light;
      --bg: #0f172a;
      --bg-soft: #111827;
      --surface: #ffffff;
      --surface-alt: #f8fafc;
      --ink: #0f172a;
      --ink-soft: #475569;
      --accent: #f97316;
      --accent-dark: #ea580c;
      --line: #e2e8f0;
      --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    }

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

    html {
      scroll-behavior: smooth;
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }
    }

    body {
      font-family: "Space Grotesk", "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.12), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(14, 116, 144, 0.12), transparent 40%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 45%, #f8fafc 100%);
      line-height: 1.6;
    }

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

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

    .container {
      width: min(1120px, 92vw);
      margin: 0 auto;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 10;
      background: rgba(15, 23, 42, 0.92);
      backdrop-filter: blur(12px);
      color: #fff;
      border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    }

    .nav-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1rem 0;
      position: relative;
    }

    .brand {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
    }

    .brand h1 {
      font-family: "Fraunces", "Georgia", serif;
      font-size: clamp(1.4rem, 1.8vw, 1.8rem);
      letter-spacing: 0.02em;
    }

    .brand span {
      font-size: 0.85rem;
      color: rgba(226, 232, 240, 0.8);
    }

    nav {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
      font-weight: 500;
      font-size: 0.95rem;
    }

    nav a {
      padding: 0.35rem 0.6rem;
      border-radius: 999px;
      transition: background 0.2s ease, color 0.2s ease;
    }

    nav a:hover {
      background: rgba(248, 250, 252, 0.12);
      color: #fff;
    }

    .nav-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      border: 1px solid rgba(226, 232, 240, 0.25);
      background: rgba(15, 23, 42, 0.6);
      color: #fff;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      gap: 5px;
      padding: 0;
      flex-direction: column;
    }

    .nav-toggle span {
      display: block;
      width: 20px;
      height: 2px;
      background: #fff;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    header.nav-open .nav-toggle span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    header.nav-open .nav-toggle span:nth-child(2) {
      opacity: 0;
    }

    header.nav-open .nav-toggle span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    .hero {
      padding: 4.5rem 0 3.5rem;
      color: #fff;
      background:
        radial-gradient(circle at 80% -10%, rgba(249, 115, 22, 0.35), transparent 55%),
        linear-gradient(135deg, #0f172a 0%, #111827 60%, #1f2937 100%);
    }

    .hero-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 2.5rem;
      align-items: center;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(248, 250, 252, 0.1);
      padding: 0.4rem 0.85rem;
      border-radius: 999px;
      font-size: 0.85rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .hero h2 {
      font-family: "Fraunces", "Georgia", serif;
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      margin: 1rem 0 1rem;
    }

    .hero p {
      color: rgba(226, 232, 240, 0.9);
      font-size: 1.05rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-top: 1.8rem;
    }

    .btn-primary {
      background: var(--accent);
      color: #0f172a;
      padding: 0.85rem 1.6rem;
      border-radius: 999px;
      font-weight: 600;
      box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 40px rgba(249, 115, 22, 0.45);
    }

    .btn-outline {
      border: 1px solid rgba(248, 250, 252, 0.3);
      color: #fff;
      padding: 0.85rem 1.4rem;
      border-radius: 999px;
      font-weight: 500;
    }

    .hero-card {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(148, 163, 184, 0.2);
      padding: 1.5rem;
      border-radius: 24px;
      backdrop-filter: blur(12px);
      display: grid;
      gap: 1rem;
    }

    .hero-card strong {
      font-size: 1.1rem;
    }

    .hero-card span {
      color: rgba(226, 232, 240, 0.8);
      font-size: 0.95rem;
    }

    main {
      padding: 3.5rem 0 4rem;
    }

    section {
      margin-bottom: 3.5rem;
      scroll-margin-top: 110px;
    }

    .section-title {
      font-family: "Fraunces", "Georgia", serif;
      font-size: clamp(1.6rem, 2.6vw, 2.2rem);
      margin-bottom: 0.6rem;
    }

    .section-lead {
      color: var(--ink-soft);
      max-width: 720px;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.2rem;
      margin-top: 1.8rem;
    }

    .card {
      background: var(--surface);
      border-radius: 20px;
      padding: 1.4rem 1.5rem;
      box-shadow: var(--shadow);
      border: 1px solid rgba(148, 163, 184, 0.18);
    }

    .card h3 {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    .card p {
      color: var(--ink-soft);
      font-size: 0.95rem;
    }

    .card-dark {
      background: #0f172a;
      color: #fff;
    }

    .card-dark h3,
    .card-dark p {
      color: #fff;
    }

    .split {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 2rem;
      align-items: start;
    }

    .list {
      display: grid;
      gap: 1rem;
      color: var(--ink-soft);
    }

    .list span {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .list span::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--accent);
      display: inline-block;
    }

    .reference-groups {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1rem;
      margin-top: 1.4rem;
    }

    .ref-group {
      background: var(--surface);
      border-radius: 18px;
      padding: 1.2rem 1.3rem;
      border: 1px solid rgba(148, 163, 184, 0.18);
      box-shadow: var(--shadow);
    }

    .ref-group h3 {
      margin-bottom: 0.5rem;
      font-size: 1.05rem;
    }

    .ref-list {
      color: var(--ink-soft);
      font-size: 0.94rem;
      line-height: 1.55;
    }

    .gallery {
      margin-top: 2rem;
    }

    .gallery-full {
      width: 100vw;
      margin-left: 50%;
      transform: translateX(-50%);
    }

    .gallery-viewport {
      position: relative;
      width: 100%;
      max-width: none;
      height: min(48vh, 420px);
      margin: 0 auto;
      background: #0b1120;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-radius: 24px;
      box-shadow: var(--shadow);
      border: 1px solid rgba(148, 163, 184, 0.2);
      padding: 0;
    }

    .gallery-viewport.is-loading .gallery-track {
      visibility: hidden;
    }

    .gallery-viewport.is-loading::after {
      content: "Načítavam galériu...";
      color: rgba(226, 232, 240, 0.7);
      font-size: 0.95rem;
      letter-spacing: 0.02em;
    }

    .gallery-track {
      display: flex;
      align-items: center;
      height: 100%;
      gap: 20px;
      transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
      will-change: transform;
    }

    .gallery-slide {
      flex: 0 0 clamp(240px, 28vw, 420px);
      height: min(46vh, 400px);
      border-radius: 20px;
      overflow: hidden;
      background: #0b1120;
    }

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

    .gallery-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      border: none;
      width: 52px;
      height: 52px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.65);
      color: #fff;
      display: grid;
      place-items: center;
      cursor: pointer;
      font-size: 1.2rem;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .gallery-control:hover {
      background: rgba(15, 23, 42, 0.9);
      transform: translateY(-50%) scale(1.04);
    }

    .gallery-control-left {
      left: 18px;
    }

    .gallery-control-right {
      right: 18px;
    }

    .contact {
      background: var(--surface);
      border-radius: 24px;
      padding: 2rem;
      box-shadow: var(--shadow);
      border: 1px solid rgba(148, 163, 184, 0.18);
    }

    .contact h3 {
      margin-bottom: 0.6rem;
    }

    .contact p {
      color: var(--ink-soft);
      margin-bottom: 0.4rem;
    }

    .copy-btn {
      margin-left: 0.4rem;
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
      border: 1px solid rgba(15, 23, 42, 0.18);
      background: #fff;
      color: var(--ink);
      font-size: 0.78rem;
      cursor: pointer;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .copy-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
    }

    .copy-status {
      margin-left: 0.4rem;
      font-size: 0.78rem;
      color: var(--ink-soft);
    }

    .contact a {
      color: var(--accent-dark);
      font-weight: 600;
    }

    footer {
      background: #0f172a;
      color: rgba(226, 232, 240, 0.8);
      text-align: center;
      padding: 2rem 1rem;
      font-size: 0.9rem;
    }

    @media (max-width: 1200px) {
      .nav-bar {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        row-gap: 0.75rem;
      }

      .nav-toggle {
        display: inline-flex;
      }

      .hero-actions {
        flex-direction: column;
        align-items: flex-start;
      }

      nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        margin-top: 0.8rem;
        grid-column: 1 / -1;
      }

      header.nav-open nav {
        display: flex;
      }

      .gallery-track {
        gap: 0;
      }

      .gallery-slide {
        flex: 0 0 100vw;
      }
    }
