/* ==========================================
  1. RESET Y DESPLAZAMIENTO SUAVE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Mooligat";
  src: url("./Mooligat Demo.otf");
}

@font-face {
  font-family: "Lostar";
  src: url("./Lostar.ttf");
}

/* ==========================================
   2. ESTILOS GENERALES Y PALETA DE COLOR
   ========================================== */
body {
  background-color: #f1ebe9; /* Fondo beige suave */
  color: #4a3b3a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  padding-bottom: 4vh;
  overflow-x: hidden;
}

/* Tipografía Mooligat para todos los h2 */
h2 {
  font-family: "Mooligat", cursive, sans-serif;
  src: url("./Mooligat Demo.otf");
  font-weight: 100;
  color: #722f37; /* Color borgoña */
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

h2 {
  font-family: "Mooligat", cursive, sans-serif;
  font-weight: 100;
  color: #722f37; /* Color borgoña */
  font-size: 2.8rem;
  margin-bottom: 1rem;
}


/* ==========================================
   3. NAVEGACIÓN MENÚ FLOTANTE
   ========================================== */
nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 20px;
  top: 20px;
  gap: 8px;
  z-index: 1000;
}

nav a {
  color: #722f37;
  background-color: #ffffff;
  text-decoration: none;
  border: 1px solid #722f37;
  border-radius: 8px;
  text-align: center;
  padding: 4px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: #722f37;
  color: #ffffff;
  transform: translateX(-3px);
}

/* ==========================================
   4. HEADER / HERO SECTION ANIMADO
   ========================================== */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  gap: 10px;
  text-align: center;
  padding: 40px 20px;
  /* Movimiento de flotación */
  animation: floatHeader 4s ease-in-out infinite;
}

@keyframes floatHeader {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

header h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-family: "Mooligat", cursive, sans-serif;
  font-weight: 100;
  color: #722f37;
  line-height: 1.1;
}

header h2 {
  color: #b54f42; /* Tono terroso/rojo */
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin-bottom: 0;
}

/* Estilo del botón "Start" */
header .start-btn {
  display: inline-block;
  text-decoration: none;
  background-color: #9d0722;
  color: #ffffff;
  padding: 10px 28px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(157, 7, 34, 0.25);
  transition: all 0.3s ease;
  margin-top: 10px;
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% {
    box-shadow: 0 0 0 0 rgba(157, 7, 34, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(157, 7, 34, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(157, 7, 34, 0);
  }
}

header .start-btn:hover {
  background-color: #722f37;
  transform: scale(1.08);
}

header span {
  color: #58171f;
  font-size: 0.9rem;
}

/* ==========================================
   5. FILA DE CORAZONES (IMÁGENES PEQUEÑAS + MOVIMIENTO)
   ========================================== */
.divider-corazones {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 25px 0;
  overflow: hidden;
  background: transparent;
}

.corazones-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: scrollHearts 18s linear infinite;
}

.corazones-track img {
  width: 18px; /* Tamaño pequeño */
  height: auto;
  object-fit: contain;
  filter: brightness(0); /* Los hace completamente negros */
  transition: transform 0.2s ease;
}

.corazones-track img:hover {
  transform: scale(1.4);
}

@keyframes scrollHearts {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================
   6. SECCIONES DE CONTENIDO Y TARJETAS
   ========================================== */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  margin: 6vh auto;
  scroll-margin-top: 40px;
}

.card p {
  color: #4a4a4a;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

/* Foto de Perfil */
.profile-container {
  display: flex;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
}

.profile-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #722f37;
  box-shadow: 0 8px 20px rgba(114, 47, 55, 0.15);
  margin: 0 auto;
}

.bio-text {
  flex: 1;
  min-width: 280px;
}

/* Sección de Skills */
.skills-grid {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #e2d2ce;
  border-radius: 12px;
  padding: 20px;
  width: 120px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: #722f37;
}

.skill-card img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  margin-bottom: 10px;
}

.skill-card span {
  font-weight: 600;
  color: #722f37;
  font-size: 0.95rem;
}

/* Sección de Hobbies */
.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.hobby-card {
  background-color: #ffffff;
  border: 1px solid #e2d2ce;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hobby-card:hover {
  transform: translateY(-4px);
  border-color: #722f37;
  box-shadow: 0 6px 15px rgba(114, 47, 55, 0.1);
}

.hobby-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.hobby-card h3 {
  font-family: "Lostar", cursive, sans-serif;
  color: #722f37;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.hobby-card p {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 0;
}

/* Sección Cursos */
.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.curso-card {
  background-color: #ffffff;
  border: 1px solid #e2d2ce;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curso-card:hover {
  transform: translateY(-4px);
  border-color: #722f37;
  box-shadow: 0 6px 15px rgba(114, 47, 55, 0.1);
}

.curso-badge {
  font-size: 0.8rem;
  color: #722f37;
  font-weight: 600;
  text-transform: uppercase;
}

.curso-card h3 {
  font-family: "Lostar", cursive, sans-serif;
  color: #333333;
  font-size: 1.2rem;
  margin-top: 4px;
}

.curso-plataforma {
  font-size: 0.9rem;
  color: #722f37;
  font-weight: 500;
}

.curso-fecha {
  font-size: 0.85rem;
  color: #8c535a;
}

/* Sección Proyectos */
.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.proyecto-card {
  background-color: #ffffff;
  border: 1px solid #e2d2ce;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.proyecto-card:hover {
  transform: translateY(-4px);
  border-color: #722f37;
}

.proyecto-img-placeholder {
  font-size: 2.5rem;
  text-align: center;
  padding: 20px 0;
  background-color: #f1ebe9;
  border-radius: 8px;
  margin-bottom: 15px;
}

.proyecto-card h3 {
  font-family: "Lostar", cursive, sans-serif;
  color: #722f37;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.proyecto-tags {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.proyecto-tags span {
  font-size: 0.75rem;
  background-color: #f1ebe9;
  color: #722f37;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

/* ==========================================
   7. SECCIÓN DE CONTACTO DETALLADA
   ========================================== */
.contacto-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e2d2ce;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.input-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #722f37;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #e2d2ce;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #f1ebe9;
  outline: none;
  transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #722f37;
  background-color: #ffffff;
}

.submit-btn {
  background-color: #9d0722;
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #722f37;
  transform: translateY(-2px);
}

.contacto-info h3 {
  font-family: "Lostar", cursive, sans-serif;
  color: #722f37;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.contacto-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.contacto-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #722f37;
  border: 1px solid #722f37;
  border-radius: 8px;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-align: center;
}

.contacto-btn:hover {
  background-color: #722f37;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 0;
  color: #8c535a;
  font-size: 0.9rem;
}


/* ==========================================
   ESTILOS PARA OTRAS FORMAS DE CONTACTO
   ========================================== */
.contacto-info {
  margin-top: 30px;
  text-align: left;
}

.contacto-info h3 {
  font-family: "Mooligat", cursive, sans-serif;
  color: #722f37;
  font-size: 1.8rem;
  font-weight: 100;
  margin-bottom: 8px;
}

.contacto-info p {
  color:#4a3b3a;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Contenedor de las tarjetas/botones */

.contacto-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

/* Diseño de cada botón de contacto */

.contacto-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #722f37;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 25px;
  border:1,5px solid #722f37 ;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(114, 47, 55, 0.08);
  transition: all 0.3s ease;
}

.contacto-card .icon {
  font-size: 1.2rem;
}

/* Efecto hover (al pasar el mouse) */
.contacto-card:hover {
  background-color: #722f37;
  color:#ffffff;
  transform: translateY(-3px);
box-shadow: 0 6px 15px rgba(114, 47, 55, 0.2);
}

afafasfffafsfafklklllkñklkkkñklklklklkkkñlklkkkñlklklkkkklkklklklklñkngghhhghgjhgjhghhh
hhhhhhhgggghghghghghgjhgjhghgjgghghjgjhghgjhghghggjhghghghgghgjhgggghgghgghhjkhkjjkjjhkjhjjkggggggggghfhghgghhgfghggfgfhgfhgggggfgfgfffgf
mbbtttytyttygyttttttttttfthfthffhgfhfghhfgfhffgfffhfgffhgfffhfhffffhfggjgjgjhgjhgjhgjhghgjhgjghjhgjhgghggjgjgdddasasfsafasfasf
asfasfasfasfasffawfsaffgasfasfasfasfasfaffasfafafasfafafsdfsdfdgssdgsgsdgdfgdfgdfgdgdgdfgdfhdfdswgsdggsgsdgsgsgsdgsgsdgsgsgsxgsgsdgs
asfszfsdgdfgdffasfsafasfagagdgdfgsdgmmmmmmmmmmmmmmmmmbjkhkhjkhjkjhhjl,jhj,hjkhjkhjlhjkg.,,.,.--,m-kghmgvhmghmghmghmghjhjh
sgdfhfhfhfgfgjfgfgfghfghjkhjkhhghfgjgjfgjfgjfgjfwfsdgsgsgsgsgsgssggfhfhdhdfhdfhdfgfhfjfgjfgjfgjfgjdfdfjhjkgghjg
ggjfhfjffsdsdgsdgsdgsdgsdgsgafafaffaafasfafafaafaffsafaafsfasfasfasfafsafafwafasfasfadgsdgsdgsdgsdgsdgsdgsdgsdgsdgsdfasfasfasfasfafasfasfasfasfasfasfasfasfasf
sfasfasfasfafasffasfasfsfasfasfasfasfasfasffasfasfasfasfasfasfasfafsafsafasfasfsfgggssdgsdgsdgsdgsdgsgsdg
fhgjgjfgjfgjfgjfgjfgfgjfgjfgjfgjgjfgjfjfasfasfasfasfasfasfsfasfasfasfasdfhfdhdfhdfhdd
dfafasfafasfasfsfasfasfasfasfasfasfasfasfasgggasfSFASFAFASFASFFASFAFAF}
FVDCG FASFASFASSDGSDGSDGSDGSDGSDGSGSDGSDHSDHDSHSDHSDHSFAFAFAFASFASFASF
AGGSFASFAFASFAFASFASSFAFAFAFAFAFASFSFAFASFASFASFASFSFAF
FASFAFASFASFASFASFAHGHJGHJredrygdrdhdrhdrhdrhdrhdrhdrhdrhdrhrdhfasfasf
sfasfafsgsgsgsdgxdgsdgsdgsdhshshshbhdhdfhdfhdcfhdhcdfhdfhdhdhdfh
ghfhfhsfafasfasfafafasfafasfazfafafasfafafajñhjghjghkghkgkgkjkljkljlkñk
ñl{l{l{lñ{}ñ}{ñ{}ñ}ñ}ñ}ñ}}ñ}ñ{}  kñklñkñklklñkñkñkñkñkñkñklñkñk
lkljkljkljljklhfghfhfhfhfhfghfghfghfghfghhfhfghfhfhfghfghfghfghfhfhgfghfghfhfhfghfghfghfghfghfghfghfhfhfhfghffghfhfhfhfghfghfghfgfbvbnngvncnvnvnvnfgfghfhfhf
gfgjfjfjfjfgddjghjjghjjggkgkgkgjkjkljkljkljkljkljkljljljljljkljl
lklññklñklñklñkñklñklñklñklññklñfasfasfafsafafasfasfasfasfasf
nnnnnnnnnnnnnnnnbnbvvkljkljkljljkljkllghhjghjjghj
nhhjmhjmhmhmmftfafasfasfasfafasfasfafasfasfafasfasfasf
dxfffdsfafasfafasfasfafafaftttddfdfdfddfdffdddfdfdfdffffdfddf
gygtgghghghgghjghghghhjbgbbbhm,n,nygtgfhffhfhjjjjjjjjjjjfafasfasfassaf
lñ{lñ{lñ{lñ{l{l{l{l{lñ{lñ{lkk{klop{op{op{o{o{
  cfasfsdgbdgsdgsdgsdgsdgsdfsgsdgdfhdhfhasfafasfdafa
}}}}}}}}}}}}}}}}fafafaññññ{ñ{ñ{ññ{ñ{ñ{ñ{ññññññ
.,,,.,.gjhgj
}}}}}}}
klkkljlljkljlklkjkkjkjkhgjhhjgbñ{ññ{ñ{ññ{}}}
}jjkjkjjjkjkjkjjjkjkjkjgggghhhjhjhjhjhjhhjhjhjhhjjhjhjhjhjhj
kkjjkkjjkjjhjhjhjjhjhjhggjghgjhfafafadsggsgsgssgdafasfasfasfaf
jlkljkljkljkljkljljkjljkljkjkljkljjljjljkjljkljkljljljkljkljlj
fasfafasfasfasfasfafasfasfvvfffffffffffffffffffffffffsffafafaf
fafafafafafasfasfasfasfasasafafafaaf
fafafafafafafafsfasfasfafasfhahsfasfsfga
sgasgagasg
gasgsgasgasgagagagdfsdfsdfdsfsdgsdgdssdgdsgsghjgjghjgj
nnnnnnnnfxcvxcvxcvxvszszccczczczcvkmmmmmnbbvvcccxxu76tt
tttbvbnvbnvbnvbnvbnvnfafafasfffdg
gdfgdfdfgdfgdfgdfgdfffcccccffgfgddgdddggffgffddfafsfas
asgasgasgasg
gsdgsdgsdgsdgsdg
tfrfggfhfhfhfhyyghgghgghghghghghghjghjghjghj
hjghjghjghghjghvbcvbcvbcvbcvncvnnv cbcvcvb cvbcvbcvbcb
fasfsfafasfasfsfsfasfgdsgsdggsdgsdgsgsdgsgddsgsñghgjghjghjghj
dgsdgsdgsdgsdgsdgsdgsdgafsfasfasfasfasfasfasfasfasfafasff
fasfasfasfafasfasffasfas sffasfafasfasfsfasfsafafassasfasf
gsafsafasfasfasffasfffafasfaffasfasfafsfasfasfasfafafafafafaafsfa
fasfasfafasfasfasfafsffasafasfasfafasffafafafafasfasffafaffafafafafafafaf
fafaffafafafafafafafaffafafsfaffafafaffafafafafafafaffaffafafaf