/* GASKART STUDIO 2.6 - Full Dark Mode & UI Fix */


.about-hero {
  padding: 80px 0;
}

.about-hero .hero-left h1 {
  font-size: 34px;
  margin-bottom: 12px;
}

.about-hero .hero-left .lead {
  color: var(--muted);
  max-width: 52ch;
}

.about-hero .hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  backdrop-filter: blur(var(--glass-blur));
  padding: 30px;
  border-radius: 20px;
}

.about-hero .hero-right img {
  max-width: 100%;
  border-radius: 12px;
  object-fit: contain;
}

.about-hero .hero-right .card-body {
  margin-top: 12px;
}

.grid .card {
  padding: 20px;
  text-align: left;
}

.grid .card h4 {
  margin-bottom: 8px;
}

.grid .card p {
  margin: 0;
  color: var(--muted);
}

@media(max-width:768px){
  .about-hero .hero-grid{
    flex-direction: column;
    align-items:center;
  }
  .about-hero .hero-left,
  .about-hero .hero-right{
    max-width:100%;
  }
}









:root {
  --bg: #ffffff;
  --card: rgba(255,255,255,0.8);
  --muted: #6b7280;
  --accent1: #6d28d9;
  --accent2: #0ea5e9;
  --text: #0b1220;
  --glass-blur: 12px;
  --max-w: 1200px;
}

[data-theme="dark"] {
  --bg: #0a0f1c;
  --card: rgba(25,35,50,0.7);
  --muted: #b0b8c1;
  --accent1: #8b5cf6;
  --accent2: #06b6d4;
  --text: #e6eef2;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: Inter, system-ui, Arial, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.4));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(13,24,48,0.04);
}
[data-theme="dark"] .topbar {
  background: linear-gradient(180deg, rgba(10,15,25,0.9), rgba(10,15,25,0.7));
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; gap: 12px; align-items: center; }
.logo { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--accent1), var(--accent2)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; box-shadow: 0 8px 30px rgba(99,102,241,0.12); }
.titles .company { font-weight: 700; }
.titles .tag { font-size: 12px; color: var(--muted); }

/* NAV */
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.actions { display: flex; gap: 10px; align-items: center; }
.btn { padding: 10px 14px; border-radius: 10px; border: 0; cursor: pointer; font-weight: 700; }
.btn.primary { background: linear-gradient(90deg, var(--accent1), var(--accent2)); color: #fff; box-shadow: 0 10px 30px rgba(13,50,100,0.06); }
[data-theme="dark"] .btn.primary { box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.btn.ghost { background: transparent; border: 1px solid rgba(13,24,48,0.06); color: var(--text); }
[data-theme="dark"] .btn.ghost { border: 1px solid rgba(255,255,255,0.25); color: var(--text); }

/* HERO */
.hero { padding: 80px 0; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 40px; }
.hero-left, .hero-right { flex: 1 1 450px; max-width: 500px; }
.hero-left h1 { font-size: 34px; margin: 0 0 12px; }
.lead { color: var(--muted); max-width: 52ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 18px; }
.trust { display: flex; gap: 12px; margin-top: 18px; list-style: none; padding: 0; color: var(--muted); }
.hero-right {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: rgba(25,35,50,0.7);
  backdrop-filter: blur(18px);
  padding: 30px; border-radius: 20px;
}
.hero-right img { max-width: 100%; height: auto; object-fit: contain; border-radius: 12px; }
.hero-right .card-body { color: #e6eef2; margin-top: 12px; }
[data-theme="light"] .hero-right .card-body { color: #0b1220; } /* jasny tekst w light mode */

/* SEKCJE I CARDS */
.section { padding: 60px 0; }
.card {
  background: var(--card); border-radius: 16px; padding: 24px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.06); border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(var(--glass-blur)); transition: transform 0.3s ease;
}
[data-theme="dark"] .card { border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.card:hover { transform: translateY(-6px); }
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; }
.service .icon { width: 64px; height: 64px; }
.proj img { width: 100%; border-radius: 8px; }

/* PORTFOLIO */
#portfolio { display: flex; flex-direction: column; align-items: center; justify-content: center; }
#portfolio .grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 30px; width: 100%; max-width: 1100px; margin: 0 auto; justify-items: center; }





/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.contact-card input, .contact-card textarea, .contact-card select { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid rgba(13,24,48,0.06); margin-top: 8px; }

/* MAIL LINK w info aside */
.info a, .info a:visited { color: var(--accent1); text-decoration: none; font-weight: 600; }
.info a:hover { color: var(--accent2); text-decoration: underline; }

/* FOOTER */
.footer { padding: 40px 0; border-top: 1px solid rgba(13,24,48,0.04); margin-top: 40px; text-align: center; color: var(--muted); }

/* MODAL */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(2,6,23,0.5); z-index: 200; }
.modal[aria-hidden="false"] { display: flex; }
.modal-content { width: 100%; max-width: 540px; padding: 20px; position: relative; }
.modal-close { position: absolute; right: 12px; top: 12px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }

/* REVEAL ANIM */
.reveal { opacity: 0; transform: translateY(18px); transition: all 0.7s cubic-bezier(.2,.9,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media(max-width:980px){
  .hero-grid{flex-direction:column;align-items:center;}
  .grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .actions .hamburger{display:block;}
  .nav{display:none;}
}
@media(max-width:520px){ .hero-left h1{font-size:26px;} }

/* Theme toggle switch */
.theme-toggle {
  width: 50px; height: 24px; background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border-radius: 12px; border: none; position: relative; cursor: pointer; padding: 2px; transition: background 0.3s;
}
.theme-toggle .toggle-ball {
  width: 20px; height: 20px; background: #fff; border-radius: 50%; position: absolute; top: 2px; left: 2px; transition: transform 0.3s ease;
}
[data-theme="dark"] .theme-toggle .toggle-ball { transform: translateX(26px); }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 28px; height: 20px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.hamburger span { display: block; height: 3px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }
.nav.open {
  display: flex; flex-direction: column; gap: 15px; position: absolute; top: 70px; right: 20px;
  background: var(--card); padding: 20px; border-radius: 12px; backdrop-filter: blur(var(--glass-blur));
}
.production-banner {
  width: 100%;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 20px;
  text-align: center;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
}

.production-banner {
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 15px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s, color 0.3s;
}

/* Jasny motyw */
body[data-theme="light"] .production-banner {
  background: rgba(255, 255, 255, 0.6);
  color: #333;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Ciemny motyw */
body[data-theme="dark"] .production-banner {
  background: rgba(10, 15, 25, 0.7);
  color: #e6eef2;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* === TRYB PRODUKCYJNY — MGŁA NA CAŁĄ STRONĘ === */
body::before {
  content: "Strona w produkcji";
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #e7eef6;
  background: linear-gradient(90deg, rgba(124,58,237,0.4), rgba(6,182,212,0.4));
  padding: 10px 18px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  text-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* Mgła na całość strony */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  backdrop-filter: blur(14px) brightness(0.7);
  background: rgba(10, 15, 25, 0.45);
  pointer-events: none;
  transition: all 0.4s ease;
}

/* Wersja dark/light dopasowana */
body[data-theme="light"]::after {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px) brightness(0.8);
  mix-blend-mode: multiply;
}

/* Delikatne pulsowanie mgły */
@keyframes fogPulse {
  0%, 100% { backdrop-filter: blur(13px) brightness(0.75); opacity: 1; }
  50% { backdrop-filter: blur(15px) brightness(0.8); opacity: 0.95; }
}

body::after {
  animation: fogPulse 6s ease-in-out infinite;
}