﻿body {
    font-family: Arial, Helvetica, sans-serif;
}

/* Basic Reset & Box-sizing */
h1, h2, h3 {
    text-transform: uppercase;
    margin: 10px 0;
}

.hero-wrapper-gw {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background-image: linear-gradient(0deg, rgba(247, 247, 247, 0.5), rgba(247, 247, 247, 0.5)), url('/assets/images/oferta.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    text-transform: uppercase;
    color: #212529;
}

*, *::after, *::before {
    box-sizing: border-box;
}

body {
    background: #eee;
    overflow-x: hidden;
    color: #000;
    font-family: 'Helvetica', sans-serif;
    margin: 0;
    padding: 0;
}

/* Flex container for pricing options */
.pricing-container-gw {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px 0;
    gap: 20px;
}

.inner-offer-container-gw {
    padding: 40px 0px;
}
/* Individual plan card styles */
.plan-card-gw {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 20px;
    border: 3px solid #fff;
    transition: box-shadow 0.3s;
    flex: 1 1 250px; /* flexible width */
    max-width: 370px;
}

.rabat-gw {
    color: #2e3191;
}

/* Special styling for pro plan with ribbon */
.pro-gw {
    position: relative;
    z-index: 90;
    overflow: hidden;
    border: 0px;
    width: 40%;
    max-width: 400px;
}

.ribbon-gw {
    background: #2e3191;
    color: #fff;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-block;
    padding: 60px 50px 10px;
    transform: rotate(-45deg);
    position: absolute;
    top: -22px;
    left: -58px;
}

/* Header inside plan card */
.plan-header-gw h2 {
    font-size: 2.4em;
    font-weight: 600;
    color: #38c274;
}

.plan-header-gw h3 {
    color: #2e3191;
    font-size: 1.8em;
}

    .plan-header-gw h3 small {
        font-size: 0.4em;
        text-transform: lowercase;
    }

    .plan-header-gw h3 strong {
        font-weight: 600;
    }

/* Features list styles */
.features-gw ul {
    padding: 8px 0;
    font-size: 1.1em;
    color: #000;
    list-style: none;
    margin: 0;
    text-align: center;
}

.features-gw li {
    padding: 8px 0;
}

/* Klasy dodane z kontaktu */
.offer-container-gw {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 20px;
}

    .offer-container-gw .offer-section-gw {
        padding-bottom: 20px;
    }

.offer-wrapper-row-gw {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.heading-section-gw p {
    text-align: justify;
}

.offer-col-gw.col-table {
    width: 100%;
    padding: 10px 0;
}

.offer-container-gw.col-img {
    padding-top: 20px;
}

.col-table {
    display: flex;
    justify-content: flex-end;
}

.rabat-gw {
    margin-bottom: 16px;
}

.col-text {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: justify;
}

.price-info span {
    text-transform: none;
    font-weight: 300;
    font-size: 16px;
    color: #3c3c3c;
}

.description-container-gw {
    text-align: justify;
    font-size: 1em;
}

    .description-container-gw h4 {
        font-size: 1.6em;
        margin: 0;
    }

    .description-container-gw p {
        margin: 16px 0 24px;
    }

hr {
    border-top: 0.25px solid #cecece;
}

.description-container-gw h4 {
    color: #2e3191;
}

/*css dla tabeli */
.flex-table-container > .flex-table-row:nth-child(odd):not(.flex-table-header) {
    background-color: #d6f6e7;
}

.flex-table-container > .flex-table-row:nth-child(even):not(.flex-table-header) {
    background-color: #f2f2f2;
}

.flex-table-container {
    display: flex;
    flex-direction: column;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.flex-table-row {
    display: flex;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.flex-table-header {
    background: #2e3191;
    font-weight: 500;
    border-bottom: 2px solid #2e3191;
    color: #fff;
}

.flex-table-cell {
    flex: 0 0 200px;
    padding: 8px 12px;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    border-right: 1px solid #deeeff;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    text-align: left;
}

    .flex-table-cell:last-child {
        border-right: none;
    }

.flex-table-row:last-child {
    border-bottom: none;
}

.flex-table-row:hover {
    background-color: #38c274 !important;
    color: #fff;
}

@media (max-width: 1200px) {
    .flex-table-cell {
        flex: 0 0 120px;
        font-size: 14px;
        padding: 6px 8px;
    }
}

@media (max-width: 700px) {
    .flex-table-row,
    .flex-table-header {
        min-width: fit-content;
    }

    .flex-table-cell {
        flex: 0 0 95px;
        font-size: 12px;
        padding: 5px 6px;
        white-space: normal;
    }
}

@media (min-width: 1024px) {
    .flex-table-row,
    .flex-table-header {
        min-width: auto;
    }

    .flex-table-cell {
        flex: 1 1 0;
        font-size: 15px;
        padding: 15px 8px;
        white-space: normal;
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .pricing-container-gw {
        flex-direction: column;
        align-items: center;
    }

    .plan-card-gw {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 28px !important;
    }

    h3 {
        font-size: 21px !important;
    }

    h4 {
        font-size: 18px !important;
    }

    p {
        font-size: 15px;
    }

    .offer-container-gw {
        padding: 60px 0px;
    }

    .description-container-gw {
        padding: 0px;
    }

    .offer-wrapper-row-gw {
        flex-direction: column;
        padding: 40px 10px;
    }

    .heading-section-gw {
        padding: 0px;
    }

    .offer-col-gw {
        width: 100%;
    }

    .col-text {
        padding: 0px;
    }

    .plan-card-gw {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        min-height: 400px;
        max-width: 320px;
    }

        .plan-card-gw li {
            font-size: 15px;
        }

    .pro-gw {
        overflow: hidden;
        min-height: 400px;
    }

        .pro-gw .ribbon-gw {
            top: -34px;
            left: -70px;
        }

    .col-table {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .flex-table-container {
        width: fit-content;
    }

    .inner-offer-container-gw {
        padding: 40px 0px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    h2 {
        font-size: 32px !important;
    }

    h3 {
        font-size: 24px !important;
    }

    h4 {
        font-size: 20px !important;
    }

    p {
        font-size: 16px;
    }

    .offer-container-gw {
        padding: 0px;
    }

    .description-container-gw {
        padding: 70px 20px;
    }

    .offer-wrapper-row-gw {
        flex-direction: column;
        padding: 40px 10px;
    }

    .heading-section-gw {
        padding: 0px;
    }

    .offer-col-gw {
        width: 100%;
    }

    .col-text {
        padding: 0px;
    }

    .col-table {
        justify-content: center;
    }

    .pricing-container-gw {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .plan-card-gw {
        width: 50%;
        overflow: visible;
        min-height: 440px;
        max-width: 320px;
    }

        .plan-card-gw li {
            font-size: 16px;
        }

    .pro-gw {
        overflow: hidden;
        min-height: 440px;
    }

        .pro-gw .ribbon-gw {
            top: -34px;
            left: -70px;
        }

    .flex-table-container {
        width: fit-content;
    }
}
