:root {
  --bg-overlay: rgba(0, 0, 0, 0.55);
  --accent: #dc9e52;
  --accent-soft: rgba(220, 158, 82, 0.15);
  --text-main: #ffffff;
  --text-muted: #d0d0d0;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: var(--font-main);
  color: var(--text-main);
  background: #000;
}

body { display: flex; flex-direction: column; }

/* === VIDEO BACKGROUND (JEDYNE TŁO) === */
.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -3;
    pointer-events: none;
    filter: brightness(0.55);
}

.bg-fallback {
    position: fixed;
    inset: 0;
    background-image: url("/Media/intro.jpg");
    background-size: cover;
    background-position: center;
    z-index: -4;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: -2;
}

/* === USUWAMY STARE TŁO CAŁKOWICIE === */
.page-bg,
.page-overlay {
    display: none !important;
}

/* Instagram Grid */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.instagram-media,
.instagram-media * {
  background: #111 !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.2) !important;
}

.instagram-media {
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
}

.instagram-media iframe {
  background: #000 !important;
}

.insta-item {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.insta-grid-lite {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.insta-card {
  display: flex;
  flex-direction: column;
  background: #000;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  max-width: 260px;
  margin: 0 auto;
}

.insta-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.insta-thumb::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  background: radial-gradient(circle at center, rgba(0,0,0,0.0), rgba(0,0,0,0.55));
}

.insta-meta {
  padding: 0.75rem 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.insta-meta span:first-child {
  font-weight: 600;
  color: #fff;
}

.insta-card:hover .insta-thumb::after {
  background: radial-gradient(circle at center, rgba(0,0,0,0.0), rgba(0,0,0,0.75));
}

.insta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.8);
}

@media (max-width: 900px) {
  .insta-grid-lite {
    grid-template-columns: 1fr;
  }
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.4));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  position: relative;
  padding-bottom: 0.2rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

nav a:hover::after { width: 100%; }

.btn-nav {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 10px 25px rgba(0,0,0,0.6);
}

.btn-nav:hover {
  transform: translateY(-1px);
  background: #eab56d;
  box-shadow: 0 14px 30px rgba(0,0,0,0.7);
}

main { flex: 1; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 4rem;
}

.hero-topline {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-topline span { color: var(--accent); }

.hero-title {
  max-width: 720px;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title span { color: var(--accent); }

.hero-subtitle {
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

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

.btn-primary,
.btn-secondary {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 14px 35px rgba(0,0,0,0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #eab56d;
  box-shadow: 0 18px 40px rgba(0,0,0,0.8);
}

.btn-secondary {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.25);
  color: var(--text-main);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,0.7);
}

/* Sections */
section { padding: 5rem 1.5rem; }

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-text {
  max-width: 640px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

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

.card {
  background: rgba(0,0,0,0.6);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.contact-form { display: grid; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: 0.35rem; }

.field label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea,
.field select {
  padding: 0.75rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.55);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(220,158,82,0.4);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><path d='M5.516 7.548l4.484 4.484 4.484-4.484 1.516 1.516-6 6-6-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

.contact-aside {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-aside strong { color: var(--text-main); }

/* Footer */
footer {
  background: rgba(0,0,0,0.85);
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.footer-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-text {
  color: #ccc;
  max-width: 380px;
  line-height: 1.6;
}

.footer-big {
  text-align: center;
  font-size: 6.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #aaa;
  font-size: 0.85rem;
}

.footer-bottom span {
  font-size: 0.75rem;
  color: #666;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .nav-inner { flex-wrap: wrap; justify-content: center; }
  nav ul { flex-wrap: wrap; justify-content: center; }
  .hero-inner { padding-top: 5.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-big { font-size: 4rem; }
}
