/* Variables de colores y fuentes globales */
:root {
    --color-encabezados-botones: #e35d42;
    --color-texto-general: #3a46a3;
    --color-texto-botones: #FFFFFF;
    --color-fondo-body: #FFFFFF;
    --color-hover: #f6cf74;
    --fuente-encabezados: 'Poppins', sans-serif;
    --fuente-texto: 'Poppins', sans-serif;
}


/* Estilos básicos para la página */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fuente-texto);
    /*line-height: 1.6;*/
    background-color: var(--color-fondo-body);
    color: var(--color-texto-general);
}



/* Estilos para los encabezados */
h1, h2 {
    font-family: var(--fuente-encabezados);
}

h1 {
    font-size: 4rem;
    margin-bottom: 1px;
}

h2 {
    font-size: 2.5rem;
    font-weight: normal;
}

h4, h3{
    font-weight: normal;
}

/* Estilos para otros textos */
p {
    font-family: var(--fuente-texto);
    font-size: 1.2rem;
    font-weight: normal;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    color: var(--color-texto-botones);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

header nav a {
    color: var(--color-texto-botones);
    margin: 0 10px;
    text-decoration: none;
}

header nav a:hover {
    color: var(--color-hover);
}

/* Sección Hero / Inicio */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e') no-repeat center center/cover;
    transform: scale(1.1); /* Escala ligeramente aumentada para cubrir */
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3); /* Fondo semitransparente */
    z-index: 2;
}

.hero-text {
    position: relative;
    z-index: 3;
    color: var(--color-encabezados-botones);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Sombra del texto */
    opacity: 0;
    animation: fadeInDown 2s ease forwards;
}

.hero-text h1 {
    text-transform: uppercase;
    font-size: 80px;
    line-height: 1em;
    letter-spacing: 10px;
    font-weight: 300;
}

.hero-text h2 {
    font-weight: 300;
    font-size: 40px;
    letter-spacing: 6px;
    text-transform: uppercase;
}

/* Animaciones */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translatex(-30px);
    }
    100% {
        opacity: 1;
        transform: translatex(0);
    }
}

@keyframes fadeInBackground {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sección de Nosotros */
.about, .catalog, .membership {
    padding: 100px 20px;
    text-align: center;
}

.about {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin: 20px;
    padding: 20px;
}

.about img {
    width: 50%; /* Imagen ocupará el 50% del ancho */
    max-width: 400px; /* Límite máximo para imágenes grandes */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.about div {
    flex: 1; /* El texto ocupará el espacio restante */
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.about p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Diseño responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .about {
        flex-direction: column; /* Cambia de fila a columna */
        text-align: center; /* Centra el texto */
    }

    .about img {
        width: 100%; /* Imagen ocupa el ancho completo */
        max-width: 100%; /* Asegura que no se salga del contenedor */
    }

    .about div {
        margin-top: 20px; /* Espacio entre la imagen y el texto */
    }
}

/* Sección de Planes */
.membership {
    background: url('https://images.unsplash.com/photo-1519643381401-22c77e60520e?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwzODg1NzZ8MHwxfGFsbHwxfHx8fHx8fHwxNjM0MDU2MjMw&ixlib=rb-1.2.1&q=80&w=1200') no-repeat center center/cover;
    color: var(--color-texto-botones);
    position: relative;
    padding: 100px 20px;
    width: 100%;
}

.membership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay oscuro */
    z-index: 1;
}

.membership h2, .membership p, .membership .btn {
    position: relative;
    z-index: 2;
}

.membership h2 {
    font-size: 2.5rem;
}

.membership p {
    font-size: 1.2rem;
}

.membership .btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-encabezados-botones);
    color: var(--color-texto-botones);
    text-decoration: none;
    margin-top: 20px;
    border-radius: 5px;
}

.membership .btn:hover {
    background-color: var(--color-hover);
}

.catalog {
    background-color: #f4f4f4;
    width: 90%;
    margin-left: 5%;
    padding-top: 100px !important;
    padding-bottom: 20px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.catalogoTitulo, .nosotrosTitulo{
    color: var(--color-encabezados-botones);
}

.botonCalificar button{
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-encabezados-botones);
    color: var(--color-texto-botones);
    text-decoration: none;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
}

.botonCalificar button:hover {
    background-color: var(--color-hover);
}

/* Footer */
footer {
    background-color: #333;
    color: var(--color-texto-botones);
    text-align: center;
    padding: 20px 0;
    width: 100%;
}


