/* FU Gazda — Andrzej Gazda Remonty i Wykończenia */
:root {
  --ink: #1a1a2e;
  --ink-soft: #4a4a5e;
  --paper: #faf8f5;
  --white: #ffffff;
  --line: #e8e4de;
  --accent: #b8860b;
  --accent-light: #d4a843;
  --accent-dark: #8b6914;
  --warm-dark: #2c1810;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 6px;
  --max-w: 1200px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
a { color: var(--accent-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.3; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
ul { list-style: none; }

/* HEADER */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center;
  height: 72px; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  flex-shrink: 0;
}
.brand-mark {
  width: 40px; height: 40px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.brand-text { line-height: 1.2; }
.brand-text strong { display: block; font-size: 1rem; font-weight: 700; }
.brand-text small { display: block; font-size: 0.7rem; color: var(--ink-soft); font-weight: 400; }
.site-nav { display: flex; gap: 4px; flex: 1; justify-content: flex-end; }
.nav-link {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--ink-soft);
  transition: all 0.2s; white-space: nowrap;
}
.nav-link:hover { background: var(--paper); color: var(--accent); }
.nav-link.active { background: var(--accent); color: var(--white); }
.nav-cta {
  padding: 8px 20px; border-radius: var(--radius-sm);
  background: var(--warm-dark); color: var(--white) !important;
  font-weight: 600; font-size: 0.85rem;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-dark); }

/* HERO */
.hero {
  min-height: 70vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #2c1810 0%, #4a2c20 50%, #6b442a 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content { position: relative; z-index: 1; padding: 60px 0; max-width: 700px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.5rem; color: var(--white); }
.hero .subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12);
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.hero-btn {
  display: inline-block; padding: 14px 36px;
  background: var(--accent); color: var(--white) !important;
  font-weight: 600; font-size: 1rem;
  border-radius: var(--radius-sm); transition: all 0.3s;
}
.hero-btn:hover { background: var(--accent-light); transform: translateY(-2px); }
.hero-btn-outline {
  display: inline-block; padding: 14px 36px;
  border: 2px solid var(--accent); color: var(--accent-light) !important;
  font-weight: 600; font-size: 1rem;
  border-radius: var(--radius-sm); margin-left: 12px;
}
.hero-btn-outline:hover { background: var(--accent); color: var(--white) !important; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-light { background: var(--white); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { position: relative; display: inline-block; }
.section-title h2::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--accent); margin: 12px auto 0; border-radius: 2px;
}

/* HOME: USŁUGI OVERVIEW */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 24px;
  transition: all 0.3s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--accent); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* HOME: STATS */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.9rem; color: var(--ink-soft); }

/* GALLERY */
.gallery-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap;
}
.gallery-tab {
  padding: 10px 24px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white);
  font-size: 0.875rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.gallery-tab:hover { border-color: var(--accent); color: var(--accent); }
.gallery-tab.active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.gallery-item {
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 4/3; position: relative;
  background: var(--line);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* KONTAKT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px;
}
.contact-card h3 { margin-bottom: 1rem; }
.contact-row { display: flex; gap: 12px; margin-bottom: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-map {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--line);
  border: 1px solid var(--line);
}
.contact-map img { width: 100%; height: 100%; object-fit: cover; }

/* PAGE HEADER */
.page-header {
  background: var(--warm-dark); color: var(--white);
  padding: 80px 0 60px;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); }
.page-content { padding: 60px 0; }
.content-block { max-width: 800px; }
.content-block ul { list-style: disc; padding-left: 20px; margin-bottom: 1rem; }
.content-block li { margin-bottom: 0.5rem; line-height: 1.6; }

/* FOOTER */
.site-footer { background: var(--warm-dark); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-display); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-grid a { color: rgba(255,255,255,0.7); }
.footer-grid a:hover { color: var(--accent-light); }
.footer-grid p, .footer-grid li { font-size: 0.875rem; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; margin-top: 40px; text-align: center;
}
.footer-bottom p { font-size: 0.8rem; margin: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-inner { height: 64px; gap: 0; }
  .site-nav { display: none; }
  .nav-cta { font-size: 0.8rem; padding: 6px 14px; }
  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-content { padding: 40px 0; }
  .hero-btn-outline { margin-left: 0; margin-top: 12px; display: inline-block; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}