/*
Theme Name: JRS Paranormal Technology
Author: Radek Szeliga
Version: 4.2
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Rajdhani:wght@500;600;700&display=swap');

/* --- RESET I RESET DLA SAFARI --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

a, a:hover, a:visited, a:active {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    color: inherit;
    outline: none !important;
}

:root {
  --bg-main: #0b0b0b;
  --bg-dark: #0f0f0f;
  --bg-card: #161616;
  --border-dark: #242424;
  --accent-red: #3770b3;
  --accent-red-hover: #3770b3;
  --text-main: #eaeaea;
  --text-white: #ffffff;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* EFEKT SKANOWANIA */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.01), rgba(255,255,255,0.01) 1px, transparent 1px, transparent 3px);
  opacity: 0.05; z-index: 9999;
}

.container { width: 90%; max-width: 1200px; margin: auto; }

/* HEADER */
header {
  background: var(--bg-dark);
  border-bottom: 2px solid var(--border-dark);
  position: relative;
  z-index: 100000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo img { height: 100px; width: auto; }

.nav-links { list-style: none; display: flex; gap: 24px; }

.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  color: var(--text-white) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a:hover { color: var(--accent-red) !important; }

.hamburger {
  display: none;
  font-size: 36px;
  cursor: pointer !important;
  color: var(--text-white);
  padding: 10px;
}

/* SLIDER */
.slider { height: 420px; position: relative; overflow: hidden; }
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)); z-index: 1; }
.slide.active { opacity: 1; z-index: 2; }
.slide-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 20px; }
.slide h2 { font-family: 'Rajdhani', sans-serif; font-size: 3rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; color: var(--text-white); }

/* GLITCH TEXT */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; width: 100%; opacity: 0; pointer-events: none;
}
.glitch::before { color: #ff1e1e; animation: glitchRed 6s infinite; }
.glitch::after { color: #00ffff; animation: glitchCyan 6s infinite; }
@keyframes glitchRed { 0%, 95%, 100% { opacity: 0; } 96% { opacity: 0.7; transform: translate(-1px, 0); } }
@keyframes glitchCyan { 0%, 96%, 100% { opacity: 0; } 97% { opacity: 0.6; transform: translate(1px, 0); } }
/* --- PRODUKTY GRID --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 produkty w linii */
  gap: 20px;
  padding: 40px 0;
}

.product-link { text-decoration: none !important; color: inherit !important; display: block; height: 100%; }

.product {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-dark);
  padding: 0; /* Usuwamy padding, żeby zdjęcie mogło dotykać krawędzi */
  text-align: center;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden; /* To zapobiega wyjeżdżaniu zdjęcia poza kartę */
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px rgba(53,103,162,0.3);
  border-color: var(--accent-red);
}

/* NAPRAWA ZDJĘĆ - DOPASOWANIE DO KARTY */
.product img, .product .wp-post-image {
  width: 100% !important;
  height: 200px !important; /* Stała wysokość zdjęcia */
  object-fit: cover !important; /* Wypełnia całą szerokość karty bez marginesów */
  display: block;
  margin-bottom: 15px;
}

/* ODSTĘPY DLA TEKSTU */
.product h3, .product .price, .product .status {
  padding: 0 15px;
}

.product h3 {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 10px 0 6px;
  color: var(--text-white) !important;
}

.price {
  font-family: 'Rajdhani', sans-serif;
  color: var(--accent-red) !important;
  font-size: 1.15rem;
  margin: 6px 0 4px;
}

.status { font-size: 0.75rem; text-transform: uppercase; margin-bottom: 18px; }
.status.ok { color: #4CAF50; }
.status.soon { color: #FFC107; }
.status.off { color: #9e9e9e; }

.contact-btn {
  margin: auto 15px 15px 15px; /* Przycisk na dole z odstępem */
  font-family: 'Rajdhani', sans-serif;
  background: var(--accent-red) !important;
  border: none;
  padding: 12px 24px;
  color: var(--text-white) !important;
  font-weight: 700;
  text-transform: uppercase;
}
/* --- O NAS --- */
.about { margin: 70px auto; }
.about h2 { text-align: center; font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; color: var(--accent-red); text-transform: uppercase; margin-bottom: 28px; }
.about-lead, .about-text, .about-highlight { max-width: 900px; margin: 0 auto 26px auto; line-height: 1.85; }
.about-highlight { border-left: 3px solid var(--accent-red); padding-left: 18px; }

/* --- KONTAKT I STOPKA --- */
.contact-page-wrapper { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
footer { background: var(--bg-dark); padding: 30px 0; text-align: center; margin-top: 55px; border-top: 2px solid var(--border-dark); color: #666; }
.jrs-footer-link { color: #666 !important; font-size: 0.8rem; margin-left: 15px; text-transform: uppercase; font-family: 'Rajdhani'; display: inline-block; }
.jrs-footer-link:hover { color: var(--accent-red) !important; }

/* --- RADAR I COOKIES --- */
.jrs-cookie-wrapper { position: fixed; bottom: 30px; right: 30px; width: 380px; background: rgba(15, 15, 15, 0.95); border: 1px solid var(--accent-red); padding: 25px; z-index: 999999; display: none; box-shadow: 0 0 30px rgba(55, 112, 179, 0.3); overflow: hidden; font-family: 'Rajdhani'; }
.jrs-scanner-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent-red); box-shadow: 0 0 15px var(--accent-red); animation: scanMove 4s linear infinite; }
@keyframes scanMove { 0% { top: 0; } 100% { top: 100%; } }
.jrs-radar { position: relative; width: 24px; height: 24px; border: 1px solid var(--accent-red); border-radius: 50%; }
.jrs-radar-ring { position: absolute; inset: 0; border: 1px solid var(--accent-red); border-radius: 50%; animation: radarPulse 2s ease-out infinite; }
@keyframes radarPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .hamburger { display: block !important; }
  .nav-links { display: none !important; position: absolute; top: 100%; left: 0; width: 100%; background: #111 !important; flex-direction: column; padding: 20px 0; border-bottom: 3px solid var(--accent-red); z-index: 100000; }
  .nav-links.show { display: flex !important; }
  .products-grid { grid-template-columns: 1fr; }
  .product img, .product .wp-post-image { height: auto !important; max-height: 350px; }
}
/*
Theme Name: JRS Paranormal Technology
Author: Radek Szeliga
Version: 3.1
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Rajdhani:wght@500;600;700&display=swap');

/* --- TOTALNY RESET DLA SAFARI/IPHONE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

a, a:hover, a:visited, a:active {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    color: inherit;
    outline: none !important;
}

:root {
  --bg-main: #0b0b0b;
  --bg-dark: #0f0f0f;
  --bg-card: #161616;
  --border-dark: #242424;
  --accent-red: #3770b3;
  --accent-red-hover: #3770b3;
  --text-main: #eaeaea;
  --text-white: #ffffff;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Efekt linii skanowania */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.01), rgba(255,255,255,0.01) 1px, transparent 1px, transparent 3px);
  opacity: 0.05; z-index: 9999;
}

.container { width: 90%; max-width: 1200px; margin: auto; }

/* HEADER */
header {
  background: var(--bg-dark);
  border-bottom: 2px solid var(--border-dark);
  position: relative;
  z-index: 100000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo img { height: 100px; width: auto; }

.nav-links { list-style: none; display: flex; gap: 24px; }

.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  color: var(--text-white) !important;
  text-decoration: none !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a:hover { color: var(--accent-red) !important; }

.hamburger {
  display: none;
  font-size: 36px;
  cursor: pointer !important;
  color: var(--text-white);
  -webkit-tap-highlight-color: transparent;
  padding: 10px;
}
/* --- SLIDER --- */
.slider { height: 420px; position: relative; overflow: hidden; }

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}

.slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85));
  z-index: 1;
}

.slide.active { opacity: 1; z-index: 2; }

.slide-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 20px; }

.slide h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text-white);
}

/* --- GLITCH TEXT --- */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; width: 100%; opacity: 0; pointer-events: none;
}
.glitch::before { color: #ff1e1e; animation: glitchRed 6s infinite; }
.glitch::after { color: #00ffff; animation: glitchCyan 6s infinite; }

@keyframes glitchRed { 0%, 95%, 100% { opacity: 0; } 96% { opacity: 0.7; transform: translate(-1px, 0); } }
@keyframes glitchCyan { 0%, 96%, 100% { opacity: 0; } 97% { opacity: 0.6; transform: translate(1px, 0); } }

/* --- SEKCJA O NAS I KATEGORIE --- */
.about { margin: 70px auto; }
.about h2 {
  text-align: center; font-family: 'Rajdhani', sans-serif; font-size: 2.2rem;
  color: var(--accent-red); text-transform: uppercase; margin-bottom: 28px;
}
.about-lead, .about-text, .about-highlight { max-width: 900px; margin: 0 auto 26px auto; line-height: 1.85; }
.about-highlight { border-left: 3px solid var(--accent-red); padding-left: 18px; }
.about-highlight span { color: var(--accent-red); font-weight: 600; }

.categories { margin: 40px auto; text-align: center; }
.cat-btn {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-card); color: var(--text-white);
  border: 2px solid var(--border-dark); padding: 13px 24px; margin: 6px;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.1em;
}
.cat-btn.active, .cat-btn:hover { background: var(--accent-red); border-color: var(--accent-red); }
/* --- PRODUKTY GRID --- */
.products-grid {
display: grid; grid-template-columns: repeat(auto-fill, 260px);
gap: 28px; justify-content: center;
}

.product-link { text-decoration: none !important; color: inherit !important; display: block; }

.product {
background: var(--bg-card); border: 1px solid var(--border-dark);
padding: 0; /* Zmienione na 0, aby obrazek wypełnił całą szerokość /
text-align: center; border-radius: 6px;
transition: transform 0.25s ease, box-shadow 0.25s ease;
overflow: hidden; / Zapobiega wyjeżdżaniu obrazka poza ramkę */
}

.product:hover { transform: translateY(-6px); box-shadow: 0 0 28px rgba(53,103,162,0.3); }

/* Poprawka obrazka: wypełnia szerokość pola bez marginesów */
.product img, .product .wp-post-image {
width: 100% !important;
height: 200px !important;
object-fit: cover !important;
display: block;
margin-bottom: 15px;
}

/* Przywrócenie odstępów dla tekstu pod obrazkiem */
.product h3, .product .price, .product .status {
padding: 0 15px;
}

.product h3 {
font-family: 'Rajdhani', sans-serif; text-transform: uppercase;
color: var(--text-white) !important; margin: 10px 0 6px;
}

.price {
font-family: 'Rajdhani', sans-serif; color: var(--accent-red) !important;
font-size: 1.15rem; margin: 6px 0 4px; font-weight: 700;
}

.status { font-size: 0.75rem; text-transform: uppercase; margin-bottom: 18px; }
.status.ok { color: #4CAF50 !important; }
.status.soon { color: #FFC107 !important; }
.status.off { color: #9e9e9e !important; }

.contact-btn {
font-family: 'Rajdhani', sans-serif; background: var(--accent-red) !important;
border: none; padding: 12px 24px; color: var(--text-white) !important;
font-weight: 700; text-transform: uppercase; cursor: pointer;
display: inline-block; text-decoration: none !important;
margin-bottom: 18px; /* Odstęp od dołu karty */
}
.contact-btn:hover:not(.disabled) {
    background-color: #4a8edb !important; /* Jaśniejszy odcień błękitu */
    box-shadow: 0 0 20px rgba(55, 112, 179, 0.6); /* Efekt neonowej poświaty */
    transform: translateY(-2px); /* Delikatne uniesienie przycisku */
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

/* Zablokowanie efektu dla wyłączonych przycisków */
.contact-btn.disabled:hover {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
	 background-color: #333333 !important;
}

/* Zablokowanie efektu dla wyłączonych przycisków */
.contact-btn.disabled {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
	 background-color: #333333 !important;
}
/* --- STRONA KONTAKT --- */
.contact-page-wrapper { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.info-box { background: var(--bg-card); border: 1px solid var(--border-dark); padding: 30px; margin-bottom: 25px; }
.contact-form-column { background: var(--bg-card); border: 1px solid var(--border-dark); padding: 40px; }

.contact-form input, .contact-form textarea {
  width: 100%; padding: 15px; background: var(--bg-main); border: 1px solid var(--border-dark);
  color: var(--text-white); margin-bottom: 25px; outline: none; font-family: 'Inter';
}
.contact-form input:focus { border-color: var(--accent-red); }
/* --- FOOTER I LINKI --- */
footer {
  background: var(--bg-dark); padding: 30px 0; text-align: center;
  margin-top: 55px; border-top: 2px solid var(--border-dark); color: #666;
}

.jrs-footer-link {
  color: #666 !important; text-decoration: none !important;
  font-size: 0.8rem; margin-left: 15px; text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif; display: inline-block;
}

.jrs-footer-link:hover { color: var(--accent-red) !important; }
.jrs-footer-link::before { content: "|"; margin-right: 15px; color: var(--border-dark); }

/* --- JRS TECH COOKIE SCANNER --- */
.jrs-cookie-wrapper {
  position: fixed; bottom: 30px; right: 30px; width: 380px;
  background: rgba(15, 15, 15, 0.95); border: 1px solid var(--accent-red);
  padding: 25px; z-index: 999999; display: none; font-family: 'Rajdhani', sans-serif;
}

.jrs-scanner-line {
  position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--accent-red); box-shadow: 0 0 15px var(--accent-red);
  animation: scanMove 4s linear infinite;
}
@keyframes scanMove { 0% { top: 0; } 100% { top: 100%; } }

.jrs-radar { position: relative; width: 24px; height: 24px; border: 1px solid var(--accent-red); border-radius: 50%; }
.jrs-radar-ring { position: absolute; inset: 0; border: 1px solid var(--accent-red); border-radius: 50%; animation: radarPulse 2s ease-out infinite; }
@keyframes radarPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
  .hamburger { display: block !important; position: relative; z-index: 100001; }

  .nav-links {
    display: none !important; position: absolute; top: 100%; left: 0; width: 100%;
    background: #111 !important; flex-direction: column; padding: 20px 0;
    border-bottom: 3px solid var(--accent-red); z-index: 100000;
  }

  .nav-links.show { display: flex !important; }
  .nav-links a { padding: 20px; font-size: 1.5rem; display: block; text-align: center; }

  .products-grid { grid-template-columns: 1fr; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  
  .product img, .product-image img, .wp-post-image {
    width: 100% !important; max-width: 100% !important; height: auto !important;
    display: block !important; opacity: 1 !important; visibility: visible !important;
  }
}

/* Fix dla obrazków produktów */
.product-image {
  min-height: 200px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); overflow: hidden; border: 1px solid var(--border-dark);
}

/* --- STRONA KONTAKT --- */
./* --- STRONA KONTAKT --- */
.contact-page-wrapper {
    padding: 80px 0;
}

.contact-hero {
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

.contact-lead {
    color: #888;
    font-size: 1.2rem;
    margin-top: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.info-box {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.info-box h3 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--accent-red);
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contact-form-column {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    padding: 40px;
    border-radius: 4px;
}

.input-group label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-main);
    border: 1px solid var(--border-dark);
    color: var(--text-white);
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--accent-red);
}

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
}


.input-group input[type="number"] {
    max-width: 150px;
    border-color: var(--border-dark);
}

.input-group label {
    color: var(--accent-red);
    font-weight: 600;
}