/* Paleta de colores */
:root {
  --navy-blue: #2b2d42;
  --light-blue: #8d99ae;
  --off-white: #edf2f4;
  --red: #ef233c;
  --dark-red: #d90429;
  --dark-blue: #003049;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--off-white);
  color: var(--navy-blue);
  line-height: 1.6;
}

/* HEADER Y NAV */
header {
  background-color: var(--navy-blue);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: var(--off-white);
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background 0.3s;
}

nav a:hover,
nav a.active {
  background-color: var(--light-blue);
  color: var(--navy-blue);
}

/* TÍTULOS Y SECCIONES */
h1 {
  text-align: center;
  font-size: 2.5rem;
  margin: 30px 0;
  color: var(--dark-red);
}

h2 {
  margin-top: 20px;
  color: var(--red);
}

section {
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}

/* LISTAS */
ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* FOOTER */
footer {
  background-color: var(--navy-blue);
  color: var(--off-white);
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

/* SOBRE MÍ: SECCIÓN FLEX + GRID */
.about-section {
  padding: 40px 20px;
}

.about-section h1 {
  width: 100%;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--dark-red);

}
.titulo-central {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark-red);
  margin-top: 40px;
  margin-bottom: 30px;
  margin-left: 200px;
  ;
  
}

.construction-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
}

.construction-image img {
  max-width: 80%;
  height: auto;
  border-radius: 12px;

  /* Difuminado en bordes */
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse 100% 100% at center, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  transition: all 0.3s ease;
}
 

/* ESTRUCTURA FLEXIBLE PARA EL CONTENIDO SOBRE MÍ */
.about-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.text-content {
  flex: 1 1 450px;
  text-align: justify;
}

.text-content h1,
.text-content h2 {
  color: var(--dark-red);
}

.text-content ul {
  padding-left: 20px;
  list-style: disc;
  color: var(--dark-blue);
}

.text-content p {
  color: var(--dark-blue);
}

/* GRID DE IMÁGENES */
.image-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  flex: 1 1 300px;
  margin-top: 200px;
}

.image-grid-4 img {
  filter: blur(8px);
  transition: filter 0.5s ease, transform 0.5s ease;
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transform: scale(1);
}

.image-grid-4 img:hover {
  filter: blur(0);
  transform: scale(1.05); /* Hace el zoom suave */
}


  h1 {
    font-size: 2rem;
  }
.presentacion {
  padding: 2rem;
}

.contenido-presentacion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.texto-presentacion {
  flex: 1;
  text-align: justify;
  min-width: 250px;
}

.perfil-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--light-blue);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .contenido-presentacion {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .texto-presentacion {
    text-align: justify;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .image-grid-4 {
    grid-template-columns: 1fr;
    max-width: 90%;
  }

  .image-grid-4 img {
    filter: none;
    border-radius: 10px;
  }
}

/* CONTACTO: FORMULARIO */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.full-width {
  grid-column: span 2;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
}

input,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
}

textarea {
  min-height: 100px;
}

button {
  width: fit-content;
  background-color: #e63946;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #c72530;
}

.contact-form {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* ICONOS DE REDES SOCIALES */

.social-icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.icon-item {
  text-align: center;
}

.icon-item i {
  font-size: 48px;
  color: #3b3f4f;
  margin-bottom: 8px;
}

.icon-item p {
  margin-top: 6px;
  font-weight: bold;
  color: #4b4bff;
  font-size: 0.9rem;
}

.icon-item a {
  text-decoration: none;
  color: inherit;
}

.icon-item a:hover i {
  color: #aa0d28; /* O el color que vos estés usando */
}

.icon-item i {
  font-size: 48px;
  color: #3b3f4f;
  margin-bottom: 8px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.icon-item:hover i {
  transform: scale(1.2);
  color: #e63946; /* O el color principal de tu portfolio */
}
 .titulo-centrado {
  text-align: center;
 }

 @media (max-width: 768px) {
  form {
    margin: 1rem;
    padding: 1.5rem;
  }

  form input,
  form textarea {
    font-size: 1rem;
  }

  .social-icons {
    flex-direction: row;
    gap: 1rem;
  }
}
