/* --- ZMIENNE --- */
:root {
    --primary: #1e293b;
    --secondary: #475569;
    --accent: #f97316;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-radius: 4px;
}

/* --- RESET & BAZA --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; color: var(--primary); line-height: 1.6; background-color: var(--white); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- NAWIGACJA --- */
header { background: var(--white); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); position: fixed; width: 100%; top: 0; z-index: 1000; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
nav { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 24px; font-weight: 800; text-transform: uppercase; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 600; text-transform: uppercase; font-size: 14px; color: var(--primary); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* --- HERO --- */
.hero { height: 90vh; background: linear-gradient(rgba(30, 41, 59, 0.85), rgba(30, 41, 59, 0.7)), url('https://images.unsplash.com/photo-1486673748761-a8d18475c757?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); background-size: cover; background-position: center; background-attachment: fixed; display: flex; align-items: center; color: var(--white); padding-top: 80px; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
.hero p { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 30px; border-left: 4px solid var(--accent); padding-left: 20px; }
.btn { display: inline-block; background: var(--accent); color: var(--white); padding: 15px 40px; font-weight: 700; text-transform: uppercase; border-radius: var(--border-radius); }

/* --- SEKCJE --- */
section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; position: relative; display: inline-block; }
.section-header h2::after { content: ''; display: block; width: 50%; height: 4px; background: var(--accent); margin: 10px auto 0; }

/* --- OFERTA --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-light); padding: 40px 30px; border-radius: var(--border-radius); transition: 0.3s; border-bottom: 4px solid transparent; }
.service-card:hover { background: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); border-bottom: 4px solid var(--accent); transform: translateY(-5px); }
.service-icon { font-size: 40px; color: var(--accent); margin-bottom: 20px; }

/* --- AKTUALNE --- */
.current-section { background-color: #fff7ed; }
.active-projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.active-project-card { background: var(--white); padding: 25px; border-radius: 6px; border-left: 5px solid var(--accent); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); }
.status-badge-container { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.status-badge { font-size: 0.7rem; text-transform: uppercase; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.status-badge.in-progress { background: #fff7ed; color: #c2410c; }
.status-badge.formal { background: #f0fdf4; color: #15803d; }
.status-badge.waiting { background: #f1f5f9; color: #475569; }
.project-meta { border-top: 1px solid #e2e8f0; padding-top: 15px; font-size: 0.85rem; color: #64748b; }

/* --- REALIZACJE --- */
.timeline-container { position: relative; max-width: 900px; margin: 0 auto; }
.timeline-container::after { content: ''; position: absolute; width: 2px; background: #cbd5e1; top: 0; bottom: 0; left: 20px; }
.timeline-item { position: relative; margin-bottom: 50px; padding-left: 60px; }
.timeline-year { position: absolute; left: -8px; width: 56px; height: 56px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; border: 4px solid var(--bg-light); box-shadow: 0 0 0 2px var(--accent); z-index: 2; }
.timeline-content { background: var(--white); padding: 25px; border-radius: var(--border-radius); border: 1px solid #e2e8f0; }
.timeline-content ul li { margin-bottom: 15px; }

/* --- KONTAKT & QR --- */
.contact-section { background: var(--primary); color: var(--white); }
.contact-wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px; }
.contact-details { flex: 1; min-width: 300px; }
.info-row { display: flex; gap: 20px; margin-bottom: 30px; }
.info-row i { color: var(--accent); font-size: 24px; }

.contact-qr { flex: 0 0 300px; display: flex; justify-content: center; align-items: center; }
.qr-container { background: var(--white); padding: 25px; border-radius: 12px; text-align: center; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
#qrcode img { margin: 0 auto; border: 8px solid white; }
.qr-label { color: var(--primary); margin-top: 15px; font-weight: 600; font-size: 0.9rem; line-height: 1.2; }
.qr-label span { color: var(--accent); font-size: 0.8rem; text-transform: uppercase; }

footer { background: #0f172a; color: #64748b; text-align: center; padding: 30px 0; border-top: 1px solid #334155; }

/* --- RWD --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; }
    .contact-wrapper { flex-direction: column; }
    .contact-qr { width: 100%; margin-top: 20px; }
}