/* Fuentes y colores base */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #000000;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #000000;
}

/* Hero Header */
.hero-header {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(250, 218, 221, 0.6), rgba(250, 218, 221, 0.6)), url('fondo.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.btn {
  background-color: #FADADD;
  color: #000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #f8c6d5;
}

/* Navegación */
.nav-bar {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: #FADADD;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Secciones */
.section {
  padding: 2.5rem 1.5rem;
  max-width: 900px;
  margin: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section ul {
  padding-left: 1.2rem;
}

/* Sección Investigación estilo destacado */
#investigacion {
  background-color: #fef0f5;
  padding: 4rem 2rem;
  margin-top: 2rem;
  border-left: 8px solid #FADADD;
  font-size: 1.05rem;
  line-height: 1.8;
  box-shadow: 0 0 10px rgba(250, 218, 221, 0.4);
  border-radius: 10px;
}

#investigacion h2 {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

#investigacion p {
  color: #000;
}

/* Portfolio */
.portfolio-items video {
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

/* Formulario */
form input,
form textarea {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

form button {
  background-color: #FADADD;
  color: #000;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #f8c6d5;
}

/* Footer */
.footer {
  background-color: #FADADD;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #000;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 200px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .slider-single img {
    max-width: 90%;
  }

  .slider-left,
  .slider-right {
    padding: 0.3rem 0.6rem;
    font-size: 1rem;
    left: -15px;
    right: -15px;
  }

.sobre-mi-imagen {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.sobre-mi-imagen img {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sobre-mi-texto {
  max-width: 700px;
}
}

/* Carrusel personalizado */
.slider-container {
  position: relative;
  margin: 3rem auto;
  width: 100%;
  max-width: 900px;
  padding: 2rem 1rem;
  background-color: #fff0f5;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.slider-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 100px;
}

.slider-single {
  display: none;
  width: 100%;
  text-align: center;
  padding: 1rem;
  transition: all 0.5s ease;
}

.slider-single.active {
  display: block;
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.slider-single img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.slider-single-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #000;
  margin: 0.5rem 0;
}

.slider-single-likes {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  color: #000;
}

.slider-single-likes i {
  color: #ff5b7e;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.slider-single-likes:hover i {
  transform: scale(1.3);
}

.slider-left,
.slider-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fadadd;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 4;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.slider-left {
  left: -25px;
}

.slider-right {
  right: -25px;
}

.bullet-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 10px;
}

.bullet {
  width: 12px;
  height: 12px;
  background-color: #fadadd;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.bullet.active {
  opacity: 1;
  box-shadow: 0 0 0 2px #fadadd;
}

/* Botones idioma */
#lang-switcher {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 1000;
}

.lang-btn {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.lang-btn:hover {
  background-color: #ffb6c1;
  color: white;
  border-color: #ffb6c1;
}

/* Sección Sobre Mí con imagen */
.sobre-mi-imagen {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.sobre-mi-imagen img {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.sobre-mi-texto {
  flex: 1;
  min-width: 250px;
}
.hover-img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-img.hovered {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
