:root {
    --primary: #00B5AD;
    --primary-dark: #008f89;
    --text: #333;
    --light-gray: #f4f7f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.6rem;
    text-decoration: none;
    color: var(--text);
    letter-spacing: 1px;
}

.logo span { color: var(--primary); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li { margin-left: 30px; }

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--primary); }

/* Przyciski */
.btn-main {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-main.white {
    background: var(--white);
    color: var(--primary);
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-small {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
}

/* Hero Section z tłem */
.hero {
    height: 80vh;
    background: url('https://plus.unsplash.com/premium_photo-1681967039743-37dc3a27f4ce?q=80&w=1505&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.6); /* Delikatne rozjaśnienie zdjęcia, by tekst był czytelny */
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 700px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Sekcje */
section { padding: 100px 0; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Dlaczego My */
.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Usługi */
.services { background: var(--light-gray); }

.card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover { transform: translateY(-10px); }

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content { padding: 30px; }

.card-content h3 { margin-bottom: 15px; }

.card-content p {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.95rem;
}

/* O nas */
.flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content { flex: 1; }

.about-content p { margin-bottom: 20px; }

.about-image { flex: 1; }

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--light-gray);
}

/* Opinie - Rolka */
.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.review-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: 700;
    color: var(--primary);
}

/* CTA */
.cta {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta h2 { font-size: 2.5rem; margin-bottom: 20px; }

/* Stopka */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 80px 0 20px;
}

.grid-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer h4 { color: var(--white); margin-bottom: 20px; }

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a { color: #ccc; text-decoration: none; }

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

.white-logo { color: var(--white); }

/* Responsywność */
@media (max-width: 768px) {
    .flex { flex-direction: column; }
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Uproszczenie na mobile */
}
/* --- Style dla podstron --- */

.hero-sub {
    background: var(--light-gray);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.hero-sub h1 {
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 10px;
}

.subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

/* Sekcja Misja */
.mission-image img {
    width: 100%;
    border-radius: 20px;
}

.mission-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* Zespół */
.team {
    background: var(--light-gray);
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.specialty {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Wartości */
.grid-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.value-item h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.nav-links a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* Responsywność dla O nas */
@media (max-width: 768px) {
    .grid-values {
        grid-template-columns: 1fr;
    }
    .hero-sub h1 {
        font-size: 2.2rem;
    }
}
/* --- Style dla Usług --- */

.service-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
}

.service-img img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-info {
    flex: 1;
}

.service-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.check-list {
    list-style: none;
    margin-top: 25px;
}

.check-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Cennik */
.pricing {
    background: var(--light-gray);
}

.pricing-table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed #ddd;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item strong {
    color: var(--primary);
}

.pricing-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #888;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Responsywność dla Usług */
@media (max-width: 768px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Style dla Kontaktu --- */

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-box {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.contact-box h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-box p {
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.hours-list li:last-child {
    border-bottom: none;
}

/* Formularz */
.contact-form-container {
    flex: 1.5;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.contact-form-container h3 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 181, 173, 0.1);
}

.map-section {
    padding-bottom: 0;
}

.container-full {
    width: 100%;
    line-height: 0; /* Usuwa lukę pod mapą */
}

/* Responsywność */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-info, .contact-form-container {
        width: 100%;
    }
}
/* --- RESPONSYWNOŚĆ I HAMBURGER --- */

@media (max-width: 960px) {
    /* Navbar i Hamburger */
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px; /* Wysokość nawigacji */
        left: -100%; /* Menu schowane poza ekranem */
        opacity: 0;
        transition: all 0.5s ease;
        background: var(--white);
        padding: 40px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        left: 0;
        opacity: 1;
        z-index: 999;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: var(--text);
    }

    /* Animacja hamburgera w "X" */
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Sekcje - układ mobilny */
    .flex, .service-row, .service-row.reverse, .contact-wrapper {
        flex-direction: column !important;
        gap: 30px;
    }

    .about-image, .service-img, .contact-info, .contact-form-container {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .grid, .grid-values, .faq-grid, .grid-footer {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Ukrycie hamburgera na komputerach */
@media (min-width: 961px) {
    .menu-toggle {
        display: none;
    }
}