* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    color: #000; /* Color del texto en negro por defecto */
}

header {
    background-color: #FFD700; /* Color amarillo para el encabezado */
    color: #000; /* Color negro para el texto del encabezado */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #000; /* Color negro para los enlaces */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FFA500; /* Color naranja al pasar el mouse */
}

.hero {
    background-image: url('imagenes/logo.png'); 
    background-size: cover; 
    background-position: center; 
    color: white; 
    text-align: center; 
    padding: 100px 0; 
    position: relative; 
    z-index: 1; 
}

.hero::after {
    content: ''; 
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 0; 
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    position: relative; 
    z-index: 2; 
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative; 
    z-index: 2; 
}

.btn {
    background-color: #FFD700; 
    color: #000; /* Texto del botón en negro para mayor contraste */
    padding: 10px 20px; 
    text-decoration: none; 
    border-radius: 5px; 
    transition: background 0.3s; 
}

.btn:hover {
    background-color: #FFA500; 
}

.products {
    padding: 20px;
    text-align: center;
}

.products h2 {
    margin-bottom: 20px;
}

.product-card {
    display: inline-block;
    width: 200px;
    margin: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    position: relative;
    transition: transform 0.2s;
    overflow: hidden;
}

.product-card:hover {
    transform: scale(1.05); 
}

.product-card img {
    max-width: 100%;
    border-radius: 5px;
    animation: move 4s ease-in-out infinite alternate; 
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #e65c00; 
}

.button {
    display: inline-flex; 
    align-items: center; 
    padding: 10px 20px; 
    margin-top: 10px; 
    background-color: #FFD700; 
    color: #000; /* Texto del botón de WhatsApp en negro */
    text-decoration: none; 
    border-radius: 5px; 
    text-align: center; 
    transition: background 0.3s; 
    font-weight: bold; 
}

.button i {
    margin-right: 8px; 
    font-size: 20px; 
}

.button:hover {
    background-color: #FFA500; 
}

.about {
    padding: 20px;
    text-align: center;
    background-color: #f3f4f6;
}

.about h2 {
    margin-bottom: 20px;
}

.carousel {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    text-align: center;
}

.carousel-item img {
    max-width: 100%;
    border-radius: 10px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 100;
    transition: background 0.3s;
}

.carousel-button:hover {
    background-color: rgba(255, 255, 255, 1);
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}










footer {
    text-align: center;
    padding: 20px;
    background-color: #FFD700; 
    color: #000; /* Color negro para el texto del pie de página */
}

footer a {
    color: #000; /* Color negro para los enlaces del pie de página */
    text-decoration: none; 
    margin: 0 10px; 
    font-size: 20px; 
}

footer a:hover {
    color: #e65c00; 
}

/* Animación para mover las imágenes */
@keyframes move {
    0% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(5px);
    }
}