/* ---------------------------
   ESTILO GENERAL - BASE
---------------------------- */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  background: linear-gradient(to bottom, #fdf6f0, #e8f5f8);
  color: #333;
  transition: all 0.3s ease;
  list-style: none;
    background: 
    linear-gradient(rgba(255, 245, 230, 0.6), rgba(232, 245, 248, 0.7)),
    url("../imagenes/ola.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #333;
}
/* ENCABEZADO */
header {
  background-color: #a8c8d7; /* celeste suave */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header img {
  height: 50px;
}

/* MENÚ */
.menu-toggle {
  display: none;
}

.etiqueta-menu {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

.menu-desplegable ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

.menu-desplegable a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
}

.menu-desplegable a:hover {
  color: #ffe4c9;
}

/* FRANJA SUPERIOR */
.contenedor-franja {
  text-align: center;
  background-color: #ffe4c9;
  padding: 10px 0;
}

.franja-gif {
  width: 80%;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* SECCIÓN SOBRE MÍ */
.sobre-mi {
  text-align: center;
  padding: 50px 20px;
}

.foto-perfil {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #a8c8d7;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.foto-perfil:hover {
  transform: scale(1.05);
}

.sobre-mi h1 {
  color: #3b4c63;
  margin: 10px 0;
  font-size: 1.8em;
}

.sobre-mi p {
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
  color: #444;
}

/* SECCIONES GENERALES */
section {
  margin: 50px auto;
  max-width: 1000px;
  background: #ffffffb0;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

h2 {
  text-align: center;
  color: #5a6b79;
  margin-bottom: 20px;
}

/* PROGRAMAS */
.seccion-programas ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.seccion-programas li {
  display: inline-block;
  background-color: #f4d8c9;
  margin: 10px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: bold;
  color: #4a4a4a;
  transition: transform 0.2s ease, background 0.2s ease;
}

.seccion-programas li:hover {
  background-color: #f2b9a1;
  transform: translateY(-3px);
}

/* GUSTOS */
.contenedor-gustos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.gusto {
  text-align: center;
  transition: transform 0.3s ease;
}

.gusto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 10px;
}

.gusto:hover {
  transform: scale(1.03);
}

/* MASCOTAS */
.contenedor-mascotas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.mascota {
  text-align: center;
}

.mascota img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #a8c8d7;
  transition: transform 0.3s ease;
}

.mascota img:hover {
  transform: scale(1.07);
}

/* REDES */
.seccion-redes ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.seccion-redes a {
  display: inline-block;
  margin: 10px;
  padding: 10px 25px;
  background-color: #a8c8d7;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.seccion-redes a:hover {
  background-color: #6ea9c1;
  transform: translateY(-3px);
}

.mockup {
max-width: 100px;

}
.icono-redes {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 8px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Efecto al pasar el mouse */
.seccion-redes a:hover .icono-red {
  transform: scale(1.1);
  filter: brightness(1.2);
}


/* PIE */
.pie {
  background-color: #a8c8d7;
  color: #fff;
  text-align: left;
  padding: 20px 10px;
  margin-top: 50px;
  font-size: 0.9em;
  list-style: none;
}

footer{
list-style: none;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---------------------------
   RESPONSIVE 
---------------------------- */

/* --- MÓVIL --- */
@media (max-width: 600px) {
  header {
    position: relative;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 10px 20px;
  }

  /* Mostrar icono hamburguesa */
  .etiqueta-menu {
    display: block;
    cursor: pointer;
    font-size: 28px;
    color: #fff;
  }

  /* Ocultar menú inicialmente */
  .menu-desplegable {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #a8c8d7;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none;
  }

  .menu-desplegable ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    margin: 0;
    gap: 10px;
  }

  .menu-desplegable a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  /* Mostrar menú al hacer clic */
  .menu-toggle:checked + .etiqueta-menu + .menu-desplegable {
    display: block;
  }

  .foto-perfil {
    width: 140px;
    height: 140px;
  }

  section {
    padding: 20px;
  }

  h1 {
    font-size: 1.4em;
  }
}

/* --- TABLET --- */
@media (min-width: 601px) and (max-width: 992px) {
  header {
    padding: 15px 40px;
  }

  .menu-desplegable ul {
    gap: 15px;
  }

  .foto-perfil {
    width: 160px;
    height: 160px;
  }

  .contenedor-gustos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- DESKTOP --- */
@media (min-width: 993px) {
  header {
    padding: 20px 80px;
  }

  .menu-desplegable ul {
    gap: 30px;
  }

  .foto-perfil {
    width: 200px;
    height: 200px;
  }

  .contenedor-gustos {
    grid-template-columns: repeat(3, 1fr);
  }

  section {
    transition: transform 0.3s ease;
  }

  section:hover {
    transform: translateY(-5px);
  }
}
