:root {
  --bg: #f4f4f4;
  --bg-alt: #eaeaea;
  --surface: #ffffff;
  --card-bg: #ffffff;
  --text: #1c1c1c;
  --text-muted: #5e5e5e;
  --border: #e2e2e2;
  --line: #e2e2e2;
  --accent: #d4af37;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 300; line-height: 1.25; color: #1c1c1c; }
h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
p { color: var(--text-muted); font-size: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }

.container { width: 90%; max-width: 1180px; margin: 0 auto; }
section { padding: 5.5rem 0; }

/* NAWIGACJA */
nav {
  position: sticky; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 1rem 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand-logo img {
  height: 54px !important;
  width: auto !important;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Sprawia, że ciemne logo staje się czysto białe */
}
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #bbb; display: inline-flex; align-items: center; gap: 0.3rem;
}
.nav-links a:hover, .nav-links a.active { color: #1c1c1c; }

.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu {
  position: absolute; top: 100%; left: -0.8rem; background: var(--surface);
  min-width: 220px; padding: 0.6rem 0; box-shadow: none;
  border: 1px solid var(--border); list-style: none; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: var(--transition); z-index: 100;
}
.dropdown-menu li a { display: block; padding: 0.65rem 1.3rem; font-size: 0.75rem; color: #ccc; }
.dropdown-menu li a:hover { background: var(--bg-alt); color: #1c1c1c; }

.btn-nav {
  padding: 0.55rem 1.3rem !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  font-size: 0.75rem !important;
  color: #fff !important;
}
.btn-nav:hover { background: #fff; color: #111 !important; }

/* PRZYCISK HAMBURGERA */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
}
.hamburger-btn span {
  width: 100%;
  height: 1px;
  background-color: #1c1c1c;
  transition: all 0.3s ease;
}

/* NAGŁÓWKI PODSTRON */
.page-header {
  padding: 6rem 0 3.5rem;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.sub-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

/* SIATKI KART I REPORTAŻY */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* PRZYCISKI */
.btn-primary {
  background-color: #1c1c1c;
  color: #111 !important;
  border: 1px solid #fff;
  padding: 0.9rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-block;
}
.btn-primary:hover { background-color: #ddd; }

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #1c1c1c;
  background: transparent;
  padding: 0.9rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-block;
}
.btn-outline:hover { background-color: #1c1c1c; color: #111 !important; }

/* GALERIE REPORTAŻY (np. ola-dominik, klaudia-dawid) */
.story-flow {
  max-width: var(--container);
  margin: 0 auto 100px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.story-flow img { width: 100%; height: auto; display: block; object-fit: cover; }
.row-single { width: 100%; }
.row-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* FORMULARZE */
.form-group { margin-bottom: 1.5rem; }
label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.45rem; color: var(--text-muted); }
input, textarea, select {
  width: 100%; padding: 1rem; background: var(--surface);
  border: 1px solid var(--border); font-family: inherit; font-size: 0.95rem;
  color: #1c1c1c; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: #1c1c1c; }
.btn-submit {
  width: 100%; padding: 1.1rem; background: #fff; color: #111;
  border: none; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; cursor: pointer;
}

/* STOPKA */
footer {
  background: #ffffff;
  color: var(--text-muted);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
}
.footer-logo img {
  height: 48px !important; width: auto !important;
  margin-bottom: 1.2rem; filter: brightness(0) invert(1);
}
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

/* PŁYWAJĄCY PRZYCISK KONTAKTU */
.mobile-floating-cta { display: none; }

/* RESPONSYWNOŚĆ MOBILNA */
@media (max-width: 860px) {
  .hamburger-btn { display: flex !important; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
    background-color: var(--bg); flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem; gap: 1.5rem; box-shadow: none;
    transition: right 0.35s ease; z-index: 10000; overflow-y: auto;
  }
  .nav-links.active { right: 0 !important; }
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .row-duo { grid-template-columns: 1fr !important; gap: 14px !important; }
  .mobile-floating-cta {
    display: flex; align-items: center; justify-content: center; position: fixed;
    bottom: 20px; right: 20px; background-color: #1c1c1c; color: #111 !important;
    padding: 10px 20px; border-radius: 50px; font-size: 0.72rem; letter-spacing: 0.15em;
    text-transform: uppercase; z-index: 9999; box-shadow: none;
  }
}/* Wyrównanie kafelków duetu do ciemnego stylu */
.duo-card,
.card-white,
.grid-2 > div {
  background-color: #eaeaea !important;
  border: 1px solid #2a2927 !important;
  color: #f5f4f0 !important;
}

.duo-card span,
.card-white span,
.grid-2 > div span {
  color: #9e9c96 !important;
}

.duo-card p,
.card-white p,
.grid-2 > div p {
  color: #cccccc !important;
}
/* Czytelność przycisków na jasnym motywie */
.btn-nav, .btn-primary, [class*="btn-"], a[href*="kontakt"] {
  color: #ffffff !important;
}
.btn-nav:hover, .btn-primary:hover {
  background: #333333 !important;
  color: #ffffff !important;
}
