/* Estilos Generales */
body {
    font-family: 'SF Pro Text', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; /* Fuente similar a Apple */
    margin: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden; /* Evita la barra de desplazamiento horizontal */
}

/* Contenedor principal para el contenido (diferente al del header) */
.main-content-container {
    width: 80%;
    max-width: 1024px; /* Similar al del header pero con padding */
    margin: auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden; /* Limita el contenido que desborda */
}

/* Contenedor para la hero section, si necesita un ancho diferente */
.hero-content-container {
    width: 90%; /* Un poco más ancho para la hero */
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    z-index: 2; /* Para que el contenido esté sobre la capa oscura */
}

a {
    text-decoration: none;
    color: #ff9000; /* Color de enlace por defecto */
    transition: color 0.3s ease;
}

a:hover {
    color: white;
}

ul {
    padding: 0;
    list-style: none;
}

.btn {
    display: inline-block;
    color: #fff;
    background: #ff9000;
    padding: 12px 25px; /* Botón un poco más grande */
    border-radius: 8px; /* Bordes más redondeados */
    margin-top: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: #ff9000;
    transform: translateY(-2px); /* Pequeño efecto al pasar el ratón */
}

/* Hero Section */
.hero-section {
    height: 100vh; /* que ocupe toda la pantalla */
    background-image: url("../img/wallpaper.png"); /* ⬅️ AQUÍ VA TU IMAGEN */
    background-size: cover; /* que cubra todo */
    background-position: center top; /* centrada */
    background-repeat: no-repeat; /* sin repetirse */
    color: #fff;
    text-align: center;
    padding: 0rem 0;
    margin-bottom: 2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;
}

/* Capa oscura encima del fondo (opcional para contraste) */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

/* Asegura que el texto quede arriba de la capa oscura */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h2 {
    font-size: 3.5rem; /* Título más grande */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* Sombra para mejor lectura */
}

.hero-section p {
    font-size: 1.5rem; /* Párrafo más grande */
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

/* Product Overview */
.products-overview {
    padding: 0rem 0; /* Más padding arriba y abajo */
    background-color: #f9f9f9; /* Fondo ligeramente diferente para la sección */
}

.products-overview h2 {
    text-align: center;
    margin-bottom: 0.5rem; /* Más espacio debajo del título */
    font-size: 2rem; /* Título de sección más grande */
    color: #333;
    position: relative;
}

/* Subrayado simple para el título de la sección */
.products-overview h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff9000;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center; /* Centra las tarjetas si hay espacio extra */
}

.product-card {
    background: #fff;
    padding: 25px; /* Más padding interno */
    border-radius: 12px; /* Bordes más redondeados */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra más suave y pronunciada */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex; /* Para flexbox interno para organizar el contenido */
    flex-direction: column;
    justify-content: space-between; /* Espacia el contenido verticalmente */
}

.product-card:hover {
    transform: translateY(-8px); /* Efecto de "levantar" la tarjeta más */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Sombra más fuerte al pasar el ratón */
}

.product-image {
    max-width: 100%;
    height: 200px; /* Altura fija para todas las imágenes */
    object-fit: contain; /* Ajusta la imagen sin recortar */
    margin: 0 auto 20px auto; /* Centra la imagen y da espacio abajo */
    border-radius: 8px; /* Ligeros bordes redondeados en la imagen */
}

.product-card h3 {
    font-size: 2rem; /* Título de producto más grande */
    margin-bottom: 10px;
    color: #ff9000;
}

.product-card p {
    font-size: 1.1rem; /* Párrafo más grande */
    margin-bottom: 20px;
    color: #666;
    min-height: 50px; /* Asegura una altura mínima para la descripción */
    flex-grow: 1; /* Permite que la descripción ocupe el espacio disponible */
}

.product-card .price {
    font-size: 2rem; /* Precio más grande */
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 25px; /* Más espacio antes del botón */
}

.btn-add-cart {
    background: #ff9000;
    color: #fff;
    padding: 12px 30px; /* Botón de carrito más grande */
    border-radius: 8px; /* Bordes más redondeados */
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

