/* Import czcionki Orbitron */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

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

/* DEFINICJA ZMIENNYCH */
:root {
  --turquoise: #40e0d0;
  --violet: #8a2be2;
  --light-blue: #add8e6;
  --light-gray: #d3d3d3;
}






/* NAWIGACJA - DESKTOP */

/* Styl logo w nawigacji */
.nav-logo {
  margin-left: auto;
  padding-right: 15px;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 35px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}



.workshop-logo {
  margin-top: 20px;
  text-align: center;
}

.workshop-logo img {
  width: 150%; /* 2,5x większe niż oryginalnie (jeśli wcześniej było np. 100px) */
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 10px rgba(64, 224, 208, 0.4));
  transition: transform 0.3s ease;
}

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




















/* Header – tło, cienie i pozycjonowanie */
header {
  background: linear-gradient(45deg, var(--turquoise) 0%, var(--violet) 50%, var(--light-blue) 100%);
  padding: 2px 0;
  box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
}

/* Kontener nawigacji */
nav {
  padding: 0.05rem 0.2rem;
  display: flex;
  justify-content: center;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: hidden;
  height: auto;
  min-height: 28px;
}

/* Desktopowe menu */
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
  max-width: 100%;
  font-size: clamp(0.55rem, 0.8vw, 0.9rem);
  white-space: nowrap;
  overflow-x: hidden;
  overflow-y: hidden;
}

/* Linki w menu */
.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 1px 3px;
  transition: transform 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  font-size: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-menu li a:hover {
  transform: scale(1.05);
  color: var(--light-gray);
}


/* MENU MOBILNE */
.nav-menu.mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 80px;
  left: 20px;
  width: 85%;
  max-width: 260px;
  background: linear-gradient(135deg, var(--turquoise), var(--violet));
  padding: 1rem;
  gap: 1rem;
  z-index: 1001;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  max-height: 80vh;
  overflow-y: auto;
  font-size: clamp(0.7rem, 3vw, 1rem);
}

.nav-menu.mobile.active {
  display: flex;
}

.nav-menu.mobile li {
  text-align: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu.mobile li:last-child {
  border-bottom: none;
}

.nav-menu.mobile li a {
  display: block;
  padding: 0.5rem;
  font-size: inherit;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-menu.mobile li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* HAMBURGER / PŁYWAJĄCY PRZYCISK MENU (dla urządzeń mobilnych) */
@media (max-width: 768px) {
  .floating-menu-button {
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, var(--turquoise), var(--violet));
    color: #fff;
    padding: 8px 14px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
    transition: all 0.3s ease;
    z-index: 2000;
  }

  .floating-menu-button:hover {
    background: linear-gradient(45deg, var(--violet), var(--turquoise));
    box-shadow: 0 0 25px rgba(64, 224, 208, 0.9);
    transform: scale(1.2);
  }
}




/* ZMIENNE KOLORÓW I STYLÓW */
:root {
  /* Kolory z wizytówki */
  --dark-bg: #1a1a2e;
  --turquoise: #40E0D0;
  --violet: #9932CC;
  --light-blue: #4169E1;
  --gradient-start: #1a1a2e;
  --gradient-mid: #2a2a4e;
  --gradient-end: #3a3a6e;
  --light-gray: #f8f8f8;
  --shadow-color: rgba(64, 224, 208, 0.2);
  --overlay-color: rgba(26, 26, 46, 0.8);
}

/* BASIC BODY STYLES */
body {
  font-family: 'Orbitron', sans-serif;
  background-color: var(--dark-bg);
  background-image: linear-gradient(135deg, 
    var(--gradient-start) 0%,
    var(--gradient-mid) 50%,
    var(--gradient-end) 100%
  );
  background-attachment: fixed;
  position: relative;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Dodaj geometryczny wzór tła */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 10px,
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.03) 20px
  );
  z-index: -1;
}

/* NAWIGACJA */
header {
  background: linear-gradient(45deg, 
    var(--turquoise) 0%,
    var(--violet) 50%,
    var(--light-blue) 100%
  );
  padding: 15px 0;
  box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}



/* HERO SECTION - TŁO WIDEO */
.hero {
  position: relative;
  min-height: 100vh; /* zamiast height */
  overflow: visible; /* pozwól się rozciągać */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Kontener tła z wideo */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Overlay (niewielka półprzezroczystość, by tekst był czytelny) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-color);
  z-index: 1;
}

/* Treść w sekcji hero */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  color: #fff;
  animation: fadeIn 1s ease-out;
}

.hero-content h1 {
  font-size: clamp(1.1rem, 2.8vw + 1vh, 2.45rem); /* było 1.6 - 3.5rem */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: clamp(0.7rem, 1.4vw + 0.8vh, 1.25rem); /* było 1 - 1.5rem */
}
}
.fade-video {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.fade-video.fade-out {
  opacity: 0;
}



/* OGÓLNE SEKCJE */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 40px auto;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(64, 224, 208, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(64, 224, 208, 0.15);
  text-align: center;
  animation: fadeIn 1s ease-out;
  color: white;
}

.section h2 {
  margin-bottom: 20px;
  color: #222;
  font-size: 2.5rem;
  position: relative;
}

/* Dodajemy subtelny efekt podkreślenia dla nagłówków sekcji */
.section h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--turquoise);
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}





/* Sekcja Oferta */
.oferta-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.oferta-item {
  flex: 1 1 300px;
  padding: 25px;
  background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
  color: var(--light-gray);
  border-radius: 12px;
  border: 1px solid var(--turquoise);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.oferta-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--overlay-color) 100%);
  z-index: -1;
}

.oferta-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(153, 50, 204, 0.3);
  border-color: var(--violet);
}







/* Promocje */
.promo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.promo-item {
  background: var(--light-gray);
  padding: 20px;
  width: calc(50% - 20px);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.promo-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* Projekty */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.project-item {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid var(--turquoise);
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(64, 224, 208, 0.3);
}

/* Opinie Klientów */
.testimonials-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial {
  background: rgba(26, 26, 46, 0.9);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--turquoise);
  color: var(--turquoise);
  font-style: italic;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: scale(1.02);
}

/* Blog / Aktualności */
.blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.blog-post {
  background: rgba(26, 26, 46, 0.9);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--turquoise);
  color: var(--turquoise);
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}



/* Sekcja Wideo */
.video-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.video-item {
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  flex: 1 1 45%;
  max-width: 45%;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.video-item:hover {
  transform: translateY(-5px);
}

.video-item video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-modal.hidden {
  display: none;
}

.video-modal-content {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  overflow: hidden;
}

#videoPlayerContainer video,
#videoPlayerContainer iframe {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}

#closeModal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 10000; /* na pewno nad wszystkim */
  border: 2px dashed grey; /* tymczasowe, do testów */
}













/* Galeria */


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 200px; /* zamiast 100px */
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

/* MODAL - pełnoekranowy, nad stroną */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gallery-lightbox.hidden {
  display: none;
}

.gallery-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10000;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 3rem;
  border: none;
  cursor: pointer;
  padding: 0 15px;
  z-index: 10000;
  border-radius: 6px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}







/* Kontakt */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.contact-form, .contact-details {
  flex: 1 1 400px;
  background: rgba(26, 26, 46, 0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(64, 224, 208, 0.15);
  border: 1px solid var(--turquoise);
  color: var(--turquoise);
}

.contact-form form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--turquoise);
}

.contact-form form input,
.contact-form form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--turquoise);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(5px);
}

.contact-form form button {
  background: linear-gradient(45deg,
    var(--turquoise) 0%,
    var(--violet) 100%
  );
  border: none;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
  cursor: pointer;
  font-size: 1rem;
}

.contact-form form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 224, 208, 0.5);
}

/* MODALE - Wideo oraz Inspiracje */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  margin: 20px auto;
  padding: 20px;
  width: 95%;
  max-width: 800px;
  height: 90vh;
  max-height: calc(100vh - 40px);
  background: #000;
  border-radius: 8px;
}

.modal-content iframe,
.modal-content img {
  width: 100%;
  display: block;
}

.modal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

/* STOPKA */
footer {
  background: linear-gradient(45deg,
    var(--gradient-start) 0%,
    var(--gradient-end) 100%
  );
  border-top: 1px solid var(--turquoise);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

/* ANIMACJE */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {

  /* Inne style responsywne */
  .promo-item, .contact-form, .contact-details { width: 100%; }
  .video-item { flex: 1 1 100%; max-width: 100%; }
  .oferta-container { flex-direction: column; align-items: center; }
}

/* Nowe reguły dla Forced Colors Mode (zamiennik -ms-high-contrast) */
@media (forced-colors: active) {
   /* Przykładowe style – dostosuj według swoich potrzeb */
   body {
       background-color: Window;
       color: WindowText;
   }
   a {
       color: Link;
   }
   /* Możesz dodać tutaj kolejne reguły, które będą aktywne w trybie wysokiego kontrastu */
}

/* Stylizacja iskier */
.spark {
  position: absolute;
  /* Rozmiar ustalany w JS */
  background-color: #FFCC00;
  border-radius: 50%;
  opacity: 1;
  z-index: 10000;
  animation: sparkFade 1s linear forwards;
}

@keyframes sparkFade {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    transform: translateY(-30px) scale(1.2) rotate(15deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100px) scale(0.5) rotate(30deg);
    opacity: 0;
    filter: brightness(0);
  }
}

.map-container {
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Stylizacja dla efektu spawacza
.weld-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 20000;
}

.weld-overlay.active {
  opacity: 1;
}

/* Stylizacja przycisku Efekt Spawacza */
*/
#weldButton {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--turquoise);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 1000;
}

/* Stylizacja sekcji FAQ i Poradnik */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-item:hover {
  background: rgba(64, 224, 208, 0.1);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  position: relative;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

/* Klasa aktywnego elementu FAQ */
.faq-item.active .faq-answer {
  opacity: 1;
  max-height: 300px; /* ustaw wystarczającą wartość, aby zmieścił się tekst */
  margin-top: 10px;
}

/* Stylizacja sekcji Wirtualna Wycieczka */
.virtual-tour-container {
  margin: 20px auto;
  max-width: 1200px;
}
.virtual-tour-container iframe {
  border: none;
  border-radius: 8px;
}

/* Stylizacja sekcji Rezerwacja Online */
.reservation-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  padding: 20px;
}
#reservationForm label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
#reservationForm input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#reservationForm button {
  background: var(--turquoise);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}
#reservationForm button:hover {
  background: var(--violet);
}

/* Stylizacja Live Chat */
#liveChatBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background: rgba(26, 26, 46, 0.95);
  color: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 20px var(--turquoise);
  z-index: 30000;
  border: 2px solid var(--turquoise);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  animation: pulseChat 2s infinite;
  transition: all 0.3s ease;
}

@keyframes pulseChat {
  0% {
    transform: scale(1);
    box-shadow: 0 0 20px var(--turquoise);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--turquoise);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px var(--turquoise);
  }
}

#liveChatBtn:hover {
  background: var(--turquoise);
  color: var(--dark-bg);
  transform: translateY(-5px);
  box-shadow: 0 0 30px var(--violet);
}

#liveChatBtn::before {
  content: '💬';
  margin-right: 8px;
  font-size: 1.2em;
}

#liveChatModal {
  display: none;
  position: fixed;
  z-index: 30001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}
.modal-content.chat-content {
  background: rgba(26, 26, 46, 0.95);
  border: 1px solid var(--turquoise);
  margin: 20px auto;
  padding: 20px;
  width: 95%;
  max-width: 800px;
  height: 90vh;
  max-height: calc(100vh - 40px);
  border-radius: 8px;
  position: relative;
  text-align: left;
  color: var(--turquoise);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
#chatMessages {
  height: calc(90vh - 150px);
  overflow-y: auto;
  border: 1px solid var(--turquoise);
  padding: 10px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--turquoise) rgba(26, 26, 46, 0.5);
}
#chatInput {
  width: calc(100% - 20px);
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid var(--turquoise);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Stylizacja nagłówków */
h1, h2, h3 {
  color: var(--turquoise);
  text-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
}

/* Stylizacja przycisków */
button {
  background: linear-gradient(45deg,
    var(--turquoise) 0%,
    var(--violet) 100%
  );
  border: none;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 224, 208, 0.5);
}

/* Stylizacja formularza */
input, textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--turquoise);
  color: white;
  backdrop-filter: blur(5px);
}

/* Stylizacja AI Chat */
.ai-chat-section {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid var(--turquoise);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}

.ai-chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
}

.ai-chat-input {
  display: flex;
  gap: 10px;
}

.ai-chat-input input {
  flex: 1;
  padding: 12px;
  border-radius: 25px;
  border: 1px solid var(--turquoise);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.ai-message {
  background: rgba(64, 224, 208, 0.1);
  padding: 15px 20px;
  border-radius: 15px;
  margin-bottom: 10px;
  border-left: 3px solid var(--turquoise);
}

.user-message {
  background: rgba(153, 50, 204, 0.1);
  padding: 10px 15px;
  border-radius: 15px;
  margin-bottom: 10px;
  border-right: 3px solid var(--violet);
  text-align: right;
}

/* Stylizacja elementów tekstowych */
.section p, 
.contact-details p,
.faq-answer p {
  color: var(--turquoise);
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* Poprawka dla sekcji kontaktowej */
.contact-details {
  background: rgba(26, 26, 46, 0.9);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--turquoise);
}

/* Poprawka dla FAQ */
.faq-item:hover {
  background: rgba(64, 224, 208, 0.1);
}

/* Poprawka dla testimoniali */
.testimonial {
  background: rgba(26, 26, 46, 0.9);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--turquoise);
  color: var(--turquoise);
  font-style: italic;
  transition: transform 0.3s ease;
}

/* Poprawka dla blog postów */
.blog-post {
  background: rgba(26, 26, 46, 0.9);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--turquoise);
  color: var(--turquoise);
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

@keyframes highlightSection {
  0% {
    box-shadow: 0 8px 32px rgba(64, 224, 208, 0.15);
  }
  50% {
    box-shadow: 0 8px 32px rgba(64, 224, 208, 0.5);
  }
  100% {
    box-shadow: 0 8px 32px rgba(64, 224, 208, 0.15);
  }
}

.chat-content.maximized {
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: 100vh;
  border-radius: 0;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--turquoise);
}

.chat-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

#toggleMaximize {
  background: none;
  border: none;
  color: var(--turquoise);
  cursor: pointer;
  padding: 8px;
  margin-right: 10px;
  border-radius: 4px;
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#toggleMaximize:hover {
  background: rgba(64, 224, 208, 0.1);
  transform: scale(1.05);
}

.maximize-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  line-height: 0;
}

.maximize-icon svg {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.maximized .maximize-icon svg {
  transform: scale(0.8);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid var(--turquoise);
  margin-bottom: 15px;
}

.chat-controls {
  display: flex;
  align-items: center;
}

/* Dodatkowe ulepszenia */
#chatMessages {
  scrollbar-width: thin;
  scrollbar-color: var(--turquoise) rgba(26, 26, 46, 0.5);
}

#chatMessages::-webkit-scrollbar {
  width: 8px;
}

#chatMessages::-webkit-scrollbar-track {
  background: rgba(26, 26, 46, 0.5);
  border-radius: 4px;
}

#chatMessages::-webkit-scrollbar-thumb {
  background-color: var(--turquoise);
  border-radius: 4px;
}

.ai-message, .user-message {
  position: relative;
  padding: 15px;
  margin: 10px 0;
  border-radius: 8px;
  max-width: 80%;
  animation: messageAppear 0.3s ease;
}

@keyframes messageAppear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-message {
  background: rgba(64, 224, 208, 0.1);
  margin-right: auto;
}

.user-message {
  background: rgba(153, 50, 204, 0.1);
  margin-left: auto;
}

/* Stylizacja sformatowanych odpowiedzi LLM */
.llm-list-item {
  padding: 5px 0;
  margin: 5px 0;
  border-left: 2px solid var(--turquoise);
  padding-left: 10px;
}

.llm-list-item strong {
  color: var(--violet);
}

.ai-message {
  background: rgba(64, 224, 208, 0.1);
  margin-right: auto;
  padding: 15px 20px;
}

/* Stylowanie banerów newsów */
.news-banners {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.news-banner {
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid var(--turquoise);
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.news-banner h3 {
    margin-bottom: 10px;
    color: var(--violet);
}

.news-banner p {
    margin: 0;
}

.news-banner:hover {
    background: rgba(64, 224, 208, 0.2);
    transform: scale(1.02);
} 


/* Poprawka dla obrazów, aby nie wychodziły poza ramki */
img {
  max-width: 100%; /* Zapewnia, że obraz nie przekroczy szerokości kontenera */
  height: auto; /* Zachowuje proporcje obrazu */
  display: block; /* Usuwa ewentualne przerwy pod obrazami */
  object-fit: cover; /* Zapewnia, że obraz dopasuje się do kontenera, zachowując proporcje */
}

/* Dodatkowe poprawki dla responsywności obrazów w sekcji projektów */
.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.project-item {
  flex: 1 1 300px; /* Minimalna szerokość 300px, elastyczne dopasowanie */
  max-width: 400px;
  margin: 10px;
  text-align: center;
}

.project-item img {
  width: 100%; /* Zapewnia, że obraz zajmie całą szerokość kontenera */
  height: 250px; /* Stała wysokość dla lepszego wyglądu */
  object-fit: cover; /* Dopasowanie obrazu do kontenera */
  border-radius: 5px;
}

/* Poprawka dla sekcji promocji */
.promo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.promo-item img {
  width: 100%;
  max-width: 350px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

/* Poprawki dla sekcji inspiracji */
.inspiracje-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.inspiracje-item img {
  width: 100%;
  max-width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

/* Stylizacja wideo w sekcji hero */
.video-container video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

