@import url('menu.css');
@import url('contact.css');
:root {
  --white: #ffffff;
  --bg: #f6f8fb;
  --blue: #0b6ef6;
  --blue-600: #0856c1;
  --muted: #6b7280;
  --body-text-color: #0f1724;
  --card-shadow: 0 10px 30px rgba(11, 110, 246, 0.08);
  --soft-shadow: 0 8px 26px rgba(16, 24, 40, 0.06);
  --radius: 18px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
.text-c {
  text-align: center;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: var(--body-text-color);
  scroll-behavior: smooth;
  line-height: 1.75;
  letter-spacing: 0.2px;
}
p, .why-list, li, .footer-container h3 {
    color: #1a1a1a;
    line-height: 1.75;
    font-weight: 500; 
    font-size: 17px;
}

.padding-b-btn {
  padding-bottom: 10px;
}

.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #333;
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    z-index: 9999;
    opacity: 0;
    animation: toast-in 0.4s forwards, toast-out 0.4s 10s forwards;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.toast.success { background: #28a745; }
.toast.error { background: #dc3545; }

@keyframes toast-in {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  z-index: 10;
  box-shadow: 0 2px 20px rgba(11,110,246,0.08);
}

.logo {
  font-weight: 800;
  font-size: 24px;
  color: var(--blue);
}

nav a {
  margin: 0 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color .3s;
}

nav a:hover {
  color: var(--blue);
}

/*custom section*/
.custom-cta-section {
  text-align: center;
}
/*--------------*/
/* HERO */
.hero {
  max-width: 100% !important;
  width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.logo { display: flex; align-items: center; }
.site-logo { height: 100px; width: auto; display: block; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

h1, h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--blue-600);
}

.hero-content h1 {
  color: white;
  font-size: 60px;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: 20px;
  color: white;
  margin-bottom: 30px;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.btn {
  background: var(--blue);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(11,110,246,0.3);
  text-decoration: none;
  font-weight: 600;
  transition: background .3s, transform .3s;
}

.btn:hover {
  background: var(--blue-600);
  transform: translateY(-3px);
}

/* SECTIONS */
section {
  width: 100%;
  padding-top: 40px;
  padding-right: 0;
  padding-bottom: 40px;
  padding-left: 0;
  background-color: #f8f9fb;
}

section h1, section h2, section h3 {
  margin-top: 0px;
}

.m-b-0 {
  margin-bottom: 0;
}

section:nth-of-type(even) {
  background-color: #ffffff;
  background: #ffffff;
}

section .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.about img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

/* template 2 column */
.template-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.template-column img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

/* SERVICES */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.services .card {
    display: flex;
    flex-direction: column;
}

.services .card p {
    flex-grow: 1;
}

.services .text-c {
    margin-top: auto;
}

.card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  transition: transform .3s;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 16px;
}

h3, h3 a {
  color: var(--blue);
}

.card h3 {
  margin-top: 0;
}

.card h3 a {
  text-decoration: none
}


/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: transform .3s;
}

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

/* EXTRA */
.extra {
  text-align: center;
  border-radius: 24px;
}

.extra-item p::before {
  content: "✔";
  color: #007BFF;
  font-weight: bold;
  font-size: 25px;
  margin-right: 8px;
  vertical-align: middle;
}

.extra-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.extra-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.extra-list li::before {
  content: "✔";
  color: var(--blue-600);
  font-weight: bold;
  font-size: 25px;
  position: absolute;
  left: 0;
  top: 0;
}

.why-us {
  text-align: center;
  background: linear-gradient(135deg, #f7faff 0%, #e9f2ff 100%);
  border-radius: 20px;
  padding: 60px 40px;
  max-width: 800px;
  margin: 60px auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500; 
  font-size: 17px;
  margin-bottom: 18px;
  line-height: 1.5;
  transition: transform 0.2s ease;
}

.why-list li:hover {
  transform: translateX(6px);
}

.icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-gradient {
  position: relative;
  box-shadow: var(--soft-shadow);
  background: linear-gradient(135deg, #f7faff 0%, #e9f2ff 100%);
}

.background-gradient .extra {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.background-gradient h2 {
  margin-bottom: 2.5rem;
}

.why-list.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 40px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.why-list.two-columns li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500; 
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 8px
}

.why-list.two-columns li:hover {
  transform: translateX(6px);
}

.why-list.two-columns .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  transform: translateY(2px);
}

.why-list.two-columns svg {
  width: 20px;
  height: 20px;
  vertical-align: top;
}

/* CONTACT */
.contact {
  margin-top: 80px;
  text-align: center;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input, textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}

/* FOOTER */
footer {
  background: #f4f7fb;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  margin-top: 20px;
}

/*---------------------------------*/
/* === Sekcja Partnerzy === */
.partners {
  background: #f6f8fb;
  text-align: center;
}

/* Karuzela */
.partners-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #999 transparent;
  padding: 20px 10px;
}

.partners-carousel::-webkit-scrollbar {
  height: 6px;
}

.partners-carousel::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 10px;
}

.partner {
  flex: 0 0 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

.partner img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%);
  transition: filter 0.3s ease;
}

.partner:hover img {
  filter: grayscale(0);
}

/*-----koniec-partnerzy----*/

/* === GLOBAL INFRASTRUCTURE SECTION === */
.global-infrastructure {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #0049ff, #007bff);
  color: #003087;
  padding: 80px 0;
}

.global-infrastructure__container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* BOX */
.global-infrastructure__info {
  background: #fff;
  padding: 0px 40px 20px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 500px;
}

.global-infrastructure__info h4 {
  color: #0062ff;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.global-infrastructure__info h2 {
  margin-bottom: 20px;
}

.global-infrastructure__info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.global-infrastructure__info li {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--body-text-color);
}

.global-infrastructure__info li strong {
  color: var(--blue);
}

/* === TŁO ANIMOWANE === */
.global-infrastructure::before,
.global-infrastructure::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat;
  opacity: 0.2;
  z-index: 1;
  animation: move-bg 60s linear infinite;
}

.global-infrastructure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('http://localhost/gwk/wp-content/uploads/2025/11/ChatGPT-Image-22-paz-2025-12_03_50.png') center/contain no-repeat;
  opacity: 0.4;
  z-index: 0;
  animation: move-bg 60s linear infinite;
    background-size: cover;
}

.global-infrastructure::after {
  background-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  mix-blend-mode: overlay;
  animation-duration: 120s;
}

/* ANIMACJA RUCHU TŁA */
@keyframes move-bg {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* === ANIMACJA SCROLL REVEAL (poprzednia) === */
.reveal-on-scroll {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/*-------------------*/

/*-----footer--------*/
.site-footer {
  background: #f3f4f6;
  padding: 50px 20px;
  margin-top: 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container a {
  text-decoration: none;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid #d1d5db;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

/* Menu w stopce */
.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-list li {
  margin-bottom: 8px;
}

.footer-menu-list a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-menu-list a:hover {
  color: #0b6ef6;
}

/* Kontakt */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 8px;
}

/* Copy */
.footer-copy {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #6b7280;
}

.footer-copy a {
  color: #0b6ef6;
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}
/*-------------------*/


/* Responsywność */
@media (max-width: 768px) {
  .partners-carousel {
    gap: 16px;
  }

  .partner {
    flex: 0 0 160px;
    padding: 20px;
  }
}

/*---------------------------------*/
/* ============================
   📱 RESPONSYWNOŚĆ — MOBILE FIRST
   ============================ */

/* Ekrany do 1024px (tablety, laptopy małe) */
@media (max-width: 1024px) {
   .global-infrastructure__container {
    justify-content: center;
  }
  
  .global-infrastructure__info {
    max-width: 90%;
    text-align: center;
  }
  header {
    padding: 12px 24px;
  }

  nav a {
    margin: 0 8px;
    font-size: 15px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about img {
    order: -1;
    width: 80%;
    margin: 0 auto;
  }

  .template-column {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .template-column img {
    order: -1;
    width: 80%;
    margin: 0 auto;
  }

  section {
    margin: 0px auto;
    padding: 0 24px;
  }

  .site-logo { height:100px; }
}

/* Ekrany do 768px (telefony poziome i mniejsze tablety) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 12px 16px;
    text-align: center;
  }

  .site-logo { max-width: 100%; height: auto }

  nav {
    margin-top: 8px;
  }

  nav a {
    display: inline-block;
    margin: 6px 10px;
    font-size: 14px;
  }

  .hero {
    height: 90vh;
    background-position: center;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 16px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 15px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .extra {
    padding: 40px 20px;
    border-radius: 18px;
  }

  .contact form {
    width: 100%;
    padding: 0 10px;
  }

  footer {
    font-size: 14px;
  }

  .why-list.two-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .global-infrastructure__container {
    justify-content: center;
    padding: 40px 20px;
  }

  .global-infrastructure__info {
    max-width: 90%;
    padding: 28px;
    text-align: center;
  }

  .global-infrastructure__info li {
    padding-left: 0;
  }

  .global-infrastructure__info li::before {
    position: static;
    margin-right: 6px;
  }

   .footer-columns {
    flex-direction: column;
    gap: 25px;
  }
}

/* Ekrany do 480px (telefony małe, np. iPhone SE) */
@media (max-width: 480px) {
  .hero {
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .about img {
    width: 100%;
  }

  .template-column img {
    width: 100%;
  }

  section {
    margin: 0px auto;
    padding: 20px 16px;
  }

  h2 {
    font-size: 24px;
  }

  .card {
    padding: 16px;
  }

  input, textarea {
    font-size: 14px;
  }
}
/*///////////////////////////////////////*/
/* === SZABLON 1 === */

.t1-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.t1-col-left img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.t1-subtitle {
  font-size: 26px;
  color: var(--blue);
  margin-bottom: 20px;
}

.t1-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body-text-color);
}

.t1-big-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

/* Mobile */
@media (max-width: 768px) {
  .t1-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .t1-col-left img {
    width: 80%;
    margin: 0 auto;
  }
}
