/* Czcionka */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0d1117;
    color: #f0f6fc;
}

/* Kontener */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background-color: #161b22;
    padding: 20px 0;
    border-bottom: 1px solid #30363d;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-svg svg {
    display: block;
}

.logo-svg a {
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

.logo-text a {
    font-size: 20px;
    font-weight: 800;
    color: #58a6ff;
    text-decoration: none;
    line-height: 1.2;
}

.logo-text a span {
    font-weight: 400;
}

.logo-text small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #8b949e;
    margin-top: 2px;
}

.logo-img {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-img img {
    height: 48px;
    width: auto;
}

.logo-sub {
    font-size: 12px;
    color: #8b949e;
    margin-top: 4px;
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    font-weight: 500;
    color: #c9d1d9;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #58a6ff;
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #c9d1d9;
  cursor: pointer;
}

/* HERO */
.hero {
    background: url('../img/build.png') center center / cover no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 120px 20px;
    height: 300px;
    text-align: center;
    color: white;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2); /* przyciemnia grafikę */
    z-index: 0;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text h1 {
    color: #58a6ff;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 0 8px #000;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 0 6px #000;
}

.hero-text .btn {
    padding: 14px 30px;
    background: #58a6ff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.hero-text .btn:hover {
    background: #2e83e6;
}

/* Global Button (jeśli używasz gdzieś indziej) */
.btn {
    background-color: #238636;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2ea043;
}


/* Button */
.btn {
    background-color: #238636;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2ea043;
}

/* O MNIE */
.about {
    background-color: #161b22;
    padding: 40px 0;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #58a6ff;
}

.about-text h3 {
    font-size: 20px;
    margin-top: 20px;
    color: #c9d1d9;
}

.about-text p {
    color: #c9d1d9;
    margin-bottom: 16px;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* OFERTA */
.section-description {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.6;
    color: #c9d1d9;
    margin: 10px 0 20px;
}

/* BUILDS */
.builds {
    background-color: #0d1117;
    padding: 80px 0;
}

.builds h2 {
    color: #58a6ff;
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

.build-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.build {
    background-color: #161b22;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.build:hover {
    transform: translateY(-5px);
}

.build img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}


.build h3 {
    color: #58a6ff;
    font-size: 20px;
    margin-bottom: 10px;
}

.build p {
    font-size: 15px;
    color: #c9d1d9;
    line-height: 1.5;
}

.specs {
  margin-top: 10px;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  background-color: #161b22;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.specs p {
  margin: 4px 0;
  color: #c9d1d9;
  font-size: 12px;
}

.specs strong {
  color: #58a6ff;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 20px;
  margin-top: 20px;
  padding: 20px;
  background-color: #161b22;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c9d1d9;
  font-size: 15px;
}

.spec-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(1.1);
}

.spec-list {
  background-color: #161b22;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #c9d1d9;
}

.spec-row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(1.1);
}

.last-builds {
  background: linear-gradient(180deg, #0a0c10 0%, #0d1117 70%, #0a1f2e 100%);
  padding: 60px 0;
  color: #fff;
}

.last-builds h2 {
  text-align: center;
  font-size: 2rem;
  color: #00aaff;
  margin-bottom: 40px;
}

.last-build-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.last-build {
  background-color: #161b22;
  border: 1px solid #2b2b2b;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 320px;
  text-align: center;
  transition: transform 0.3s ease;
}

.last-build:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 170, 255, 0.2);
}

.last-build img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.last-build h3 {
  font-size: 1.2rem;
  color: #00aaff;
  margin-bottom: 10px;
}

.last-build ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  font-size: 0.95rem;
}

.last-build ul li {
  margin-bottom: 6px;
  color: #ccc;
}

.btn-details {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00aaff;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-details:hover {
  background-color: #008ecc;
}

.form-message {
  margin-top: 20px;
  background-color: #58a6ff;
  color: white;
  padding: 15px;
  border-radius: 6px;
  display: none;
  text-align: center;
}
.form-message.visible {
  display: block;
}


/* FOOTER */
.footer {
    background-color: #0d1117;
    color: #c9d1d9;
    padding: 40px 0 20px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: #58a6ff;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #c9d1d9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #58a6ff;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #8b949e;
    border-top: 1px solid #30363d;
    padding-top: 15px;
}

.contact {
  background-color: #161b22;
  padding: 80px 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.contact-form label {
  color: #c9d1d9;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #0d1117;
  color: #f0f6fc;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #58a6ff;
}

.contact-info {
  text-align: center;
  color: #c9d1d9;
}

.contact-info h3 {
  color: #58a6ff;
  margin-bottom: 10px;
}

.hero-section {
    background: url('/img/20240924_164520.jpg') center center / cover no-repeat;
    padding: 120px 20px 200px;
    text-align: center;
    position: relative;
}
.hero-section1 {
    background: url('/img/zamow.jpg') center center / cover no-repeat;
    padding: 120px 20px 200px;
    text-align: center;
    position: relative;
}
.hero-section h1 {
    font-size: 40px;
    font-weight: 800;
    color: #58a6ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #000;
}
.hero-section p {
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 10px #000;
}
.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 0;
}
.hero-section * {
    position: relative;
    z-index: 1;
}

.hero-section1 {
    background: url('/img/20231202_105140.jpg') center 30% / cover no-repeat;
    padding: 120px 20px 200px;
    text-align: center;
    position: relative;
}

.hero-section1 h1 {
    font-size: 40px;
    font-weight: 800;
    color: #58a6ff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #000;
}
.hero-section1 p {
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 10px #000;
}
.hero-section1::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 0;
}
.hero-section1 * {
    position: relative;
    z-index: 1;
}

/* Sekcja kroków */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.steps-section {
  background-color: #0d1117;
  color: #c9d1d9;
  padding: 60px 20px;
}
.steps-section h2 {
  color: #58a6ff;
  text-align: center;
  margin-bottom: 40px;
}

.step {
  background-color: #161b22;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  position: relative;
  transition: transform 0.3s;
}
.step:hover {
  transform: translateY(-5px);
}
.step h3 {
  color: #58a6ff;
  margin-bottom: 10px;
}
.step p {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.6;
}
.step-number {
  position: absolute;
  top: -12px;
  left: -12px;
  background-color: #58a6ff;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.step strong {
  color: #58a6ff;
}

/* Formularz zamówienia */
.order-form-section {
  background-color: #0d1117;
  padding: 80px 20px;
}
.order-form-section h2 {
  color: #58a6ff;
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
}
form.order-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: #161b22;
  padding: 40px;
  margin-bottom: 60px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
form.order-form label {
  display: block;
  margin-bottom: 6px;
  color: #c9d1d9;
  font-weight: 600;
}
form.order-form input,
form.order-form select,
form.order-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;  /* WAŻNE: zapewnia, że padding nie zwiększa szerokości */
  padding: 10px 14px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #30363d;
  background-color: #0d1117;
  color: #c9d1d9;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

form.order-form textarea {
  resize: vertical;
  min-height: 100px;
}
form.order-form button {
  display: block;
  margin: 30px auto 0; /* auto wyśrodkowuje poziomo */
  background-color: #58a6ff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #0d1117;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form.order-form button:hover {
  background-color: #4098f5;
}

.fps-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.fps-game {
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 6px 10px;
  width: 85px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 12px;
  color: #f0f6fc;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fps-game img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-bottom: 4px;
}

.fps-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.fps-card {
  position: relative;
  width: 60px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0d1117;
  box-shadow: 0 0 12px rgba(0,0,0,0.6);
  transition: transform 0.3s;
}

.fps-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fps-card:hover {
  transform: scale(1.05);
}

.fps-value {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #58a6ff;
  font-weight: bold;
  font-size: 14px;
  padding: 2px 10px;
  border-radius: 12px;
  text-shadow: 0 0 6px #000;
}

.form-message {
  display: none;
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.form-message.visible {
  display: block;
}

.form-message.success {
  background-color: #198754;
  color: #fff;
}

.form-message.error {
  background-color: #dc3545;
  color: #fff;
}

/* ---- MODAL CSS ---- */
.price-btn {
  background: #58a6ff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 20px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}
.modal-content {
  background: #161b22;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  position: relative;
}
.modal-close {
  position: absolute;
  right: 12px; top: 8px;
  font-size: 24px;
  color: #c9d1d9;
  cursor: pointer;
}
.modal-content h3 {
  color: #58a6ff;
  margin-bottom: 12px;
}
.modal-content label {
  display: block;
  margin-bottom: 10px;
  color: #c9d1d9;
  font-weight: 500;
}
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  margin-bottom: 16px;
  border: 1px solid #30363d;
  border-radius: 6px;
  background: #0d1117;
  color: #f0f6fc;

  /* TE LINIE POMAGAJĄ ZACHOWAĆ RÓWNE POŁOŻENIE */
  box-sizing: border-box;
}
.modal-content textarea {
  resize: vertical;
}
.modal-content button.btn {
  background: #58a6ff;
  color: #0d1117;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(22,27,34,0.95);
  color: #c9d1d9;
  padding: 16px;
  display: none;
  z-index: 10000;
  text-align: center;
}
.cookie-banner .cookie-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cookie-banner p {
  margin: 0;
  font-size: 14px;
}
.cookie-banner .btn {
  background: #58a6ff;
  color: #0d1117;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.cookie-banner .btn-outline {
  background: transparent;
  color: #c9d1d9;
  border: 1px solid #c9d1d9;
}

.build-details {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  color: #c9d1d9;
  transition: all 0.3s ease;
}

.build-details summary {
  font-size: 18px;
  font-weight: 600;
  color: #58a6ff;
  cursor: pointer;
  list-style: none;
}

.build-details[open] {
  background-color: #1b222c;
}

.build-details summary::marker {
  display: none;
}

.build-details-content {
  margin-top: 20px;
  line-height: 1.7;
}

.build-spec-list {
  margin-top: 20px;
  padding-left: 20px;
  list-style: none;
}

.build-spec-list li {
  margin-bottom: 8px;
}

.build-spec-list strong {
  color: #58a6ff;
}

.build-price {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  color: #58a6ff;
}

/* Grid z recenzjami */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

/* Karta recenzji */
.review-card {
  border: 1px solid #1e2633;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #0e131a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Miniatura */
.review-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Zawartość */
.review-content {
  padding: 16px;
  flex: 1;
}

.review-content h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.review-content h3 a {
  color: #fff;
  text-decoration: none;
}

.review-content h3 a:hover {
  color: #3b82f6; /* niebieski akcent przy hover */
}

.review-content p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 0 12px;
  color: #cbd5e1;
}

/* Mały przycisk */
.btn-small {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  background: #3b82f6;
  transition: background 0.2s ease;
}

.btn-small:hover {
  background: #2563eb;
}





/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .nav {
        flex-direction: column;
        gap: 10px;
    }

    .build img {
        max-height: 160px;
    }
    .mobile-nav-toggle {
    display: block;
    position: absolute;
    top: 30px;
    right: 20px;
    z-index: 1001;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #161b22;
        padding: 10px 0;
        margin-top: 10px;
        border-top: 1px solid #30363d;
    }

    .nav.open {
        display: flex;
    }

    .nav-container {
        align-items: flex-start;
        position: relative;
    }

    .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
    }

    .footer-col {
      flex: 1 1 140px;
      min-width: 140px;
    }

    .footer-logo img {
      max-height: 60px;
      margin: 0 auto 20px;
      display: block;
    }
    .footer-grid {
    display: none;
  }

  .footer-accordion {
    display: block;
    padding: 20px;
    background-color: #10151d;
    text-align: center;
  }

  .footer-accordion details {
    margin-bottom: 20px;
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px;
    color: #c9d1d9;
    text-align: left;
  }

  .footer-accordion summary {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }

  .footer-accordion ul {
    list-style: none;
    margin-top: 10px;
    padding-left: 10px;
  }

  .footer-accordion li {
    margin: 6px 0;
  }

  .footer-accordion a {
    color: #c9d1d9;
    text-decoration: none;
    font-size: 14px;
  }

  .footer-accordion a:hover {
    color: #58a6ff;
  }

  .footer-contact h4 {
    color: #58a6ff;
    margin-bottom: 10px;
  }

  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-contact li {
    margin: 5px 0;
  }

  .footer-contact a {
    font-size: 14px;
    color: #c9d1d9;
    text-decoration: none;
  }

  .footer-contact a:hover {
    color: #58a6ff;
  }

  .copyright {
    font-size: 13px;
    text-align: center;
    padding: 20px;
    color: #8b949e;
  }
}

/* Na desktopie ukrywamy accordion */
@media (min-width: 769px) {
  .footer-accordion {
    display: none;
  }
}