@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

body {
	background-color: #f2f2f2;
	margin: 0;
	font-family: 'Michroma', sans-serif;
	
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
:root { --nav-h: 64px; }

/* ========== NAVBAR ========== */
.navbar{
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h);
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; background: #fff; border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
}

/* Logo (link #top w HTML) */
.logo{
  display: inline-flex; align-items: center; gap: 10px;
  color: #111; font-weight: 700; text-decoration: none;
}
.logo-img{ width: 40px; height: 40px; border-radius: 50%; }

/* Menu – desktop */
.menu{
  list-style: none; display: flex; align-items: center; gap: 24px;
}
.menu a{
  text-decoration: none; color: #000; font-weight: 600;
}
.menu a:hover{ color: #0077cc; }

/* Hamburger – ukryty (desktop) */
.hamburger{
  display: none; position: relative; width: 40px; height: 40px;
  border: 0; background: transparent; cursor: pointer;
}
.hamburger span{
  position: absolute; left: 8px; right: 8px; height: 2px; background: #111;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.hamburger span:nth-child(1){ top: 12px; }
.hamburger span:nth-child(2){ top: 19px; }
.hamburger span:nth-child(3){ top: 26px; }

/* ========== (baner pod nawigacją) ========== */
.hero{
  position: relative; min-height: 70vh; padding-top: var(--nav-h);
  background-image: var(--hero, url('img/Home_1.jpg'));
  background-position: center 30%; background-size: cover; background-repeat: no-repeat;
  display: flex; justify-content: center;
}
.hero-text{
  background: rgba(0,0,0,.6); color: #fff; padding: 20px 28px; border-radius: 6px; text-align: center; max-width: 80%;
}

.hero-title {
  font-size: 1.2rem;        /* większa czcionka pierwszego zdania */
  line-height: 1.4;         /* domyślny odstęp w tym wierszu */
  margin-bottom: 12px;      /* dodatkowa przestrzeń do następnego akapitu */
}
.hero-text p {
  margin: 6px 0;            /* ujednolicone odstępy */
  line-height: 1.5;         /* poprawiona czytelność */
}


/* ========== SEKCJE ========== */
section{ padding: 80px 16px; max-width: 1000px; margin: 0 auto; }
section h2{ font-size: 28px; margin-bottom: 16px; }

/* ========== MOBILE (≤ 900 px) ========== */
@media (max-width: 900px){
  .hamburger{ display: inline-flex; }

  /* Menu mobilne – pełnoekranowe, domyślnie UKRYTE */
  .menu{
    position: fixed; left: 0; right: 0; top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    background: #fff; display: none;
    flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 20px; padding-top: 24px; z-index: 999;
  }
  .menu.is-open{ display: flex; }
  .menu a{ font-size: 20px; }

  /* Animacja ikony hamburgera → X */
  .hamburger[aria-expanded="true"] span:nth-child(1){ top: 19px; transform: rotate(45deg); }
  .hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
  .hamburger[aria-expanded="true"] span:nth-child(3){ top: 19px; transform: rotate(-45deg); }

  /* Blokada przewijania tła przy otwartym menu */
  body.no-scroll{ overflow: hidden; }
  
  .hero { align-items: flex-end; }   
  .hero-title {
	font-size: 0.8rem;        
	line-height: 1.2;      
	margin-bottom: 12px;    
	}
  .hero-text { 
	font-size: 0.5rem;    
    padding: 12px 10px;   
    position: absolute;
    bottom: 2%;            
    left: 50%;
    transform: translateX(-50%);
    width: 100%;       
   }       
}

/* ========== DESKTOP (≥ 901 px)  ========== */
@media (min-width: 901px){
  .menu{ display: flex !important; }
  .hamburger{ display: none !important; }
  .hero {background-position: center 30%; align-items: flex-start;}
  .hero-text { margin-top: 30%; }          
}

@media (min-width: 901px){
  .hero-text { margin-top: 30%; }         
}


/* ===== O MNIE ===== */
.about{
  max-width: 1100px;
  margin: 60px auto;
  padding: 24px 28px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
}

.about h2{
  text-align: center;
  margin-bottom: 26px;
  font-size: 30px;
}

.about-container{
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about-block{
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  column-gap: 24px;
}

.about-block:nth-child(2){
  grid-template-columns: 1fr 300px;
}

.about-img{
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  display: block;
}

.about-text{
  font-size: 14px;
  line-height: 1.65;
  text-align: justify;
}
.about-text p{ margin-bottom: 12px; }
.about-text strong{ font-weight: 700; }

@media (max-width: 768px){
  .about{
    padding: 18px 16px;
  }
  .about-block,
  .about-block:nth-child(2){
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .about-img{
    max-width: 360px;
    margin: 0 auto;
  }
  .about-text{
    text-align: center;
  }
  .about-block .about-img {
    order: -1;
  }
}

/* ===== OFERTA ===== */
.offer{
  max-width: 1100px;
  margin: 60px auto;
  padding: 24px 28px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
}
.offer > h2{
  text-align: center;
  margin-bottom: 26px;
  font-size: 30px;
}

.offer-intro ul{ margin-left: 1.2rem; }
.offer-intro li{ margin: 12px 0; }
.offer-intro .muted{ margin-top:20px; }


.offer-card{
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #dedede;
  border-radius: 6px;
  background: #fafafa;
}
.offer-card h3{
  margin: 4px 0 12px;
  font-size: 22px;
  text-align: center;
}
.offer-card h4{
  margin: 14px 0 8px;
  font-size: 18px;
  text-align: center;
}

.card-grid{
  display:grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items:start;
}
.card-grid.right-img{ grid-template-columns: 1fr 300px; }

.card-img {
  width:100%;
  max-width:300px;
  height:auto;
  border:1px solid #cfcfcf;
  border-radius:6px;
  display:block;
}

.card-body {
  font-size:14px;
  line-height:1.65;
  text-align: justify;
}
.card-body p{ 
	margin-bottom: 12px;
	text-align: justify;
}

.card-body div {
	text-align: justify;
}

.list{ margin: 8px 0 12px 0; }
.list li{ margin: 6px 0; }
.list-check li::marker{ content:"✅ "; }
.list-cross li::marker{ content:"❌ "; }
.list-bullets li::marker{ content:"• "; }
.meta{ color:#555; font-size: 0.95rem; }

@media (max-width: 768px){
  .offer{ padding:18px 16px; }
  .card-grid,
  .card-grid.right-img{ grid-template-columns: 1fr; gap:14px;  }
  .card-img{ max-width:360px; margin:0 auto; }
}

.card-body h4{
  text-align: center;
}

.card-body p{
  text-align: center;
}

.card-body li{
  text-align: left;
}

/* --- Linki w ofercie --- */
.offer a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 600;
}
.offer a:hover {
  color: #005999;
  text-decoration: underline;
}

.list-check li::marker,
.list-cross  li::marker,
.list-bullets li::marker { content: none; }

.list { list-style: none; padding-left: 0; margin-left: 0; }
.list li { margin: 6px 0; }

.list.auto-icons li { position: relative; padding-left: 28px; }
.list-check.auto-icons  li::before { content: "✅"; position: absolute; left: 0; top: 0; }
.list-cross.auto-icons  li::before { content: "❌"; position: absolute; left: 0; top: 0; }
.list-bullets.auto-icons li::before { content: "•";  position: absolute; left: 0; top: 0; color:#444; }

.list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.list li {
  margin: 6px 0;
}

.list.auto-icons li {
  padding-left: 28px;
  position: relative;
}
.list-check.auto-icons li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}
.list-cross.auto-icons li::before {
  content: "❌";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  line-height: 2.2;
}
.list-bullets.auto-icons li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #444;
}

/* ===== OPINIE ===== */
.reviews{
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 16px;
  overflow: hidden;
}
.reviews h2{
  text-align: center;
  font-size: 30px;
  margin-bottom: 18px;
}

.reviews-banner{
  position: relative;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  padding: 16px 44px;
  overflow: hidden;
}

.reviews-viewport{ overflow: hidden; }
.reviews-track{
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform .45s ease;
  padding: 0;
  margin: 0;
  align-items: center;
}

.reviews { --per-view: 1; }
@media (min-width: 768px){ .reviews { --per-view: 2; } }
@media (min-width: 1024px){ .reviews { --per-view: 3; } }

.review-card{
  flex: 0 0 calc((100% - (var(--per-view) - 1) * 16px) / var(--per-view));
  box-sizing: border-box;
  background:
    radial-gradient(ellipse at top left, rgba(0,0,0,.04), transparent 60%),
    #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 18px 16px 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
  display: block;
  height: auto;
}

.review-quote{
  position: absolute;
  top: -12px; left: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  display: grid; place-items: center;
  font-size: 26px; line-height: 1; color: #333;
}
.review-quote::after{ content: "“"; }

.review-card p{
  margin-top: 10px;
  line-height: 1.55;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}
.review-meta{
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; font-size: .95rem; color:#444;
}
.review-author{ font-weight: 700; }
.review-rating{ letter-spacing: 1px; color: #f59e0b; }

.reviews-btn{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid #ddd; background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  cursor: pointer; font-size: 22px; line-height: 1;
  display: grid; place-items: center;
}
.reviews-btn:hover{ background:#f7f7f7 }
.reviews-btn.prev{ left: 8px; }
.reviews-btn.next{ right: 8px; }

.reviews-dots{
  display: flex; justify-content: center; gap: 8px;
  margin-top: 12px;
}
.reviews-dots button{
  width: 8px; height: 8px; border-radius: 999px;
  border: 0; background: #d6d6d6; cursor: pointer;
}
.reviews-dots button[aria-current="true"]{ background: #333; width: 18px; }
.review-quote { display: none !important; }

.review-card p {
  position: relative;
  margin: 10px 0;
  line-height: 1.55;
}
.review-card p::before {
  content: "“";
  margin-right: 6px;
  font-size: 1.2em;
  line-height: 1;
  vertical-align: top;
  color: #666;
}
.review-card p::after {
  content: "”";
  margin-left: 6px;
  font-size: 1.2em;
  line-height: 1;
  vertical-align: baseline;
  color: #666;
}

/* --- Opinie mobile --- */
@media (max-width: 768px){
  .reviews-banner { padding: 12px 36px; }
  .reviews-track  { gap: 0; }
  .review-card    { flex: 0 0 100%; }
}

@media (max-width: 768px){
  .reviews-btn{
    width: 24px;
    height: 24px;
    font-size: 18px;
    border: none;
    background: transparent;
    box-shadow: none;
    color: #333;
  }
  .reviews-btn.prev { left: 2px; }
  .reviews-btn.next { right: 2px; }
}


/* ===== KONTAKT ===== */
.contact{
  max-width: 1100px;
  margin: 60px auto;
  padding: 24px 28px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  background: #fff;
}
.contact > h2{
  text-align: center;
  font-size: 30px;
  margin-bottom: 22px;
}

.contact-grid{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 22px;
  align-items: start;
}

.contact-card{
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 18px;
  background: #fafafa;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.contact-card .lead{
  margin-bottom: 12px;
  color: #333;
}

.contact-list{ list-style: none; margin: 0; padding: 0; }
.contact-list li{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed #e4e4e4;
}
.contact-list li:last-child{ border-bottom: none; }
.contact-list .icon{ font-size: 20px; line-height: 1; }
.contact-list a{ color: #0077cc; text-decoration: none; font-weight: 600; }
.contact-list a:hover{ color: #005999; text-decoration: underline; }

.contact-cta{ display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.btn{
  display: inline-block; padding: 10px 14px; border-radius: 8px;
  background: #111; color: #fff; text-decoration: none; font-weight: 700;
}
.btn:hover{ background: #222; }
.btn.btn-outline{
  background: transparent; color: #111; border: 1px solid #111;
}
.btn.btn-outline:hover{ background: #111; color: #fff; }

.map-wrap{
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  height: 420px;
  background: #f2f2f2;
}
#map{ width: 100%; height: 100%; }

/* ===== KONTAKT – mobile ===== */
@media (max-width: 768px){
  .contact{
    max-width: 100%;
    margin: 10px auto;
    padding: 10px;
    border-radius: 0;
    box-sizing: border-box;
  }

  .contact-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .contact-card{
  padding: 10px;
  }

  .contact{
    padding-left: 20px;
    padding-right: 20px;
  }

  .map-wrap{
    height: 280px;
  }
}

/* ===== Stopka ===== */
.site-footer {
  background: #f8f8f8;
  border-top: 1px solid #ddd;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-top: 40px;
}

.site-footer p {
  margin: 0;
}