/* css/index.css */

/* Hero Section */
.hero {
    height: 80vh; /* Ocupa el 80% de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #F4F1EC 0%, #e0e6e4 100%); /* Gradiente sutil */
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

/* Elemento decorativo de fondo */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(200, 183, 158, 0.1); /* Dorado muy suave */
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: 0;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-verde);
}

.text-highlight {
    color: var(--color-texto);
    position: relative;
    z-index: 1;
}

/* Subrayado estilo "marcador" */
.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: var(--color-dorado);
    opacity: 0.4;
    z-index: -1;
    transform: skewX(-15deg);
}

.badge {
    display: inline-block;
    background: var(--color-texto);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Grid de Productos */
.seccion-productos { padding: 80px 20px; }
.titulo-seccion { text-align: center; margin-bottom: 60px; font-size: 2.5rem; }

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

/* Tarjeta Moderna */
.card {
    background: var(--color-blanco);
    border-radius: var(--borde-radio);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    position: relative;
}

.card:hover {
    transform: translateY(-10px); /* Levanta la tarjeta */
    box-shadow: var(--sombra-hover);
}

.card-img {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.05); /* Zoom suave */
}

/* Overlay al hacer hover */
.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(46, 46, 46, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transicion);
}

.card:hover .card-overlay { opacity: 1; }

.btn-white {
    background: white; color: var(--color-texto);
    padding: 10px 25px; border-radius: 30px; font-weight: bold;
}

.card-body { padding: 25px; text-align: center; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.precio { color: var(--color-verde); font-weight: 700; font-size: 1.3rem; margin-bottom: 15px; }
.link-detalle { color: var(--color-dorado); font-weight: 600; font-size: 0.9rem; }