





/*burger *//*burger *//*burger *//*burger *//*burger */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Animacja burgera na X */
.burger.open div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.open div:nth-child(2) {
  opacity: 0;
}

.burger.open div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/*burger *//*burger *//*burger *//*burger *//*burger */



/* Reset i podstawowe style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background: linear-gradient(135deg, #0a0a1a, #12122e);
  color: white;
  overflow-x: hidden;
}

/* Stylizacja paska nawigacyjnego */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(10, 10, 30, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(100, 65, 165, 0.3);
}

.navbar.scrolled {
  height: 70px;
  background: rgba(5, 5, 15, 0.98);
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #8a5cf5;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 75px;
  transition: all 0.3s ease;
}



.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  
}

.nav-link:hover {
  color: #8a5cf5;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #8a5cf5;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Sekcje strony */
section {
  min-height: 100vh;
  padding: 120px 10% 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.opinie {

   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                    url("../../assets/images/opinieklientow.jpg");
  background-size: cover;         /* Obraz rozciąga się na całą sekcję */
  background-position: center;    /* Obraz jest wyśrodkowany */
  background-repeat: no-repeat;   /* Obraz się nie powtarza */
  height: 400px;                  /* Ustaw wysokość sekcji */
  color: white;                   /* Kolor tekstu (dla kontrastu) */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;










}
/* Sekcja hero */
#home {
  background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)),  url("../../assets/images/tlo.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.hero-content {
 /* max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  background: rgba(10, 10, 30, 0.7);
  backdrop-filter: blur(5px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(138, 92, 245, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); */
}

.hero-content.animated {
  opacity: 1;
  transform: translateY(0);
}

h1 {
  
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #2b0781, #0b51a5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(96, 39, 230, 0.3);
}

p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: bold;
  
}
p1 {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(103, 168, 253, 0.85);
}
p5 {
font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(0, 0, 0, 0.85);
}
span {

font-family: Comic sanx MC;





}
.btn {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(45deg, #8a5cf5, #64a6f5);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 5px 20px rgba(138, 92, 245, 0.4);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(138, 92, 245, 0.6);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Sekcja o mnie */
#about {
  background: linear-gradient(135deg, #1a1a3a, #2a2a5a);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-img {
  flex: 0.4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.2s;
  border: 2px solid rgba(138, 92, 245, 0.3);
  position: relative;
}

.about-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(138, 92, 245, 0.1),
    rgba(100, 166, 245, 0.1)
  );
  z-index: 1;
}

.about-img.animated {
  opacity: 1;
  transform: translateX(0);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease 0.4s;
}

.about-text.animated {
  opacity: 1;
  transform: translateX(0);
}

h2 {
  font-weight: 500;
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: white;
  position: relative;
  display: inline-block;
  
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #8a5cf5, #64a6f5);
  border-radius: 3px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  display: inline-block;
}

/* Sekcja usług */
#services {
  background: linear-gradient(135deg, #2a2a5a, #3a3a7a);
  text-align: center;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 20px;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(50px);
  border: 1px solid rgba(138, 92, 245, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 2;
  height: 450px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(138, 92, 245, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.service-card:hover::before {
  transform: rotate(45deg) translate(20px, 20px);
}

.service-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1) {
  transition-delay: 0.2s;
}

.service-card:nth-child(2) {
  transition-delay: 0.4s;
}

.service-card:nth-child(3) {
  transition-delay: 0.6s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(138, 92, 245, 0.4);
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #8a5cf5;
  text-shadow: 0 2px 10px rgba(138, 92, 245, 0.3);
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: white;
}

.service-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* Rozszerzona karta usługi */
.service-card.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1001;
  background: rgba(20, 20, 50, 0.95);
  border: 2px solid #8a5cf5;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.8);
  animation: expandCard 0.5s ease forwards;
  cursor: default;
}

.service-card.expanded::before {
  display: none;
}

.service-card.expanded .service-content {
  opacity: 1;
  max-height: 1000px;
  transition: all 0.5s ease 0.3s;
}

.service-card.expanded .service-points {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease 0.5s;
}

.service-card .service-content {
  transition: all 0.3s ease;
  max-height: 500px;
  overflow: hidden;
}

.service-points {
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.service-points ul {
  text-align: left;
  padding-left: 20px;
}

.service-points li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.service-points li::before {
  content: "•";
  color: #8a5cf5;
  font-size: 1.5rem;
  position: absolute;
  left: -20px;
  top: -3px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.close-btn:hover {
  color: #8a5cf5;
  transform: rotate(90deg);
}

@keyframes expandCard {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Sekcja dla kogo */
#for-whom {
  background: linear-gradient(135deg, #3a3a7a, #4a4a9a);
}

.for-whom-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.for-whom-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(50px);
  border: 1px solid rgba(138, 92, 245, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.for-whom-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.for-whom-card:nth-child(1) {
  transition-delay: 0.2s;
}

.for-whom-card:nth-child(2) {
  transition-delay: 0.4s;
}

.for-whom-card:nth-child(3) {
  transition-delay: 0.6s;
}

.for-whom-card:nth-child(4) {
  transition-delay: 0.8s;
}

.for-whom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(138, 92, 245, 0.4);
}

.for-whom-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #8a5cf5;
}

/* Sekcja fakty i mity */
#facts {
  background: linear-gradient(135deg, #4a4a9a, #5a5aba);
}

.facts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.fact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(50px);
  border: 1px solid rgba(138, 92, 245, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fact-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.fact-card:nth-child(1) {
  transition-delay: 0.2s;
}

.fact-card:nth-child(2) {
  transition-delay: 0.4s;
}

.fact-card:nth-child(3) {
  transition-delay: 0.6s;
}

.fact-card:nth-child(4) {
  transition-delay: 0.8s;
}

.fact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(138, 92, 245, 0.4);
}

.fact-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #bcace3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fact-title .icon {
  font-size: 1.8rem;
}

/* Sekcja kontakt */
#contact {
  background: linear-gradient(135deg, #5a5aba, #6a6ada);
}

.contact-container {
  display: flex;
  gap: 50px;
}

.contact-form {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  border: 1px solid rgba(138, 92, 245, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form.animated {
  opacity: 1;
  transform: translateY(0);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: white;
}

input,
textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #8a5cf5;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(138, 92, 245, 0.3);
}

.contact-info {
    -webkit-tap-highlight-color: transparent;
  flex: 1;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease 0.3s;
}

.contact-info.animated {
  opacity: 1;
  transform: translateY(0);
}

.info-item {
    -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(138, 92, 245, 0.2);
  flex: 1; 
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(138, 92, 245, 0.4);
}

.info-icon {
  font-size: 1.8rem;
  margin-right: 15px;
  color: #8a5cf5;
  min-width: 40px;
  text-align: center;
}

.info-text {
  flex: 1;
}

.info-text h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: white;
}

/* Animowane elementy tła */
.bg-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(138, 92, 245, 0.05);
  z-index: -1;
}

.spiral {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(138, 92, 245, 0.1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
  z-index: -1;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Stopka */
footer {
  text-align: center;
  padding: 30px;
  background: #0a0a1a;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(138, 92, 245, 0.2);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #8a5cf5;
}

/* Animacje przewijania */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }
}

.pulse {
  animation: pulse 4s ease-in-out infinite;
}

/* Overlay dla rozszerzonej karty */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Responsywność */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }

  .contact-container {
    flex-direction: column;
  }

  .about-img,
  .about-text {
    width: 100%;
  }

  .nav-links {
    gap: 15px;
    
  }
}

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

  h2 {
    font-size: 2rem;
  }

  .navbar {
    padding: 0 20px;
  }

  .logo {
    font-size: 20px;
  }

  .logo img {
    height: 55px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .service-card.expanded {
    width: 95%;
    max-height: 90vh;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    left: -100%;
    flex-direction: column;
    width: 100%;
    background-color: #0b0d23bf;
    transition: left 0.3s ease;
    padding: 1rem;
  }

  .nav-links.active {
    left: 0;
  }

  .burger {
    display: flex;
  }
  
}
