
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;600&family=Space+Grotesk:wght@500;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #f2f2f2;
    line-height: 1.6;
}

header {
   height: 100vh;
  position: relative;
  overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: #ccc;
}

header a {
    display: inline-block;
    padding: 12px 24px;
    background-color: #c8b88a;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

header a:hover {
    background-color: #b3a16c;
}

section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.skills, .stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.skills div, .stats div {
    background-color: #1a1a1a;
    padding: 20px;
    flex: 1 1 200px;
    border-radius: 6px;
}

.italic {
    font-style: italic;
    margin-top: 10px;
}

.placeholder {
    margin-top: 20px;
    color: #888;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #111;
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

header {
  position: relative;
  overflow: hidden;
}

[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

.project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.project-item {
  flex: 1 1 45%;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.project-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}




.project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.project-item {
  flex: 1 1 45%;
  
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

@media (max-width: 768px) {
  header {
    height: auto;
    padding: 0;
  }

  .bg-video {
    width: 100vw;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    position: relative;
    z-index: 0;
  }
}

.project-scroll {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.project-scroll::-webkit-scrollbar {
  height: 8px;
}

.project-scroll::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 4px;
}

.project-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background-color: transparent;
  text-align: center;
}


.portfolio-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  text-align: center;
  margin-bottom: 30px;
  color: #f2f2f2;
}


.video-wrapper {
  display: flex;
  justify-content: center;
  z-index: 1;
  position: relative;
}

.main-portfolio-video {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  z-index: 2;
  position: relative;
}

.hero-image-section {
  width: 100vw;
  margin: 0;
  padding: 0;
}

.hero-image {
  width: 100vw;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}
.vertical-videos-section {
  padding: 40px 20px;
}

.vertical-videos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
}

.vertical-video {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 10px;
  background-color: #111;
}
.horizontal-slider-section {
  padding: 60px 20px;
}

.horizontal-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.horizontal-slider::-webkit-scrollbar {
  height: 6px;
}

.horizontal-slider::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 3px;
}

.horizontal-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
#iziink {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.iziink-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.iziink-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.stat-box {
  background-color: #1a1a1a;
  padding: 20px 30px;
  border-radius: 10px;
  flex: 1 1 250px;
}

.stat-box h3 {
  font-size: 2.2rem;
  color: #c8b88a;
}

.stat-box p {
  color: #ccc;
  margin-top: 10px;
}

.iziink-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}

.iziink-img {
  max-width: 300px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #333;
}

.iziink-videos {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.iziink-description {
  font-size: 1rem;
  color: #aaa;
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.skill-card {
  background-color: #1a1a1a;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border: 1px solid #333;
}

.skill-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #f2f2f2;
}

.skill-card p {
  font-size: 0.95rem;
  color: #ccc;
}

/* Animacja przy najechaniu */
.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(200, 184, 138, 0.15);
  background-color: #222;
}
.stats-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.stat-card {
  background-color: #1a1a1a;
  padding: 30px 20px;
  border-radius: 12px;
  flex: 1 1 300px;
  text-align: center;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(200, 184, 138, 0.3);
}

.stat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #c8b88a;
}

.stat-card canvas {
  width: 100%;
  height: 150px;
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.effect-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.effect-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(200, 184, 138, 0.3);
}

.effect-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #f2f2f2;
}

.stats-canvas {
  width: 100% !important;
  height: 100px !important;
}
canvas {
  font-family: 'Inter', sans-serif !important;
  color: #f2f2f2 !important;
  font-size: 14px !important;
}
canvas {
  font-family: 'Space Grotesk', sans-serif !important;
  color: #f2f2f2 !important;
  font-size: 14px !important;
}
.effect-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #f2f2f2;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}
.effect-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #f2f2f2;
  margin-bottom: 12px;
}
#tools {
  text-align: center;
  padding: 80px 0;
}

.tools-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
}

.tool img {
  height: 150px;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tool img:hover {
  transform: scale(1.15);
}

.tool p {
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #ddd;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.tools-section {
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: white;
}

.tools-slider {
  display: flex;
  overflow-x: auto;
  gap: 40px;
  padding: 10px 0;
  scrollbar-width: none;
}

.tools-slider::-webkit-scrollbar {
  display: none;
}

.tool-icon {
  min-width: 100px;
  flex-shrink: 0;
  text-align: center;
  color: white;
}

.tool-icon img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}

.tools-slider .tool-item p,
.tools-grid .tool-card p {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  color: #ddd;
  font-size: 1rem;
}
.tool p,
.tool-icon p                         /* <– slider „Na czym pracuję”  */
{
    font-family: 'Inter', sans-serif;/* jedna czcionka wszędzie      */
    font-weight: 500;
    font-size: 0.95rem;              /* zmniejsz / zwiększ wg uznania*/
    color: #f2f2f2;
    letter-spacing: .2px;
    margin-top: 10px;
}

/* ───── 2. łatwe skalowanie obrazków ───── */
/*  Wystarczy zmienić tylko --tool-size aby powiększyć lub pomniejszyć
    WSZYSTKIE ikonki w obu sekcjach */
:root{
    --tool-size: 160px;              /* <– eksperymentuj 140-200px   */
}

/* sekcja „Narzędzia, z których korzystam” */
.tool img{
    width:  var(--tool-size);
    height: var(--tool-size);
    object-fit: contain;
    transition: transform .3s ease;
}
.tool img:hover{ transform:scale(1.12); }

/* slider „Na czym pracuję” */
.tool-icon img{
    width:  var(--tool-size);
    height: var(--tool-size);
    object-fit: contain;
}

/* ───── 3. korekta odstępów w sliderze (opcjonalnie) ───── */
.tools-slider{
    gap: 32px;          /* zmniejsz / zwiększ odstęp między ikonami */
    padding: 15px 0;
}
*/

#socials {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.socials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
}

.social-item img {
  width: 250px;          /* wielkość awataru – zmień według uznania */
  height: 250px;
  object-fit: cover;
  border-radius: 50%;    /* okrągły */
  border: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* animacja po najechaniu */
.social-item img:hover {
  transform: scale(1.10) rotate(-2deg);
  box-shadow: none;
}

/* responsywność (na telefonach awatar 140 px) */
@media (max-width: 600px) {
  .social-item img { width: 140px; height: 140px; }
}
#contact {
  text-align: center;
  padding: 100px 20px 80px;
}

#contact h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ccc;
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  background: #222;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 0 transparent;
  transition: all 0.3s ease;
}

.contact-mail img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* biała ikona */
}

.contact-mail:hover {
  background: #333;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.contact-cv {
  display: block;
  margin-top: 20px;
  font-size: 16px;
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-cv:hover {
  color: #fff;
  text-decoration: underline;
}




.tools-slider {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 20px;
  padding-bottom: 10px;
  scroll-behavior: smooth;

  /* Wymuszenie szerokości */
  max-width: 100%;
}

/* Styl paska przewijania (dla Chrome) */
.tools-slider::-webkit-scrollbar {
  height: 8px;
}

.tools-slider::-webkit-scrollbar-track {
  background: transparent;
}

.tools-slider::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 4px;
}

/* Styl paska przewijania (dla Firefox) */
.tools-slider {
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
}

/* Podpowiedź tekstowa */
.tools-slider::before {
  content: " Przeciągnij w bok →";
  display: block;
  font-size: 14px;
  color: #aaa;
  text-align: center;
  margin-top: 10px;
  opacity: 0.8;
}

/* Ukrycie tekstu na desktopach */
@media (min-width: 768px) {
  .tools-slider::before {
    display: none;
  }
}