:root {
    --main-bg: #e5e9eb;
    --dark-green: #3d5a3a;
    --text-color: #2c3e50;
    --border-gray: #cbd5e1;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--main-bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAWIGACJA */
/* .navbar { display: flex; justify-content: space-between; align-items: center; padding: 25px 5%; position: absolute; width: 90%; z-index: 100; }
.logo { font-weight: bold; border: 1px solid #000; padding: 5px 15px; text-decoration: none; color: black; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.hamburger span { display: block; width: 25px; height: 2px; background: black; margin: 4px 0; } */

/* NOWOCZESNA NAWIGACJA */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0; /* Rozciąga nawigację od krawędzi do krawędzi */
    width: 100%;
    box-sizing: border-box; /* Ważne: padding nie powiększa szerokości */
    z-index: 1000;
}

/* KONTENER LOGO - czyścimy stare ramki */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

/* OBRAZEK LOGO - pełna kontrola */
.logo-img {
    height: 50px; /* Tutaj sterujesz wielkością loga */
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* HAMBURGER - nieco bardziej nowoczesny */
.hamburger {
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: #000;
    margin: 6px 0;
    transition: 0.3s;
}

/* Responsywność - mniejsze logo na telefonach */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }

    .navbar {
        padding: 15px 5%;
    }
}


/* HERO - ZDJĘCIE NA CAŁOŚĆ */
.hero {
    width: 100%;
    height: 90vh;
    background-image: linear-gradient(rgba(229, 233, 235, 0.6), rgba(229, 233, 235, 0.6)),
    url('images/hero-wall.webp'); /* Przykładowe góry */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.hero-title-img {
    width: 100%; /* Pozwala obrazkowi być dużym */
    max-width: 600px; /* Maksymalna szerokość napisu - dopasuj do siebie */
    height: auto; /* Zachowuje proporcje, nie spłaszcza liter */
    display: block;
    margin: 0 auto 20px; /* Centruje napis i daje odstęp od tekstu pod spodem */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1)); /* Opcjonalnie: lekki cień pod literami */
}

/* Responsywność - żeby na telefonie napis nie był gigantyczny */
@media (max-width: 768px) {
    .hero-title-img {
        max-width: 80%; /* Na małych ekranach trochę go zwężamy */
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 30px;
}

/* PRZYCISKI */
.btn-primary {
    background: var(--dark-green);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid #444;
    padding: 10px 25px;
    cursor: pointer;
}


/* NOWOCZESNA SEKCJA KONTAKTOWA */
.contact-modern {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 60px 0;
    max-width: 1100px;
    margin: 40px auto;
}

.contact-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.4); /* Półprzezroczyste tło */
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: default;
}

.contact-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    color: var(--dark-green);
}

.contact-modern a.contact-card,
a.contact-card {
    text-decoration: none !important; /* Wymuszamy brak podkreślenia */
    color: var(--text-dark) !important; /* Wymuszamy ciemny kolor tekstu */
}

a.contact-card .contact-text p,
a.contact-card .contact-text h3 {
    text-decoration: none !important;
    color: inherit !important;
}


.contact-icon {
    background: var(--dark-green);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-text h3 {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-green);
}

.contact-text p {
    margin: 5px 0 0 0;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Responsywność dla kontaktu */
@media (max-width: 900px) {
    .contact-modern {
        flex-direction: column;
        padding: 40px 20px;
    }
}


/* GRID TREŚCI */
/* KONTENER DLA KAFELKÓW */
.tiles-container {
    max-width: 1100px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Odstęp między kafelkami */
    padding: 0 20px;
}

/* POJEDYNCZY KAFELEK */
.bento-tile {
    display: flex;
    background: #ffffff; /* Biały kafelek na szarym tle strony */
    border-radius: 24px;
    overflow: hidden; /* To jest kluczowe dla przybliżania zdjęcia! */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.bento-tile.reverse {
    flex-direction: row-reverse;
}

/* TEKST W KAFELKU */
.tile-text {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tile-text h2 {
    font-size: 2rem;
    margin: 15px 0;
    color: var(--text-dark);
}

.tile-text p {
    color: #666;
    line-height: 1.6;
}

/* ZDJĘCIE W KAFELKU */
.tile-image {
    flex: 1;
    overflow: hidden; /* Strażnik przybliżenia */
    position: relative;
    min-height: 400px;
}

.tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

/* EFEKT PRZYBLIŻENIA NA CAŁY KAFELEK */
.bento-tile:hover .tile-image img {
    transform: scale(1.1);
}

/* PRZYCISK I DODATKI */
.btn-tile {
    align-self: flex-start;
    margin-top: 25px;
    padding: 12px 30px;
    border-radius: 12px;
    border: 1px solid var(--dark-green);
    background: transparent;
    color: var(--dark-green);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-tile:hover {
    background: var(--dark-green);
    color: white;
}

/* RESPONYWNOŚĆ */
@media (max-width: 850px) {
    .bento-tile, .bento-tile.reverse {
        flex-direction: column;
    }

    .tile-text {
        padding: 40px 30px;
        order: 2;
    }

    .tile-image {
        height: 300px;
        order: 1;
    }
}


/* Nowoczesny przycisk */
.btn-modern {
    background: white;
    border: 1px solid var(--dark-green);
    color: var(--dark-green);
    padding: 12px 35px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-modern:hover {
    background: var(--dark-green);
    color: white;
    box-shadow: 0 10px 20px rgba(61, 90, 58, 0.2);
}

@media (max-width: 900px) {
    .modern-row, .modern-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .image-deco-back {
        display: none;
    }

    /* Upraszczamy na mobile */
}

/* FORMULARZ */
.form-section-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 150px 20px 80px;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-field label, .full-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.input-field input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-gray);
    background: #f8fafc;
    box-sizing: border-box;
}

.radio-options {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.btn-send {
    display: block;
    margin: 40px auto 0;
    padding: 15px 50px;
}

/* STOPKA */
.footer {
    border-top: 1px solid var(--border-gray);
    padding: 50px 5%;
    margin-top: 50px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter {
    display: flex;
}

.newsletter input {
    padding: 10px;
    border: 1px solid var(--border-gray);
    border-radius: 4px 0 0 4px;
}

.btn-dark-green {
    background: var(--dark-green);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
}

@media (max-width: 768px) {
    .grid-item, .form-row {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.2);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.step-card {
    background: #f9fbf9;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e1e8e1;
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--dark-green);
    color: white;
    border-radius: 50%;
    line-height: 30px;
    margin-bottom: 10px;
    font-weight: bold;
}


/* FORMULARZ VERYFIKACJA */
/* Styl dla wymaganych pól - czerwona gwiazdka */
.required-label::after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}

/* Styl dla nieaktywnego przycisku */
.btn-modern:disabled {
    background-color: #cccccc !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

/* Styl dla aktywnego przycisku (PayU Blue) */
.btn-modern:not(:disabled) {
    background-color: #0070ba !important;
    cursor: pointer !important;
}

/* Wizualna podpowiedź przy błędnym formacie (opcjonalne) */
input:focus:invalid {
    border: 2px solid #ffcccc;
}

/* NAPRAWA LINKÓW W STOPCE */
.footer a {
    color: var(--dark-green); /* Ustawia kolor zielony z Twoich zmiennych */
    text-decoration: none; /* Usuwa domyślne podkreślenie */
    font-weight: 500; /* Opcjonalnie: lekko pogrubia, by wyglądały jak przyciski */
    transition: all 0.3s ease; /* Płynne przejście koloru przy najechaniu */
}

.footer a:hover {
    color: var(--text-color); /* Zmienia kolor na ciemniejszy przy najechaniu */
    text-decoration: underline; /* Opcjonalnie: przywraca podkreślenie tylko na hover */
    opacity: 0.8;
}

.footer p {
    margin: 8px 0; /* Ustawia odstępy między linkami */
}
    