/* Typography */
:root {
  --text: #2b2b2b;
  --muted: #6e6e6e;
  --gold: #c9a646;
  --border: rgba(0,0,0,0.12);
}

html, body { height: 100%; margin: 0; padding: 0; }
/* Bootstrap Grid is used without Reboot, so we add essential box-sizing reset
  to prevent width + padding overflow on small screens. */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: #fff;
}
  overflow-x: hidden; /* prevent minor horizontal overflow on mobile */

p { font-size: 18px; line-height: 1.8; font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; font-weight: 300; }
h1 { margin: 0;}
:root {
  --text: #2b2b2b;
  --muted: #6e6e6e;
  --gold: #c9a646; /* złoty akcent – zmień tu, aby podmienić w całym serwisie */
  --border: rgba(0,0,0,0.12);
}
html, body { height: 100%; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.page { overflow-x: hidden; }
.section { padding: 64px 0; background: #fafafa;}
.hero { padding-top: 88px; padding-bottom: 56px; color: #fff; position: relative; overflow: hidden; background: transparent; }
.hero .container { position: relative; z-index: 2; }
.hero p { margin: 0}
.hero p { margin: 0; }
.hero-img { position: fixed; inset: 0; width: 100%; height: 600px; object-fit: cover; z-index: -1; filter: blur(16px); transform: scale(1.05); will-change: filter, transform; animation: hero-unblur 1.5s ease-out forwards; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.7)); }

@keyframes hero-unblur {
  from { filter: blur(16px); transform: scale(1.05); }
  to { filter: blur(0); transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; filter: none; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; filter: none; transform: none; }
}

/* Skip link (WCAG) */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; padding: 8px 12px; border-radius: 6px; background: var(--gold); color: #1C1C1C; box-shadow: 0 2px 10px rgba(0,0,0,.25); z-index: 1000; }


/* Buttons (custom, bez Bootstrap components) */
.cta-btns { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-elegant { display: inline-block; padding: 10px 18px; border-radius: 999px; font-weight: 600; letter-spacing: 0.5px; text-decoration: none; transition: all .2s ease; border: 1px solid transparent; }
.btn-gold { background: var(--gold); color: #1C1C1C; border-color: var(--gold); box-shadow: 0 1px 10px rgba(0,0,0,.2); }
.btn-gold:hover, .btn-gold:focus { filter: brightness(0.95); box-shadow: 0 2px 14px rgba(0,0,0,.28); }
.btn-gold-outline { background: rgba(0,0,0,.7); color: var(--gold); border-color: var(--gold); }
.btn-gold-outline:hover, .btn-gold-outline:focus { background: rgba(201,166,70,0.15); }
.btn-elegant:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(201,166,70,0.35); }
.display-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.kicker { color: var(--muted); letter-spacing: 0.6px; }
.lede { max-width: 56ch; margin: 0 auto; color: var(--muted); }
/* better contrast on hero */
.hero .kicker, .hero .lede, .hero .tagline { color: rgba(255,255,255,0.92); }
.hero .display-name { text-shadow: 0 1px 10px rgba(0,0,0,.35); }

.tagline {
  font-family: 'Parisienne', cursive;
  color: var(--muted);
  font-size: clamp(18px, 3.6vw, 26px);
  margin-bottom: 8px;
}

.brand { font-family: 'Cormorant Garamond', serif; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.package-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; text-transform: uppercase; font-size: 28px; letter-spacing: 2px; }
.subscript { font-family: 'Parisienne', cursive; color: var(--muted); margin-bottom: 6px; font-size: 24px; }

/* Elegant card */
.card-elegant { border: 1px dotted var(--border); padding: 28px; border-radius: 8px; background: #fff}
.price { margin: 8px 0 0; font-weight: 600; letter-spacing: .6px; color: var(--gold); }
.card-allin { background: #1C1C1C; color: #e8e8e8; border-color: rgba(255,255,255,0.08); }
.card-allin .package-title { color: var(--gold); }
.card-allin .subscript { color: #cfcfcf; }
.card-allin .media { background: #111; }
.best-note { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.list { margin: 16px 0 0; padding-left: 18px; }
.list li { margin: 10px 0; }

/* Placeholders for images */
.placeholder { background: repeating-linear-gradient(45deg, #fafafa, #fafafa 12px, #f5f5f5 12px, #f5f5f5 24px); border: 1px solid var(--border); border-radius: 8px; position: relative; }
.placeholder::after { content: 'Miejsce na obraz'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 12px; letter-spacing: 0.8px; text-transform: uppercase; }
.placeholder-circle { border-radius: 999px; width: 180px; height: 180px; margin: 0 auto; }
.placeholder-top { width: 100%; aspect-ratio: 1 / 1; }
.placeholder-rect { width: 100%; aspect-ratio: 3 / 2; }
.placeholder-square { width: 100%; aspect-ratio: 1 / 1; }
.placeholder-corner { width: 100%; aspect-ratio: 3 / 4; background-image: linear-gradient(135deg, #fafafa 0 60%, #f2f2f2 60%); }
.placeholder-corner-right { width: 100%; aspect-ratio: 3 / 4; background-image: linear-gradient(315deg, #fafafa 0 60%, #f2f2f2 60%); }

/* Media wrappers for real images */
.media { width: 100%; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #f8f8f8; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-9x16 { aspect-ratio: 9 / 16; }
.media-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.media-video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; background: #000; }

/* Dividers */
.divider.gold { height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); opacity: 0.6; }

/* Contact styling */
.contact { font-size: 16px; }
.contact .contact-item { margin: 0 6px; display: inline-flex; align-items: center; gap: 6px; }
.contact a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.contact a:hover { color: var(--gold); }

/* Icons */
.icon { width: 18px; height: 18px; vertical-align: -3px; }
.icon-btn { margin-right: 8px; }

/* Section titles */
.section-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

/* About section styling */
.about { background: #1C1C1C; color: #e8e8e8; }
.about .section-title { color: var(--gold); }
.about p { color: #cfcfcf; }
.about .media { background: #111; border-color: rgba(255,255,255,0.08); }

/* Footer */
.footer { padding: 36px 0; background: #1C1C1C; color: #fff; border-top: 1px dotted rgba(255,255,255,0.15); }
.footer .small { font-size: 12px; opacity: 0.9; }
.footer a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--gold); }
.footer a:hover { color: var(--gold); }

/* Small tweaks */
@media (min-width: 992px) { .hero { padding-top: 120px; } }

/* Hero layout for ≤ sm (<=767.98px) */
@media (max-width: 767.98px) {
  .hero { min-height: 100vh; display: flex; align-items: flex-end; }
  .hero .container { width: 100%; display: flex; align-items: flex-end; margin-bottom: 64px;}
  .hero .hero-overlay { padding-bottom: 64px;}
  .hero-img { height: 100%; }
  /* Contact stacking on small screens */
  .contact { text-align: left; }
  .contact .contact-item { display: block; margin: 6px 0; }
  .contact .contact-sep { display: none; }
}
