
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fffaf0;
    color: #3d3d3d;
}

header {
    background: #ec7601;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/*.hero {
  background-image: url('../img/fondo-mujer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: white;
  position: relative;
}
*/
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero h1,
.hero p,
.hero .btn {
  position: relative;
  z-index: 2;
}

.hero .btn {
    background: #8b6f4e;
    color: white;
    padding: 1em 2em;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1em;
}

.productos {
    padding: 2em;
}

.productos .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1em;
    margin-top: 1em;
}

/*.productos .item {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 1em;
    text-align: center;
}*/

footer {
    background: #ec7601;
    color: white;
    text-align: center;
    padding: 1em;
    margin-top: 2em;
}
.logo img {
    max-height: 100px;     /* Altura máxima */
    height: auto;          /* Se ajusta proporcionalmente */
    width: auto;           /* Mantiene proporción */
    max-width: 100%;       /* No se sale del contenedor */
    display: block;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}
.hero {
  background-image: url('../img/fondo-mujer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: white;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero h1,
.hero p,
.hero .btn {
  position: relative;
  z-index: 2;
}

.hero h1,
.hero p,
.hero .btn {
  position: relative;
  z-index: 2;
}

.btn {
  background-color: #7f5f3f;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 1rem;
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../img/fondo-mujer.jpg'); /* cambia la ruta si es necesario */
  background-size: cover;
  background-position: right center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
}

.hero-texto {
  /*color: #1d3c2f;*/
  color: white;
  max-width: 30%;
  background-color: rgba(255, 255, 255, 0); /* sin fondo */
}

.hero-texto h1 {
  font-size: 3em;
  line-height: 1.2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-texto .btn {
  background-color: #e26c2d;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

text-align: left;


/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hero-texto {
        max-width: 90% !important;
        margin: 0 auto;
        text-align: center !important;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}


/* ----------- RESPONSIVE DESIGN PARA CELULARES ----------- */
@media only screen and (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 10px;
    }

    header, nav, section, footer {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .container, .contenido, .productos, .redes {
        display: block;
        width: 100%;
    }

    .red-social, .producto {
        display: block;
        margin-bottom: 20px;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        margin-bottom: 10px;
    }
}
