/*
Theme Name: nfix
Theme URI: https://nfix.pl/
Author: Tomek Tomasik
Author URI: https://tomektomasik.pl/
Description: Custom theme by Tomek
Version: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nfix
*/


body, html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  scroll-behavior: smooth;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  padding: 10px 20px;
  z-index: 1000;
}

/* Podstawowy reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 200px;
  background-color: #22222200;
  position: relative;
  z-index: 10;
}

/* Logo */
.navbar .logo img {
  height: 40px;
  width: auto;
}



/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 11;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 20px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #222;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.active {
    max-height: 300px;
    padding: 10px 0;
  }

  .burger {
    display: flex;
  }
}

/* Burger animacja (X) */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.clogo
{
  margin-top: 200px;
}

.page-section3 {
  padding: 120px 20px;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 0px;
  background-color: #fff;
}

.page-section1 {
  padding: auto 0px;
  min-height: 100vh;
  width: full;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 80px;
  background-image: url('../assets/images/AI.png');
  background-size: cover;
  font-size: 24px;
  color: #000000;
}

.page-section2 {
  padding: 120px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 0px;
  background-color: #fff;
}


.page-section:nth-child(even) {
  background: #ffffff;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.7);
  transition: background-color 0.3s ease-in-out;
}


#site-header.scrolled {
  background: rgba(0, 0, 0, 0.85);
}

.logo a {
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  margin-top: 25; 

}

.main-nav {
  float: right;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: #ddd;
}

.hero {
  height: 100vh;
  background: linear-gradient(to bottom right, #1c1c1c, #333);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.hero h1 {
  font-size: 3rem;
}

.centered-text {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
}

.fade-in {
  opacity: 0;
  transform: translateX(-60px); /* z lewej */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.in-view {
  opacity: 1;
  transform: translateX(0);
}


.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 10px;
  z-index: 1100;
}

.burger span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
  border-radius: 2px;
  transition: 0.3s;
}

/* Efekt X */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile styles */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .main-nav {
    float: none;
  }
}


/* footer */

#site-footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
  font-size: 16px;
}

#site-footer a {
  color: #00c3ff;
  text-decoration: none;
}

#site-footer a:hover {
  text-decoration: underline;
}

.contact-info {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-copy {
  font-size: 14px;
  color: #ccc;
  margin: 0;
}

.footer-contact p {
  margin: 4px 0;
}

.footer-contact strong {
  display: inline-block;
  width: 60px;
  color: #ddd;
}




/* Tytuły */
.section-title {
  font-size: 36px;
  margin-bottom: 10px;
  text-align: center;
  color: #222;
}

.section-subtitle {
  font-size: 18px;
  max-width: 600px;
  text-align: center;
  margin-bottom: 60px;
  color: #666;
}

/* Siatka usług */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1000px;
  padding: 0 20px;
}

.service-box {
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
}

.service-box p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Animacja fade-in */
.fade-in {
  animation: fadeInUp 0.6s forwards ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Kontener o nas */
.about-container {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards ease-out;
}

/* Teksty */
.about-text {
  font-size: 17px;
  color: #444;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards ease-out;
}

.about-text strong {
  color: #000;
}

/* Tytuł i podtytuł – możesz użyć z sekcji usług (jeśli już masz je w CSS, to nie trzeba powtarzać) */
.section-title {
  font-size: 36px;
  margin-bottom: 10px;
  text-align: center;
  color: #222;
}

.section-subtitle {
  font-size: 18px;
  max-width: 600px;
  text-align: center;
  margin-bottom: 60px;
  color: #666;
}

/* Animacja fadeInUp (jeśli już masz, to pomiń) */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* kontakt*/

.contact-section {
  text-align: center;
  padding: 60px 20px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  color: #333;
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards ease-out;
}

.contact-icon {
  font-size: 26px;
  color: #007aff;
}

.contact-text {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-text:hover {
  color: #000;
}





  /*cookie banner*/
  #cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    padding: 10px;
    text-align: center;
    z-index: 9999;
  }
  
  #cookie-consent-banner a {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    z-index: 9999;
  }
