@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #111;
  color: #eee;
  line-height: 1.5;
  scroll-behavior: smooth;
}

a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #f7c548;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  border-bottom: 1px solid #a5a1a1;
  padding-bottom: 40px;
}
header.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

header.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/tlo2.png') center center/cover no-repeat;
  opacity: 0.15; /* <- tutaj ustawiasz przezroczystość tła */
  z-index: -1; /* umieszczasz tło za zawartością */
}


nav.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(17, 17, 17, 0.85);
  padding: 15px 40px;
  z-index: 1000;
}

.logo {
  font-weight: 900;
  font-size: 1.8rem;
  color: #f7c548;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links li a:hover,
.nav-links li a:focus {
  border-color: #f7c548;
  color: #f7c548;
}

/* Logo i animacje nagłówka */
.hero-content .logo-hero {
  width: 350px;
  margin: 0 auto 30px;
  opacity: 0;
  animation: fadeIn 1.5s forwards;
  animation-delay: 0.3s;
  display: block;
}

.hero-content h1 {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1.2s forwards;
  animation-delay: 0.3s;
  font-weight: 700;
  font-size: 3.2rem;
  max-width: 700px;
  margin-bottom: 30px;
  color: #fff;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  background-color: #f7c548;
  color: #111;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 40px;
  border-radius: 30px;
  box-shadow: 0 0px 12px rgba(247, 197, 72, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn:hover,
.btn:focus {
  background-color: #d1a629;
  box-shadow: 0 8px 16px rgba(209, 166, 41, 0.8);
  color: #111;
}

/* Sekcja O NAS */
.about-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1 1 50%;
}

.about-text h2 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: #f7c548;
  border-bottom: 3px solid #f7c548;
  display: inline-block;
  padding-bottom: 6px;
}

.about-text p {
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #ddd;
}

.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  width: 85%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  display: inline-block;
}

.about-highlights {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.highlight h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f7c548;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlight p {
  font-size: 1rem;
  color: #ccc;
  font-weight: 300;
  margin: 0;
}

.bw-image {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.bw-image:hover {
  filter: grayscale(0%);
}

/* Karty usług */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

.card {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 30px 20px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  min-height: 220px; /* gwarantuje równe wysokości */
}


.card:hover {
  transform: translateY(-8px);
  border-color: #f7c548;
  color: #f7c548;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f7c548;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 1rem;
  font-weight: 300;
  color: #ccc;
  line-height: 1.5;
}

.services-container h2,
.contact-container h2 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: #f7c548;
  border-bottom: 3px solid #f7c548;
  display: inline-block;
  padding-bottom: 6px;
}

/* Kontakt */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eee;
  font-weight: 300;
  font-size: 1.1rem;
  padding: 15px 30px;
  border-radius: 12px;
  border: 2px solid #fff;
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.contact-item.full-width {
  grid-column: 1 / -1; /* zajmuje całą szerokość siatki */
}

.contact-item:hover {
  transform: translateY(-8px);
  border-color: #f7c548;
  color: #f7c548;
}

.icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-right: 12px;
}

/* Footer */
.footer {
  position: relative;
  padding: 60px 20px;
  color: #eee;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('tlo.jpg') center center/cover no-repeat;
  filter: grayscale(100%);
  opacity: 0.05;
  z-index: 0;
}

.footer-container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  z-index: 1;
}

.footer-logo-img {
  max-width: 160px;
  height: auto;
}

.footer-menu ul {
  list-style: none;
  display: flex;
  gap: 40px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-menu ul li a {
  color: #eee;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-menu ul li a:hover,
.footer-menu ul li a:focus {
  color: #f7c548;
}

.footer-social {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.footer-social .social-link {
  font-weight: 700;
  font-size: 1.2rem;
  color: #f7c548;
  padding: 10px 16px;
  border: 1px solid #f7c548;
  border-radius: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  user-select: none;
  text-decoration: none;
}

.footer-social .social-link:hover,
.footer-social .social-link:focus {
  background-color: #f7c548;
  color: #111;
}

.footer-social i {
  font-size: 1.4rem;
}

/* Styl stopki dolnej */
.footer-bottom {
  color: #727272;
  text-align: center;
  padding: 16px 0;
  font-size: 14px;
  position: relative;
  z-index: 10; /* nad innymi */
}

/* Styl samego linku */
.footer-bottom .creator-link {
  color: #727272;
  pointer-events: auto;
  position: relative;
  z-index: 20;
}

.footer-bottom .creator-link:hover {
  color: #a0a0a0;
}

/* --------------------------- */
/* RESPONSYWNOŚĆ */
/* --------------------------- */
@media (max-width: 1024px) {
  .card {
    padding: 20px 15px;
  }

  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.95);
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .about-flex {
    flex-direction: column;
    text-align: center;
  }

  .about-text,
  .about-image {
    flex: 1 1 100%;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .contact-item {
    padding: 20px;
    justify-content: center;
  }

  .footer-menu ul {
    gap: 20px;
  }

  .footer-social {
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .btn {
    font-size: 1rem;
    padding: 12px 30px;
  }
}

/* Mobile Menu Toggle Base */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #f7c548;
  cursor: pointer;
  z-index: 1001;
}
