/* RESET I STYLE PODSTAWOWE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Courier New", Courier, monospace; /* Surowy styl techniczny/streetwear */
}

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --orange-main: #ff7315;
  --grey-accent: #78847f;
  --box-brightness: 100%;
}

@font-face {
  font-family: Vabioxe Graffiti;
  src: url("VabioxeGraffiti.ttf");
}

.graffiti {
  font-family: Vabioxe Graffiti;
  font-size: 1.1em;
  letter-spacing: 1px;
  transform: rotate(-2deg);
  display: inline-block;
  -webkit-text-stroke: 1px black;
}

.graffiti-text {
  font-family: "Vabioxe Graffiti";
  -webkit-text-stroke: 1px black;
  display: inline-block;
}

.graffiti-tag {
  position: absolute;

  top: -80px;
  right: -80px;

  font-family: "Vabioxe Graffiti";
  font-size: 6rem;

  color: rgb(0, 0, 0);

  -webkit-text-stroke: 2px black;

  transform: rotate(-8deg);

  z-index: 5;
}

/* 1. OBSŁUGA TRYBU CIEMNEGO */
body.dark-mode {
  --bg-color: #121212;
  --text-color: #ffffff;
  --box-brightness: 40%; /* Przyciemnienie kwadratów w dark-mode */
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition:
    background-color 0.3s,
    color 0.3s;
  overflow-x: hidden;
}

/* HERO SECTION */
.hero-section {
  display: flex;
  height: 100vh;
  width: 100%;
}

.hero-left {
  width: 50%;
  height: 100vh;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.search-bar {
  position: absolute;
  top: 20px;
  right: 20px;

  background: white;
  color: black;

  padding: 8px 16px;
  border-radius: 20px;

  font-size: 12px;

  z-index: 10;
}

.orange-overlay {
  position: absolute;
  top: 10%;
  right: -50px;
  width: 300px;
  height: 150px;
  background-color: var(--orange-main);
  mix-blend-mode: multiply;
}

.grey-box {
  position: absolute;
  bottom: 0;
  right: -80px;
  width: 150px;
  height: 220px;
  background-color: var(--grey-accent);
  opacity: 0.7;
}

.hero-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 40px;
  position: relative;
}

.hero-left {
  position: relative;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.top-nav a {
  color: var(--text-color);
  text-decoration: none;
}

.orange-bar {
  position: absolute;
  top: 10%;
  right: -115px;
  width: 800px;
  height: 150px;
  background-color: var(--orange-main);
  mix-blend-mode: multiply;
}

/* 2. SEKCOJA MĘŻCZYŹNI/KOBIETY */
.category-menu {
  margin-top: auto;
  margin-bottom: auto;
}

.category-menu ul {
  list-style: none;
}

.category-menu li a {
  font-size: 24px;
  color: var(--text-color);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  opacity: 0.5;
  transition: 0.2s;
}

.category-menu li a:hover,
.category-menu li a.active {
  opacity: 1;
  font-weight: bold;
  padding-left: 10px;
}

.theme-toggle {
  align-self: flex-end;
  cursor: pointer;
  transition: transform 0.3s;
}

.theme-toggle:hover {
  transform: rotate(30deg);
}

/* 3. SIATKA PRODUKTÓW (Z EFEKTEM INTONOWANIA KOLORU) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 100px 10%;
  max-width: 1400px;
  margin: 0 auto;
}

.product-box {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    filter 0.3s,
    transform 0.3s,
    background-color 0.5s ease;
}

.product-box img {
  max-width: 50%;
  max-height: 50%;
  object-fit: contain;
}

/* Podstawowe kolory z designu */
.orange-bg {
  background-color: var(--orange-main);
}
.grey-bg {
  background-color: var(--grey-accent);
}
.white-bg {
  background-color: #e5e5e5;
}

/* REAKCJA NA KLIKNIĘCIE (Intonowanie / Podświetlenie) */
.product-box.intoned {
  animation: intoneEffect 0.8s ease-in-out;
}

@keyframes intoneEffect {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(0.95);
    filter: brightness(1.5) saturate(1.5);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

/* AS US SECTION */
.as-us-section {
  display: flex;
  padding: 100px 10%;
  align-items: center;
  justify-content: space-between;
}

.as-us-gallery {
  position: relative;
  width: 45%;
}

.as-us-grey-box {
  position: absolute;

  left: -40px;
  bottom: -40px;

  width: 180px;
  height: 220px;

  background-color: var(--grey-accent);

  opacity: 0.7;
  mix-blend-mode: multiply;

  z-index: 3;
}

.checkerboard-bg {
  background-image:
    linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
    linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
  background-size: 20px 20px;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0px;
  padding: 40px;
  position: relative;
}

.main-as-us-img {
  width: 100%;
  filter: grayscale(100%);
  position: relative;
  z-index: 2;
}

.as-us-text {
  width: 45%;
  position: relative;
}

.as-us-text h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.vertical-line {
  position: absolute;
  right: -50px;
  top: -350px;
  width: 2px;
  height: 300px;
  background-color: var(--text-color);
}

/* 4. SEZONOWE SLIDER */
.seasonal-section {
  display: flex;
  padding: 100px 10%;
  justify-content: space-between;

  position: relative;
}

.seasonal-graffiti {
  position: absolute;

  top: -45px;
  right: 10%;

  font-family: "Vabioxe Graffiti";
  font-size: 4rem;

  color: black;

  -webkit-text-stroke: 2px black;

  z-index: 5;
}

.seasonal-left {
  width: 30%;
}
.seasonal-right {
  width: 65%;
  position: relative;
}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 30px;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 200px;
  height: 250px;
  background-color: #eee;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.empty-slide {
  background-image:
    linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
    linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
  background-size: 20px 20px;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;
}

/* Klikalna strzałka */
.slider-arrow span {
  display: block;
  transform: translateX(1.5px); /* lub translateY(-1px) */
  transform: translateY(-2px);
}

.slider-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--orange-main);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 50px;
  text-align: center;
  padding: 0;
  line-height: 1;
}

/* NEWS SECTION */
.news-section {
  position: relative;
  padding: 100px 0;
  display: flex;
  justify-content: center;
}

.orange-stripe-left {
  position: absolute;
  left: 0;
  top: 40%;
  width: 40%;
  height: 150px;
  background-color: var(--orange-main);
  mix-blend-mode: multiply;
}

.news-main {
  position: relative;
  width: 600px;
}

.news-news {
  position: absolute;
  font-family: "Vabioxe Graffiti";
  -webkit-text-stroke: 0px rgba(0, 0, 0, 0);
  z-index: 5;
}
.news-news.white {
  color: white;
  font-size: 4rem;

  top: 37%;
  left: -15%;
}
.news-news.black-large {
  color: black;
  font-size: 8rem;

  top: 65%;
  right: -45%;
}

.news-main img {
  width: 100%;
  display: block;
  filter: grayscale(100%);
  position: relative;
  z-index: 2;
}

.checkerboard-bg {
  background-image:
    linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
    linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
  background-size: 20px 20px;
  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0px;
  padding: 40px;
}

.news-main {
  position: relative;
  width: 600px; /* lub zostaw swoją szerokość */
}

.news-main img {
  width: 100%;
  display: block;
  filter: grayscale(100%);
  position: relative;
  z-index: 2;
}

.news-checkerboard {
  position: absolute;

  top: 0;
  right: calc(-50vw+50%);

  width: 100vw;
  height: 100vh;

  background-image:
    linear-gradient(45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(-45deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e0e0e0 75%),
    linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);

  background-size: 20px 20px;

  background-position:
    0 0,
    0 10px,
    10px -10px,
    -10px 0;

  z-index: -1;
}

/* STOPKA (FOOTER) */
.main-footer {
  background-color: var(--orange-main);
  color: #000000;
  padding: 50px 10%;
  z-index: 9999;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #000;
  text-decoration: none;
  font-size: 13px;
}

.footer-description {
  margin-bottom: 30px;
}

.payment-methods {
  margin-top: 30px;
}

.newsletter-col input {
  width: 100%;
  background: transparent;
  border: 1px solid #000000;
  padding: 8px;
  margin-top: 10px;
}

.newsletter-col input::placeholder {
  color: #000000;
  opacity: 1;
}

.newsletter-col button {
  background: #000000;
  color: #fff;
  border: none;
  padding: 8px 15px;
  margin-top: 10px;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 11px;
}

/* =========================
   RESPONSIVE BASE
========================= */

img {
  max-width: 100%;
  height: auto;
}

body {
  overflow-x: hidden;
}

/* =========================================
   MEDIA QUERIES - MOBILE (Max 767px)
   Ten kod wklej na końcu swojego pliku style.css
   ========================================= */
@media (max-width: 767px) {
  /* --- HERO SECTION --- */
  .hero-section {
    flex-direction: column; /* Układ pionowy */
    height: auto;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    height: auto;
  }

  /* Zmiana tła sekcji Hero Right, aby napisy były czytelne */
  .hero-right {
    background-color: var(--text-color); /* Np. czarne tło w wersji mobilnej */
    padding: 30px;
    align-items: center; /* Wyśrodkowanie napisów */
    text-align: center;
  }

  /* Pasek wyszukiwania - przenosimy na dół lub wyłączamy */
  .search-bar {
    top: auto;
    bottom: 20px;
    right: 20px;
  }

  /* Paski pomarańczowe i szare w Hero - wyłączamy */
  .orange-overlay,
  .grey-box,
  .orange-bar {
    display: none; /* Ukrywamy te surowe elementy dla czystości */
  }

  /* Ikona Hamburger Menu (Użyjemy wbudowanego pseudo-elementu) */
  .top-nav {
    justify-content: flex-end; /* Przenosimy Fav/Cart na prawo */
  }

  /* Menu kategorii - pionowo i wyśrodkowane */
  .category-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px 0;
  }

  .category-menu li a {
    font-size: 28px; /* Większy font na mobile */
  }

  /* Koszyk i Theme Toggle na samym dole Hero Right */
  .hero-right::after {
    /* Tworzymy hamburgera CSS */
    content: "\2630"; /* Symbol Hamburgera */
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--bg-color); /* Kolor tła lub tekstu */
    cursor: pointer;
  }

  /* --- SIATKA PRODUKTÓW --- */
  .products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolumny zamiast 4 */
    gap: 15px;
    padding: 30px 5%;
  }

  /* --- AS US & SEZONOWE --- */
  .as-us-section,
  .seasonal-section {
    flex-direction: column; /* Układ pionowy */
    padding: 30px 5%;
    text-align: center;
  }

  .as-us-gallery,
  .as-us-text,
  .seasonal-left,
  .seasonal-right {
    width: 100%;
  }

  .as-us-text h2,
  .seasonal-right h2 {
    font-size: 32px;
    margin-top: 20px;
  }

  /* Ukrywamy pionową linię */
  .vertical-line {
    display: none;
  }

  .graffiti-title {
    position: absolute;

    top: 100px;
    left: 400px;

    font-size: 2rem;
    font-weight: bold;

    z-index: 4;
  }

  /* Slider Sezonowe */
  .slider-container {
    padding-bottom: 50px;
  }

  .slider-track {
    gap: 10px;
  }

  .slide {
    min-width: 130px; /* Mniejsze slajdy na mobile */
    height: 180px;
  }

  .slider-arrow {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  /* --- NEWS SECTION --- */
  .news-section {
    padding: 30px 0;
  }

  .orange-stripe-left {
    display: none;
  }

  .news-main {
    width: 90%;
    margin: 0 auto;
  }

  .news-checkerboard {
    display: none;
  }

  /* --- FOOTER --- */
  .main-footer {
    padding: 30px 5%;
  }

  .footer-grid {
    grid-template-columns: 1fr; /* 1 kolumna */
    text-align: center;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  /* HERO */
  .hero-section {
    display: block;
    height: auto;
    position: relative;
  }

  .hero-left {
    width: 100%;
    height: 500px;
    position: relative;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 420px;
    padding: 20px;
    background: transparent;
    display: flex;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-end;
  }

  .top-nav a {
    display: none;
  }

  /* hamburger */
  .hero-right::after {
    content: "≡";
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 28px;
  }

  /* pasek pomarańczowy */
  .orange-overlay {
    display: block;
    top: 38px;
    right: 30px;
    width: 180px;
    height: 90px;
    background: rgba(255, 115, 21, 0.6);
    mix-blend-mode: multiply;
  }

  .orange-bar,
  .grey-box {
    display: none;
  }

  .search-bar {
    display: none;
  }

  /* MENU */
  .category-menu {
    margin: auto 0;
  }

  .category-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .category-menu li a {
    color: white;
    font-size: 30px;
    opacity: 1;
  }

  /* IKONY */
  .theme-toggle {
    align-self: flex-end;
    color: white;
  }

  /* PRODUKTY */

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .product-box {
    aspect-ratio: 1;
  }

  .product-box img {
    max-width: 75%;
    max-height: 75%;
  }

  /* AS US */

  .as-us-section {
    display: block;
    padding: 20px 12px;
  }

  .as-us-gallery {
    width: 100%;
    position: relative;
  }

  .checkerboard-bg {
    padding: 0;
  }

  .main-as-us-img {
    width: 50%;
  }

  .as-us-grey-box {
    display: none;
  }

  .graffiti-tag {
    right: 10px;
    top: -20px;
    font-size: 4rem;
  }

  .as-us-text {
    width: 100%;
    margin-top: 15px;
    text-align: center;
  }

  .as-us-text h2 {
    font-size: 40px;
    margin-bottom: 10px;
  }

  .vertical-line {
    display: none;
  }

  /* SEZONOWE */

  .seasonal-section {
    display: flex;
    flex-direction: column-reverse;
    padding: 20px 12px;
  }

  .seasonal-left,
  .seasonal-right {
    width: 100%;
  }

  .seasonal-graffiti {
    position: static;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .slider-container {
    overflow: visible;
  }

  .slider-track {
    display: block;
  }

  .slide {
    width: 180px;
    height: 220px;
    margin: 0 auto;
  }

  .empty-slide {
    display: none;
  }

  .slider-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
  }

  .empty-slide {
    display: none;
  }

  .slide {
    min-width: 180px;
    height: 220px;
  }

  .slider-arrow {
    right: 25px;
    top: 50%;
  }

  /* NEWS */

  .news-section {
    padding: 30px 0 0;
  }

  .orange-stripe-left {
    display: none;
  }

  .news-main {
    width: 100%;
  }

  .news-main img {
    width: 100%;
  }

  .news-checkerboard {
    display: none;
  }

  .news-news.white {
    font-size: 3rem;
    left: 10px;
    top: 55%;
  }

  .news-news.black-large {
    display: none;
  }

  /* FOOTER */

  .main-footer {
    padding: 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
