/* ==============================================
   JETSEMOBILE – GLOBAL STYLES
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap');

/* ---------- Zmienne ---------- */

:root {
  --jets-black: #050608;
  --jets-black-soft: #0b0d11;
  --jets-gray: #161925;
  --jets-gray-soft: #202430;
  --jets-border: #292f3b;
  --jets-white: #ffffff;
  --jets-muted: #a3a8ba;
  --jets-red: #ff2b2b;
  --jets-green: #00ff5a;
  --jets-yellow: #ffb627;
  --jets-radius-soft: 18px;
  --jets-radius-pill: 999px;
  --jets-shadow-soft: 0 22px 60px rgba(0,0,0,0.75);
}

/* ---------- Body + tekst ---------- */

body,
button,
input,
select,
textarea {
  font-family: 'Orbitron', system-ui, sans-serif;
  background-color: var(--jets-black);
  color: var(--jets-white);
}

body,
.site,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  background-color: var(--jets-black);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jets-white);
}

p {
  color: var(--jets-muted);
  line-height: 1.6;
}

/* Twoje „mocne odstępy” – globalny styl akapitów */
body p,
.wp-block-paragraph,
.entry-content p {
  line-height: 2.1 !important;
  letter-spacing: 0.18em !important;
  font-size: 18px !important;
  margin-bottom: 1.2em !important;
  color: #ffffff !important;
}

/* Listy – kompaktowe */
.wp-block-list li {
  margin-top: 2px !important;
  margin-bottom: 2px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.18em !important;
}

/* ---------- Linki ---------- */

a {
  color: var(--jets-green);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover,
a:focus {
  color: var(--jets-red);
  text-shadow: 0 0 6px rgba(255,43,43,0.75);
}

/* ==============================================
   HEADER / MENU / NAWIGACJA
   ============================================== */

.ast-primary-header-bar,
.site-header,
.main-header-bar {
  background: #000000;
  border-bottom: 1px solid var(--jets-border);
  box-shadow: 0 12px 30px rgba(0,0,0,0.85);
}

.site-branding,
.site-logo-img img {
  max-height: 52px;
}

/* Podstawowy styl pozycji menu */
.main-header-menu > .menu-item > a {
  font-family: 'Orbitron', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: var(--jets-muted);
  padding-inline: 0.9rem;
  padding-block: 0.7rem;
  transition: color 0.15s ease, background-color 0.15s ease, text-shadow 0.15s ease;
  white-space: nowrap;
  background: transparent;
  text-shadow: none;
}

/* Hover / active – desktop i tablet */
.main-header-menu > .menu-item:hover > a,
.main-header-menu > .menu-item.current-menu-item > a,
.main-header-menu > .menu-item.current-menu-ancestor > a {
  color: #ff2b2b;
  background: transparent;
  text-shadow: 0 0 6px rgba(255,43,43,0.7);
}

/* Sticky header na desktopie */
@media (min-width: 921px) {
  #masthead {
    position: sticky;
    top: 0;
    z-index: 99999;
    background: #000000;
  }
}

/* Mobile hamburger menu */
.ast-mobile-popup-inner,
.ast-mobile-header-wrap {
  background-color: var(--jets-black);
}

.ast-mobile-popup-inner .menu-item > a {
  letter-spacing: 0.04em !important;
  white-space: nowrap;
}

/* MENU – zawsze 1 wiersz na desktopie + ciaśniejsze linki */
@media (min-width: 921px) {

  .main-header-bar-navigation .main-header-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  .main-header-menu > .menu-item > a {
    font-size: 0.75rem !important;          /* ciaśniejsze menu */
    letter-spacing: 0.04em !important;
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
  }
}

/* ==============================================
   SCROLLBAR
   ============================================== */

body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: #020203;
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--jets-red),var(--jets-green));
  border-radius: 999px;
}

/* ==============================================
   BLOKI / KOLUMNY / MODELE
   ============================================== */

.entry-content > .wp-block-group,
.entry-content > .wp-block-cover,
.entry-content > .wp-block-columns {
  margin-block: 3.5rem;
}

.wp-block-columns .wp-block-column {
  background: radial-gradient(circle at top,rgba(255,255,255,0.04),transparent 70%);
  border-radius: var(--jets-radius-soft);
  border: 1px solid var(--jets-border);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.85);
}

.wp-block-columns .wp-block-column svg,
.wp-block-columns .wp-block-column i,
.wp-block-columns .wp-block-column .dashicons {
  color: var(--jets-green);
}

/* MODELE – karty TOP 3 */
.jets-model-card {
  background: rgba(0,0,0,0.45);
  padding: 24px;
  border-radius: 28px;
  color: #fff;
  box-shadow: var(--jets-shadow-soft);
}

.jets-model-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.jets-model-thumb {
  margin-bottom: 20px;
  border-radius: 18px;
  overflow: hidden;
}

.jets-model-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Formularze */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  background-color: var(--jets-gray);
  border-radius: 12px;
  border: 1px solid var(--jets-border);
  color: var(--jets-white);
  padding: 0.7rem 0.9rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--jets-muted);
}

/* Przyciski */
.ast-button,
.button,
.wp-block-button__link,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  font-family: 'Orbitron', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  border-radius: var(--jets-radius-pill);
  padding: 0.9rem 2.6rem;
  border: 1px solid rgba(255,255,255,0.06);
  background-image: linear-gradient(120deg,var(--jets-red),var(--jets-green));
  color: var(--jets-black);
  box-shadow: 0 15px 35px rgba(0,0,0,0.9);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.ast-button:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 20px 45px rgba(0,0,0,0.95);
}

/* Footer */
.site-footer,
.ast-footer-overlay {
  background-color: var(--jets-black-soft);
  border-top: 1px solid var(--jets-border);
}

.site-footer a {
  color: var(--jets-muted);
}
.site-footer a:hover {
  color: var(--jets-green);
}

/* ==============================================
   HERO – BLACK EDITION (JetS BEST)
   ============================================== */

.jets-hero-section {
  position: relative;
  padding: 80px 0 90px;
  background:
    radial-gradient(circle at 75% 50%, #1b2820 0, #050505 55%, #020105 100%);
  overflow: hidden;
}

/* fioletowa poświata góra/dół */
.jets-hero-section::before,
.jets-hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 32px;
  z-index: 0;
  pointer-events: none;
}

.jets-hero-section::before {
  top: 0;
  background: linear-gradient(to bottom, #8a2bff 0%, transparent 100%);
}
.jets-hero-section::after {
  bottom: 0;
  background: linear-gradient(to top, #8a2bff 0%, transparent 100%);
}

/* treść nad gradientami */
.jets-hero-section > * {
  position: relative;
  z-index: 1;
}

/* HERO jako karta – radius jak TOP 3 */
.jets-hero-section .wp-block-media-text {
  background: rgba(0,0,0,0.78);
  border-radius: 28px;
  box-shadow: var(--jets-shadow-soft);
  padding: 32px;
}

/* Obrazek JetS Best */
.jets-hero-section img {
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

/* Desktop – trochę więcej oddechu */
@media (min-width: 921px) {
  .jets-hero-section {
    padding-top: 100px;
    padding-bottom: 110px;
  }
}

/* ==============================================
   HERO – MOBILE (Xperia 1 II) – SZEROKI TEKST
   ============================================== */

@media (max-width: 768px) {

  /* zdejmujemy padding z kontenera Astry */
  .site-content .ast-container,
  .site-content .ast-container .entry-content {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* hero = pełna szerokość */
  .jets-hero-section,
  .jets-hero-section.alignwide {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* blok media-text = full width, karta węższa na mobile */
  .jets-hero-section .wp-block-media-text {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 16px !important;
    border-radius: 22px;
  }

  /* SZEROKA kolumna tekstu – minimalny padding */
  .jets-hero-section .wp-block-media-text__content {
    padding-left: 6px !important;
    padding-right: 6px !important;
    padding-top: 8px !important;
    padding-bottom: 16px !important;
  }

  .jets-hero-section .jets-eyebrow {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .jets-hero-section h3.wp-block-heading {
    font-size: 20px;
    line-height: 1.3;
  }

  .jets-hero-section .jets-hero-sub {
    font-size: 14px;
    line-height: 1.5;
  }

  .jets-hero-section .jets-btn {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    padding: 10px 16px;
  }
}

/* ==============================================
   HERO – TABLETY
   ============================================== */

@media (min-width: 769px) and (max-width: 1180px) {

  .jets-hero-section.alignwide {
    width: 90% !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .jets-hero-section .wp-block-media-text__content {
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-top: 24px !important;
    padding-bottom: 32px !important;
  }
}

/* ==============================================
   HERO – DESKTOP SZEROKOŚĆ
   ============================================== */

@media (min-width: 1181px) {
  .jets-hero-section.alignwide {
    width: 96% !important;       /* szerzej niż wcześniej – możesz dać 100% */
    max-width: 96% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* ============================================================
   JETSEMOBILE – HEADER FIX: pełna szerokość + większa czcionka
   ============================================================ */

/* 1) Rozciągamy header i menu na pełen ekran */
.main-header-bar .ast-container,
.ast-container {
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* 2) Menu = flex bez zawijania */
.main-header-bar-navigation .main-header-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important; /* możesz zmienić na space-between */
    width: 100% !important;
}

/* 3) Linki w menu – większa czcionka i spacing */
.main-header-menu > .menu-item > a {
    font-size: 0.95rem !important;         /* POWIĘKSZENIE */
    letter-spacing: 0.08em !important;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    white-space: nowrap !important;        /* nigdy nie łam w 2 linie */
}

/* 4) Hover – czerwony + glow */
.main-header-menu > .menu-item > a:hover {
    color: #ff2b2b !important;
    text-shadow: 0 0 10px rgba(255,43,43,0.9) !important;
}

/* 5) Zapobieganie chowającym się elementom */
@media (min-width: 1024px) {
    .main-header-menu > .menu-item {
        flex-shrink: 0 !important; /* NIE ZMNIEJSZAJ elementów */
    }
}
/* JetSeMobile – kolory menu (HOME / KONTAKT nie znikają) */
.main-header-menu > .menu-item > a,
.main-header-menu > .menu-item > a:visited {
    color: var(--jets-muted) !important;   /* jasnoszary jako baza */
}

/* aktywne pozycje (aktualna strona) też mają być widoczne */
.main-header-menu > .menu-item.current-menu-item > a,
.main-header-menu > .menu-item.current-menu-ancestor > a {
    color: var(--jets-muted) !important;
}

/* HOOVER / FOCUS – czerwony + glow */
.main-header-menu > .menu-item > a:hover,
.main-header-menu > .menu-item > a:focus {
    color: #ff2b2b !important;
    text-shadow: 0 0 10px rgba(255,43,43,0.9) !important;
}

/* ============================================================
   JETSEMOBILE – MENU CENTRALNE (pełne wyśrodkowanie)
   ============================================================ */

/* Kontener na menu – musi być full width */
.ast-main-header-bar-alignment,
.main-header-bar {
    display: flex !important;
    justify-content: center !important; /* najważniejsze */
    align-items: center !important;
}

/* Właściwe menu ustawiamy sztywno na środku */
.main-header-bar-navigation {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;   /* idealne centrowanie */
}

/* Lista linków w menu – też centrowana */
.main-header-menu {
    display: flex !important;
    justify-content: center !important;
    width: auto !important;
    margin: 0 auto !important;
}

/* Żeby logo po lewej nie pchało menu w prawo */
.site-branding,
.site-logo-img {
    margin-right: auto !important;
}
/* JetSeMobile – polityka + licznik w jednej linii */
.jets-inline {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap; /* jak się nie zmieści na telefonie, ładnie się zawinie */
}

/* trochę kosmetyki dla shortcode, żeby wyglądał jak tekst */
.jets-inline .wp-block-shortcode {
    margin: 0;
    padding: 0;
}

.jets-inline .wp-block-shortcode input,
.jets-inline .wp-block-shortcode textarea {
    font-size: inherit;
}
.jets-footer-line {
  background: #000;
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jets-footer-line span {
  color: #fff !important;
}

.jets-footer-counter {
  margin-left: 8px;
}

/* Shortcode wyświetlany obok tekstu */
.jets-footer-counter + .wp-block-shortcode {
  display: inline-block;
  margin-left: 4px;
}

.wp-block-shortcode {
  display: inline-block;
  color: #fff !important;
}

.wp-block-shortcode input, 
.wp-block-shortcode span {
  color: #fff !important;
}
/* Cała sekcja HTML we footer – czarne tło */
#ast-desktop-footer .footer-html,
#ast-mobile-footer .footer-html,
.ast-builder-html-element {
    background-color: #000000 !important;
    width: 100% !important;
    display: block !important;
    padding: 20px 0 !important;
}

/* Tekst wewnątrz – biały, wycentrowany */
.ast-builder-html-element * {
    color: #ffffff !important;
    text-align: center !important;
    font-size: 14px !important;
}

/* Ładna pionowa struktura */
.jets-footer-line {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
/* Link w stopce – Polityka prywatności */
.jets-footer-privacy {
  color: #00ff5a !important;          /* JetS green */
  text-decoration: underline;
  cursor: pointer;
}

.jets-footer-privacy:hover {
  color: #ff2a2a !important;          /* JetS red on hover */
  text-shadow: 0 0 6px #ff2a2a;
}

/* ===== Strona PRODUKTY – ukryj tytuł motywu + usuń górny odstęp ===== */
.page-id-309 .entry-title {
    display: none !important;
}

.page-id-309 .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ukryj duży tytuł strony pod logo (JetSeMobile) */
.page .entry-title,
.ast-page-title-wrap {
  display: none;
}

/* HOME – usuń duży tytuł strony pod logo (JetSeMobile) */
body.home .entry-header,
body.home .entry-title,
body.home .ast-page-header,
body.home .ast-page-title-wrap,
body.home .ast-archive-title {
  display: none !important;
}

/* Ukryj tekstowy tytuł "JetSeMobile" pod logo (zostaje samo logo-grafika) */
.ast-site-identity .site-title,
.ast-site-title,
.site-title {
  display: none !important;
}

/* Hard kill tekstowego JetSeMobile pod logo */
header .site-title,
header .site-title a,
.ast-site-title,
.ast-site-identity .site-title,
.ast-site-identity .site-title a {
  font-size: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: transparent !important;
}

/* Zmniejszamy wysokość headera – usuwamy padding z elementu .site-branding */
.site-branding.ast-site-identity {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Zmniejszamy cały pasek menu */
.ast-primary-header-bar,
.main-header-bar,
.ast-desktop-header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 58px !important;
}

/* Sticky header (po przewinięciu) też zwężamy */
.ast-sticky-main-shrink .ast-primary-header-bar,
.ast-sticky-main-shrink .main-header-bar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 52px !important;
}

/* Sticky header też był za wysoki */
.ast-sticky-main-shrink .ast-primary-header-bar,
.ast-sticky-main-shrink .main-header-bar {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  min-height: 50px !important;
}

/* Zmniejszamy faktyczną wysokość rzędu nagłówka Astra */
header .ast-primary-header-wrap,
header .ast-primary-header-bar .ast-builder-grid-row,
header .ast-primary-header-bar .site-header-focus-item,
header .ast-primary-header-bar {
  min-height: 58px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Wyrównanie logo / brandingu po ścięciu rzędu */
header .site-branding.ast-site-identity {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 768px){
  /* kontener menu */
  nav ul,
  .main-navigation ul,
  .primary-navigation ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  /* elementy menu */
  nav ul li,
  .main-navigation ul li,
  .primary-navigation ul li {
    width: 100%;
    display: block;
  }

  /* link w menu – pełna szerokość */
  nav ul li a,
  .main-navigation ul li a,
  .primary-navigation ul li a {
    display: block;
  }
}

.menu li.current-menu-item a {
  color: #e53935;
}

.menu li a {
  min-height: 48px;
}

/* === SUBMENU – POPRAWIONA CZYTELNOŚĆ === */

.main-navigation .sub-menu,
#site-navigation .sub-menu,
nav .sub-menu {
  background: #0f172a; /* ciemny granat, nie czarny */
  border: 1px solid rgba(255,255,255,0.15);
}

.main-navigation .sub-menu a,
#site-navigation .sub-menu a,
nav .sub-menu a {
  color: #e5e7eb !important;
  font-weight: 500;
}

.main-navigation .sub-menu a:hover,
#site-navigation .sub-menu a:hover,
nav .sub-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff !important;
}

