/*
Theme Name: Ecomarket Theme

Theme URI: https://ecomarket.cl

Author: Gonzalo / Andres

Description: Theme personalizado para Ecomarket

Version: 1.0

*/

/* RESET */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: Arial, sans-serif;

    line-height: 1.6;

}

/* CONTENEDOR */

.container {

    width: 90%;

    max-width: 1200px;

    margin: auto;

}

/* HEADER */

.header {

    background: #41899f;

    padding: 15px 0;

    position: sticky;

    top: 0;

    z-index: 1000;

}

.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}

/* LOGO */

.logo {

    color: white;

    text-decoration: none;

    font-size: 1.5rem;

    font-weight: bold;

}

/* MENÚ */

.menu {

    list-style: none;

    display: flex;

    gap: 20px;

}

.menu a {

    color: white;

    text-decoration: none;

    padding: 8px 12px;

    border-radius: 5px;

    transition: all 0.3s ease;

}

/* HOVER MENÚ */

.menu a:hover {

    background: #2f6474;

    color: #fff;

}

/* ========================= */

/* HERO PRODUCTO */

/* ========================= */

.producto-hero {

    position: relative;

    min-height: 80vh;

    background: url("img/botella.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}

/* OVERLAY */

.overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.5);

    display: flex;

    align-items: center;

    justify-content: center;

}

/* CONTENIDO HERO */

.hero-contenido {

    text-align: center;

    color: white;

    max-width: 600px;

    padding: 20px;

    text-shadow: 0 2px 10px rgba(0,0,0,0.7);

}

.hero-contenido h1 {

    font-size: 3rem;

    margin-bottom: 20px;

}

.hero-contenido p {

    margin-bottom: 25px;

    font-size: 1.1rem;

}

/* BOTÓN HERO */

.btn-hero {

    display: inline-block;

    background: #27ae60;

    color: white;

    padding: 12px 25px;

    text-decoration: none;

    border-radius: 25px;

    font-weight: bold;

    transition: all 0.3s ease;

    box-shadow: 0 5px 15px rgba(0,0,0,0.3);

}

/* HOVER BOTÓN */

.btn-hero:hover {

    background: #1e8449;

    transform: scale(1.05);

}

/* ========================= */

/* CARACTERÍSTICAS */

/* ========================= */

.caracteristicas {

    padding: 60px 20px;

    background: #f4f4f4;

}

.caracteristicas-flex {

    display: flex;

    align-items: center;

    gap: 40px;

}

.caract-img {

    flex: 1;

    display: flex;

    justify-content: center;

}

.caract-img img {

    width: 100%;

    max-width: 400px;

    border-radius: 10px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

}

.caract-texto {

    flex: 1;

}

.caract-texto h2 {

    margin-bottom: 20px;

}

/* LISTA */

.lista {

    list-style: none;

}

.lista li {

    margin: 15px 0;

    font-size: 1.1rem;

}

/* ========================= */

/* IMPACTO */

/* ========================= */

.impacto {

    padding: 60px 20px;

}

.impacto-flex {

    display: flex;

    align-items: center;

    gap: 40px;

}

.impacto-img {

    flex: 1;

    display: flex;

    justify-content: center;

}

.impacto-img img {

    width: 100%;

    max-width: 350px;

    height: auto;

    border-radius: 10px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

}

.impacto-texto {

    flex: 1;

}

.impacto-texto h2 {

    margin-bottom: 20px;

}

/* DATOS */

.datos {

    display: flex;

    gap: 30px;

    margin-top: 30px;

}

.datos div {

    text-align: center;

}

/* ========================= */

/* FOOTER */

/* ========================= */

.footer {

    background: #41899f;

    color: white;

    text-align: center;

    padding: 40px 20px;

}

.copy {

    margin-top: 20px;

    font-size: 0.9rem;

}

/* ========================= */

/* RESPONSIVE */

/* ========================= */

/* TABLET */

@media (max-width: 768px) {

    /* NAV */

    .nav-container {

        flex-direction: column;

        gap: 10px;

    }

    .menu {

        flex-direction: column;

        align-items: center;

    }

    /* HERO */

    .producto-hero {

        min-height: 60vh;

    }

    .hero-contenido h1 {

        font-size: 2rem;

    }

    /* CARACTERÍSTICAS */

    .caracteristicas-flex {

        flex-direction: column;

        text-align: center;

    }

    /* IMPACTO */

    .impacto-flex {

        flex-direction: column;

        text-align: center;

    }

    .datos {

        flex-direction: column;

        align-items: center;

    }

    /* ESPACIADO */

    .caracteristicas,

    .impacto {

        padding: 40px 15px;

    }

}

/* MÓVIL */

@media (max-width: 480px) {

    .logo {

        font-size: 1.2rem;

    }

    .menu a {

        font-size: 0.9rem;

    }

    .hero-contenido h1 {

        font-size: 1.7rem;

    }

    .hero-contenido p {

        font-size: 0.95rem;

    }

    .btn-hero {

        padding: 10px 20px;

        font-size: 0.9rem;

    }

    h2 {

        font-size: 1.5rem;

    }

    p {

        font-size: 0.95rem;

    }

    img {

        max-width: 100%;

    }

}