/* ==========================================================================
   Piotr Moskal — Doradztwo Informatyczne
   Authentic 1:1 Design System (ShareTechMono, Neve, Minimalist Consulting)
   ========================================================================== */

@font-face {
    font-family: 'ShareTechMono-RegularPM';
    src: url('../fonts/ShareTechMono-RegularPM.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --nv-primary-accent: #000000;
    --nv-secondary-accent: #4f4f4f;
    --nv-site-bg: #ffffff;
    --nv-light-bg: #ededed;
    --nv-dark-bg: #14171c;
    --nv-text-color: #000000;
    --nv-text-dark-bg: #ffffff;
    --nv-c-1: #77b978;
    --nv-c-2: #f37262;
    --nv-hover-accent: #b91c1c; /* Burgundy/red highlight per brandbook */
    --font-mono: 'ShareTechMono-RegularPM', monospace, Arial, sans-serif;
    --container-width: 1140px;
    --container-reading: 880px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    font-size: 17px;
    line-height: 1.7;
    color: var(--nv-text-color);
    background-color: var(--nv-site-bg);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-mono);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.6em;
    color: inherit;
}

h1 { font-size: 46px; }
h2 { font-size: 34px; }
h3 { font-size: 26px; }
h4 { font-size: 20px; }

p {
    margin-bottom: 1.4em;
}

a {
    color: var(--nv-text-color);
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover, a:focus {
    color: var(--nv-hover-accent);
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-reading {
    width: 100%;
    max-width: var(--container-reading);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 19px;
    font-weight: 800;
    color: #000000;
    line-height: 1.15;
}

.brand-tagline {
    font-size: 13px;
    color: #666666;
    line-height: 1.2;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    border-bottom: 2px solid transparent;
    transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--nv-hover-accent);
    border-bottom-color: var(--nv-hover-accent);
}

/* Dropdown styling */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e2e2;
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1010;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 8px 18px;
    font-size: 14px;
    color: #111111;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown li a:hover {
    background: #f7f7f7;
    color: var(--nv-hover-accent);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid #000000;
    padding: 6px 10px;
    font-family: var(--font-mono);
    font-size: 18px;
    cursor: pointer;
}

/* ==========================================================================
   Home Page Sections
   ========================================================================== */
.hero-banner-wrap {
    width: 100%;
    background: #000;
}

.hero-banner-img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    object-position: center;
}

/* Two Columns Section (Branże & Usługi) */
.section-intro-cols {
    padding: 65px 0 50px 0;
    background: #ffffff;
}

.cols-2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.col-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
    border-bottom: 2px solid #000000;
    padding-bottom: 6px;
    display: inline-block;
}

/* Dark Section (O mnie / Dzień dobry) */
.section-dark-about {
    background: var(--nv-dark-bg);
    color: var(--nv-text-dark-bg);
    padding: 80px 0;
}

.dark-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.overtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888888;
    margin-bottom: 8px;
}

.section-dark-about h2 {
    font-size: 50px;
    color: #ffffff;
    margin-bottom: 22px;
}

.methodology-list {
    margin: 24px 0 32px 24px;
    color: #dddddd;
}

.methodology-list li {
    margin-bottom: 12px;
    padding-left: 6px;
}

.btn-white-action {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    padding: 12px 28px;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.btn-white-action:hover {
    background: var(--nv-hover-accent);
    color: #ffffff;
    border-color: var(--nv-hover-accent);
}

.photo-portrait {
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* Light Section (Tematy) */
.section-light-topics {
    background: var(--nv-light-bg);
    color: var(--nv-text-color);
    padding: 80px 0;
}

.section-light-topics h2 {
    font-size: 38px;
    margin-bottom: 40px;
}

.cols-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.topic-card {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: #b91c1c;
}

.topic-thumb {
    width: 100%;
    height: 240px;
    object-fit: cover;
    margin-bottom: 20px;
}

.topic-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.topic-status {
    font-size: 14px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Find me online section */
.section-online-presence {
    padding: 70px 0;
    background: #ffffff;
    border-top: 1px solid #eaeaea;
}

.online-links-wrap {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-social {
    display: inline-block;
    border: 1px solid #000000;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.btn-social:hover {
    background: var(--nv-hover-accent);
    color: #ffffff;
    border-color: var(--nv-hover-accent);
}

/* ==========================================================================
   Subpages Layout
   ========================================================================== */
.page-container {
    padding: 50px 0 80px 0;
}

.page-header {
    margin-bottom: 35px;
    border-bottom: 2px solid #000000;
    padding-bottom: 16px;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
}

.page-body-content {
    font-size: 17px;
    line-height: 1.8;
}

.page-body-content p {
    margin-bottom: 1.5em;
}

.page-body-content ul, .page-body-content ol {
    margin: 1.2em 0 1.5em 24px;
}

.page-body-content li {
    margin-bottom: 8px;
}

/* Contact Page Specifics */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 50px;
}

.contact-photo {
    border: 1px solid #ccc;
}

.contact-details-box p {
    margin-bottom: 1.2em;
}

.contact-form-card {
    background: #fbfbfb;
    border: 1px solid #e2e2e2;
    padding: 36px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 15px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-mono);
    font-size: 15px;
    border: 1px solid #cccccc;
    background: #ffffff;
    border-radius: 0;
    transition: border-color 0.15s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--nv-hover-accent);
}

.btn-submit-contact {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    padding: 14px 32px;
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.btn-submit-contact:hover {
    background: var(--nv-hover-accent);
    border-color: var(--nv-hover-accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--nv-dark-bg);
    color: #999999;
    padding: 45px 0 35px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left p {
    margin: 0;
    color: #aaaaaa;
}

.footer-nav {
    display: flex;
    gap: 18px;
    list-style: none;
}

.footer-nav a {
    color: #bbbbbb;
}

.footer-nav a:hover {
    color: var(--nv-hover-accent);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .cols-2-grid, .dark-grid, .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cols-3-grid {
        grid-template-columns: 1fr;
    }

    .mobile-toggle {
        display: block;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 2px solid #000000;
        padding: 20px 24px;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .header-nav.open {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-item.open .nav-dropdown {
        display: block;
    }
}

/* Articles List (Archive Loop) */
.articles-list-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 28px;
}

.article-card {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 28px;
}

.article-card-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-card-title a {
    color: #14171c;
    text-decoration: none;
    transition: color 0.15s ease;
}

.article-card-title a:hover {
    color: var(--nv-hover-accent, #b91c1c);
}

.article-card-excerpt {
    font-size: 1rem;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 14px;
}

.article-read-more {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nv-hover-accent, #b91c1c);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.article-read-more:hover {
    text-decoration: underline;
}

/* Empty Industry Subpage Notice */
.empty-industry-note {
    background-color: #fbfbfb;
    border-left: 4px solid var(--nv-hover-accent, #b91c1c);
    border-top: 1px solid #ededed;
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    padding: 24px 28px;
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
}

.empty-industry-note p {
    margin-bottom: 12px;
}

.empty-industry-note p:last-child {
    margin-bottom: 0;
}

.empty-industry-note a {
    color: var(--nv-hover-accent, #b91c1c);
    text-decoration: none;
    font-weight: 700;
}

.empty-industry-note a:hover {
    text-decoration: underline;
}


