* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #F9F5F0;
    color: #333;
    line-height: 1.6;
}


header {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

header .header {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}


.navigacja {
    background-color: #3E2723;
    display: flex;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-link:hover {
    background-color: #5D4037;
}


.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.main-title {
    text-align: center;
    font-size: 2rem;
    color: #3E2723;
    margin-bottom: 40px;
    position: relative;
}


.main-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #D4A017;
    margin: 10px auto 0;
}


.panele-conteiner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.panele-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
}


.panele-conteiner:hover .panele-card {
    transform: scale(1);
    opacity: 0.6;
    filter: blur(1px);
}


.panele-conteiner .panele-card:hover {
    transform: scale(1.08);
    opacity: 1;
    filter: none;
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.panele-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
    pointer-events: none;
}

.card-body {
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.2rem;
    color: #3E2723;
    margin-bottom: 10px;
}

.card-opis {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}


.button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #D4A017;
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.panele-card:hover .button {
    background-color: #B8860B;
}


.panele-card.selected {
    border: 3px solid #D4A017;
}

.panele-card.selected .button {
    background-color: #466e35;
}


.nextstrona {
    text-align: center;
    margin-top: 20px;
}

.nextstr-button {
    background-color: #3E2723;
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nextstr-button:hover {
    background-color: #5D4037;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


.footer {
    background-color: #2c1e1a;
    color: #aaa;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 0.9rem;
}


@media (max-width: 768px) {
    .header-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .navigacja {
        flex-direction: column;
    }

    .nav-link {
        padding: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .panele-conteiner {
        flex-direction: column;
        align-items: center;
    }

    .panele-card {
        width: 100%;
        max-width: 350px;
    }
}

/*Strona ofert*/

.main-p {
    text-align: center;
    margin-bottom: 15px;
    margin-top: -20px;
    color: #3E2723;
    font-size: larger;
}

.table-wrap {
    overflow-x: auto;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    border: 1px solid #d8b08b;
}

.table-panels {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
}


.table-panels thead {
    background-color: #6b270d;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.table-panels thead th {
    color: white;
    padding: 18px;
    font-size: larger;
    text-align: center;
    font-weight: 600;
    border: none;
}


.table-panels tbody td {
    padding: 18px;
    font-size: 0.95rem;
    text-align: center;
    border-bottom: 1px solid #ecd3bc;
    color: #333;
}


.table-panels tbody tr:hover {
    background-color: #fff4e8;
    transition: background-color 0.2s ease;
}


.table-panels tbody tr:last-child td {
    border-bottom: none;
}

.table-panels th:not(:last-child),
.table-panels td:not(:last-child) {
    border-right: 1px solid #ecd3bc;
}

.koszt-p {
    text-align: center;
    margin-bottom: 15px;
    margin-top: 50px;
    color: #3E2723;
    font-size: larger;
}

/*Strona koszty*/
.calcul-conteiner {
    background-color: #fffaf6;
    color: #3E2723;
    padding: 30px;
    margin: 20px auto;
    max-width: 700px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    font-size: 1rem;

}

.wymiary {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.opcja-szer,
.opcja-dlug {
    flex: 1;
}

.opcja-szer label,
.opcja-dlug label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 1rem;
    color: #3E2723;
}

.opcja-szer input,
.opcja-dlug input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #c3844d;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
}

.opcja-szer input:focus,
.opcja-dlug input:focus {
    border-color: #6b270d;
    box-shadow: 0 0 0 3px rgba(107, 39, 13, 0.1);
}

.typ-conteiner {
    background: #fdfaf6;
    padding: 15px;
    border: 2px solid #e0d0c0;
    border-radius: 12px;
    margin-top: 5px;
}

.typ-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 12px;
    margin-top: 0;
    color: #3E2723;
}

.typ-conteiner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.typ-conteiner li {
    margin-bottom: 8px;
    border: 2px solid #c3844d;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.typ-conteiner li:hover {
    background-color: rgb(255, 249, 239);
    border-color: #9a4d20;
    transform: scale(1.01);
}

.typ-conteiner label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
}

.typ-conteiner input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.3);

    accent-color: #6b270d;
}

#result {
    background-color: #6b270d;
    color: white;
    padding: 12px 30px;

    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
    display: block;
    width: fit-content;
}

#result:hover {
    background-color: #9a4d20;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(107, 39, 13, 0.3);
}

#wynik {
    margin-top: 15px;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 16px;
    border-radius: 12px;
    text-align: center;
    background: #fff2e4;
    border: 1px solid #e2c2a3;
}


@media (max-width: 600px) {
    .wymiary {
        flex-direction: column;
        gap: 15px;
    }

    .calcul-conteiner {
        padding: 20px 15px;
        margin: 15px auto;
    }
}


/*Kontakt*/
.kontakt {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.kontakt-card {
    background: #fffaf6;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(50, 22, 14, 0.08);
    border: 1px solid #e3c4a6;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kontakt-card:hover {
   transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(50, 22, 14, 0.12);
}

.icon-k {
    font-size: 2rem;
    line-height: 1;
}

.detale-k h3 {
    font-size: 1.1rem;
    color: #3E2723;
    margin-bottom: 5px;
    font-weight: 600;
}

.detale-k p {
    font-size: 1rem;
    color: #5e3f28;
    margin: 0;
    font-weight: 500;
}

.detale-k a {
    color: #6b270d;
    text-decoration: none;
    transition: color 0.3s;
}

.detale-k a:hover {
    color: #9a4d20;
    text-decoration: underline;
}

.detale-k small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 0.85rem;
}