
/* Common styles for the offers section */
.page-title {
    font-family: var(--font-family-alt);
    color: var(--color1);
    text-align: center;
    margin-bottom: 10px;
}

.page-subtitle {
    margin-bottom: 30px;
    font-size: var(--h5-size);
    color: var(--color2);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.page-subtitle strong {
    font-weight: 500;
    color: var(--color1);
}

p {
    margin-bottom: 10px;
}

p strong {
    font-weight: 600;
    color: var(--color1);
}

.offers-layout, .offers-table-layout {
    margin-top: 50px;
}


/* Offers' comparison section: this section is designed for mobile first */


/* The whole offers section's layout - mobile*/
.offers-layout {
    display: flex;
    flex-flow: row;
}
/* ============ */


.pricing-card {
    max-width: 290px;
    width: 100%;
    margin: 10px auto;

    border: 2px solid var(--color2);
    border-radius: 10px;    
    padding: 15px;
    background: linear-gradient(135deg, transparent 0%, rgba(198, 147, 59, 0.05) 100%);
    position: relative;

}

/* Drop shadow on hover... Optionnal
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(198, 147, 59, 0.3);
} */




.pricing-card .card-title, .pricing-card .price {
    text-align: center;
}

.pricing-card .features {
    /* border: 1px dashed blue; */
}


/* Cards' titles colors and effects */
.bronze {
    color: rgb(205, 127, 50);
}
.silver {
    color: rgb(192, 192, 192);
}
.gold {
    color: rgb(255, 215, 0);
    text-shadow:rgb(255, 215, 0) 1px 0px 10px;
}


.pricing-card .card-title {
    font-size: var(--h3-size);
    font-family: var(--font-family-alt);
}

.pricing-card .description p {
    font-size: var(--metadata-size);
    font-family: var(--font-family);

    font-weight: 400;

}

.pricing-card .description {
    
    height: 50px;
}


.pricing-card .price {
    font-size: var(--h4-size);
    font-family: var(--font-family-alt);
    margin: 15px auto;
    color: var(--color2);
}

.pricing-card a {
    margin: 20px auto;
    width: 100%;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;

    align-items: center;
    justify-content: center;
    /* gap: 15px; */
}



.features li {
    font-size: var(--body-size);

    /* border: 1px solid green; */
    width: 100%;
    height: 100px;

    align-content: center;
}

.feature-entry {
    justify-self: start;
    padding-right: 10px;
}

.feature-value {
    justify-self: center;
    text-align: center;    
}

.disabled {
    color: rgb(101, 81, 71);
    text-decoration: line-through;
}

.supplement {
    color: rgb(189, 99, 81);
    font-style: italic;
}

@media(max-width: 1199px) {
    .offers-table-layout {
        display:none;
    }

    .offers-layout {
        display: flex;
        flex-flow: column;
    }    
}


.pricing-card {
    max-width: 290px;
    width: 100%;
    margin: 10px auto;

    border: 2px solid var(--color2);
    border-radius: 10px;    
    padding: 15px;
    background: linear-gradient(135deg, transparent 0%, rgba(198, 147, 59, 0.05) 100%);
    position: relative;

    height: fit-content;
}

/* Bouton pour étendre/rétracter */
.expand-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: 2px solid var(--color2);
    border-radius: 5px;
    padding: 10px;
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color2);
}

.expand-btn:hover {
    background: rgba(198, 147, 59, 0.1);
}

.expand-btn .expand-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.expand-btn.expanded .expand-arrow {
    transform: rotate(180deg);
}

/* Conteneur des features avec animation */
.features-container {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.features-container.collapsed {
    max-height: 0;
    opacity: 0;
}

.features-container.expanded {
    max-height: 1000px; /* Valeur suffisamment grande */
    opacity: 1;
}

.pricing-card a {
    margin: 20px auto;
    width: 100%;
}


@media(min-width: 1200px) {
    .offers-layout {
        display:none;
    }    

    .offers-table-layout {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        max-width: 900px;
        grid-auto-flow: column;

        border-right: 1px solid gray;
    }
    
    .offers-table-layout ul {
        display: grid;
        grid-auto-flow: row;

        grid-template-rows: repeat(3, 80px) 120px repeat(9, 80px); /* 1ère ligne haute, les autres plus petites */

        width: auto;

        /* border: 1px solid red; */
        border-left: 0.5px solid gray;
    }

    .offers-table-layout .table-features {
        border: none;
    }

    .offers-table-layout ul li {
        align-content: center;
        justify-content: center;

        /* border: 1px solid green; */
        /* border-bottom: 0.5px dashed gray; */
        width: 100%;

        padding: 5px;
        /* height: 80px; */
    }

    .offers-table-layout ul li .cta-button {
        width: 90%;

        font-size: var(--metadata-size);
    }

    .feature-title {
        text-align: center;
        font-size: var(--h3-size);
        font-family: var(--font-family-alt);
    }
    

    .description-wrapper {
        display: flex;
        align-items: start;

        padding: 10px;

    }
    .description {        
        text-align: start;

        font-size: var(--metadata-size);
        font-family: var(--font-family);

        font-weight: 400;
    }

    .offers-table-layout .table-features li {
        padding-right: 10px;
    }
    /* .offers-table-layout .table-features .feature-entry {
        border-left: 1px solid gray;
    } */

    .highlight-background {
        background-color: rgb(24, 24, 23);
    }

    

    /* Titles colors and effects */
    .bronze {
        color: rgb(205, 127, 50);
    }
    .silver {
        color: rgb(192, 192, 192);
    }
    .gold {
        color: rgb(255, 215, 0);
        text-shadow:rgb(255, 215, 0) 1px 0px 10px;
    }


    .price {
        font-size: var(--h5-size);
        font-family: var(--font-family-alt);
        margin: 15px auto;
        color: var(--color2);
        justify-self: center;
        text-align: center;
    }

    .cta-row {
        display: flex;
        align-items: center;
        justify-content: center;

        border-bottom: 1px dashed gray;

        height: 120px;
    }

    
} /* Media query width >1200px */

.bundle-offer {
        margin-top: 30px;
        max-width: 900px;

        /* border: 1px solid var(--color1); */
        height: 80px;

        display: flex;
        align-items: center;
        justify-content: center;
        
        position: relative;

    }

    /* =================== Gradient border effect for top and bottom =================== */
    .bundle-offer::before,
    .bundle-offer::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(to right, transparent, var(--color1), transparent);
    }
    
    .bundle-offer::before {
      top: 0;
    }
    
    .bundle-offer::after {
      bottom: 0;
    }
    /* =================== Gradient border effect for top and bottom =================== */

    .bundle-offer strong {
        font-weight: 600;
    }