/* public_html/VentasOnline/css/estilos.css */

/* 1. IMPORTAR FUENTE MODERNA (Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --color-primario: #0d1b2a; /* Azul Marino Oscuro (Elegante) */
    --color-secundario: #fca311; /* Dorado/Naranja (Para botones de compra) */
    --color-fondo: #f4f6f8;
    --texto-oscuro: #1b263b;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-fondo);
    color: var(--texto-oscuro);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(90deg, var(--color-primario) 0%, #1b263b 100%);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem 0;
}
.navbar-brand {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.5rem;
}

/* HERO BANNER (La portada) */
.hero-section {
    background: linear-gradient(rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.7)), url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
    text-align: center;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* TARJETAS DE PRODUCTOS */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}
.card:hover {
    transform: translateY(-10px); /* Efecto de flotar al pasar el mouse */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card-img-top {
    transform: scale(1.05); /* Zoom suave en la foto */
}
.precio-destacado {
    color: var(--color-primario);
    font-weight: 700;
    font-size: 1.4rem;
}

/* BOTONES */
.btn-primary {
    background-color: var(--color-primario);
    border: none;
}
.btn-dark {
    background-color: var(--color-secundario);
    color: #000;
    font-weight: 600;
    border: none;
}
.btn-dark:hover {
    background-color: #e08e0b;
    color: #000;
}

/* FOOTER */
footer {
    background-color: var(--color-primario);
    color: white;
    margin-top: auto; /* Empuja el footer siempre al final */
}

/* WHATSAPP FLOTANTE */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}
.btn-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}