

/* =========================================================
   🔥 1. RESET / GLOBAL
   =========================================================
   Resetuje marginesy i paddingi.
   Ustawia poprawne liczenie width/height.
*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================================
   🔥 2. ROOT COLORS
   =========================================================
   Globalne kolory strony.
*/

:root {
  --clr-neon: #00ffd5;
  --clr-bg: rgb(246, 4, 161);
}

/* =========================================================
   🔥 3. BODY / STRONA
   =========================================================
   Główne ustawienia strony.
   PC = brak scrolla.
*/

body {
  font-family: "Source Code Pro", sans-serif;
  background: rgb(61, 61, 61);

  min-height: 100vh;

  overflow: hidden; /* 🔥 brak scrolla na PC */

  animation: fadeInPage 0.8s ease;
}

/* Responsive media */
img,
video,
canvas {
  max-width: 100%;
  display: block;
}

/* =========================================================
   🔥 4. ANIMACJA STARTU
   ========================================================= */

@keyframes fadeInPage {

  from {
    opacity: 0;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================================================
   🔥 5. TYPOGRAFIA
   ========================================================= */

/* Główny tytuł */
#title {
  color: white;
  font-weight: 600;
  font-size: clamp(2.5rem, 7vw, 5rem);
  text-align: left;
}

/* Telefon / email */
h2 {
  color: white;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.5rem);
  opacity: 0.9;
}

/* Mały opis */
h3 {
  width: 100%;
  max-width: 250px;

  color: white;
  font-weight: 600;

  font-size: clamp(0.55rem, 1vw, 0.8rem);

  text-align: center;

  padding: 10px;

  background: transparent;
}

/* Duże logo / tekst */
h4 {
  color: white;
  font-weight: 600;
  text-align: left;

  font-size: clamp(2rem, 6vw, 5rem);
}

/* Dłuższe teksty */
h5 {
  color: white;
  font-weight: 600;

  font-size: clamp(0.8rem, 1vw, 1rem);

  text-align: justify;

  line-height: 1.7;
}

/* =========================================================
   🔥 6. NIETYPOWE TAGI
   =========================================================
   Lepiej zamienić kiedyś na klasy/div.
*/

h7,
h8,
h9 {
  position: absolute;
  color: white;
  z-index: 3;
}

/* =========================================================
   🔥 7. MENU / LISTA
   ========================================================= */

ul {
  position: absolute;

  top: 2%;
  left: 2%;

  color: white;

  font-size: clamp(1rem, 2vw, 2rem);

  font-weight: 600;

  z-index: 3;
}

/* =========================================================
   🔥 8. THREEJS / TŁO
   =========================================================
   Tło 3D oraz canvas.
*/

.scene,
canvas {
  position: fixed;

  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 0;

  pointer-events: none;
}

.scene {
  z-index: 1;
}

.stars {
  z-index: 2;
}

/* =========================================================
   🔥 9. SOCIAL MEDIA
   ========================================================= */

.socials,
.socials2,
.cv {
  position: fixed;

  right: 2%;

  color: white;

  font-size: clamp(30px, 4vw, 60px);

  transition: 0.2s;

  z-index: 10;
}

/* LinkedIn */
.socials {
  top: 30%;
}

/* Github */
.socials2 {
  top: 50%;
}

/* CV */
.cv {
  top: 70%;
}

/* Hover */
.socials:hover,
.socials2:hover,
.cv:hover {
  color: var(--clr-neon);
}

/* =========================================================
   🔥 10. LEWE MENU
   ========================================================= */

.INSTAGRAM,
.NFT,
.GAME,
.D {
  position: absolute;

  left: 2.5%;

  z-index: 5;

  text-align: left;

  width: 250px;
  

  
}

/* Pozycje menu */
.INSTAGRAM {
  top: 40%;
}

.NFT {
  top: 50%;
}

.GAME {
  top: 60%;
}

.D {
  top: 70%;
}

/* =========================================================
   🔥 11. BUTTONY MENU
   ========================================================= */

#cameraButton2,
#cameraButton3,
#cameraButton4,
#cameraButton5 {
  background: transparent;

  border: none;

  color: var(--clr-neon);

  width: 100%;
  max-width: 220px;

  min-height: 60px;

  padding: 8px 14px;

  font-size: clamp(1rem, 2vw, 2rem);

  cursor: pointer;

  transition: 0.2s;
}

#cameraButton2:hover,
#cameraButton3:hover,
#cameraButton4:hover,
#cameraButton5:hover {
  color: white;
}

/* =========================================================
   🔥 12. TELEFON / EMAIL
   ========================================================= */

.TEL {
  position: fixed;

  top: 3%;
  right: 2.5%;

  display: flex;
  flex-direction: column;

  gap: 10px;

  text-align: right;

  z-index: 10;
}

/* =========================================================
   🔥 13. GŁÓWNY CONTENT
   ========================================================= */



/* =========================================================
   🔥 14. VIDEO CAROUSEL
   ========================================================= */

/* Pierwszy carousel */
#video-carousel {
  position: fixed;
  top: 120px;
  right: 7%;
  width: 100%;
  max-width: 330px;
  z-index: 20;
  
}



/* Drugi carousel */
#video-carousel2 {
  position: fixed;

  top: 120px;
  right: 7%;

  width: 100%;
  max-width: 600px;

  z-index: 20;
}

/* Kontener video */
.video-container {
  width: 100%;

  aspect-ratio: 9 / 16;

  position: relative;

  overflow: hidden;

  border-radius: 14px;

  background: rgba(0, 0, 0, 0.4);

  backdrop-filter: blur(10px);

  border: 1px solid rgba(0, 255, 213, 0.3);

  box-shadow:
    0 0 15px rgba(0, 255, 213, 0.2),
    inset 0 0 10px rgba(0, 255, 213, 0.1);

  transition: 0.4s;
}

/* Glow */
.video-container.pulse {
  box-shadow:
    0 0 30px rgba(0,255,213,0.8),
    0 0 60px rgba(0,255,213,0.4),
    inset 0 0 20px rgba(0,255,213,0.3);
}

/* Slajdy */
.slide {
  position: absolute;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  transform: scale(1.05);

  transition: all 0.6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Strzałki */
#prev,
#next {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  background: rgba(0,0,0,0.4);

  border: none;

  color: rgba(0,255,213,0.8);

  font-size: 24px;

  padding: 10px;

  border-radius: 50%;

  cursor: pointer;

  z-index: 10;
}

#prev {
  left: 8px;
}

#next {
  right: 8px;
}

/* Hover */
#prev:hover,
#next:hover {
  color: var(--clr-neon);

  transform: translateY(-50%) scale(1.15);
}

/* =========================================================
   🔥 15. TEXT SWITCHER
   ========================================================= */

  

   .text-switcher {

    /* szerokość */
    width: 100%;
    max-width: 1000px;
  
    /* 🔥 ustawienie po lewej stronie */
    margin-left: 2.5%;
    margin-right: auto;
  
    padding: 10px;
  
    /* tekst wyrównany do lewej */
    text-align: left;
  
    position: relative;
  
    z-index: 5;
  }

/* Buttons językowe */
.lang-buttons {
  display: flex;

  justify-content: left;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 15px;
}

/* Button */
.lang-btn {
  background: transparent;

  border: 1px solid rgba(0,255,213,0.4);

  color: rgba(0,255,213,0.7);

  padding: 6px 14px;

  cursor: pointer;

  transition: 0.25s;
}

/* Active */
.lang-btn.active {
  color: var(--clr-neon);

  box-shadow:
    0 0 5px var(--clr-neon),
    0 0 10px rgba(0,255,213,0.5);
}

/* Hover */
.lang-btn:hover {
  color: white;
  border-color: var(--clr-neon);
}

/* Tekst */
.lang-text {
  display: none;

  opacity: 0;

  color: white;

  font-size: clamp(14px, 2vw, 16px);

  line-height: 1.7;

  text-align: justify;

  transform: translateY(15px);

  transition: 0.5s;
}

/* Active text */
.lang-text.active {
  display: block;
  text-align: justify;
  opacity: 1;


  transform: translateY(0);
}

/* =========================================================
   🔥 16. GALERIA / LOGO
   ========================================================= */

.container {
  width: 100%;

  max-width: 1200px;

  margin: auto;
  margin-left: 2.5%;

  padding: 20px;

  display: flex;

  flex-wrap: wrap;

  justify-content: left;

  gap: 20px;

  position: relative;

  z-index: 5;
}

/* Box */
.box {
  width: 100%;
  max-width: 400px;

  transition: 0.5s;
}

/* Hover */
.box:hover {
  transform: scale(1.05);
}

/* =========================================================
   🔥 17. LIGHTBOX
   ========================================================= */

.lb-overlay {
  display: none;

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.88);

  z-index: 9999;

  align-items: center;
  justify-content: center;

  flex-direction: column;
}

.lb-overlay.active {
  display: flex;
}

/* Zdjęcie */
.lb-overlay img {
  max-width: 95vw;
  max-height: 85vh;

  object-fit: contain;

  border-radius: 8px;
}

/* Back button */
.lb-back {
  margin-top: 24px;

  padding: 10px 28px;

  background: transparent;

  border: 1.5px solid rgba(255,255,255,0.5);

  color: white;

  border-radius: 8px;

  cursor: pointer;
}

/* Hover */
.lb-back:hover {
  background: rgba(255,255,255,0.12);
}

/* =========================================================
   🔥 18. NEON BUTTON
   ========================================================= */

.neon-button {
  font-size: clamp(1rem, 3vw, 3rem);

  cursor: pointer;

  text-decoration: none;

  color: var(--clr-neon);

  border: 0.125em solid var(--clr-neon);

  text-shadow:
    0 0 0.125em rgba(255,255,255,0.3),
    0 0 0.45em currentColor;

  box-shadow:
    inset 0 0 0.5em 0 var(--clr-neon),
    0 0 15em 0 var(--clr-neon);

  position: relative;
}

/* =========================================================
   🔥 19. VIEW 3D / CHANGE COLOR
   ========================================================= */

/* View 3D */
#cameraButton {
  position: absolute;

  top: 90%;
  left: 65%;

  transform: translate(-50%, -50%);

  background: transparent;

  border: none;

  color: white;

  font-size: 25px;

  cursor: pointer;

  z-index: 9999;
}

#cameraButton:hover {
  color: var(--clr-neon);
}

/* Change color */
#color-button {
  position: absolute;

  top: 90%;
  left: 35%;

  transform: translate(-50%, -50%);

  background: transparent;

  border: none;

  color: white;

  font-size: 25px;

  cursor: pointer;

  z-index: 9999;
}

#color-button:hover {
  color: var(--clr-neon);
}


#Back {
          
          background-color: rgba(255, 255, 255, 0);
          color: rgb(255, 255, 255);
          border: none;
          width: 150px;
          height: 50px;
          text-align: center;
          font-size: 18px;
          position: fixed;
          top: 95%;
          left: 50%;
          transform: translate(-50%, -50%);
          z-index: 99;
          
}
      
        #Back:hover {
          color: #00ffd5;
          cursor: pointer;
        }




        .carousel-wrapper {
          position: relative;
          width: 100%;
          max-width: 85%;
          right: 5%;
          margin: 0 auto;
          border-radius: 16px;
          overflow: hidden;
        }
        
        .carousel-track {
          display: flex;
          gap: 14px;
          overflow-x: auto;
          scroll-behavior: smooth;
          scrollbar-width: none;
          padding: 16px;
          box-sizing: border-box;
        }
        
        .carousel-track::-webkit-scrollbar {
          display: none;
        }
        
        .carousel-item {
          flex: 0 0 auto;
          border-radius: 10px;
          overflow: hidden;
          box-shadow: 0 0 18px rgba(0, 255, 213, 0.12);
          transition: transform 0.35s ease, box-shadow 0.35s ease;
        }
        
        .carousel-item:hover {
          transform: scale(1.05);
          box-shadow: 0 0 32px rgba(0, 255, 213, 0.4);
        }
        
        .carousel-item img {
          height: 310px;
          width: auto;
          display: block;
        }
        
        /* strzałki wewnątrz */
        .carousel-btn {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          background: rgba(0, 0, 0, 0.45);
          backdrop-filter: blur(6px);
          border: 1px solid rgba(0, 255, 213, 0.25);
          color: #00ffd5;
          font-size: 18px;
          width: 38px;
          height: 38px;
          border-radius: 50%;
          cursor: pointer;
          z-index: 10;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: background 0.2s, border-color 0.2s;
        }
        
        .carousel-btn:hover {
          background: rgba(0, 255, 213, 0.18);
          border-color: rgba(0, 255, 213, 0.6);
        }
        
        .carousel-btn.prev { left: 10px; }
        .carousel-btn.next { right: 10px; }
        
        /* fade edges */
        .carousel-wrapper::before,
        .carousel-wrapper::after {
          content: "";
          position: absolute;
          top: 0;
          width: 60px;
          height: 100%;
          z-index: 5;
          pointer-events: none;
        }
        
        
        
        
        @media (max-width: 768px) {

          .carousel-wrapper {

            right: 0%;
          }
            
            

          .carousel-item img {
            height: 130px;
            
          }
          .carousel-btn {
            width: 30px;
            height: 30px;
            font-size: 14px;
          }
        }
















        













/* =========================================================
   📱 20. MOBILE RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

  /* 🔥 MOBILE MA SCROLL */
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* Ukryj ciężkie elementy */
  .scene,
  .stars,
  .axis {
    display: none;
  }

  /* Ukryj 3D buttons */
  #cameraButton
 {
    display: none;
  }

  #color-button {
    
    position: relative;
    right: auto;
   
    left: 50%;
    
  }


  

  /* =====================================================
     🔥 KOLEJNOŚĆ MOBILE
     ===================================================== */

  /* 1. TEKST */
  .text-switcher {

    /* mobile center */
    margin: 0 auto;

    padding: 20px;

    text-align: center;

    width: 90%;
  }

  .lang-buttons {

    justify-content: left;
  }

  .lang-text {

    text-align: center;

    max-width: 100%;
  
  }

  /* 2. VIDEO */
  #video-carousel,
  #video-carousel2 {
    position: relative;

    top: auto;
    right: auto;

    margin: 30px auto;

    max-width: 90%;
  }

  /* 3. LOGO / ZDJĘCIA */
  .container {
    flex-direction: column;
    
    align-items: center;

    margin-top: 40px;
  }

  .box {
    max-width: 90%;
  }

  /* 4. TEL / EMAIL */
  .TEL {
    position: relative;

    top: auto;
    right: auto;

    width: 100%;

    text-align: center;

    margin-top: 40px;
  }

  /* 5. SOCIALS */
  .socials,
  .socials2,
  .cv {
    position: relative;

    top: auto;
    right: auto;
    left: 20%;
    text-align: center;
    display: inline-block;

    font-size: 35px;

    margin: 20px;
    
  }

  /* MENU */
  .INSTAGRAM,
  .NFT,
  .GAME,
  .D {
    position: relative;

    top: auto;
    left: auto;

    margin: 15px auto;

    text-align: center;
  }

  /* BACK zawsze na dole */
  #Back {
    
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
    transform: translateX(-50%);
    
  }

  /* Teksty */
  h4 {
    text-align: center;
  }

  .lang-text {
    text-align: left;
  }
}

