/*
Theme Name: Strefa Imprez
Theme URI: https://www.strefaimprez.pl
Author: Strefa Imprez
Description: Motyw WordPress dla Strefa Imprez — wariant "Mono Kontrast". Strona wizytówkowa: oferta, realizacje (CPT), opinie (CPT), kontakt.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: strefa-imprez
*/

/* Strefa Imprez — Wariant A "Mono Kontrast"
   Mobile-first stylesheet. Breakpoints: 640px (tablet), 1024px (desktop). */

:root{
  --bg:#0A0A0A;
  --bg-alt:#141414;
  --card:#1B1B1B;
  --border:#2E2E2E;
  --fg:#F5F5F5;
  --fg-muted:#9A9A9A;
  --accent:#C41E3A;
  --accent-light:#E2394F;

  --space-section-y: 56px;
  --space-section-x: 20px;
}

@media (min-width: 640px){
  :root{ --space-section-x: 40px; }
}
@media (min-width: 1024px){
  :root{ --space-section-y: 96px; --space-section-x: 64px; }
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body{
  margin:0;
  background: var(--bg);
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3{
  font-family: 'Bebas Neue', system-ui, sans-serif;
  letter-spacing: 0.01em;
  margin:0;
  font-weight:400;
}

p{ margin:0; }

a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

img{ max-width:100%; display:block; }

.skip-link{
  position:absolute; left:16px; top:-60px;
  background:var(--accent); color:#fff; padding:12px 18px; border-radius:6px;
  font-size:14px; font-weight:600; z-index:200; transition: top 0.15s ease;
}
.skip-link:focus{ top:16px; }

.wrap{ width:100%; max-width:1440px; margin:0 auto; }

/* ---------- Buttons / small components ---------- */

button{ font-family:inherit; cursor:pointer; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 26px; border-radius:4px; font-size:15px; font-weight:600;
  border:1px solid transparent; letter-spacing:0.02em; white-space:nowrap;
}
.btn-primary{ background:var(--accent); color:#ffffff; }
.btn-primary:hover{ background:var(--accent-light); }
.btn-outline{ background:transparent; color:#ffffff; border:1px solid var(--border); }
.btn-outline:hover{ border-color:#ffffff; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px; font-size:13px; font-weight:600;
  letter-spacing:0.14em; color:var(--fg-muted); text-transform:uppercase;
}
.eyebrow-dot{ width:8px; height:8px; background:var(--accent); border-radius:2px; flex:none; display:block; }

.card{ background:var(--card); border:1px solid var(--border); border-radius:8px; }

.placeholder-img{
  background:var(--bg-alt); border:1px solid var(--border);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  color:var(--fg-muted); font-size:12px; letter-spacing:0.08em; text-transform:uppercase;
  text-align:center; padding:16px;
}

.stat-num{ font-family:'Bebas Neue',system-ui,sans-serif; font-size:30px; color:#ffffff; }
.stat-label{ font-size:13px; color:var(--fg-muted); letter-spacing:0.04em; }

.service-num{ font-family:'Bebas Neue',system-ui,sans-serif; font-size:20px; color:var(--accent); }

.icon-badge{
  width:52px; height:52px; border-radius:10px; background:var(--bg-alt); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color:var(--accent); flex:none;
}

.link-arrow{ font-size:14px; font-weight:600; color:#ffffff; display:inline-flex; align-items:center; gap:8px; }

.step-num{ font-family:'Bebas Neue',system-ui,sans-serif; font-size:44px; color:var(--border); }

.tag{
  display:inline-block; padding:6px 14px; border-radius:20px; background:var(--accent); color:#ffffff;
  font-size:12px; font-weight:600; letter-spacing:0.04em; text-transform:uppercase;
}

.field label{ display:block; font-size:13px; color:var(--fg-muted); margin-bottom:8px; }
.field input, .field textarea{
  width:100%; background:var(--bg-alt); border:1px solid var(--border); border-radius:6px;
  padding:14px 16px; color:#ffffff; font-family:inherit; font-size:15px;
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--accent); }

.form-notice{
  padding:14px 18px; border-radius:6px; font-size:14px; margin-bottom:4px;
}
.form-notice-success{ background:rgba(196,30,58,0.12); border:1px solid var(--accent); color:#fff; }
.form-notice-error{ background:rgba(196,30,58,0.12); border:1px solid var(--accent); color:#fff; }

.social-btn{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color:var(--fg-muted); flex:none;
}
.social-btn:hover{ border-color:#ffffff; color:#ffffff; }

.pill{
  padding:9px 18px; border-radius:24px; border:1px solid var(--border); font-size:14px;
  font-weight:600; color:var(--fg-muted); background:transparent; cursor:pointer;
}
.pill.active{ background:#ffffff; color:#0A0A0A; border-color:#ffffff; }

/* ---------- Logo (wordmark only) ---------- */

.logo{
  font-family:'Bebas Neue',sans-serif; font-size:20px; letter-spacing:0.03em; color:#ffffff;
  display:inline-flex; align-items:baseline; gap:2px;
}
.logo span{ color:var(--accent); }

/* ---------- Header ---------- */

.site-header{
  box-sizing:border-box; padding: 0 var(--space-section-x); min-height:76px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  border-bottom:1px solid var(--border); position:relative;
}

.nav-toggle{
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; background:transparent; border:1px solid var(--border); border-radius:6px;
  color:#fff;
}

.site-nav{
  display:none; flex-direction:column; gap:4px;
  position:absolute; top:100%; left:0; right:0; background:var(--bg);
  border-bottom:1px solid var(--border); padding:8px var(--space-section-x) 16px;
  z-index:100;
}
.site-nav.is-open{ display:flex; }
.site-nav a{
  color:var(--fg-muted); font-size:16px; font-weight:500; padding:12px 0;
  border-bottom:1px solid var(--border);
}
.site-nav a:last-child{ border-bottom:none; }
.site-nav a:hover, .site-nav a.current, .site-nav a.current-menu-item{ color:#ffffff; }

.header-actions{ display:flex; align-items:center; gap:16px; }
.header-actions .btn{ display:none; }
.header-phone{ display:none; font-size:14px; color:var(--fg-muted); }
.header-phone-mobile{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid var(--border); border-radius:8px; color:var(--fg); }

.nav-cta{ display:inline-flex; margin-top:10px; }

@media (min-width: 640px){
  .header-actions .btn{ display:inline-flex; padding:12px 18px; font-size:14px; }
}

@media (min-width: 1024px){
  .site-header{ min-height:96px; }
  .logo{ font-size:22px; }
  .nav-toggle{ display:none; }
  .site-nav{
    display:flex; flex-direction:row; position:static; background:none; border:none; padding:0;
    gap:36px; align-items:center;
  }
  .site-nav a{ border-bottom:none; padding:0; }
  .header-phone{ display:block; }
  .header-phone-mobile{ display:none; }
  .header-actions .btn{ padding:15px 26px; font-size:15px; }
  .nav-cta{ display:none; }
}

/* ---------- Sections (generic rhythm) ---------- */

.section{ box-sizing:border-box; padding: var(--space-section-y) var(--space-section-x); }
.section-alt{ background:var(--bg-alt); }
.section-border{ border-top:1px solid var(--border); border-bottom:1px solid var(--border); }

.section-head{
  display:flex; flex-direction:column; gap:16px; margin-bottom:40px;
}
@media (min-width: 900px){
  .section-head{ flex-direction:row; justify-content:space-between; align-items:flex-end; gap:24px; }
}

/* ---------- Hero ---------- */

.hero{
  display:flex; flex-direction:column; gap:40px; align-items:center;
  padding-top:40px; padding-bottom:48px;
}
.hero-copy{ display:flex; flex-direction:column; gap:22px; width:100%; }
.hero h1{
  font-size: clamp(40px, 9.5vw, 84px);
  line-height: 0.98;
  color:#ffffff;
}
.hero-lede{
  max-width:520px; font-size:16px; line-height:1.6; color:var(--fg-muted);
}
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-top:4px; }

.hero-media{
  position:relative; width:100%; max-width:420px; aspect-ratio: 4 / 5;
}
.hero-media-frame{
  position:absolute; top:16px; left:16px; width:100%; height:100%;
  border:2px solid var(--accent); border-radius:8px;
}
.hero-media .placeholder-img, .hero-media img{ position:relative; width:100%; height:100%; border-radius:8px; object-fit:cover; }

@media (min-width: 1024px){
  .hero{ flex-direction:row; align-items:center; gap:64px; padding-top:0; padding-bottom:0; }
  .hero-copy{ flex:1 1 400px; }
  .hero-media{ flex:none; width:420px; }
  .hero-media-frame{ top:24px; left:24px; }
}

/* ---------- Stats bar ---------- */

.stats{
  display:grid; grid-template-columns: repeat(2, 1fr); gap:28px;
}
@media (min-width: 640px){
  .stats{ grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Stat photo tiles ---------- */

.stat-photo{
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: var(--card);
}
.stat-photo img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------- Grids ---------- */

.grid-cards{
  display:grid; grid-template-columns: 1fr; gap:24px;
}
@media (min-width: 560px){
  .grid-cards{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .grid-cards{ grid-template-columns: repeat(3, 1fr); gap:32px; }
}

.service-card{ padding:28px; display:flex; flex-direction:column; gap:18px; }
.service-card h3{ font-family:'Work Sans',sans-serif; font-size:20px; color:#ffffff; font-weight:600; }
.service-card p{ font-size:14px; color:var(--fg-muted); line-height:1.6; flex:1; }
.service-card-top{ display:flex; justify-content:space-between; align-items:flex-start; }

/* ---------- Why us ---------- */

.why-us{ display:flex; flex-direction:column; gap:40px; }
.why-us-intro{ display:flex; flex-direction:column; gap:18px; }
.why-us-intro h2{ font-size: clamp(30px, 5vw, 40px); color:#ffffff; }
.why-us-intro p{ font-size:15px; color:var(--fg-muted); line-height:1.7; max-width:440px; }
.why-us-grid{ display:grid; grid-template-columns: 1fr; gap:28px; }
.why-us-item h3{ font-family:'Work Sans',sans-serif; font-size:16px; font-weight:600; color:#ffffff; margin:8px 0 6px; }
.why-us-item p{ font-size:14px; color:var(--fg-muted); line-height:1.6; }

@media (min-width: 640px){
  .why-us{ flex-direction:row; gap:48px; }
  .why-us-intro{ flex:1 1 300px; }
  .why-us-grid{ flex:1.2 1 380px; grid-template-columns: repeat(2, 1fr); gap:28px; }
}
@media (min-width: 1024px){
  .why-us{ gap:64px; }
}

/* ---------- Process ---------- */

.process-list{ display:grid; grid-template-columns: 1fr; gap:28px; }
.process-item h3{ font-family:'Work Sans',sans-serif; font-size:15px; font-weight:600; color:#ffffff; margin:10px 0 6px; }
.process-item p{ font-size:13px; color:var(--fg-muted); line-height:1.6; }

@media (min-width: 560px){
  .process-list{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .process-list{ grid-template-columns: repeat(5, 1fr); gap:24px; }
}

/* ---------- Portfolio cards ---------- */

.portfolio-card{ display:flex; flex-direction:column; gap:14px; }
.portfolio-card img, .portfolio-card .placeholder-img{ width:100%; height:220px; border-radius:8px; object-fit:cover; }
.portfolio-card h3{ font-family:'Work Sans',sans-serif; font-size:17px; font-weight:600; color:#ffffff; }
.portfolio-meta{ font-size:13px; color:var(--fg-muted); }

/* ---------- Testimonials ---------- */

.testimonial{ padding:28px; display:flex; flex-direction:column; gap:18px; }
.testimonial p{ font-size:15px; color:var(--fg-muted); line-height:1.7; flex:1; }
.testimonial-name{ font-size:14px; font-weight:600; color:#ffffff; }
.testimonial-role{ font-size:12px; color:var(--fg-muted); }

/* ---------- Contact ---------- */

.contact{ display:flex; flex-direction:column; gap:40px; }
.contact-form-col{ display:flex; flex-direction:column; gap:22px; }
.contact-form-col h2{ font-size: clamp(30px, 5vw, 40px); color:#ffffff; }
.contact form{ display:flex; flex-direction:column; gap:16px; margin-top:4px; }
.field-row{ display:flex; gap:16px; flex-wrap:wrap; }
.field-row .field{ flex:1 1 200px; }

.contact-info-col{ display:flex; flex-direction:column; gap:28px; }
.contact-detail{ display:flex; gap:16px; align-items:center; }
.contact-detail-label{ font-size:13px; color:var(--fg-muted); }
.contact-detail-value{ font-size:15px; color:#ffffff; font-weight:600; }
.social-row{ display:flex; gap:12px; margin-top:4px; }

@media (min-width: 1024px){
  .contact{ flex-direction:row; gap:64px; }
  .contact-form-col{ flex:1 1 400px; }
  .contact-info-col{ flex:1 1 320px; }
}

/* ---------- Footer ---------- */

.site-footer{ box-sizing:border-box; padding:48px var(--space-section-x); display:flex; flex-direction:column; gap:28px; }
.footer-top{ display:flex; flex-direction:column; gap:28px; }
.footer-brand{ display:flex; flex-direction:column; gap:12px; max-width:320px; }
.footer-brand p{ font-size:13px; color:var(--fg-muted); line-height:1.6; }
.footer-nav{ display:flex; gap:24px; flex-wrap:wrap; }
.footer-nav a{ font-size:14px; color:var(--fg-muted); }
.footer-nav a:hover{ color:#fff; }
.footer-bottom{ display:flex; flex-direction:column; gap:10px; }
.footer-bottom-row{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.footer-bottom-row span, .footer-bottom-row a{ font-size:12px; color:var(--fg-muted); }
.footer-rule{ height:1px; background:var(--border); width:100%; }

@media (min-width: 1024px){
  .footer-top{ flex-direction:row; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; }
  .footer-brand{ max-width:700px; flex-shrink:0; }
  .footer-brand p{ white-space:nowrap; }
}

/* ---------- Breadcrumb / page hero (realizacje) ---------- */

.page-hero{ display:flex; flex-direction:column; gap:18px; padding-bottom:0; }
.breadcrumb{ font-size:13px; color:var(--fg-muted); }
.breadcrumb .current{ color:#ffffff; }
.page-hero h1{ font-size: clamp(36px, 8vw, 64px); color:#ffffff; }
.page-hero p{ max-width:600px; font-size:16px; color:var(--fg-muted); line-height:1.6; }

.filters{ display:flex; gap:12px; flex-wrap:wrap; }

.cta-band{
  display:flex; flex-direction:column; align-items:flex-start; gap:24px;
}
.cta-band h2{ font-size: clamp(26px, 5vw, 36px); color:#ffffff; max-width:640px; }
@media (min-width: 800px){
  .cta-band{ flex-direction:row; align-items:center; justify-content:space-between; }
}

/* ---------- Tresc strony (page.php -- np. polityka prywatnosci) ---------- */

.page-content{ color:var(--fg-muted); font-size:16px; line-height:1.75; }
.page-content h2{
  font-family:'Bebas Neue',system-ui,sans-serif;
  color:#ffffff;
  font-size:28px;
  letter-spacing:0.01em;
  margin:40px 0 16px;
}
.page-content h2:first-child{ margin-top:0; }
.page-content h3{
  font-family:'Work Sans',sans-serif;
  font-weight:600;
  color:#ffffff;
  font-size:18px;
  margin:28px 0 12px;
}
.page-content p{ margin:0 0 16px; }
.page-content ul, .page-content ol{ margin:0 0 16px; padding-left:22px; }
.page-content li{ margin-bottom:8px; }
.page-content a{ color:var(--accent); text-decoration:underline; }
.page-content a:hover{ color:var(--accent-light); }
.page-content strong{ color:#ffffff; }
.page-content hr{ border:none; border-top:1px solid var(--border); margin:32px 0; }

/* ---------- WordPress core alignments (minimal support) ---------- */

.alignfull{ width:100%; max-width:100%; }
.alignwide{ max-width:1200px; margin-left:auto; margin-right:auto; }
