/* Custom Tailwind Configuration */

/* Custom CSS Variables */
:root {
  --cyan: #00ffff;
  --magenta: #ff00ff;
  --yellow: #ffff00;
  --green: #00ff00;
  --purple: #8000ff;
  --black: #000000;
  --dark-purple: #1a0033;
}

/* Base Styles */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Orbitron', monospace;
  background: linear-gradient(135deg, #000000 0%, #1a0033 50%, #000000 100%);
  background-attachment: fixed;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* Pixel Font */
.font-pixel {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Color Classes */
.text-cyan-400 { color: var(--cyan); }
.text-magenta-400 { color: var(--magenta); }
.text-yellow-400 { color: var(--yellow); }
.text-green-400 { color: var(--green); }
.bg-cyan-400 { background-color: var(--cyan); }
.bg-magenta-400 { background-color: var(--magenta); }
.bg-yellow-400 { background-color: var(--yellow); }
.bg-green-400 { background-color: var(--green); }


/* CRT Scanline Effect */
#scanlines {
  background: linear-gradient(
    transparent 50%,
    rgba(0, 255, 255, 0.03) 50%
  );
  background-size: 100% 4px;
  animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* Floating Pixel Icons */
.pixel-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px currentColor);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Glow Effects */
.glow-text {
  text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
}

.glow-border {
  box-shadow: 0 0 20px currentColor, inset 0 0 20px currentColor;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  transition: all 0.4s ease;
  transform: translateY(0);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
  color: var(--yellow);
}

.nav-link:hover::after {
  width: 100%;
}

/* Pixel Buttons */
.pixel-button {
  position: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid;
  background: transparent;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
  transform: translateY(0);
}
.pixel-buttonn {
  position: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid;
  background: transparent;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
  transform: translateY(0);
}

.pixel-button.primary {
  border-color: var(--cyan);
  color: var(--cyan);
}

.pixel-button.primary:hover {
  background: var(--cyan);
  color: var(--black);
  box-shadow: 0 0 20px var(--cyan);
  transform: translateY(-2px);
}

.pixel-button.secondary {
  border-color: var(--magenta);
  color: var(--magenta);
}

.pixel-button.secondary:hover {
  background: var(--magenta);
  color: var(--black);
  box-shadow: 0 0 20px var(--magenta);
  transform: translateY(-2px);
}

.pixel-button.small {
  margin-top: 130px;
  padding: 8px 16px;
  font-size: 0.6rem;
  
}
.pixel-buttonn.small {
  margin-top: 180px;
  padding: 8px 16px;
  font-size: 0.6rem;
  
}
.button-text{
  font-size: 1rem;
}

.button-cursor {
  animation: blink 1s infinite;
  margin-left: 4px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Pixel Art Background */
.pixel-art-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0.1;
}

.pixel-city {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to top,
    var(--cyan) 0%,
    var(--magenta) 20%,
    var(--yellow) 40%,
    var(--green) 60%,
    transparent 100%
  );
  clip-path: polygon(
    0% 100%, 10% 80%, 20% 90%, 30% 70%, 40% 85%, 50% 60%, 
    60% 75%, 70% 50%, 80% 65%, 90% 45%, 100% 100%
  );
}

/* Retro Badge */
.retro-badge {
  display: inline-block;
  padding: 12px 20px;
  border: 2px solid var(--yellow);
  background: rgba(255, 255, 0, 0.1);
  position: relative;
}

.retro-badge::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--cyan), var(--magenta), var(--yellow), var(--green));
  z-index: -1;
  animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.badge-text {
  display: block;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  color: var(--yellow);
}

.badge-subtitle {
  display: block;
  font-size: 0.4rem;
  color: var(--cyan);
  margin-top: 4px;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}


@media (max-width: 430px) {
  .full-text {
    display: none;
  }
  
  .short-text {
    display: block !important;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  /* Powiększ header na urządzeniach ≤430px */
  nav .font-pixel {
    font-size: 1.2rem !important;
    line-height: 1.3;
  }
  
  /* Powiększ padding nawigacji */
  nav .container {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  
  /* Dostosuj margin hero sekcji */
  #hero {
    margin-top: 80px !important;
    min-height: 94vh !important;
  }
  
  /* Pomniejsz tytuł sekcji portfolio */
  #portfolio h2 {
    font-size: 1.2rem !important;
    line-height: 1.1 !important;
    margin-bottom: 2rem !important;
  }
  
  /* Layout dla sekcji portfolio na bardzo małych ekranach */
  #portfolio .flex.justify-center.items-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2.5rem !important;
  }
  
  /* Pokaż teksty po bokach na bardzo małych ekranach */
  #portfolio .hidden.lg\\:flex {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    max-width: 200px !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Dostosuj rozmiary tekstów na bardzo małych ekranach */
  #portfolio .hidden.lg\\:flex h3 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  #portfolio .hidden.lg\\:flex p {
    font-size: 0.7rem !important;
  }
  
  #portfolio .hidden.lg\\:flex .text-6xl {
    font-size: 2rem !important;
  }
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border: 2px solid var(--cyan);
  background: rgba(0, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 20px var(--cyan);
  transform: translateY(-5px);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px currentColor);
}

.skill-name {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  color: var(--cyan);
  text-align: center;
}

/* Portfolio Items */
.portfolio-item {
  position: relative;
  transition: transform 0.3s ease;
}

/* BrukExpert Block Styles */
.brukexpert-block {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(255,0,255,0.1));
  border: 2px solid var(--cyan);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,255,255,0.2);
  transition: all 0.3s ease;
}

.brukexpert-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(0,255,255,0.3);
  border-color: var(--yellow);
}

.brukexpert-block {
  max-width: 350px !important;
  width: 350px !important;
  margin: 0 auto !important;
}

.bruktech-block {
  background: linear-gradient(135deg, rgba(0,255,255,0.1), rgba(255,0,255,0.1));
  border: 2px solid var(--cyan);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,255,255,0.2);
  transition: all 0.3s ease;
  max-width: 350px !important;
  width: 350px !important;
  margin: 0 auto !important;
}

.bruktech-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(0,255,255,0.3);
  border-color: var(--yellow);
}

/* Dodaj odstępy między tekstami a bloczkiem na desktop */
@media (min-width: 1024px) {
  #portfolio .flex.justify-center.items-center {
    gap: 4rem !important;
  }
  
  /* Dodaj odstęp od tytułu do bloczka na desktop */
  #portfolio h2 {
    margin-bottom: 3rem !important;
  }
  
  /* Dodaj odstępy od tekstów po bokach do bloczka na desktop */
  #portfolio .hidden.lg\\:flex:first-child {
    margin-right: 2rem !important;
  }
  
  #portfolio .hidden.lg\\:flex:last-child {
    margin-left: 2rem !important;
  }
}

.brukexpert-block .portfolio-frame {
  width: 100% !important;
  height: 300px !important;
}

.bruktech-block .portfolio-frame {
  width: 100% !important;
  height: 300px !important;
}

.brukexpert-block .portfolio-image {
  height: 300px !important;
  background: url('assetsdemo/bloczektlo.png') center/cover !important;
  position: relative;
}

.brukexpert-block .mini-website-preview {
  background: transparent !important;
  border: none !important;
  height: 100% !important;
  position: relative;
  overflow: hidden;
}

.bruktech-block .portfolio-image {
  width: 100% !important;
  height: 300px !important;
  background: url('assetsdemo/bruktech.jpg') center/cover !important;
  position: relative;
}

.bruktech-block .mini-website-preview {
  background: transparent !important;
  border: none !important;
  height: 100% !important;
  position: relative;
  overflow: hidden;
}


.portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-frame {
  position: relative;
  border: 3px solid var(--cyan);
  background: var(--black);
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-frame:hover {
  border-color: var(--yellow);
  box-shadow: 0 0 30px var(--yellow);
}

.portfolio-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  color: var(--black);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('bruktech.jpg');
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
  background-size: cover;     
  background-position: center; 

}
.portfolio-overlayy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('bloczektlo.png');
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
  background-size: cover;     
  background-position: center; 

}


/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px;
  border: 2px solid var(--cyan);
  background: rgba(0, 255, 255, 0.05);
  position: relative;
}

.step-number {
  font-family: 'Press Start 2P', monospace;
  font-size: 2rem;
  color: var(--magenta);
  min-width: 80px;
  text-align: center;
}

.step-content {
  flex: 1;
}

.step-progress {
  width: 200px;
  height: 10px;
  background: rgba(0, 255, 255, 0.2);
  border: 1px solid var(--cyan);
  position: relative;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width 2s ease;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Testimonial Bubbles */
.testimonial-bubble {
  position: relative;
  padding: 30px;
  border: 2px solid var(--magenta);
  background: rgba(255, 0, 255, 0.05);
  transition: all 0.3s ease;
}

.testimonial-bubble:hover {
  background: rgba(255, 0, 255, 0.1);
  box-shadow: 0 0 20px var(--magenta);
}

.testimonial-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--magenta);
}

.bubble-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Pricing Cards */
.pricing-card {
  position: relative;
  border: 2px solid var(--cyan);
  background: rgba(0, 255, 255, 0.05);
  padding: 30px;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px var(--cyan);
}

.pricing-card.featured {
  border-color: var(--yellow);
  background: rgba(255, 255, 0, 0.1);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  box-shadow: 0 0 30px var(--yellow);
}

.card-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--black);
  padding: 8px 16px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  border: 2px solid var(--black);
}

.card-header {
  text-align: center;
  margin-bottom: 30px;
}

.price-subtitle {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  color: var(--cyan);
  text-align: center;
  margin: 10px 0 5px 0;
  opacity: 0.8;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.currency {
  font-size: 1rem;
  color: var(--cyan);
}

.amount {
  font-family: 'Press Start 2P', monospace;
  font-size: 2rem;
  color: var(--yellow);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.feature-list li {
  padding: 8px 0;
  color: var(--cyan);
  font-size: 0.9rem;
}

/* Contact Form */
.pixel-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  color: var(--cyan);
}

.pixel-input {
  padding: 12px;
  border: 2px solid var(--cyan);
  background: rgba(0, 255, 255, 0.05);
  color: var(--cyan);
  font-family: 'Orbitron', monospace;
  transition: all 0.3s ease;
}

.pixel-input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
  background: rgba(255, 255, 0, 0.05);
}

.pixel-input::placeholder {
  color: rgba(0, 255, 255, 0.5);
}

/* Select dropdown styling */
select.pixel-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

select.pixel-input option {
  background: var(--black);
  color: var(--cyan);
  padding: 10px;
}

/* Terminal Output */
.terminal-output {
  margin-top: 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--green);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  color: var(--green);
  min-height: 60px;
}

.terminal-line {
  margin-bottom: 5px;
}

.terminal-line::before {
  content: '> ';
  color: var(--yellow);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border: 1px solid var(--cyan);
  background: rgba(0, 255, 255, 0.05);
}

.contact-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 5px currentColor);
}

/* Social Icons */
.social-icon {
  display: inline-flex;
  padding: 10px;
  border: 2px solid var(--cyan);
  background: rgba(0, 255, 255, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.2rem;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Social Icons Container */
footer .flex:last-child {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icon:hover {
  background: var(--cyan);
  color: var(--black);
  box-shadow: 0 0 15px var(--cyan);
  transform: translateY(-3px);
}

/* Easter Egg */
.easter-egg-content {
  background: rgba(0, 0, 0, 0.95);
  padding: 40px;
  border: 3px solid var(--cyan);
  border-radius: 0;
}

.game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#game-canvas {
  background: var(--black);
  image-rendering: pixelated;
}

.game-controls {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Fix font sizes */
  .font-pixel {
    font-size: 0.5rem;
    line-height: 1.3;
  }
  
  /* Fix hero section */
  .hero h1 {
    font-size: 1.2rem !important;
    line-height: 1.2;
    word-break: break-word;
  }
  
  .hero p {
    font-size: 0.8rem !important;
  }
  
  /* Fix navigation */
  .nav-link {
    font-size: 0.5rem;
  }
  
  /* Fix header logo on mobile */
  nav .font-pixel {
    font-size: 0.8rem !important;
    line-height: 1.2;
  }
  
  /* Fix navigation padding on mobile */
  nav .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  
  /* Fix skills grid */
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  /* Fix process steps */
  .process-step {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .step-progress {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
  
  /* Fix pricing cards */
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card {
    padding: 20px;
  }
  
  /* Fix buttons */
  .pixel-button {
    font-size: 0.6rem;
    padding: 10px 20px;
  }
  
  /* Fix portfolio */
  .portfolio-overlay {
    padding: 15px;
  }
  
  /* Fix contact form */
  .contact-form-container {
    margin-top: 30px;
  }
  
  /* Fix container padding */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Fix grid gaps */
  .grid {
    gap: 20px;
  }
  
  /* Fix text sizes */
  .text-4xl {
    font-size: 1.5rem;
  }
  
  .text-2xl {
    font-size: 1.2rem;
  }
  
  .text-xl {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  /* Mobile specific fixes */
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .portfolio-overlay {
    padding: 10px;
  }
  
  .pricing-card {
    padding: 15px;
  }
  
  .contact-form-container {
    margin-top: 20px;
  }
  
  /* Fix hero on very small screens */
  .hero h1 {
    font-size: 0.9rem !important;
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
    padding: 0 10px;
  }
  
  /* Fix hero h1 spans for better mobile display */
  .hero h1 span {
    display: block;
    margin-bottom: 0.2rem;
  }
  
  .hero p {
    font-size: 0.7rem !important;
  }
  
  /* Fix font pixel on very small screens */
  .font-pixel {
    font-size: 0.4rem;
    line-height: 1.2;
  }
  
  /* Fix header on very small screens */
  nav .font-pixel {
    font-size: 1.2rem !important;
    line-height: 1.3;
  }
  
  /* Fix navigation container on very small screens */
  nav .container {
    padding-left: 4px !important;
    padding-right: 4px !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  
  /* Fix hamburger menu on very small screens */
  #mobile-menu-btn {
    padding: 0.5rem !important;
    width: 3rem !important;
    height: 3rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  #mobile-menu-btn svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }
  
  /* Dostosuj margin hero sekcji */
  #hero {
    margin-top: 80px !important;
  }
  
  /* Style dla menu rozwijanego */
  #mobile-menu {
    text-align: center !important;
  }
  
  #mobile-menu .flex {
    align-items: center !important;
    justify-content: center !important;
  }
  
  #mobile-menu .nav-link {
    font-size: 1rem !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    margin: 0.25rem auto !important;
    display: block !important;
    width: fit-content !important;
  }
  
  /* Wyśrodkuj sekcję O mnie */
  #about .grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  #about .retro-badge {
    margin: 0 auto 1.5rem auto !important;
    text-align: center !important;
  }
  
  #about p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Pomniejsz tytuł sekcji portfolio */
  #portfolio h2 {
    font-size: 1.5rem !important;
    line-height: 1.1 !important;
    margin-bottom: 2.5rem !important;
  }
  
  /* Layout dla sekcji portfolio - bloczek na środku, teksty po bokach */
  #portfolio .flex.justify-center.items-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3rem !important;
  }
  
  /* Pokaż teksty po bokach na małych ekranach */
  #portfolio .hidden.lg\\:flex {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    max-width: 250px !important;
    margin-bottom: 2rem !important;
  }
  
  /* Dostosuj rozmiary tekstów */
  #portfolio .hidden.lg\\:flex h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  #portfolio .hidden.lg\\:flex p {
    font-size: 0.8rem !important;
  }
  
  #portfolio .hidden.lg\\:flex .text-6xl {
    font-size: 2.5rem !important;
  }
  
  /* Fix buttons on mobile */
  .pixel-button {
    font-size: 0.5rem;
    padding: 8px 16px;
  }
  
  /* Fix container */
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Fix grid on mobile */
  .grid {
    gap: 15px;
  }
  
  /* Fix text on mobile */
  .text-4xl {
    font-size: 1.2rem;
  }
  
  .text-2xl {
    font-size: 1rem;
  }
  
  .text-xl {
    font-size: 0.9rem;
  }
}


/* Mini Website Styles */
.mini-website {
  background: #000;
  border: 2px solid var(--cyan);
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.4rem;
  line-height: 1.2;
}

.mini-header {
  background: var(--cyan);
  color: #000;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-logo {
  font-weight: bold;
  font-size: 0.5rem;
}

.mini-nav {
  display: flex;
  gap: 8px;
}

.mini-nav-item {
  padding: 2px 4px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.mini-cart {
  background: var(--magenta);
  color: #000;
  padding: 2px 4px;
  border-radius: 2px;
}

.mini-hero {
  background: linear-gradient(135deg, #1a0033, #000);
  padding: 16px;
  text-align: center;
  color: var(--cyan);
}

.mini-hero-title {
  font-size: 0.6rem;
  margin-bottom: 8px;
  color: var(--yellow);
}

.mini-hero-subtitle {
  font-size: 0.4rem;
  color: var(--cyan);
}

.mini-hero-features {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.mini-feature-badge {
  background: var(--green);
  color: #000;
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 0.3rem;
}

.mini-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 16px;
  background: #000;
}

.mini-product {
  background: #111;
  border: 1px solid var(--cyan);
  padding: 8px;
  text-align: center;
}

.mini-product-image {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mini-product-title {
  font-size: 0.4rem;
  color: var(--cyan);
  margin-bottom: 4px;
}

.mini-product-price {
  font-size: 0.4rem;
  color: var(--yellow);
  margin-bottom: 4px;
}

.mini-btn {
  background: var(--magenta);
  color: #000;
  border: none;
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 0.3rem;
  cursor: pointer;
  font-family: 'Press Start 2P', monospace;
}

.mini-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 16px;
  background: #000;
}

.mini-service {
  background: #111;
  border: 1px solid var(--cyan);
  padding: 8px;
  text-align: center;
}

.mini-service-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mini-service-title {
  font-size: 0.4rem;
  color: var(--cyan);
  margin-bottom: 4px;
}

.mini-service-desc {
  font-size: 0.3rem;
  color: var(--green);
}

.mini-about {
  padding: 16px;
  background: #111;
  border-top: 1px solid var(--cyan);
}

.mini-section-title {
  font-size: 0.5rem;
  color: var(--yellow);
  margin-bottom: 8px;
  text-align: center;
}

.mini-about-text {
  font-size: 0.3rem;
  color: var(--cyan);
  margin-bottom: 12px;
  text-align: center;
}

.mini-stats {
  display: flex;
  justify-content: space-around;
  gap: 8px;
}

.mini-stat {
  text-align: center;
}

.mini-stat-number {
  display: block;
  font-size: 0.5rem;
  color: var(--magenta);
  font-weight: bold;
}

.mini-stat-label {
  font-size: 0.3rem;
  color: var(--cyan);
}

.mini-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px;
  background: #000;
}

.mini-benefit {
  background: #111;
  border: 1px solid var(--cyan);
  padding: 8px;
  text-align: center;
}

.mini-benefit-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mini-benefit-title {
  font-size: 0.4rem;
  color: var(--yellow);
  margin-bottom: 4px;
}

.mini-benefit-desc {
  font-size: 0.3rem;
  color: var(--cyan);
}

.mini-cta {
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  padding: 16px;
  text-align: center;
  color: #000;
}

.mini-cta-title {
  font-size: 0.6rem;
  margin-bottom: 4px;
}

.mini-cta-subtitle {
  font-size: 0.4rem;
  margin-bottom: 12px;
}

.mini-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 200px;
  margin: 0 auto 8px;
}

.mini-input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #000;
  padding: 4px;
  border-radius: 2px;
  font-size: 0.3rem;
  font-family: 'Press Start 2P', monospace;
  color: #000;
}

.mini-input::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.mini-cta-btn {
  background: #000;
  color: var(--yellow);
  border: none;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 0.3rem;
  cursor: pointer;
  font-family: 'Press Start 2P', monospace;
  font-weight: bold;
}

.mini-guarantee {
  margin-top: 8px;
}

.mini-guarantee-text {
  font-size: 0.3rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 4px;
  border-radius: 2px;
}

.mini-testimonials {
  padding: 16px;
  background: #111;
}

.mini-testimonial {
  text-align: center;
}

.mini-testimonial-text {
  font-size: 0.4rem;
  color: var(--cyan);
  margin-bottom: 4px;
  font-style: italic;
}

.mini-testimonial-author {
  font-size: 0.3rem;
  color: var(--yellow);
}

.mini-footer {
  background: #000;
  border-top: 1px solid var(--cyan);
  padding: 12px;
}

.mini-footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.mini-footer-section h4 {
  font-size: 0.4rem;
  color: var(--yellow);
  margin-bottom: 4px;
}

.mini-footer-section p {
  font-size: 0.3rem;
  color: var(--cyan);
  margin-bottom: 2px;
}

.mini-footer-bottom {
  text-align: center;
  border-top: 1px solid var(--cyan);
  padding-top: 8px;
}

.mini-footer-bottom p {
  font-size: 0.3rem;
  color: var(--green);
}

.project-features {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.project-features li {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--cyan);
  padding: 8px;
  margin-bottom: 4px;
  font-size: 0.4rem;
  color: var(--cyan);
}

.project-description {
  margin-bottom: 16px;
}

.project-description p {
  font-size: 0.4rem;
  color: var(--cyan);
  text-align: center;
}

/* Mini Website Preview Styles */
.mini-website-preview {
  background: #000;
  border: 1px solid var(--cyan);
  height: 200px;
  overflow: hidden;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.3rem;
  line-height: 1.1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mini-preview-header {
  background: var(--cyan);
  color: #000;
  padding: 4px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.25rem;
}

.mini-preview-logo {
  font-weight: bold;
}

.mini-preview-cart {
  background: var(--magenta);
  color: #000;
  padding: 1px 3px;
  border-radius: 1px;
}

.mini-preview-nav {
  font-size: 0.2rem;
}

.mini-preview-hero {
  background: linear-gradient(135deg, #1a0033, #000);
  padding: 8px;
  text-align: center;
  color: var(--cyan);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mini-preview-title {
  font-size: 0.3rem;
  color: var(--yellow);
  margin-bottom: 4px;
}

.mini-preview-badges {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.mini-badge {
  background: var(--green);
  color: #000;
  padding: 1px 2px;
  border-radius: 1px;
  font-size: 0.2rem;
}

.mini-preview-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 4px;
  background: #000;
  flex: 1;
  align-content: center;
}

.mini-preview-product {
  background: #111;
  border: 1px solid var(--cyan);
  padding: 2px;
  text-align: center;
  font-size: 0.2rem;
  color: var(--cyan);
}

.mini-preview-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 4px;
  background: #000;
  flex: 1;
  align-content: center;
}

.mini-preview-service {
  background: #111;
  border: 1px solid var(--cyan);
  padding: 2px;
  text-align: center;
  font-size: 0.2rem;
  color: var(--cyan);
}

.mini-preview-cta {
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  padding: 4px;
  text-align: center;
  color: #000;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mini-preview-form {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 120px;
  margin: 0 auto;
}

.mini-form-field {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #000;
  padding: 1px 2px;
  border-radius: 1px;
  font-size: 0.2rem;
  color: #000;
}

.mini-cta-button {
  background: #000;
  color: var(--yellow);
  border: none;
  padding: 2px 4px;
  border-radius: 1px;
  font-size: 0.2rem;
  font-family: 'Press Start 2P', monospace;
  font-weight: bold;
  margin-top: 2px;
}

/* Animation Classes - DISABLED FOR SIMPLE SCROLLING */
.fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.slide-in-left {
  opacity: 1;
  transform: none;
  transition: none;
}

.slide-in-left.visible {
  opacity: 1;
  transform: none;
}

.slide-in-right {
  opacity: 1;
  transform: none;
  transition: none;
}

.slide-in-right.visible {
  opacity: 1;
  transform: none;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--cyan);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Typing Animation */
.typing {
  overflow: hidden;
  border-right: 2px solid var(--cyan);
  white-space: nowrap;
  animation: typing 1.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--cyan); }
}

/* Desktop - zwiększ wysokość hero sekcji o 30% */
@media (min-width: 1024px) {
  #hero {
    min-height: 101vh !important;
  }
}

