/* ========================================================= */
/* 1. Estilos Globales y Definiciones Originales */
/* (Esta sección es tu código original, se mantiene sin cambios) */
/* ========================================================= */

*{
    padding: 0;
    margin: 0;
    font-family: Campton;
    
}
html{
    overflow-x: hidden;
}
:root{
    --9:90%;
    --MainColor:#b29472;
    --AllH:100%;
    --Sec:#5d5d5d;
}
img{
    width: 100%;
    height: 100%;
}
@font-face {
    font-family: 'Sugar';
    src: url(/ASSETS/FONTS/brown-sugar.ttf);
}
@font-face {
    font-family: 'Campton';
    src: url(/ASSETS/FONTS/CamptonMedium.otf);
}

.Wellness{
    width: 100%;
    height: 48rem;
    display: flex;
    place-content: top;
    flex-direction: column;

}
.well{
    width: 100%;
    text-align: center;
}
.__title h1{
    text-transform: uppercase;
    font-size: 5.6rem;
    color:var(--MainColor);
    padding-top: 8rem;
    font-family: Sugar;
}
.__subtitle{
    padding: 1% 21%;
    color: var(--Sec);
}
.well-img{
    width: 100%;
    height: 30rem;
    display: flex;
    padding-top: 5rem;
    gap: 1rem;
    align-items: center;
    justify-content: space-evenly;
}
.well_img_container{
    height: 100%;
    padding: 2rem 2rem;
}
.well-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 480px) {
    .well-img{
        justify-content: center;
        gap: 0;
        padding: 0;
        padding-top: 0;
    }
    .well_img_container{
        height: 16rem !important; 
        object-fit: cover !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .well-img img{
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    }
}

/*SERVICES*/

.Services{
    width: 100%;
    height: auto;
    background-color: white;
    display: flex;
    place-content: center;
    text-align: center;
    flex-direction: column;
    padding: 0rem 6rem;
    gap: 5rem;
}
.Services h1{
    font-family: Sugar;
    color: var(--MainColor);
    font-size: 6rem;
    padding-top: 18rem;
}
.Services p{
    font-family: Campton;
    font-size: 1.3rem;
    text-align: center;
    padding: 0rem 12rem;
}
.services__cards{
    width: 80%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    gap: 1rem;
    padding-bottom: 1rem;
    margin: 0 auto;
}
.card img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.card{
    display: flex;
    place-content: bottom;
    position: relative;
}
.Cards__Super__Content{
    width: 100%;
    height: 55%;
    background-color: rgba(36, 36, 36, 0.418);
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: Campton;
    font-weight: lighter;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: white;
    text-align: left;
    box-sizing: border-box;
}
.Cards__Super__Content h3{
    padding-left: 1rem;
}
.Cards__Super__Content .card__extra {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20%;
    background-color: var(--MainColor);
    color: white;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.Cards__Super__Content:hover .card__extra {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    cursor:pointer;
}

.button__services{
    width: 100%;
    height: 5rem;
    padding-bottom: 18rem;
}
.button__services a{
    color: white;
    text-decoration: none;
    background-color: var(--MainColor);
    border-radius: 5rem;
    padding: 1.5rem 2.5rem;
    font-size: 1.2rem;
    font-family: Campton;
    font-weight: lighter;
    text-transform: uppercase;
    user-select: none;
    transition: .3s all ease-in-out;
}
.button__services a:hover{
    background:transparent;
    color: black;
    border: var(--MainColor) 2px solid;
    box-shadow: #9f6a2d 1px 1px 50px;
}

/* ========================================================= */
/* 2. Media Queries (Ajustes Responsive) */
/* Estas reglas solo se activarán en tamaños de pantalla específicos */
/* ========================================================= */

/* Ajuste para anchos de Tablets y Desktops intermedios (max-width: 1024px) */
@media (max-width: 1024px){
    .well-img{
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
    }

    .well-img img{
        height: 15rem;
        margin-bottom: 1rem;
    }

    .Services p{
        padding: 0rem 6rem;
        font-size: 1.2rem;
    }

    .Services h1{
        font-size: 4rem;
        padding-top: 3rem;
    }

    .card{
        width: 45%;
        min-width: 200px;
        margin-bottom: 2rem;
    }

    .Cards__Super__Content{
        font-size: 1.2rem;
        height: 50%;
    }

    .button__services a{
        font-size: 1.1rem;
        padding: 0.8rem;
    }
}

/* Tu media query original para 980px */
@media (max-width: 980px) {
    .__title h1 {
        padding: 0rem 3rem;
        font-size: 3.8rem;
    }
    .well-img {
        gap: 0;
        padding-top: 1rem;
        /* NOTA: Eliminando colores de prueba: background-color: green; */
    }
    .well_img_container {
        padding: 0rem;
        /* NOTA: Eliminando colores de prueba: background-color: red; */
    }
}


/* Ajuste para Tablets en vertical y Móviles grandes (max-width: 768px) */
@media (max-width: 768px){
    .Wellness{
        height: auto; /* Permite que el contenido se expanda */
    }

    /* Título principal de Wellness */
    .__title h1 {
        font-size: 3rem; /* Ajuste para el rango 768px */
        padding-top: 4rem;
    }

    .__subtitle{
        padding: 1% 5%;
        font-size: 1rem;
    }

    .well-img{
        flex-direction: column; /* Apila las 3 imágenes */
        height: auto;
        padding-top: 2rem;
        gap: 2rem;
    }

    .well-img img{
        height: 12rem;
    }
    .well_img_container {
        padding: 0 1rem;
        width: 90%;
        height: auto;
    }

    .Services{
        padding: 0rem 2rem;
        gap: 3rem;
    }

    .Services h1{
        font-size: 3.5rem; /* Ajuste para el rango 768px */
        padding-top: 2rem;
    }

    .Services p{
        padding: 0rem 1rem;
        font-size: 1rem;
    }

    .services__cards{
        flex-direction: column; /* Apila las tarjetas de servicio */
        gap: 2rem;
        align-items: center;
    }

    .card{
        width: 90%;
        min-width: auto;
    }

    .Cards__Super__Content{
        font-size: 1rem;
        height: 45%;
    }

    .button__services a{
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
}

/* Tu media query original para 600px */
@media only screen and (max-width: 600px) {
  .Services h1{
    font-size: 4rem !important;
  }
}

/* Ajuste Específico para iPhones y Móviles Pequeños (max-width: 420px) */
@media (max-width: 420px) {
    /* Wellness */
    .__title h1 {
        font-size: 2.8rem; /* Tamaño de fuente más pequeño para iPhones */
        padding-top: 3rem;
    }
    .__subtitle {
        font-size: 0.9rem;
    }

    /* Services */
    .Services h1 {
        font-size: 3rem !important; /* Ajuste final para el título en pantallas muy pequeñas */
    }
    .Services p {
        font-size: 0.9rem;
        padding: 0rem 0.5rem;
    }
    .button__services {
        padding-bottom: 8rem;
    }
}


