/* presentation banner*/

/* Colores oficial de yoigo */

.presentation {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.background-color-primary {
    background-color: #bd349b;
}

.background-color-samsung {
    background-color: #1776B2;
}

.background-color-xiaomi {
    background-color: #E96800;
}

.background-color-google {
    background-color: #DA270C;
}

.presentation-info {
    width: 50%;
    margin-left: 100px;
    margin-top: 50px;
}

.presentation-carousel-buttons {
    margin-top: auto;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    width: 10%;
    margin-left: -200px;
}

@media (max-width: 1550px) {
    .slider-image-presentation {
        content: url('../img/banner-imgs/presentation-short.png');
    }

    .slider-image-samsung {
        content: url('../img/banner-imgs/banner-samsung-short.png');
    }

    .slider-image-xiaomi {
        content: url('../img/banner-imgs/banner-xiaomi-short.png');
    }

    .slider-image-google {
        content: url('../img/banner-imgs/banner-google-short.png');
    }
}

@media (max-width: 1000px) {
    .presentation-carousel-buttons{
        display: none;
    }

    .presentation-info {
        margin: auto;
        padding: 10px 20px;
        width: 100%;
        height: 400px;
    }

    .presentation-carousel-imgs {
        width: 100% !important;
    }

    .presentation-carousel-imgs img {
        width: 100%;
    }

    .presentation {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: 100%;
    }

    .button-carousel {
        top: 420px !important;
        width: 60px !important;
        height: 60px !important;
    }
}

@media(max-width: 350px) {
    .offer-info {
        width: 95px !important;
        height: 95px !important;

    }
    .offer-info > p {
        font-size: .8rem !important;  
    }

    .presentation-info {
        height: 425px;
    }

    .button-carousel {
        top: 500px !important;
    }
}

.button-carousel {
    position: absolute; 
    top: 250px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    border-radius: 8%;
    background: none;
}

.button-carousel img {
    width: 60%;
    height: auto;
}

.button-carousel-prev {
    left: 10px;
}
.button-carousel-next {
    right: 10px;
}

.presentation-carousel-imgs {
    width: 40%;
    height: 400px;
    overflow: hidden;
    position: relative;
    display: block;
}

.presentation-carousel-imgs > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* steps */
.step {
    display: flex;
    padding: 10px;
    margin: 0px 10px;
}

.step h3 {
    margin-top: 15px;
}

.step img {
    margin: 0px 10px 0px 10px;
}

/* Variables carousel */
.carousel-presentation {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 400%; // width: 100 * nº of slides;
}

.slide {
    flex: 0 0 25%; // flex: 0 0 100 / nº of slides;
    width: 100%;
}
/**/

.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* offers */
.offers-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.offer-title { 
    position: relative;
    bottom: -23px;
    right: -45px;
    background-color: #ffffff;
    display: inline-block;
    padding: 0px 5px 0px 5px;
}

.offer-card {
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, .5);
    max-width: 350px;
    width: 100%;
    text-align: center;
    padding: 30px 20px 10px 20px; 
    margin-bottom: 15px;
    border-width: thin;
    border-style: solid;
}

.offer-promo {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center; 
    align-items: center;
}

.offer-apple {
    background: radial-gradient(
        circle,
        rgba(118, 113, 113, 1) 20%,  /* Color base */
        rgba(90, 85, 85, 1) 60%,    /* Sombras más oscuras */
        rgba(60, 55, 55, 1) 100%    /* Sombras profundas */
    );
    box-shadow: inset 10px 10px 20px rgba(60, 55, 55, 0.5), 10px 10px 30px rgba(0, 0, 0, 0.3);
}

.offer-samsung {
    background: radial-gradient(
        circle,
        rgba(0, 112, 192, 1) 20%,
        rgba(0, 80, 160, 1) 60%,
        rgba(0, 50, 120, 1) 100%
      );
      box-shadow: inset 10px 10px 20px rgba(0, 50, 120, 0.5), 10px 10px 30px rgba(0, 0, 0, 0.3);
}

.offer-xiaomi {
    background: radial-gradient(
        circle,
        rgba(237, 125, 49, 1) 20%,
        rgba(200, 100, 40, 1) 60%,
        rgba(160, 80, 30, 1) 100%
      );
      box-shadow: 
        inset 10px 10px 20px rgba(160, 80, 30, 0.5), 10px 10px 30px rgba(0, 0, 0, 0.3); 
}

.offer-google {
    background: radial-gradient(
      circle,
      rgba(218, 39, 12, 1) 20%,
      rgba(180, 30, 10, 1) 60%,
      rgba(120, 20, 5, 1) 100%
    );
    box-shadow: 
      inset 10px 10px 20px rgba(120, 20, 5, 0.5),
      10px 10px 30px rgba(0, 0, 0, 0.3);
}
  
  

.offer-info {
    border-radius: 100%;
    width: 125px;
    height: 125px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-info > p {
    font-size: 1rem;
    color: white;
    margin: 8px 0;
    font-family: Roboto;
}

.offer-info b {
    font-size: 2.25rem;  
}

.offer-conditions-link {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    align-items: right;
}


.offer-clarification {
    border-radius: 8px;
    text-align: center;
}

.offer-clarification > button {
    background-color: #bd349b;
    border: none;
}

.offer-clarification span {
    font-size: 16px;
    font-family: Roboto;
    font-weight: 400;
    line-height: 1.5;
    color: white;
    margin: 5px 10px;
}

.offer-brand-img {
    height:80px;
    text-align: center;
    margin-bottom: 50px;
}

.offer-brand-arrow {
    vertical-align: middle; 
    height: 1em; 
    transition: transform 0.3s;
}

.offer-element{
    padding: 0px 10px;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: height 0.5s ease, visibility 0.5s ease;
}

.offer-clarification {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: height 0.5s ease, visibility 0.5s ease;
}

.offer-element.open,
.offer-clarification.open {
    height: auto;
    visibility: visible;
}

/* Fuentes */
.AppleTypography-h3 {
    font-size: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.SamsungTypography-h3 {
    font-size: 20px;
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

.XiaomiTypography-h3 {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

/* common */
.interactive {
    transition: transform 0.2s;
    cursor: pointer;
}

.interactive:hover {
    transform: scale(1.1);
}

.interactive-button-carousel {
    transition: transform 0.2s;
    cursor: pointer;
}

.interactive:hover {
    transform: scale(1.1);
    background: rgba(128, 128, 128, 0.7);
}