/* Oddech do Dech — style główne */
:root {
  --accent: #5f9ea0;
  --accent-dark: #4b8183;
  --text: #1c1c1c;
  --muted: #555;
  --bg-alt: #ebebeb;
  --bg-light: #f8f9fb;
  --dark: #171313;
  --font-body: 'Raleway', Arial, sans-serif;
  --font-head: 'Vollkorn', Georgia, serif;
  --font-display: 'Cinzel Decorative', Georgia, serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled,
.site-header.solid { background: rgba(23, 19, 19, .92); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1300px; }
.logo {
  font-family: var(--font-head); font-weight: 700; font-size: 22px;
  color: #fff; text-decoration: none; letter-spacing: .5px;
}
.logo:hover { color: #fff; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 6px 14px; border-radius: 20px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  text-transform: uppercase; color: #fff; text-decoration: none;
  transition: background .2s;
}
.main-nav a:hover, .main-nav a.active { background: var(--accent); color: #fff; }
.header-icons { display: flex; gap: 6px; }
.header-icons a { color: #fff; display: inline-flex; padding: 6px; }
.header-icons svg { width: 16px; height: 16px; fill: currentColor; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff;
}
.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-icons { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(23, 19, 19, .97);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul { flex-direction: column; padding: 10px 0 20px; gap: 6px; }
  .main-nav a { font-size: 17px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff;
  background: #2a2a2a url('../images/hero.jpg') center / cover no-repeat;
}
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero-inner { position: relative; padding: 0 20px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 7vw, 72px); margin: 0 0 .3em;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero p {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(18px, 3vw, 31px); margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

/* Krótszy hero na podstronach */
.page-hero {
  position: relative; min-height: 320px; padding-top: var(--header-h);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; background: #2a2a2a center / cover no-repeat;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.page-hero h1 { position: relative; font-size: clamp(30px, 5vw, 48px); padding: 0 20px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }

/* ---------- Sekcje ---------- */
section { padding: 80px 0; }
.bg-alt { background: var(--bg-alt); }
.bg-light { background: var(--bg-light); }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-size: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 0;
}
.section-title h2::after {
  content: ''; display: block; width: 40px; height: 3px; margin: 14px auto 0; background: var(--accent);
}
.section-title p { margin: 16px 0 0; color: var(--muted); }

/* O nas */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; text-transform: uppercase; }
.about ul { padding-left: 1.2em; }
.about img { border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.15); width: 100%; height: auto; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }

/* Usługi */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff; display: flex; flex-direction: column; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.service-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover img { transform: scale(1.05); }
.service-card h3 { font-size: 20px; padding: 20px 16px 0; flex: 1; }
.service-card .btn { margin: 16px; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

.btn {
  display: inline-block; padding: 10px 22px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; text-decoration: none; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: .5px;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; background: #ddd; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.gallery a:hover img { transform: scale(1.05); opacity: .9; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; font-size: 40px;
  cursor: pointer; padding: 10px 18px; line-height: 1; opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 14px; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { text-align: center; align-self: center; }
.contact-info p { margin: 0 0 10px; }
.contact-info .row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.contact-info svg { width: 16px; height: 16px; fill: var(--accent); flex: none; }
.social { display: flex; justify-content: center; gap: 18px; margin-top: 20px; }
.social a { color: var(--muted); }
.social a:hover { color: var(--accent); }
.social svg { width: 26px; height: 26px; fill: currentColor; }

.contact-form { display: grid; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px;
  border: 1px solid #ccc; background: #fff; border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form .btn { width: 100%; padding: 14px; }
.hidden { position: absolute; left: -9999px; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }

.map { padding: 0; line-height: 0; }
.map iframe { width: 100%; height: 400px; border: 0; }

/* Podstrona usługi */
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.service-page { display: grid; grid-template-columns: 3fr 2fr; gap: 50px; align-items: start; }
.service-page h2 { font-size: 26px; }
.service-page ul { padding-left: 1.2em; }
.service-page li { margin-bottom: 4px; }
.service-page img { width: 100%; height: auto; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.callout {
  margin-top: 30px; padding: 20px 24px; background: var(--bg-light);
  border-left: 4px solid var(--accent);
}
.callout p { margin: 0 0 6px; }
.other-services { margin-top: 60px; }
.other-services h2 { font-size: 22px; text-transform: uppercase; }
@media (max-width: 800px) { .service-page { grid-template-columns: 1fr; } }

/* Stopka */
.site-footer { background: var(--dark); color: #ccc; padding: 40px 0; font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer .logo { font-size: 20px; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.site-footer nav a { color: #fff; text-decoration: none; text-transform: uppercase; font-size: 13px; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer .copy { margin: 6px 0 0; color: #999; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 42px; height: 42px; border: 0; background: var(--accent); color: #fff;
  font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.show { opacity: .85; pointer-events: auto; }
.to-top:hover { opacity: 1; }

/* Prosta strona tekstowa (dziękujemy / 404) */
.simple-page { min-height: 70vh; display: flex; align-items: center; text-align: center; padding-top: calc(var(--header-h) + 40px); }
.simple-page h1 { font-size: 36px; }
