/* === VARIABLES Y COLORES === */
:root {
    --primary-color: #007ea7; 
    --secondary-color: #003459; 
    --text-color: #333;
    --light-bg: #f4f6f8;
    --white: #ffffff;
    --amazon: #FF9900;
    --meli: #FFE600;
    --insta-grad: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --facebook-blue: #1877F2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

/* === NAVEGACIÓN === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-text {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 1.3rem;
    display: flex; align-items: center; gap: 8px;
}
.logo-text i { color: var(--primary-color); }

.nav-links { list-style: none; display: flex; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--secondary-color); font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary-color); }

/* === INSTAGRAM DEL MENÚ === */
.instagram-link i { 
    font-size: 2.5rem;
    background: var(--insta-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}
.instagram-link:hover i { transform: scale(1.1) rotate(5deg); }

/* === HERO SECTION === */
.hero {
    height: 85vh;
    background: radial-gradient(circle at center, #004e75 0%, #003459 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.hero h1 { font-size: 2.8rem; font-weight: 900; line-height: 1.1; margin-bottom: 15px; }
.hero .highlight { color: #5bc0de; }
.hero p { font-size: 1.1rem; margin-bottom: 35px; opacity: 0.9; }

.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.amazon-hero { background: var(--white); color: #000; border-left: 5px solid var(--amazon); }
.meli-hero { background: var(--meli); color: #2D3277; }
.btn:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(0,0,0,0.3); }

/* === CARRUSEL === */
.products-section { padding: 50px 5%; background: var(--light-bg); }
.section-title { text-align: center; font-size: 1.8rem; color: var(--secondary-color); margin-bottom: 30px; font-weight: 800; }
.carousel-container { overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.carousel-container::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 20px; padding: 10px; }
.product-card {
    min-width: 260px;
    background: var(--white);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
    border: 1px solid #eee;
}
.product-card:hover { transform: scale(1.03); }
.product-card img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; margin-bottom: 15px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* === FOOTER === */
footer { 
    background: var(--secondary-color); 
    color: var(--white); 
    text-align: center; 
    padding: 40px 20px 90px 20px; 
}

.footer-block { margin-bottom: 30px; }
.footer-block h3 { margin-bottom: 15px; }

/* Redes Sociales */
.socials { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.social-btn {
    display: flex; align-items: center; gap: 10px; padding: 10px 25px;
    border-radius: 50px; text-decoration: none; color: #fff;
    font-weight: bold; font-size: 1rem; transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.insta-btn { background: var(--insta-grad); }
.face-btn { background: var(--facebook-blue); }
.social-btn:hover { transform: translateY(-3px); filter: brightness(1.1); }

/* Divisor */
.divider { 
    border: 0; height: 1px; 
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)); 
    margin: 30px auto; width: 80%;
}

/* GRUPO DE EMAILS */
.email-grid { 
    display: flex; 
    justify-content: center; 
    gap: 30px; /* Separación entre grupos */
    flex-wrap: wrap; 
}

.email-item {
    display: flex;
    flex-direction: column; /* Boton arriba, texto abajo */
    align-items: center;
    gap: 8px;
}

.email-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 25px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    background: rgba(255,255,255,0.05);
    transition: all 0.3s;
}
.email-btn:hover {
    background: var(--white);
    color: var(--secondary-color);
    border-color: var(--white);
}

.email-text {
    font-size: 0.85rem;
    color: #ccc;
    font-family: monospace; /* Fuente tipo código para leer bien */
    user-select: all; /* Facilita seleccionar todo con un clic */
}

/* Links footer */
.footer-links { margin-top: 30px; }
.footer-links a { color: #bbb; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer-links a:hover { color: var(--white); }
.separator { margin: 0 10px; color: #555; }
.copyright { margin-top: 30px; font-size: 0.75rem; opacity: 0.5; }

/* === BOTÓN FLOTANTE WHATSAPP === */
.float-wa {
    position: fixed; width: 65px; height: 65px;
    bottom: 25px; right: 25px;
    background-color: #25D366; color: #FFF;
    border-radius: 50%; text-align: center; font-size: 38px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.3s ease;
}
.float-wa:hover { background-color: #128C7E; transform: scale(1.1) rotate(10deg); }

/* =========================================
   VERSIÓN MÓVIL (Celular)
   ========================================= */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding-bottom: 15px;
    }
    .nav-links {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
        gap: 25px;
    }
    .nav-links a { font-size: 1rem; }
    .instagram-link i { font-size: 2rem; }
    
    /* En celular ponemos los correos uno debajo de otro */
    .email-grid { flex-direction: column; gap: 20px; }
}