/* ========== Base ========== */
* { box-sizing: border-box; }
html, body { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #0b1020;
  color: #e6f0ff;
}

/* Scroll progress bar (sticky top) */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, #60a5fa, #3b82f6, #93c5fd);
  box-shadow: 0 0 12px rgba(96,165,250,0.9);
  z-index: 9999;
}

/* ========== Nav ========== */
.nav {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(10, 16, 32, 0.4);
  border-bottom: 1px solid rgba(136, 186, 255, 0.15);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 14px 20px;
}
.brand { color: #cde3ff; text-decoration: none; font-weight: 800; letter-spacing: 1px; }

.links a {
  position: relative;
  color: #cde3ff; text-decoration: none; margin-left: 18px; font-weight: 400;
  padding: 8px 10px; border-radius: 10px; transition: 200ms;
}
.links a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, #3b82f6, #93c5fd); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
  border-radius: 2px;
}
.links a:hover::after { transform: scaleX(1); }
.links a:hover { background: rgba(99, 163, 255, 0.12); filter: blur(0.2px); }

/* ========== Hero (pola gradient / pola foto + parallax) ========== */
.hero {
  position: relative; height: 92vh; overflow: hidden;
  display: grid; place-items: center;
}
.hero-half { position: absolute; top: 0; bottom: 0; width: 50%; }
.hero-half.gradient {
  left: 0;
  background: linear-gradient(120deg, rgba(28,78,216,0.95), rgba(96,165,250,0.9) 50%, rgba(255,255,255,0.12) 100%);
}
.hero-half.photo {
  right: 0;
  background: url('485693376_1219042710230692_910088389732077485_n.jpg') center/cover no-repeat;
  filter: brightness(0.92) saturate(1.05);
  will-change: transform;
}
.hero-overlay { position: relative; z-index: 1; text-align: center; padding: 0 16px; }
.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  margin: 0 0 18px; color: #fff;
  text-shadow: 0 0 18px rgba(96,165,250,0.9), 0 0 42px rgba(56,128,255,0.8);
}
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== Sections ========== */
.section {
  max-width: 1100px; margin: 0 auto; padding: 64px 20px;
}
.section h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 14px; color: #8ec5ff;
  text-shadow: 0 0 10px rgba(86,154,255,0.6);
}
.section p { line-height: 1.7; color: #dbeaff; }

/* Glossy / gradient border (card-gloss) */
.card-gloss {
  position: relative; border-radius: 20px; padding: 48px 24px; overflow: hidden;
  background: rgba(16, 24, 48, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(120,180,255,0.25);
}
.card-gloss::before {
  content: ""; position: absolute; inset: -2px; border-radius: 22px;
  padding: 2px;
  background: conic-gradient(from 0deg, #60a5fa, #3b82f6, #93c5fd, #60a5fa);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rotateGlow 6s linear infinite;
}
@keyframes rotateGlow { to { transform: rotate(360deg); } }

/* Grid galerija */
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; margin-top: 18px;
}
.grid img {
  width: 100%; display: block; border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  transition: transform 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
}
.grid img:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 36px rgba(0,0,0,0.55); }

/* ========== Lightbox ========== */
.lightbox {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  background: rgba(5, 8, 18, 0.92); z-index: 1000;
}
.lightbox img {
  max-width: min(92vw, 1200px); max-height: 82vh; border-radius: 18px;
  box-shadow: 0 0 32px rgba(120,180,255,0.45);
}
.lb-close {
  position: absolute; top: 16px; right: 20px; font-size: 36px; line-height: 1;
  background: rgba(59,130,246,0.25); color: #fff; border: 1px solid rgba(120,180,255,0.4);
  border-radius: 12px; padding: 6px 12px; cursor: pointer; backdrop-filter: blur(10px);
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(59,130,246,0.2); color: #fff; border: 1px solid rgba(120,180,255,0.4);
  border-radius: 12px; padding: 10px 14px; cursor: pointer; backdrop-filter: blur(10px);
  font-size: 28px;
}
.lb-nav.prev { left: 16px; }
.lb-nav.next { right: 16px; }

/* ========== Footer / Kontakt ========== */
.footer {
  border-top: 1px solid rgba(136,186,255,0.15);
  background: radial-gradient(1200px 500px at 50% 0%, rgba(59,130,246,0.15), transparent 60%);
  padding: 48px 20px 24px; margin-top: 40px;
}
.footer-inner {
  display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1100px; margin: 0 auto 18px;
}
.footer h3 { margin: 0 0 8px; color: #9fd0ff; }
.footer p { margin: 4px 0 12px; color: #d6e9ff; }
.credits { color: #8aa9d8; font-size: 14px; opacity: .8; text-align: center; }

/* ========== Buttons (glassmorphism) ========== */
.btn-glass {
  display: inline-block; text-decoration: none; text-align: center;
  padding: 12px 22px; border-radius: 14px; color: #e7f1ff;
  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(120,180,255,0.45);
  box-shadow: 0 0 18px rgba(80,150,255,0.35) inset, 0 0 24px rgba(80,150,255,0.15);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 200ms ease;
  will-change: transform, filter;
}
.btn-glass:hover { filter: blur(0.6px); transform: translateY(-2px) scale(1.05); box-shadow: 0 0 30px rgba(120,180,255,0.55); }
.btn-glass:active { transform: scale(0.95); box-shadow: 0 0 24px rgba(120,180,255,0.9) inset; }

/* ========== Reveal animations ========== */
.fade-load { animation: fadeIn 1.2s ease both; }
.fade-reveal { opacity: 0; transform: translateY(18px); }
.fade-reveal.revealed { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
footer {
  background: rgba(255, 255, 255, 0.05);
  border-top: 2px solid;
  border-image: linear-gradient(90deg, #3b82f6, #06b6d4) 1;
  padding: 20px;
  text-align: center;
  color: #fff;
  margin-top: 50px;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6));
}

