/*
Theme Name: 4MAGAZIN WP
Theme URI: https://4magazin.com/
Author: OpenAI
Description: Statyczne odtworzenie strony 4MAGAZIN Robert Chyczewski Co. przygotowane do WordPressa.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Text Domain: fourmagazin
*/

:root {
  --gold: #dfa326;
  --gold-dark: #bd8111;
  --ink: #1f2933;
  --muted: #5b6670;
  --paper: #ffffff;
  --soft: #f5f3ef;
  --line: #e3ded6;
  --shadow: 0 18px 45px rgba(21, 24, 28, .12);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.65;
  font-size: 17px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }

.site-header {
  background: var(--gold);
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: .2px;
}
.logo {
  height: 58px;
  width: auto;
}
.brand-text { font-size: 18px; white-space: nowrap; }
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  font-weight: 700;
}
.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-bottom-color: #111; color: #111; }

.site-main { background: var(--paper); }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}
.section { padding: 74px 0; }
.section.alt { background: var(--soft); }
.section-title {
  margin: 0 0 26px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.section-subtitle {
  font-size: 20px;
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto 34px;
}
.text-center { text-align: center; }
.lead {
  font-size: clamp(19px, 2.2vw, 24px);
  max-width: 960px;
  margin: 0;
  color: #2f3a44;
}

.hero {
  background:
    linear-gradient(rgba(26, 27, 30, .68), rgba(26, 27, 30, .50)),
    url('https://primary.jwwb.nl/pexels/29/29454379.jpeg?crop=0.8333%3A1&enable=upscale&enable-io=true&width=1600') center/cover no-repeat;
  color: #fff;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero .container { padding-top: 40px; padding-bottom: 40px; }
.hero h1 {
  max-width: 930px;
  margin: 0 0 24px;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hero p { color: rgba(255,255,255,.95); max-width: 980px; }
.actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.button,
button.button,
input[type="submit"].button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  padding: 14px 24px;
  min-height: 48px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { background: #f0b73b; color: #111; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.button.secondary { background: #111; color: #fff; }
.button.secondary:hover { background: #333; color: #fff; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card img { width: 100%; height: 270px; object-fit: cover; }
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
.card p { margin: 0 0 22px; color: var(--muted); }
.card .button { margin-top: auto; align-self: flex-start; }

.faq {
  max-width: 950px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  margin: 14px 0;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
}
.faq-item h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.faq-item p { margin: 0 0 10px; color: #3d4852; }

.quote-band {
  background: #1f2328;
  color: #fff;
  text-align: center;
}
.quote-band blockquote { margin: 0; font-size: clamp(22px, 3vw, 34px); font-weight: 700; line-height: 1.35; }
.quote-band cite { display: block; margin-top: 14px; color: var(--gold); font-style: normal; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 42px;
  align-items: start;
}
.contact-card,
.about-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d3d6da;
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  margin-bottom: 18px;
  background: #fff;
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.notice {
  padding: 14px 16px;
  margin: 0 0 18px;
  border-radius: 12px;
  background: #eaf7ee;
  color: #20562d;
  border: 1px solid #bfe7ca;
}
.contact-details p { margin: 8px 0; }
.contact-details strong { display: inline-block; min-width: 86px; }

.service-row {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 38px;
  align-items: center;
  margin: 0 0 72px;
}
.service-row:nth-child(even) { grid-template-columns: 1fr 42%; }
.service-row:nth-child(even) .service-image { order: 2; }
.service-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.service-content h2 { margin: 0 0 14px; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.15; }
.service-content ul { padding-left: 22px; }
.service-content li { margin-bottom: 8px; }

.media-links {
  max-width: 820px;
  margin: 26px 0;
  display: grid;
  gap: 14px;
}
.media-links a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
}
.profile-banner {
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.site-footer {
  background: #111418;
  color: rgba(255,255,255,.82);
  text-align: center;
  padding: 28px 20px;
  font-size: 15px;
}
.site-footer a { color: #fff; text-decoration: underline; }

@media (max-width: 880px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav ul { flex-wrap: wrap; gap: 16px; }
  .brand-text { white-space: normal; }
  .cards, .split, .service-row, .service-row:nth-child(even) { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-image { order: 0; }
  .hero { min-height: 520px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .logo { height: 48px; }
  .card img, .service-image img { height: 260px; }
  .contact-card, .about-card { padding: 24px; }
}
