/*
Theme Name: Orbin Studio 2026
Description: Motyw autorski - Final Fix (B1 Clean, Cytaty, Scroll)
Version: 3.5
*/

/* 1. ZMIENNE */
:root {
  --primary-color: #FF7D00;
  --primary-hover: #e86f00;
  --secondary-color: #2b2b2b;
  --text-color: #333333;
  --light-text: #666666;
  --light-bg: #f7f7f7;
  --border-radius: 8px;
  --transition-speed: 0.3s;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* 2. BAZA */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    transition: color var(--transition-speed) ease;
}
a:hover { color: var(--primary-hover) !important; }

img { max-width: 100%; height: auto; }

/* 3. ELEMENTY STRONY (Oryginał) */

/* -- Sekcje Ikon (.b1) -- */
/* POPRAWKA: Usunięto cień i tło w stanie spoczynku, aby nie wyglądało jak blok */
.b1 {
    text-align: center;
    margin: 2.5em 0.8em 3em;
    padding: 2em 1em;
    background-color: transparent; 
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
   
}

.b1 img {
    margin: 0 auto 1.5em;
    /* width: 110px;  - Usuwam sztywne width, niech decyduje HTML/Bootstrap */
    transition: transform var(--transition-speed) ease;
}
.b1:hover img { transform: scale(1.1); }


/* WPISY BLOGOWE / EDU (.blog) - Przywrócone parametry */
.blog {
  background-color: white;
  text-align: center;
  align-content: center;
  box-shadow: 0 5px 15px var(--shadow-color);
  margin: 15px 0 30px 0;
  padding: 0 0 60px 0; /* Ważne paddingi */
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}
.blog:hover {
  box-shadow: 0 8px 25px rgba(78, 41, 146, 0.3);
  transform: translateY(-5px);
}
.blog img {
  margin: 0;
  display: block;
  width: 100%; /* To jest kluczowe dla wyglądu kart! */
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  transition: all var(--transition-speed) ease;
}
.blog:hover img { transform: scale(1.02); }

.blogn { padding: 1em 1.5em 0.5em; font-size: 22px; font-style: italic; color: var(--text-color); }
.blogo { padding: 0 1.5em 1em; font-size: 15px; font-weight: 300; color: var(--light-text); line-height: 1.6; }


/* -- Cytaty i Odpowiedzi (.cyt) -- */
/* POPRAWKA: Przywrócenie stylu z pionową kreską */
.cyt, .cyt1 {
    font-size: 16px;
    font-style: italic;
    text-align: justify;
    margin: 35px 0 30px 20px; /* Zmniejszyłem margines lewy z 50 na 20 dla mobilności */
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
    color: var(--light-text);
    display: block; /* Wymuszenie bloku */
}


/* -- Przycisk Scroll Top (#up) -- */
/* POPRAWKA: Z-index i Position Fixed */
#up {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: all var(--transition-speed) ease;
    z-index: 99999; /* Bardzo wysoki indeks, żeby był nad stopką */
    text-decoration: none;
}
#up:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}


/* -- Nagłówki -- */
.n1 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3a3a3a 100%);
    color: white !important;
    text-align: center;
    padding: 1.3em 1.5em;
    margin-bottom: 2em;
    margin-top: 1px;
    font-size: 1.8em;
    font-weight: 700;
    box-shadow: 0 4px 10px var(--shadow-color);
}
.n1 p { color: white !important; margin: 0; }

.n2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    margin: 5rem 0 2.5rem 0;
}

.n3 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3a3a3a 100%);
    color: white !important;
    text-align: center;
    padding: 1.2em;
    margin: 2em 0;
    font-size: 1.5em;
    font-weight: 600;
}


/* -- Elementy tekstowe -- */
.p1 { font-size: 22px; font-weight: 500; margin: 1em 0.4em; color: var(--text-color); }
.p2 { font-size: 17px; text-align: justify; margin: 0.6em 1em; line-height: 1.7; color: var(--text-color); }
.p5 { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--text-color); }

.pb1 { font-weight: 700; font-size: 1.6em; color: var(--primary-color); margin: 0.8em 0; }
.pb2 { font-size: 1.1em; padding: 0.8em; line-height: 1.7; }

.pb2 a { font-weight: 500; position: relative; text-decoration: none; color: var(--primary-color); }
/* Kreska pod linkiem w tekście */
.pb2 a:after {
    content: '';
    position: absolute;
    width: 100%; height: 2px;
    bottom: -2px; left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.pb2 a:hover:after { transform: scaleX(1); transform-origin: bottom left; }


/* -- Linie i Tła -- */
.h01 {
    border: 0;
    height: 3px;
    margin: 1em auto 1.5em;
    width: 60px;
    background-color: var(--primary-color) !important;
    border-radius: 3px;
    opacity: 1 !important;
}

.h02 {
    border: 0; height: 3px; margin: 15px auto 30px;
    position: relative; background: transparent; opacity: 1 !important;
}
.h02::before {
    content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    height: 3px; width: 30%; background: var(--primary-color); border-radius: 3px;
}

.h03 {
  border: 0;
  height: 3px;
  margin: 15px auto 30px;
	width: 60%;
  position: relative;
  background: #e86f00;
}

.tlo1 {
    background-color: var(--light-bg);
    padding: 4em 0;
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}
.tlo1::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--primary-color), transparent);
}

.zapytanie {
    background-color: rgb(49 97 137 / 9%);
    padding: 2em;
    margin: 30px 0;
    border-radius: var(--border-radius);
    text-align: center;
}


/* -- Przyciski -- */
.button1 {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF9A40 100%);
    color: white !important;
    font-size: 1.1em;
    padding: 0.8em 2em;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    box-shadow: 0 3px 6px var(--shadow-color);
}
.button1:hover { transform: translateY(-2px); box-shadow: 0 5px 10px rgba(255, 125, 0, 0.3); }

/* Przycisk "Czytaj więcej" (.button2) */
.button2 {
    background: transparent;
    color: var(--secondary-color) !important;
    font-size: 1em;
    padding: 0.6em 2em;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    display: inline-block;
    

    float: right;       /* Wyrzuca przycisk do prawej krawędzi */
    margin-top: 10px;   /* Dodaje lekki odstęp od tekstu powyżej */
    margin-bottom: 10px;
}

.button2:hover {
    background: var(--secondary-color);
    color: white !important;
    text-decoration: none;
    border-bottom-color: var(--secondary-color); /* Fix dla hovera */
}

/* WAŻNE: Czyszczenie opływania po przycisku */
/* Zapobiega "wjeżdżaniu" kolejnych elementów na przycisk */
.button2::after {
    content: "";
    display: table;
    clear: both;
}


/* Cennik */
.c1, .c2 {
  align-content: center; text-align: center; background-color: white; padding: 1.5em;
  margin-top: 1.5em; border-radius: var(--border-radius); transition: all var(--transition-speed) ease;
}
.c1 { box-shadow: 0 5px 15px var(--shadow-color); }
.c2 { box-shadow: 0 8px 25px var(--shadow-color); transform: translateY(-5px); }
.c1:hover, .c2:hover { transform: translateY(-5px); box-shadow: 0 12px 30px var(--shadow-color); }

.cena { font-size: 1.8em; margin: 1.2em 5px; color: var(--primary-color); }
.pc1 { font-size: 1.4em; margin: 1em 0 0 0; font-weight: 500; }
.pc2 { font-size: 1.1em; font-style: italic; color: var(--light-text); }


/* -- Inne -- */
.przerwam { height: 4em; display: block; width: 100%; clear: both; }
.przerwa { height: 7em; display: block; width: 100%; clear: both; }
.przerwamm { height: 2em; display: block; width: 100%; clear: both; }

.aligncenter { display: block !important; margin: 5px auto !important; }

/* Stopka Styles */
.stopka {
    background-color: #212529 !important;
    padding: 3em 0 1em;
    color: white;
    position: relative;
    margin-top: 0;
}
.stopka::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--primary-color), transparent, var(--primary-color));
}
#Copyrigh { color: white; opacity: 0.7; font-size: 0.9em; margin-top: 20px; text-align: center; }

/* Animacje */
[data-aos="fade-up"] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
[data-aos="fade-up"].in-view { opacity: 1; transform: translateY(0); }

/* Fixy Mobile */
@media all and (max-width: 768px) {
    .przerwa { height: 4em; }
    .przerwam { height: 2em; }
    .n1 { font-size: 1.6em; padding: 1.5em 1em; }
    .b1 { margin: 1em 0.5em 2em; padding: 1.5em 1em; }
    /* Na mobile może być delikatny cień, żeby oddzielić od tła */
    .b1 { box-shadow: 0 2px 10px rgba(0,0,0,0.05); } 
	.c1 { margin-bottom: 1em; }
	.blog { margin: 10px 0 20px 0; padding: 0 0 40px 0; }
  .blogn { padding: 0.8em 1em 0.4em; font-size: 18px; }
  .blogo { padding: 0 1em 0.8em; font-size: 14px; }
}
/* Ukrycie podpisów i tytułów w Simple Lightbox */
.slb_details {
    display: none !important;
}