* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
a {
  color: white;
  text-decoration: none;
}
nav {
  background-color: #222;
  color: white;
  display: flex;
  gap: 20px;
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding: 5px;
  transition: color 0.3s ease;
}

/* Efekt podkreślenia po najechaniu */
nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #a32828;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #a32828;
}
#logo_nav {
  align-self: flex-start;
}
header {
  text-align: center;
  padding: 40px 20px;
  background: #f8f8f8;
}
header img {
  max-width: 100%;
  height: auto;
}
section {
  padding: 40px 20px;
}
h2 {
  text-align: center;
  margin-bottom: 20px;
}
.services,
.about,
.reviews,
#kontakt {
  background-color: #f9f9f9;
  padding: 60px 20px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
input,
textarea {
  padding: 10px;
  font-size: 1em;
  width: 100%;
}
button {
  padding: 10px;
  background: #222;
  color: white;
  border: none;
  cursor: pointer;
}
iframe {
  width: 100%;
  height: 400px;
  border: none;
}
.hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/Szwalnia_blur.jpg") no-repeat center center/cover;
  background-attachment: fixed;
  min-height: 100vh; /* wysokość: 100% okna przeglądarki */
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.55); /* przyciemnienie tła */
  padding: 40px;
  border-radius: 12px;
}

.hero h1 {
  font-size: 3em;
  line-height: 1.3;
  margin: 0;
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  .hero h1 {
    font-size: 2em;
  }
}
#oferta {
  padding: 80px 20px;
  /* background: #f9f9f9; */
}
/* Efekt hover dla kart */
#oferta div[style*="box-shadow"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
#oferta div[style*="box-shadow"] {
  cursor: pointer;
}
#oferta-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
#oferta-container h2 {
  font-size: 2.2em;
  color: #a32828;
  margin-bottom: 10px;
}
#oferta-container p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 50px;
}
#oferta-grid-parent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.oferta-grid-child {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.oferta-grid-child:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.oferta-grid-child-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #a32828;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: white;
}
.oferta-grid-child h3 {
  font-size: 1.3em;
  color: #a32828;
  margin-bottom: 10px;
}
.oferta-grid-child p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95em;
}
#NASZA_OFERTA {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 10px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
#NASZA_OFERTA p {
  color: white;
  margin: auto;
}
#o-nas {
  padding: 60px 20px;
  background-color: #ffffff;
}
#o-nas-flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
#o-nas-flex-child {
  flex: 1 1 500px;
  padding: 20px;
}
#o-nas-flex-child h2 {
  color: #a32828;
  font-size: 2em;
  text-align: center;
}
#o-nas-flex-child p {
  margin-top: 20px;
  font-size: 1.1em;
  line-height: 1.6;
}
#o-nas-flex-child div {
  text-align: center;
  margin-top: 30px;
}
#flex-img-container {
  flex: 1 1 300px;
  padding: 20px;
  display: flex;
  justify-content: center;
}
#o-nas-img {
  border-radius: 10%;
  max-width: 900px;
  width: 100%;
  height: auto;
}
#map {
  padding: 60px 20px;
  background-color: white;
}
#map h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
}
#map div {
  display: flex;
  justify-content: center;
}
#consent-info {
  margin: 10px 0;
}
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
footer {
  background-color: #222;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 0.95em;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* wszystkie elementy w środku */
  gap: 40px; /* odstęp między kolumnami */
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.footer-left h3 {
  color: #a32828;
  margin-bottom: 10px;
}

.footer-middle h4,
.footer-right h4 {
  color: #a32828;
  margin-bottom: 10px;
}

.footer-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #a32828;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-btn:hover {
  background-color: #fff;
  color: #a32828;
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 0.85em;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}
#kontakt-btn {
  background-color: #555;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

#kontakt-btn:hover {
  background-color: #a32828;
  transform: scale(1.08);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(163, 40, 40, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(163, 40, 40, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(163, 40, 40, 0);
  }
}
/* =========================
   RESPONSYWNOŚĆ MOBILE / TABLET
   ========================= */

/* Mobile first: max-width 768px */
@media (max-width: 768px) {
}
/* HERO */
.hero {
  height: auto;
  padding: 80px 20px;
}
.hero h1 {
  font-size: 1.8em;
  line-height: 1.4;
}
.hero .overlay {
  padding: 20px;
}

/* OFERTA - karty */
#oferta-grid-parent {
  grid-template-columns: 1f;
}
#faq {
  padding: 18px;
  background-color: #f9f9f9;
}
.faq-item {
  margin-bottom: 15px;
}
.faq-question {
  width: 100%;
  background: #a32828;
  border: none;
  outline: none;
  text-align: left;
  padding: 15px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.1s;
  border-radius: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background: #6a1616;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.1s ease;
  background: #e0dfdf;
  padding: 0 15px;
}
.faq-answer p {
  margin: 10px 0;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 15px;
}
.arrow {
  font-size: 1.2em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}
.faq-question.open .arrow {
  transform: rotate(180deg);
}
.kontakt {
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.kontakt-container {
  max-width: 600px;
  margin: 0 auto;
}

.kontakt h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: black;
}

.kontakt p {
  font-size: 1.2em;
  margin: 10px 0;
}

.kontakt a {
  color: #a32828;
  text-decoration: none;
  transition: color 0.3s ease;
}

.kontakt a:hover {
  color: #6a1616;
}
