
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://cdn.prod.website-files.com/651d15fb8f27f4a03c14ae88/651d15fb8f27f4a03c14afa4_5d8424ac4ffed73f4d72846e_5c06f51d6e75c933fe05c728_giphy.gif');
    background-size: 480px;
    background-attachment: fixed;
    opacity: 0.03;
    pointer-events: none;
    z-index: 2147483647; /* maksymalny możliwy z-index */
}


/*ZDJĘCIE W MODALU */
.profile-image-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 25px;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}



/*TAGI*/
.tags-line {
  display: inline;
  white-space: nowrap;
}

.tag {
  color: #4facfe;
  font-size: 13px;
  font-weight: 300;
  background: rgba(100,100,100,0.15);
  padding: 0 5px;
  border-radius: 10px;
  display: inline-block;
  margin: 0 1px;
  line-height: 1.5;
}


/*CZCIONKA*/
/* Usuń stare @font-face dla Fake Receipt i zastąp tym: */
@font-face {
    font-family: 'Fake Receipt';
    src: url('/fonts/fake-receipt.woff2') format('woff2'),
         url('/fonts/fake-receipt.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Lepszego ładowanie czcionki */
}

/* Pozostaw resztę bez zmian */
nav, nav *, .time-display {
    font-family: 'Fake Receipt', monospace;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Czcionki - usunięte stare definicje @font-face */

/* Nawigacja */
nav, nav *, .time-display {
    font-family: 'Fake Receipt', -apple-system, BlinkMacSystemFont, sans-serif;
}
body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Nawigacja */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    z-index: 100;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    align-items: center;
    margin-right: auto;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 25px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Fake Receipt', -apple-system, BlinkMacSystemFont, sans-serif;
}

nav a:hover {
    color: #4facfe;
}

.time-display {
    font-family: 'Fake Receipt', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: default;
    transition: all 0.3s ease;
    margin-left: auto;
}

.time-display:hover {
    color: #4facfe;
}



.canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero {
  position: relative;
  height: 100vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    
    /* Przyspieszenie renderowania */
    transform: translateZ(0);
    will-change: transform;
}


/*30.03 ANIMACJA*/	    
.project-item {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Opóźnienia dla kolejnych projektów */
.project-item:nth-child(1) { transition-delay: 0.1s; }
.project-item:nth-child(2) { transition-delay: 0.2s; }
.project-item:nth-child(3) { transition-delay: 0.3s; }
.project-item:nth-child(4) { transition-delay: 0.4s; }
.project-item:nth-child(5) { transition-delay: 0.5s; }
.project-item:nth-child(6) { transition-delay: 0.6s; }

/*30.03 ANIMACJA KONIEC*/


/* --- TRUE MASONRY COLLAGE (2 COLUMNS, NO CROPPING, NATURAL HEIGHTS) --- */

.projects-section {
    margin-top: 50px;
    padding: 20px;
    background: #000;
}

.collage-grid {
    column-count: 3;          
    column-gap: 20px;
}

.collage-item {
    break-inside: avoid;      /* zapobiega łamaniu elementów */
    margin-bottom: 20px;
    border-radius: 18px;
    overflow: hidden;
}

.collage-item img {
    width: 100%;
    height: auto;              /* <<< zdjęcie zachowuje oryginalne proporcje */
    display: block;
    border-radius: 18px;
}

/* Hover efekt */
.collage-item img {
    transition: transform 0.3s ease;
}
.collage-item:hover img {
    transform: scale(1.03);
}

/* MOBILNE – 1 kolumna */
@media (max-width: 768px) {
    .collage-grid {
        column-count: 1;
    }
}




/* LOADING SECTION */
.loading-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0 100px; /* Więcej odstępu na dole */
    background: #000;
    text-align: center;
}

.loading-icon svg {
    width: 50px;
    height: 50px;
    margin-bottom: 20px; /* Odstęp między ikoną a tekstem */
}

.loading-text {
    font-family: 'Fake Receipt', monospace;
    color: white;
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: 10px;
}
/* Responsywność */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-title {
        font-size: 20vw;
    }
    
    nav {
        padding: 15px 20px;
    }
    
    nav a {
        margin: 0 15px;
        font-size: 12px;
    }
    
    .quote-text {
        font-size: 1.8rem;
    }
    
    .quote-author {
        font-size: 1rem;
    }
    
    .project-overlay {
        padding: 20px;
    }
    
    .project-title {
        font-size: 18px;
    }
    
    .project-category {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .quote-text {
        font-size: 1.5rem;
    }
    
    .quote-section {
        padding: 60px 20px;
        margin: 60px 0;
    }
}

/*QUOTE highlight*/
.highlight {
  background: linear-gradient(45deg, #01064d, #4facfe);
  color: #FFFFFF;
  padding: 0 4px;
  border-radius: 12px;
}


/* Scroll Indicator - poprawiona wersja */
.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 100;
  width: 20px; /* Zwiększona szerokość kontenera */
}

.scroll-indicator.hidden {
  opacity: 0;
}

.scroll-indicator::before,
.scroll-indicator::after,
.scroll-indicator .dots::before,
.scroll-indicator .dots::after {
  content: '';
  display: block;
  margin: 0 auto 5px auto; /* Ujednolicone marginesy */
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: dot 3s infinite ease-in-out;
}

/* Górna kropka (największa) */
.scroll-indicator::before {
  width: 12px;
  height: 12px;
}

/* Strzałka */
.scroll-indicator::after {
  width: 7px;
  height: 7px;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  animation: arrow 3s infinite ease-in-out;
  animation-delay: 0.75s;
  opacity: 0.25;
  border-radius: 0;
  margin-top: 0;
}

/* Średnia kropka */
.scroll-indicator .dots::before {
  width: 8px;
  height: 8px;
  animation-delay: 0.25s;
}

/* Dolna kropka (najmniejsza) */
.scroll-indicator .dots::after {
  width: 6px;
  height: 6px;
  animation-delay: 0.5s;
  margin-bottom: 0; /* Usunięcie marginesu na dole */
}

/* Animacje pozostają bez zmian */
@keyframes dot {
  0% { transform: scale(0.75); opacity: 0.25; }
  25% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.75); opacity: 0.25; }
}

@keyframes arrow {
  0% { transform: scale(0.75) rotate(45deg); opacity: 0.25; }
  25% { transform: scale(1) rotate(45deg); opacity: 1; }
  100% { transform: scale(0.75) rotate(45deg); opacity: 0.25; }
}


/* Back to Top Button */
.back-to-top {
  display: block; /* Dodaj tę linię */
  position: fixed;
  left: 30px;
  bottom: 30px;
  width: 120px;
  height: 40px;
  overflow: hidden;
  border: none;
  color: #fff;
  background: none;
  padding-bottom: 2em;
  cursor: pointer;
  z-index: 100;
  font-family: 'Fake Receipt', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.visible {
  opacity: 0.7;
  visibility: visible;
}

.back-to-top:hover {
  opacity: 1;
}

.back-to-top > div,
.back-to-top > svg {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.back-to-top:before {
  content: "";
  position: absolute;
  height: 1px;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: bottom right;
  background: currentColor;
  transition: transform 0.25s ease-out;
}

.back-to-top:hover:before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.back-to-top .clone > *,
.back-to-top .text > * {
  opacity: 1;
  transition: 0.2s;
  margin-left: 4px;
}

.back-to-top .clone > * {
  transform: translateY(40px);
}

.back-to-top:hover .clone > * {
  opacity: 1;
  transform: translateY(0px);
  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

.back-to-top:hover .text > * {
  opacity: 1;
  transform: translateY(-40px);
  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}

.back-to-top:hover .clone > :nth-child(1) {
  transition-delay: 0.1s;
}

.back-to-top:hover .clone > :nth-child(2) {
  transition-delay: 0.15s;
}

.back-to-top:hover .clone > :nth-child(3) {
  transition-delay: 0.2s;
}

.back-to-top svg {
  width: 16px;
  right: 0;
  transition: 0.2s ease-out;
}

.back-to-top:hover svg {
  transform: translateY(-50%) rotate(0deg);
}



/* FIXED CURSOR STYLES */
.cursor, .cursor-f {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(0,0,0);
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 0.15s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cursor {
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: white;
    mix-blend-mode: difference;
}

.cursor-f {
    width: var(--size);
    height: var(--size);
    background-image: url("data:image/svg+xml,%3Csvg width='47' height='47' viewBox='0 0 47 47' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M42.4202 42.4202C38.8403 46 33.3594 46 23.5 46C13.6406 46 8.15966 46 4.57983 42.4202C1 38.8403 1 33.3594 1 23.5C1 13.6406 1 8.15966 4.57983 4.57983C8.15966 1 13.6406 1 23.5 1C33.3594 1 38.8403 1 42.4202 4.57983C46 8.15966 46 13.6406 46 23.5C46 33.3594 46 38.8403 42.4202 42.4202Z' stroke='white'/%3E%3C/svg%3E%0A");
    background-size: cover;
    mix-blend-mode: difference;
    opacity: 0.5;
}

/* Disable default cursor */
html, body, * {
    cursor: none !important;
}

/* Fix for hero section */
.hero {
    position: relative;
    height: 100vh;
    /* Remove overflow: hidden if present */
}





