/* Główne style */
body {
  font-size: 16px;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff8f0;
  color: #4a4a4a;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


/* Sticky Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(45deg, #ffb347, #ff6600);
  background-color: #007bff;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(230, 91, 0, 0.6);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: relative;
}

/* Logo */

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  margin: 0;
  transition: transform 0.3s ease;
}

.logo-container {
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container:active {
  transform: scale(0.95);
}

.logo-img {
  width: 60px;
  height: auto;
  border-radius: 4px;
}

.logo:hover {
  transform: scale(1.05);
}

/* Nawigacja */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-links a {
  transform: scale(0.95);
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.2rem);
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover {
  color: #ffb347;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffc107;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Nowe Hamburger Menu */
.burger {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  background: url('/logo_image.jpg') no-repeat center center/cover;
  color: white;
  padding: 8rem 0;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Przyciemnienie dla lepszej czytelności tekstu */
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(45deg, #ffb347, #ff6600);
  color: white;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.3rem);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.6);
}

.btn-primary:hover {
  background: linear-gradient(45deg, #ff9c33, #e55b00);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(230, 91, 0, 0.8);
}

/* Sekcje */
.section {
  padding: 4rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  color: #e55b00;
}

/* Oferta */
.lista-ofert {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none; 
}

.lista-ofert li i {
  color: #e55b00;
  margin-right: 10px;
  font-size: 1.3rem;
  vertical-align: middle;
}

.lista-ofert li {
  background-color: #fff3e0; 
  border-left: 6px solid #ff6600; 
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(255, 102, 0, 0.2);
  font-size: 1.15rem;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  opacity: 1 !important;
  display: block !important;
}

.lista-ofert li:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 102, 0, 0.35);
}

.lista-ofert li {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.lista-ofert li.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Galeria - Karuzela */
.carousel {
  position: relative;
  overflow: hidden;
  margin: 2rem auto;
  max-width: 1000px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel img {
  width: 100%;
  min-width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.prev:hover, .next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev { left: 20px; }
.next { right: 20px; }

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.indicator {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  transition: background 0.3s ease;
  cursor: pointer;
}

.indicator.active {
  background: #ff6600;
}


/* Opinie */
.opinie-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.opinia {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.2rem);
  min-width: 100%;
  scroll-snap-align: start;
  background: white;
  background-color: #fff3e0;
  color: #4a4a4a;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Stopka */
.footer {
  background-color: #e55b00;
  color: white;
  padding: 3rem 0;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.footer a {
  color: #fff8f0;
  text-decoration: none;
}

.footer a:hover {
  color: #ffb347;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.9rem;
  color: #ccc;
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  font-family: 'Arial', sans-serif;
}

/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
  display: none;
}

#overlay.active {
  background: rgba(230, 91, 0, 0.75);
  display: block;
}


/* Responsywność */
@media (max-width: 768px) {
  .header {
    padding: 0.5rem 0;
  }

  .logo {
    font-size: 1.5rem;
  }

  .logo-img {
    width: 40px;
  }

  .burger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #ffb347, #ff6600);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .hero {
    padding: 6rem 0;
  }

  .hero h2 {
    font-size: clamp(2rem, 4vw + 1rem, 4rem);
  }

  .hero p {
    font-size: clamp(1.2rem, 1.5vw + 1rem, 1.8rem);
  }

  .carousel img {
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(255, 102, 0, 0.3);
    height: 300px;
  }

  .prev, .next {
    display: none;
  }

  .contact-button {
    font-size: 14px;
    padding: 10px 20px;
    margin-top: 20px;
  }

  .btn-primary {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    transform: translateY(80px);
  }
}



/* Dla starszych przeglądarek */
@supports not (backdrop-filter: blur(5px)) {
  .header {
    background-color: rgba(0, 123, 255, 0.95);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.btn-primary.clicked {
  animation: pulse 0.3s ease;
}
