body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #131313;
    background-color: #d4d4d4;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    background-color: rgba(255, 255, 255, 0);
    position: absolute;
    width: 100%;
    z-index: 2;
}

.top-left-title {
    text-align: left;
}

.main-title {
    font-size: 3rem; /* Ajustado para pantallas pequeñas */
    margin: 0;
    color: white;
    margin-left: 3rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.sub-title {
    font-size: 2.4rem; /* Ajustado para pantallas pequeñas */
    margin: 0;
    color: white;
    margin-left: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.menu-button {
    background-color: #ffffff;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.2rem; /* Ajustado para pantallas pequeñas */
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 20px;
    padding: 8px 10px;
    margin-right: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: solid black 1px;
}

.menu-button:hover {
    background-color: #0056b3;
}

.banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9; /* Mantén la proporción en lugar de usar height: 100vh */
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    clip-path: circle(300% at 50% -372%); /* Recorta la imagen como un círculo en la parte inferior */
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white; /* Color del submantel */
    clip-path: circle(300% at 50% -370%);
    z-index: 0;
}

.banner-overlay {
    position: absolute;
    top: 35%;
    right: 2rem;
    transform: translateY(-50%);
    text-align: right;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    z-index: 2;
}

.large-title {
    font-size: 7rem;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);
}

.whatsapp-icon {
    width: 30px; /* Ajustado para pantallas pequeñas */
    height: 30px;
    margin-right: 10px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.9));
}

.contact-number {
    font-size: 3rem; /* Ajustado para pantallas pequeñas */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    html{
        font-size: 7px;
    }

    .main-title {
        font-size: 2rem;
        margin-left: 1rem;
    }

    .sub-title {
        font-size: 1.5rem;
        margin-left: 1rem;
    }

    .menu-button {
        font-size: 1rem;
        padding: 0.5rem 0.9rem;
    }

    .large-title {
        font-size: 3rem;
    }

    .contact-number {
        font-size: 2rem;
    }

    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }
}






.producto-tarjeta {
    width: 14rem;
    height: 19rem;
    border-radius: 1rem;
    background-color: rgb(0, 0, 0);
    color: white;
    text-align: center;
    margin: 1rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.producto-imagen {
    width: 100%;
    height: 100%; /* Hace que la imagen ocupe todo el espacio de la tarjeta */
    object-fit: cover; /* Ajusta la imagen al espacio sin respetar la proporción */
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.3s ease-in-out;
    z-index: 1; /* Aparece detrás del título */
}

.producto-detalles {
    width: 100%;
    height: auto; /* Ajusta dinámicamente según el contenido */
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Justifica el contenido hacia abajo */
    align-items: center;
    position: absolute; /* Para posicionar en relación con la tarjeta */
    bottom: 0; /* Empieza en la parte inferior de la tarjeta */
    transform: translateY(100%); /* Se oculta fuera del área visible */
    transition: transform 0.3s ease-in-out;
    z-index: 3; /* Se asegura de estar sobre la imagen */
}

.producto-tarjeta:hover .producto-detalles,
.producto-tarjeta:focus .producto-detalles {
    transform: translateY(0); /* Suben hasta estar completamente visibles */
}

.producto-tarjeta:hover .producto-detalles,
.producto-tarjeta:focus .producto-detalles {
    transform: translateY(0);
}

.producto-tarjeta h4 {
    position: absolute;
    top: 1rem; /* Ajusta según sea necesario */
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    z-index: 2; /* Se asegura de estar sobre la imagen */
    background-color: rgba(77, 77, 77, 0.8); /* Fondo semitransparente para mejor visibilidad */
    padding: 0.2rem 0.6rem;
    border-radius: 0.2rem;
    color: white;
}

h3{
    color: #303030;
}

h2{
    text-decoration: underline;
}