@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
    --primary-color: #0052cc;
    --background-color: #f8f9fa;
    --surface-color: #ffffff;
    --text-color: #212529;
    --text-muted-color: #6c757d;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Inter", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
nav .logo {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: var(--primary-color);
}
.lang-switcher button {
    background: none;
    border: none;
    color: var(--text-muted-color);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    font-family: "Inter", sans-serif;
}
.lang-switcher button.active {
    color: var(--primary-color);
    font-weight: 700;
}

#hero {
    background-color: var(--surface-color);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}
#hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 1.5rem;
}
#hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted-color);
    max-width: 600px;
    margin-bottom: 2.5rem;
}
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition:
        background-color 0.3s,
        transform 0.3s;
}
.btn:hover {
    background-color: #0041a3;
    transform: translateY(-3px);
}
.hero-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.social-link {
    color: var(--text-muted-color);
    font-size: 1.8rem;
    transition:
        color 0.3s,
        transform 0.3s;
}
.social-link:hover {
    color: var(--primary-color);
}

section {
    padding: 6rem 0;
}
section:nth-child(even) {
    background-color: var(--surface-color);
}
h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-muted-color);
    max-width: 800px;
    margin: 1rem auto 0;
}
#about p {
    margin-top: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.service-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--text-muted-color);
    font-size: 0.95rem;
    margin-top: auto;
}

/* NOWY STYL DLA PODTYTUŁU */
.subsection-title {
    text-align: center;
    font-size: 1.8rem;
    margin-top: 5rem;
    margin-bottom: -1rem;
    color: var(--text-color);
}

#clients {
    background-color: var(--background-color);
    padding: 5rem 0;
}
#clients .container {
    text-align: center;
}
#clients h2 {
    font-size: 1.2rem;
    color: var(--text-muted-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3rem;
}
.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}
.client-logo-item {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-muted-color);
    opacity: 0.8;
}

#projects {
    background-color: var(--surface-color);
}
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
}
.project-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}
.project-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.project-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}
.project-tags span {
    background-color: #e7f3ff;
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

#contact {
    text-align: center;
}
#contact .section-subtitle {
    margin-bottom: 3rem;
}
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--surface-color);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
}
#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}
#contact-form button {
    align-self: center;
    border: none;
    cursor: pointer;
}
#form-status {
    margin-top: 1rem;
    font-weight: 600;
    min-height: 24px;
}

footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
footer p {
    color: var(--text-muted-color);
}
.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.footer-links a {
    color: var(--text-muted-color);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    nav ul {
        display: none;
    }
    .client-logos {
        gap: 2.5rem;
    }
    .client-logo-item {
        font-size: 1.2rem;
    }
}

