@import "boxmodel.css";
@import "mainHeader.css";
@import "aside.css";
@import "footer.css";
@import "facebookFrames.css";
@import "gallery.css";
@import "projects.css";
@import "multimedia.css";
@import "bpmCounter.css";
@import "discography.css";
@import "notransitions.css";

/* ==========================================================================
   2026 Dark Theme System & Root Variables
   ========================================================================== */
:root {
  --font-main: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /*	--font-serif: 'Cormorant Garamond', Georgia, serif;
*/
  --font-serif: Georgia, serif;
  --font-nav: "Plus Jakarta Sans", "Roboto Condensed", sans-serif;

  --bg-body: #06090e;
  --bg-container: #0f172a;
  --bg-card: #1e293b;
  --bg-subtle: #131c2e;
  --bg-header-box: rgba(15, 23, 42, 0.85);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --accent: #f43f5e;
  --accent-hover: #fb7185;
  --accent-subtle: rgba(244, 63, 94, 0.15);
  --accent-border: rgba(244, 63, 94, 0.3);

  --gold: #fbbf24;
  --gold-hover: #f59e0b;
  --gold-subtle: rgba(251, 191, 36, 0.15);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.18);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(251, 191, 36, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Global Base Reset & Dark Layout
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body {
  cursor: default;
  background: var(--bg-body);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto 1fr auto;
  background: var(--bg-container);
  border-radius: 0;
  box-shadow: none;
  z-index: 1;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

#gradient {
  display: none !important;
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.mainContainer {
  grid-column-start: 1;
  grid-column-end: 2;
  background: var(--bg-container);
  min-width: 0;
  position: relative;
}

.mainContainer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.058) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.058) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85) 0px, rgba(0,0,0,0.3) 400px, transparent 850px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85) 0px, rgba(0,0,0,0.3) 400px, transparent 850px);
  pointer-events: none;
  z-index: 0;
}

MAIN {
  background: transparent;
  padding: 36px 44px;
  position: relative;
  text-align: left;
  font-size: 1.05rem;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-main);
  z-index: 1;
}

ARTICLE {
  width: 100%;
}

P {
  margin-top: 0;
  margin-bottom: 1.25rem;
  hyphens: auto;
}

/* ==========================================================================
   Typography & Headings
   ========================================================================== */
H1 {
  font-family: var(--font-main);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 24px 0 16px 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: block;
  background: none;
  box-shadow: none;
  text-shadow: none;
  border-radius: 0;
  width: auto;
}

A:link.tytulStrony,
A:visited.tytulStrony {
  color: #ffffff;
  transition: color var(--transition-fast);
}

A:hover.tytulStrony {
  color: var(--gold);
}

H2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: #ffffff;
  margin: 32px 0 20px 0;
  padding: 12px 20px;
  background: linear-gradient(90deg, #1e293b 0%, var(--bg-container) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
  border-top: none;
  border-right: none;
  position: relative;
  left: 0;
  width: 100%;
  text-shadow: none;
}

MAIN H2 {
  position: relative;
  left: 0;
  padding-left: 20px;
  padding-right: 20px;
}

H2::after,
H3::after {
  display: none !important;
}

H3 {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 24px 0 14px 0;
  padding: 10px 18px;
  background: #182234;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-bottom: 1px solid var(--border-color);
  border-top: none;
  border-right: none;
  box-shadow: var(--shadow-sm);
  position: relative;
}

MAIN H3 {
  padding: 10px 18px;
}

UL H3 {
  padding: 8px 14px;
  margin-top: 12px;
  border-left-color: var(--gold);
}

UL H3 A:link,
UL H3 A:visited,
UL H3 A:hover {
  background: none;
  border-bottom: 0px;
  font-weight: 600;
  color: #ffffff;
}

UL H3 A:link::after {
  font-size: 0.75em;
  padding-left: 0.4em;
  color: var(--gold);
  content: "↗";
}

/* ==========================================================================
   Links & Interactivity
   ========================================================================== */
A:link,
A:visited,
A[onclick] {
  color: var(--gold);
  text-decoration: none;
  border-bottom: none;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
}

MAIN p a:link,
MAIN p a:visited,
MAIN p a[onclick] {
  border-bottom: 1px dotted var(--gold);
  font-weight: 400;
}

MAIN p a:hover {
  color: #fde047;
  border-bottom-style: solid;
}

/* Remove underlines from block links, headers, cards, thumbnails, and navigation */
a,
MAIN a,
MAIN a:hover,
MAIN a:visited,
.discography a,
#multimedia a,
.projekty a,
.dzial a,
#menu a,
#socialmedia a,
.belowArticleLinks a {
  text-decoration: none;
}

MAIN a img,
MAIN a:hover img,
.galeria a {
  border-bottom: none !important;
}

/* ==========================================================================
   Cards & Frames (.ramka, .wazne)
   ========================================================================== */
MAIN .ramka {
  border: 1px solid var(--border-color);
  margin: 28px 0;
  padding: 28px 32px;
  width: 100%;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: #182234;
  color: var(--text-main);
}

MAIN .ramka .spanek,
.spanek {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  display: inline;
}

MAIN .wazne {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-left: 4px solid var(--accent);
  color: #fecdd3;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Form Controls & Buttons
   ========================================================================== */
INPUT,
SELECT,
TEXTAREA {
  background: #1e293b;
  color: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all var(--transition-fast);
}

INPUT:hover,
SELECT:hover,
TEXTAREA:hover {
  border-color: var(--border-color-hover);
}

INPUT:focus,
SELECT:focus,
TEXTAREA:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

BUTTON {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #0f172a;
  font-weight: 700;
  font-family: var(--font-main);
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

BUTTON:hover {
  background: #f59e0b;
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   Utilities & Misc
   ========================================================================== */
.monospace {
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
}

.textalignleft {
  text-align: left;
}

.center {
  text-align: center;
}

.rightalign {
  text-align: right;
}

.clear {
  clear: both;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

DIV.hr {
  border: 0;
  border-bottom: 1px dashed var(--border-color);
  width: 100%;
  margin: 24px 0;
}

TEXTAREA.pre {
  background: #182234;
  color: #f1f5f9;
  text-align: left;
  padding: 14px 18px;
  line-height: 1.5;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.9rem;
  white-space: pre;
  width: 100%;
}

TT {
  background-color: #182234;
  color: var(--gold);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.9em;
  padding: 2px 6px;
  font-family: monospace;
}

.hidden {
  display: none !important;
}

.hiddenList UL {
  display: none !important;
}

.rozwijamy {
  display: block;
  overflow: hidden;
}

.zwijamy {
  display: none !important;
}

.belowArticleLinks {
  text-align: right;
  margin-top: 24px;
}

.belowArticleLinks a,
.belowArticleLinks BUTTON {
  background: transparent;
  color: var(--gold);
  border: none;
  border-radius: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.belowArticleLinks a:hover,
.belowArticleLinks BUTTON:hover {
  background: transparent;
  color: var(--gold-hover);
  border: none;
  text-decoration: underline;
}

.belowArticleJumpToTop {
  margin-top: 16px;
  float: right;
}

.belowArticleJumpToTop IMG {
  width: 42px;
  height: 42px;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  border: 2px solid #1e293b !important;
  border-radius: 50%;
}

.belowArticleJumpToTop A:hover IMG {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  #container {
    grid-template-columns: 1fr;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .mainContainer {
    grid-column-end: 2;
  }

  MAIN {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  MAIN {
    padding: 16px;
  }

  H1 {
    font-size: 1.8rem;
  }

  H2 {
    font-size: 1.45rem;
    padding: 10px 14px;
  }

  MAIN .ramka {
    padding: 18px 20px;
  }
}

/* ==========================================================================
   Article List Cards & Code Block Dark Styling
   ========================================================================== */
.articleList {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.articleList__item {
  background: #1e293b;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.articleList__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-color-hover);
  border-left-color: var(--gold-hover);
}

.articleList__card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  padding: 20px 24px;
  border-radius: var(--radius-md);
}

.articleList__title {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none !important;
  display: block;
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.articleList__card:hover .articleList__title {
  color: var(--gold) !important;
}

.articleList__preview {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

/* Modern Inline Code & Code Block Styling (Muted Slate) */
code,
.artykul code {
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
  font-size: 0.95em;
  background: #15203b;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 2px 3px;
  margin: 0px 3px;
  font-weight: 500;
  word-break: break-word;
}

pre,
pre.codeBlock,
textarea.pre {
  background: #090d16 !important;
  color: #f1f5f9 !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px 24px !important;
  font-family: "JetBrains Mono", Consolas, monospace !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  overflow-x: auto;
  box-shadow: var(--shadow-card) !important;
  margin: 20px 0;
}

.githubBtn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(251, 191, 36, 0.12);
  color: var(--gold) !important;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: all var(--transition-fast);
  margin: 12px 0 20px 0;
}

.githubBtn:hover {
  background: rgba(251, 191, 36, 0.22);
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* Floating & Footer Back to Top Gold Controls */
.jumpToTopBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e293b;
  color: var(--gold) !important;
  border: 1px solid rgba(251, 191, 36, 0.3) !important;
  box-shadow: var(--shadow-sm);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all var(--transition-fast);
}

.jumpToTopBtn:hover {
  background: var(--gold);
  color: #0f172a !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.stopkaTopArrow {
  color: var(--gold) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

.stopkaTopArrow:hover {
  color: #ffffff !important;
}

/* ==========================================================================
   Home / Start Page Landing Grid & Hero Card
   ========================================================================== */
.startHero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #182234;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
  width: 100%;
}

.startHero__content {
  width: fit-content;
  max-width: 100%;
}

.startHero__content h3 {
  font-family: var(--font-main);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.startHero__content p {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.startHero__sign {
  width: 100%;
  text-align: right;
  margin-top: 16px;
}

.startWelcomeImg {
  filter: invert(1) drop-shadow(0.3px 0.3px 0 #fff) drop-shadow(-0.3px 0.3px 0 #fff);
  max-width: 280px;
  width: 100%;
  height: auto;
  display: inline-block;
  opacity: 0.92;
  transition: opacity var(--transition-fast);
}

.startWelcomeImg:hover {
  opacity: 1;
}

.startGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

a.startCard,
.startCard {
  background: #1e293b;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none !important;
  color: inherit;
}

a.startCard:hover,
.startCard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-color-hover);
}

a.startCard:hover h4,
.startCard:hover h4 {
  color: var(--gold);
}

.goldGradientText {
  background: linear-gradient(135deg, #ffffff 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.startHero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 14px;
}

.statusDot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.startCard h4 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  transition: color var(--transition-fast);
}

.startCard p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

@keyframes arrowBounce {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(8px); }
  45%  { transform: translateX(0); }
  65%  { transform: translateX(8px); }
  85%  { transform: translateX(0); }
  100% { transform: translateX(8px); }
}

.startCard__link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold) !important;
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

.startCard__link .arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

a.startCard:hover .startCard__link,
.startCard__link:hover {
  color: #fde047 !important;
}

a.startCard:hover .startCard__link .arrow,
.startCard__link:hover .arrow {
  animation: arrowBounce 1.1s linear forwards;
}
