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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nawigacja */
.navbar {
    background-color: #1e293b;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.logo a {
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3b82f6;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #e2e8f0;
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./warsaw.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0;
    text-align: center;
    color: #fff; /* zapewnia biały tekst na przyciemnionym tle */
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #94a3b8;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #3b82f6;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

/* Usługi */
.services {
    padding: 4rem 0;
    background-color: #0f172a;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #f1f5f9;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3b82f6;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 kolumn na dużych ekranach */
    gap: 2rem;
    justify-content: center; /* wyśrodkowanie całej siatki */
}

.service-card {
    background-color: #1e293b;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 300px; /* opcjonalnie, aby karty nie były zbyt szerokie */
    margin: 0 auto; /* wyśrodkowanie karty w kolumnie */
    width: 100%; /* karta zajmuje całą dostępną szerokość kolumny */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.service-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.service-card p {
    color: #94a3b8;
}

/* O nas */
.about {
    padding: 4rem 0;
    background-color: #1e293b;
}

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

.about-text p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.about-image .image-placeholder {
    background-color: #2d3748;
    height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
    border: 2px dashed #4a5568;
}

/* Kontakt */
.contact {
    padding: 4rem 0;
    background-color: #0f172a;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #f1f5f9;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: #3b82f6;
    width: 1.5rem;
}

.contact-form {
    background-color: #1e293b;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #334155;
    background-color: #0f172a;
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-success {
    background-color: #10b981;
    color: #fff;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-error {
    background-color: #dc2626;
    color: #fff;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Stopka */
.footer {
    background-color: #1e293b;
    padding: 2rem 0;
    text-align: center;
    color: #94a3b8;
}

/* Responsywność */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #1e293b;
        padding: 1rem 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.2);
        text-align: center;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image .image-placeholder {
        height: 200px;
    }
}

/* Dla ekranów od 992px do 1199px (4 karty w rzędzie) */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Dla ekranów od 768px do 991px (3 karty w rzędzie) */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dla ekranów od 480px do 767px (2 karty w rzędzie) */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dla ekranów poniżej 480px (1 karta w rzędzie) */
@media (max-width: 479px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}