/* Resetowanie stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
}

/* Nagłówek */
header {
    background: linear-gradient(135deg, #1a3c34 0%, #2e5a50 100%);
    color: white;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    margin-right: 1rem;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

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

.desktop-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.3s;
}

.desktop-nav ul li a:hover {
    color: #00ddeb;
    transform: translateY(-2px);
    display: inline-block;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switcher a {
    padding: 0.3rem;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
}

.language-switcher a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a3c34;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.mobile-nav ul li a:hover {
    color: #00ddeb;
}

/* Sekcja powitalna */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('lab.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    animation: fadeIn 1s ease-in-out;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.btn {
    background: linear-gradient(135deg, #00ddeb 0%, #00a3b0 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 221, 235, 0.4);
}

/* Sekcja usług */
.services {
    padding: 6rem 3rem;
    background: #fff;
    text-align: center;
}

.services h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #1a3c34;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #00ddeb;
    border-radius: 2px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-box i {
    font-size: 2.5rem;
    color: #00ddeb;
    margin-bottom: 1rem;
}

.service-box h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a3c34;
}

.service-box p {
    font-size: 1rem;
    color: #666;
}

/* Sekcja o nas */
.about {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.about h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #1a3c34;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #00ddeb;
    border-radius: 2px;
}

.about p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #555;
    line-height: 2;
}

/* Sekcja kontaktowa */
.contact {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, #1a3c34 0%, #2e5a50 100%);
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-info a {
    color: #00ddeb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Stopka */
footer {
    background: #1a3c34;
    color: white;
    text-align: center;
    padding: 2rem;
    width: 100%;
    font-size: 0.9rem;
    border-top: 2px solid #00ddeb;
}

/* Animacje */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsywność */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        padding: 1rem 2rem;
    }

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .language-switcher {
        position: static;
        margin-top: 1rem;
    }

    .hero {
        min-height: 70vh;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 2rem;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .services, .about, .contact {
        padding: 3rem 1.5rem;
    }

    .services h2, .about h2, .contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 50px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}