:root {
    --bg-main: #0B0F19;
    --bg-secondary: #131A2A;
    --bg-card: rgba(19, 26, 42, 0.6);
    --primary: #0284c7; /* Niebieski z logo */
    --primary-hover: #0369a1;
    --accent: #10b981; /* Zielony akcent z logo */
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(11, 15, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* -- Typography -- */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* -- Navbar -- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.logo-pro { color: var(--text-main); }
.logo-auto { color: var(--primary); }

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a:hover {
    color: var(--primary);
}

/* Bullets / Buttons */
.btn-primary, .btn-secondary, .btn-primary-small {
    display: inline-block;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 1rem 2rem;
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 1rem 2rem;
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
}

.btn-primary-small {
    background: var(--primary);
    color: #000 !important;
    padding: 0.5rem 1.2rem;
}
.btn-primary-small:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* -- Hero -- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* navbar height */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(2, 132, 199, 0.15) 0%, rgba(16, 185, 129, 0.05) 30%, rgba(11, 15, 25, 0) 60%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-alert {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.hero-alert i {
    font-size: 2rem;
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* -- About / Stats -- */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(2, 132, 199, 0.3);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 132, 199, 0.3);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-box h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.stat-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* -- Services -- */
.section-bg {
    background-color: var(--bg-secondary);
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: var(--primary);
}

.service-card i.ph {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p, .service-card ul {
    color: var(--text-muted);
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card ul li i {
    font-size: 1.2rem;
    margin: 0;
}

/* -- References -- */
.references {
    padding: 8rem 0;
    text-align: center;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.logos-grid img {
    height: 50px;
    opacity: 0.5;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s ease;
}

.logos-grid img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.05);
}

/* -- Contact -- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--text-main);
}
.nip {
    font-size: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.departments {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
}

.dept-card {
    background: var(--bg-main);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.dept-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.dept-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
}
.dept-card p a {
    color: var(--primary);
}

.contact-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.main-phone {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-main);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--primary);
}

.main-phone i {
    font-size: 3.5rem;
    color: var(--primary);
}

.phone-details span {
    display: block;
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.phone-details a {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
}

.main-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--bg-main);
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 1.2rem;
    border: 1px solid var(--border);
}

.main-email:hover {
    border-color: var(--primary);
}

/* -- Global Contact -- */
.global-contact {
    padding: 4rem 0;
    background: var(--bg-main);
    border-top: 1px solid var(--border);
}
.gc-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(2, 132, 199, 0.3);
}
.gc-inner h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.gc-inner p { color: var(--text-muted); }
.gc-actions {
    display: flex;
    gap: 1rem;
}

/* -- Footer -- */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* -- Animations (Scroll Triggered) -- */
.fade-up, .fade-in, .slide-left, .zoom-in {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up { transform: translateY(30px); }
.slide-left { transform: translateX(-30px); }
.zoom-in { transform: scale(0.95); }

/* Classes added via JS */
.in-view {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
    .about-grid, .services-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .stats-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none; /* simple hidden on mobile for brevity, we could add a burger menu */
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}
