:root{
  --bg: #0e0e0e;
  --gold: #d4af37;
  --text: #ffffff;
  --accent-font: "Montserrat", "Poppins", sans-serif;

  /* Tło trochę wyżej */
  --hero-bg-shift: -30px;

  /* To jest klucz: PODNOSIMY UI ZNACZNIE WYŻEJ */
  --hero-ui-lift: 0px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

body.no-scroll { overflow: hidden; }

.container { width: 95%; max-width: 1400px; margin: auto; }

/* Nawigacja */
.navbar {
  background: rgba(0, 0, 0, 0.15);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 2000;
  height: 80px;
  backdrop-filter: blur(5px);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  padding-top: 25px;
}

.logo-container { display: block; z-index: 2001; margin-top: -55px; }
.main-logo { height: 240px; width: auto; display: block; filter: drop-shadow(2px 2px 10px rgba(0,0,0,0.5)); }

.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 30px; }
.nav-links a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.5px;
  transition: 0.3s;
}
.nav-links a:hover { color: var(--gold); }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  margin-right: 6px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.25);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}
.hamburger__bar { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; opacity: 0.9; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 4000; display: none; }
.mobile-menu.is-open { display: block; }

.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(6px); }
.mobile-menu__panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(360px, 92vw);
  background: rgba(0,0,0,0.85);
  border-left: 1px solid rgba(255,255,255,0.12);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu__header { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__title { text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; opacity: 0.85; }
.mobile-menu__close {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color: #fff; cursor: pointer; font-size: 18px;
}

.mobile-links { list-style: none; display: grid; gap: 12px; padding: 6px 0; }
.mobile-links a {
  display: block;
  padding: 10px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
}
.mobile-links a:hover { border-color: rgba(212,175,55,0.6); color: var(--gold); }

.mobile-socials { margin-top: auto; display: flex; gap: 12px; }
.mobile-socials a {
  width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.03);
}
.mobile-socials svg { width: 22px; height: 22px; fill: #fff; }
.mobile-socials a:hover { border-color: var(--gold); }
.mobile-socials a:hover svg { fill: var(--gold); }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.6)),
    url('images/hero.webp') no-repeat center calc(10% + var(--hero-bg-shift)) / cover;
  background-attachment: fixed;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding-bottom: 110px;
}

/* To podnosi całą sekcję nad rękę/lejący strumień */
.hero-content {
  width: 95%;
  max-width: 980px;
  margin: 0 auto;
  margin-bottom: var(--hero-ui-lift);
}

.hero h1 {
  font-family: var(--accent-font);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.2px;
  text-shadow: 2px 2px 20px #000;
  opacity: 0.92;
}

.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 18px 45px;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 26px;
  transition: 0.5s;
  background: rgba(0,0,0,0.3);
}
.btn:hover { background: var(--gold); color: #000; }

/* Sociale */
.hero-socials {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.hero-socials a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.15);
  transition: 0.25s;
}
.hero-socials svg { width: 22px; height: 22px; fill: #ffffff; transition: 0.25s; }
.hero-socials a:hover { border-color: var(--gold); }
.hero-socials a:hover svg { fill: var(--gold); }

.hero-socials.is-fixed {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
  flex-direction: column;
  gap: 14px;
  z-index: 3500;
}
.hero-socials.is-fixed a { background: rgba(0,0,0,0.35); backdrop-filter: blur(6px); }

/* Sekcje */
.section { padding: 140px 0; text-align: center; scroll-margin-top: 110px; }

h2 {
  font-family: var(--accent-font);
  font-weight: 600;
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 45px;
  letter-spacing: 0.3px;
}

.bg-light { background: #161616; }
.bg-dark-alt { background: #080808; }
.footer { background: #000; padding: 50px 0; text-align: center; font-size: 0.9rem; opacity: 0.7; }

/* O nas */
.about-text { max-width: 980px; margin: 0 auto; text-align: left; font-size: 1.05rem; }
.about-text p + p { margin-top: 16px; }

/* GALERIA */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  padding-top: 40px;
}

.gallery-item {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #000;
  overflow: hidden;
  height: 300px;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(80%) grayscale(30%);
}
.gallery-item:hover { border-color: var(--gold); }
.gallery-item:hover img { transform: scale(1.1); filter: brightness(100%) grayscale(0%); }

/* VIDEO */
.video-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.20);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s;
}
.video-card:hover { border-color: rgba(212,175,55,0.7); transform: translateY(-2px); }

.video-thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(85%) grayscale(10%);
  transition: 0.35s;
}
.video-card:hover .video-thumb img { filter: brightness(100%) grayscale(0%); transform: scale(1.03); }

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 38px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 6px 25px rgba(0,0,0,0.6);
  opacity: 0.95;
}

.video-title {
  font-family: var(--accent-font);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1.15;
  letter-spacing: 0.2px;
}
.video-sub {
  margin-top: 6px;
  opacity: 0.75;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.video-actions { margin-top: 10px; font-size: 0.95rem; opacity: 0.9; }

/* RIDER */
.rider-btn{
  display: inline-block;
  margin-top: 10px;
  padding: 18px 34px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-family: var(--accent-font);
  color: #1b1202;

  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.85);
  background: linear-gradient(180deg, rgba(255,231,164,1) 0%, rgba(212,175,55,1) 45%, rgba(165,122,10,1) 100%);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -10px 18px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.rider-btn::before{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  top: 8px;
  height: 45%;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
  pointer-events:none;
}
.rider-btn::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
  pointer-events:none;
}
.rider-btn:hover{
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow:
    0 14px 34px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -12px 22px rgba(0,0,0,0.22);
}
.rider-btn:active{ transform: translateY(1px); }

/* Kontakt */
.contact-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  text-align: left;
  padding: 28px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  opacity: 0.75;
}

.contact-name {
  margin-top: 10px;
  font-family: var(--accent-font);
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--gold);
}

.contact-row { margin-top: 18px; display: grid; gap: 4px; }
.contact-row__title { font-size: 0.9rem; opacity: 0.7; letter-spacing: 1px; text-transform: uppercase; }
.contact-row__value { color: #ffffff; text-decoration: none; font-size: 1.05rem; }
.contact-row__value:hover { color: var(--gold); }

.manager-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
  min-height: 320px;
}
.manager-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.manager-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
}
.manager-photo.is-placeholder .manager-placeholder { opacity: 1; }

.manager-placeholder__title {
  font-family: var(--accent-font);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--gold);
}
.manager-placeholder__subtitle { margin-top: 8px; font-size: 0.95rem; opacity: 0.75; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 9999; display: none; }
.lightbox.is-open { display: block; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); }
.lightbox__content { position: relative; height: 100%; display: grid; place-items: center; padding: 24px; }
.lightbox__img { max-width: min(1000px, 92vw); max-height: 80vh; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 10px 50px rgba(0,0,0,0.6); background: #000; }
.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4); color: #fff; cursor: pointer; font-size: 20px;
}
.lightbox__close:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4); color: #fff; cursor: pointer; font-size: 36px;
  display: grid; place-items: center;
}
.lightbox__nav:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__counter {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  padding: 8px 12px; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35); border-radius: 999px; font-size: 0.9rem; letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }

  .main-logo { height: 100px; }
  .logo-container { margin-top: -15px; }

  .hero { background-attachment: scroll; padding-bottom: 100px; }
  .hero h1 { font-size: 1.25rem; }

  /* Na mobile też wyraźnie wyżej, ale bez przesady */
  :root { --hero-ui-lift: 120px; }

  .btn { padding: 16px 34px; }

  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

  .video-grid { grid-template-columns: 1fr; }
  .video-card { grid-template-columns: 1fr; }
  .video-title { font-size: 1.45rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .hero-socials.is-fixed { right: 12px; }

  .lightbox__nav { width: 48px; height: 48px; font-size: 32px; }

  .about-text { font-size: 1rem; }
}

@media (max-width: 420px) {
  h2 { font-size: 2.2rem; }
  .rider-btn{ width: 100%; text-align:center; }
}
