/* Estilo general */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Estilo del header */
header {
    height: 600px; /* Tamaño para computadoras */
    overflow: hidden;
    position: relative;
}

.header-bg img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Estilo del carrusel */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 70%;
    color: white;
}

.carousel-caption h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.25rem;
}

/* Estilo para los controles del carrusel */
.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
}

/* Fondo de color pastel para el contenido */
.pastel-bg {
    background-color: #f9e8e2; /* Color pastel suave */
    border-radius: 10px;
    padding: 2rem;
}

/* Imagen cuadrada sin deformarse */
.square-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-height: 350px; /* Limita la altura para mantener una imagen cuadrada */
}

/* Estilo de productos */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Imágenes de los productos */
.card-img-top {
    object-fit: cover;
    height: 250px;
    width: 100%;
}

/* Estilo para los detalles del producto */
.card-body {
    background-color: #fff;
    text-align: center;
    padding: 1.5rem;
}

.card-footer {
    background-color: #fff;
    border-top: none;
}

/* Botón de "Ver" */
.btn-outline-dark {
    border-color: #343a40;
    color: #343a40;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #343a40;
    color: #fff;
}

/* Adaptabilidad del sitio */
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    header {
        height: 400px; /* Tamaño para pantallas más pequeñas */
    }

    .square-image {
        max-height: 300px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    header {
        height: 300px; /* Tamaño para pantallas móviles */
    }

    .square-image {
        max-height: 200px;
    }
}
/* Botón de "Ver" */
.btn-outline-dark {
    border-color: #343a40;
    color: #343a40;
    transition: background-color 0.3s ease, color 0.3s ease;
}
@media (max-width: 576px) {
    header {
        height: 300px;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.8rem;
    }

    .section-highlight h2 {
        font-size: 1.4rem;
    }

    .section-highlight p {
        font-size: 0.8rem;
    }
}
