:root {
  --orange: #ff8a00;
  --dark: #0f0f0f;
  --dark-2: #1a1a1a;
  --text: #ffffff;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--dark);
  color: var(--text);
  overflow: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 72px;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}

.logo img {
  height: 40px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--orange);
}

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

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
}

/* ================= SECTIONS ================= */
.section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

/* ================= HERO ================= */
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  margin-left: 8vw;
}

.hero-tag {
  color: var(--orange);
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  margin-top: 20px;
  font-size: 1.1rem;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.85;
}

.scroll-indicator p {
  margin-top: 8px;
  font-size: 0.7rem;
  letter-spacing: 2px;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid white;
  border-radius: 14px;
  position: relative;
}

.mouse span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 6px;
  background: white;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* ================= SECTION 2 ================= */

/* ================= SECTION 2: HOW IT WORKS ================= */
/* ================= SECTION 2: HOW IT WORKS ================= */
.how-it-works {
  background: #111;
  padding-top: 80px; /* Większa przestrzeń na górze sekcji, aby oddzielić nagłówek od zdjęć */
  padding-bottom: 40px; /* Dodajemy przestrzeń na dole */
}

.section-header {
  text-align: center; /* Wyrównanie tekstu na środku */
  margin-bottom: 40px; /* Odstęp między nagłówkiem a przyciskami */
}

.section-header h2 {
  font-size: 3rem; /* Duży rozmiar czcionki */
  font-weight: 700; /* Pogrubienie tekstu */
  color: #fff; /* Biały kolor tekstu */
  text-transform: uppercase; /* Duże litery */
  letter-spacing: 3px; /* Rozstawienie liter, aby wyglądało elegancko */
  margin: 0;
  padding: 0 20px;
  line-height: 1.2; /* Lepsza przestrzeń między wierszami */
}

.section-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px; /* Odstęp między napisami a zdjęciami */
}

.button-like {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--orange);
  cursor: pointer;
  transition: color 0.3s ease;
}

.button-like:hover {
  color: white; /* Zmiana koloru po najechaniu */
}

.how-container {
  max-width: 1850px; /* Ustawiamy max-width kontenera */
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; /* Pozwala na zawijanie zdjęć w wierszach */
  justify-content: space-between; /* Równo rozmieszcza zdjęcia */
  gap: 16px; /* Odstęp między zdjęciami */
  padding: 0 20px;
}

.card {
  width: 24%; /* Zmienione na 24% */
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  position: relative; /* Ustawiamy relatywnie, aby przycisk mógł być pozycjonowany w jego obrębie */
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Dopasowuje zdjęcie, zachowując proporcje */
  border-radius: 10px;
}

.more-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 8px 16px;
  background-color: var(--orange);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Animacja pojawiania się */
}

.card:hover .more-btn {
  opacity: 1;
  visibility: visible; /* Przycisk pojawia się po najechaniu na kartę */
}

@media (max-width: 768px) {
  .how-container {
    flex-direction: column; /* Zmieniamy układ na kolumnowy na mniejszych ekranach */
    align-items: center; /* Centrujemy zdjęcia */
  }

  .card {
    width: 45%; /* Zwiększamy szerokość na telefonach, żeby zdjęcia były większe */
    margin-bottom: 16px; /* Dodajemy odstęp między zdjęciami */
  }
}/* ================= SECTION 3 – FORM (POPRAWIONY UKŁAD) ================= */
.order-section {
  background: #0e0e0e;
  justify-content: center;
}

.order-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 6vw;
  width: 100%;
}

.order-header {
  text-align: center;
  margin-bottom: 32px;
}

.order-header h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 12px 0;
}

.order-header p {
  opacity: 0.85;
  font-size: 0.95rem;
}

/* FORM GRID */
.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 12px 14px;
  color: white;
  font-size: 0.9rem;
}

.form-group textarea {
  min-height: 90px;
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  outline: none;
}

.form-group small {
  font-size: 0.7rem;
  opacity: 0.6;
}

/* SUBMIT */
.submit-btn {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: var(--orange);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.4s ease;
    z-index: 3000;
  }

  .nav-links.active {
    right: 0;
  }

  .how-container {
    grid-template-columns: 1fr;
  }

  .order-form {
    grid-template-columns: 1fr;
  }
}

/* ================= MOBILE FIX: SECTIONS ================= */
@media (max-width: 768px) {

  body {
    overflow: auto;
  }

  .section {
    height: auto;          /* 🔥 ZAMIANA */
    min-height: 100svh;    /* stabilne vh na mobile */
    align-items: flex-start;
    padding-top: 96px;     /* oddech od navbara */
    padding-bottom: 48px;
  }

  .hero {
    padding-top: 120px;
  }

  .scroll-indicator {
    display: none; /* na mobile niepotrzebne */
  }
}

/* Nagłówek z dwoma napisami */
.product-header {
  display: flex;
  justify-content: center; /* Centruje napisy poziomo */
  align-items: flex-start; /* Ustawia napisy przy samej górze */
  padding: 20px 40px;
  background-color: #333; /* Tło nagłówka */
  color: #fff;
  height: 100vh; /* 100% wysokości ekranu */
  margin-top: 33vh; /* Oddala napisy od góry o 1/3 ekranu */
}

.title-left,
.title-right {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 20px; /* Odstęp między napisami */
  cursor: pointer;
  transition: color 0.3s ease;
}

.title-left:hover,
.title-right:hover {
  color: var(--orange); /* Kolor zmienia się po najechaniu */
}

