/* ============================================
   fotografia.co.pl — Design System
   Grupa 4Foto | Bootstrap 5 + custom
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ─── TOKENS ─────────────────────────────── */
:root {
  --c-bg:        #0a0a0a;
  --c-surface:   #111111;
  --c-surface2:  #181818;
  --c-border:    #2a2a2a;
  --c-gold:      #c9a96e;
  --c-gold-light:#e2c89a;
  --c-gold-dark: #9a7a48;
  --c-text:      #e8e0d5;
  --c-muted:     #888880;
  --c-white:     #ffffff;

  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Jost', system-ui, sans-serif;

  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semi:     600;

  --radius:      4px;
  --radius-lg:   8px;
  --shadow:      0 4px 24px rgba(0,0,0,.45);
  --shadow-gold: 0 0 30px rgba(201,169,110,.12);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET & BASE ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-weight: var(--fw-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-gold-light); }

/* ─── TYPOGRAPHY ─────────────────────────── */
.display-serif {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  line-height: 1.15;
  letter-spacing: .01em;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: var(--fw-light);
  color: var(--c-white);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  font-weight: var(--fw-light);
  color: var(--c-text);
  line-height: 1.8;
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: var(--fw-medium);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.gold { color: var(--c-gold); }
.gold-light { color: var(--c-gold-light); }
.muted { color: var(--c-muted); }

/* ─── NAVIGATION ─────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: all var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: .9rem 2rem;
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: var(--fw-light);
  color: var(--c-white);
  letter-spacing: .04em;
}
.nav-logo span { color: var(--c-gold); }
.nav-logo:hover { color: var(--c-white); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: .82rem;
  font-weight: var(--fw-medium);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-gold); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--c-gold);
  color: var(--c-gold) !important;
  padding: .45rem 1.2rem;
  border-radius: var(--radius);
  font-size: .78rem !important;
  letter-spacing: .12em !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--c-gold) !important;
  color: var(--c-bg) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--c-gold);
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(10,10,10,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem 0;
    transform: translateY(-110%);
    transition: transform var(--transition);
    border-bottom: 1px solid var(--c-border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: .9rem 2rem; }
  .nav-cta { margin: .5rem 2rem; display: block; text-align: center; }
}

/* ─── HERO ───────────────────────────────── */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,169,110,.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-label {
  display: inline-block;
  border: 1px solid var(--c-gold-dark);
  color: var(--c-gold);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  margin-bottom: 1.8rem;
  border-radius: var(--radius);
}

.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { max-width: 56ch; margin-bottom: 2.2rem; }

/* ─── BUTTONS ────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--c-gold);
  color: var(--c-bg);
  font-family: var(--ff-body);
  font-size: .82rem;
  font-weight: var(--fw-medium);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-gold:hover {
  background: var(--c-gold-light);
  color: var(--c-bg);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,169,110,.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--c-gold);
  font-family: var(--ff-body);
  font-size: .82rem;
  font-weight: var(--fw-medium);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .82rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--c-gold-dark);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--c-gold);
  background: rgba(201,169,110,.06);
  color: var(--c-gold-light);
}

/* ─── GOLD DIVIDER ───────────────────────── */
.gold-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
  margin: 1.4rem 0;
}
.gold-rule.center { margin: 1.4rem auto; }

/* ─── CARDS ──────────────────────────────── */
.card-dark {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card-dark:hover {
  border-color: var(--c-gold-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.card-icon {
  width: 44px; height: 44px;
  background: rgba(201,169,110,.1);
  border: 1px solid var(--c-gold-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

/* ─── SECTIONS ───────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header .eyebrow { margin-bottom: .8rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 60ch; color: var(--c-muted); }
.section-header.center p { margin-left: auto; margin-right: auto; }

/* ─── TABLE OF CONTENTS ──────────────────── */
.toc {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-gold);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  margin-bottom: 2.5rem;
}
.toc-title {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: var(--fw-medium);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1rem;
}
.toc ol { padding-left: 1.4rem; color: var(--c-muted); }
.toc li { margin-bottom: .4rem; font-size: .95rem; }
.toc a { color: var(--c-muted); transition: color var(--transition); }
.toc a:hover { color: var(--c-gold); }

/* ─── ARTICLE CONTENT ────────────────────── */
.article-content {
  max-width: 760px;
}
.article-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 2.5rem 0 1rem;
  color: var(--c-white);
}
.article-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 .8rem;
  color: var(--c-gold-light);
}
.article-content p { color: var(--c-text); margin-bottom: 1.3em; }
.article-content ul, .article-content ol {
  padding-left: 1.6rem;
  margin-bottom: 1.4em;
  color: var(--c-text);
}
.article-content li { margin-bottom: .5em; }
.article-content strong { color: var(--c-white); font-weight: var(--fw-medium); }
.article-content blockquote {
  border-left: 3px solid var(--c-gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--c-surface);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--c-gold-light);
}

/* ─── BREADCRUMB ─────────────────────────── */
.breadcrumb-nav {
  padding: 1rem 0;
  font-size: .8rem;
  color: var(--c-muted);
}
.breadcrumb-nav a { color: var(--c-muted); }
.breadcrumb-nav a:hover { color: var(--c-gold); }
.breadcrumb-nav span { margin: 0 .5rem; }

/* ─── INFO BOX ───────────────────────────── */
.info-box {
  background: rgba(201,169,110,.06);
  border: 1px solid var(--c-gold-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.info-box .eyebrow { margin-bottom: .5rem; }
.info-box p { color: var(--c-text); margin: 0; font-size: .95rem; }

/* ─── FAQ ────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: 1.5rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-q {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--c-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after {
  content: '+';
  color: var(--c-gold);
  font-size: 1.4rem;
  font-family: var(--ff-body);
  font-weight: var(--fw-light);
  flex-shrink: 0;
}
.faq-q.open::after { content: '−'; }
.faq-a {
  display: none;
  padding-top: 1rem;
  color: var(--c-muted);
  line-height: 1.8;
  font-size: .96rem;
}
.faq-a.open { display: block; }

/* ─── STAT STRIP ─────────────────────────── */
.stat-strip {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 3rem 0;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--ff-display);
  font-size: 3rem;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ─── CTA SECTION ────────────────────────── */
.cta-section {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,169,110,.07) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── FOOTER ─────────────────────────────── */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 4rem 0 2rem;
}
.footer-logo {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--c-white);
}
.footer-logo span { color: var(--c-gold); }
.footer-tagline {
  font-size: .82rem;
  color: var(--c-muted);
  margin-top: .4rem;
  letter-spacing: .05em;
}
.footer-heading {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: var(--fw-medium);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: var(--c-muted); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--c-gold); }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: var(--c-muted);
}

/* ─── UTILITIES ──────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.pt-nav { padding-top: 5rem; }

/* Responsive grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4.5rem 0; }
}

/* Scroll animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--c-gold);
  color: var(--c-bg);
  padding: .5rem 1rem;
  font-size: .85rem;
  border-radius: var(--radius);
  transition: top .2s;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }
