
h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(55, 65, 81, 0.95);
  backdrop-filter: blur(10px);
}

.site-header h1 {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.5rem;
  transition: opacity 0.3s;
}

.main-nav a:hover {
  opacity: 0.7;
}

/* ========== HERO / INICIO ========== */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), 
              url('../assets/img/mujer-sombrero%281%29.jpg') center / cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.hero-content h2 {
  font-size: 3.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn-hero {
  display: inline-block;
  padding: 1rem 3rem;
  border: 2px solid #fff;
  border-radius: 50px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-hero:hover {
  background: #fff;
  color: #B23B5B;
}

/* ========== BOTÓN PRIMARIO ========== */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #B23B5B;
  color: #fff;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #9A3350;
}

/* ========== SOBRE MÍ ========== */
.sobre-mi {
  padding: 6rem 2rem;
  background: #FFFFFF;
}

.sobre-mi-contenido {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.sobre-mi-imagen {
  flex: 1 1 300px;
}

.sobre-mi-imagen img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sobre-mi-texto {
  flex: 1 1 400px;
}

.sobre-mi-texto h2 {
  text-align: left;
  color: #374151;
}

.sobre-mi-texto h3 {
  color: #B23B5B;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.sobre-mi-texto p {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ========== PROYECTOS ========== */
.proyectos {
  padding: 6rem 2rem;
  background: #E8E4DF;
}

.proyectos h2 {
  color: #374151;
}

.proyectos-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.proyecto {
  flex: 1 1 280px;
  max-width: 350px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.proyecto:hover {
  transform: translateY(-10px);
}

.proyecto figure {
  position: relative;
  overflow: hidden;
}

.proyecto img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background-color: #f5f5f5;
}

.proyecto figcaption {
  padding: 1.5rem;
  text-align: center;
}

.proyecto h3 {
  color: #333;
  font-size: 1.1rem;
}

.proyecto p {
  color: #B23B5B;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.year-text {
  font-family: "Montserrat", sans-serif;
  font-size: 10rem;
  font-weight: 800;
  color: #B23B5B;
  line-height: 0.85;
  letter-spacing: -0.02em;
  display: block;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.year-text.visible {
  opacity: 1;
  transform: translateX(0);
}

.formacion-info {
  padding-top: 1.5rem;
  border-left: 3px solid #B23B5B;
  padding-left: 2rem;
}

.formacion-info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.formacion-escuela {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #6B7280;
  margin-bottom: 0.5rem;
}

.formacion-periodo {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: #B23B5B;
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .formacion-titulo {
    font-size: 2.5rem;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
  }
  
  .formacion-contenido {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  
  .year-text {
    font-size: 6rem;
  }
  
  .formacion-info {
    border-left: none;
    border-top: 3px solid #B23B5B;
    padding-left: 0;
    padding-top: 1.5rem;
  }
}

/* ========== CONTACTO ========== */
.contacto {
  padding: 6rem 2rem;
  background: #c3bcbc;
}

.contacto h2 {
  color: #fff;
}

.contacto-contenido {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.contacto-info {
  flex: 1 1 300px;
  max-width: 400px;
  background: #fff;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contacto-info h3 {
  color: #B23B5B;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.contacto-info p {
  color: #555;
}

.contacto-info a {
  color: #B23B5B;
  font-weight: 500;
}

.contacto-info a:hover {
  text-decoration: underline;
}

.contacto-form {
  flex: 1 1 300px;
  max-width: 400px;
  background: #fff;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contacto-form h3 {
  color: #B23B5B;
  text-align: center;
  margin-bottom: 1.5rem;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 25px;
  background: #F7F5F2;
  font-family: inherit;
  font-size: 0.95rem;
  color: #374151;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: 2px solid #B23B5B;
}

.contacto-form textarea {
  min-height: 150px;
  resize: vertical;
  border-radius: 15px;
}

.contacto-form button {
  width: 100%;
  padding: 1rem;
  background: #B23B5B;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contacto-form button:hover {
  background: #9A3350;
}

/* ========== REDES SOCIALES ========== */
.redes-sociales {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.redes-sociales a {
  width: 45px;
  height: 45px;
  border: 2px solid #B23B5B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.redes-sociales a:hover {
  background: #B23B5B;
  color: #fff;
}

.redes-sociales img {
  width: 20px;
  height: 20px;
}

/* ========== FOOTER ========== */
footer {
  background: #111827;
  padding: 2rem;
  text-align: center;
  border-top: 3px solid #B23B5B;
}

footer p {
  color: #E5E7EB;
  font-size: 0.9rem;
  margin-bottom: 0;
}

footer a {
  color: #F7F5F2;
}

footer a:hover {
  color: #B23B5B;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .main-nav a {
    font-size: 0.8rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .sobre-mi-contenido {
    flex-direction: column;
  }

  .sobre-mi-texto h2 {
    text-align: center;
  }

  .herramienta {
    flex: 1 1 120px;
    max-width: 140px;
    padding: 1.5rem 1rem;
  }

  .herramienta-icon {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .herramienta h3 {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .site-header h1 {
    font-size: 1.2rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .btn-hero {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }

  section {
    padding: 4rem 1rem;
  }
}

.proyecto img{
    width: 100;
    height: 220px;
    object-fit: cover;
    
}
