/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.banner-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
}

.banner-text p {
  font-size: 1.2rem;
}

/* Menú */
header {
  background: #13315c;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #ffcc00;
}

.lang-switch img {
  width: 28px;
  height: 20px;
  cursor: pointer;
  margin-left: 0.5rem;
  border: 1px solid #fff;
}

/* Slider */
.slider-container {
  max-width: 900px;
  margin: 2rem auto;
  position: relative;
}

.slide {
  display: none;
  text-align: center;
}

.slide img {
  max-height: 500px;
  width: auto;
  border-radius: 12px; /* mantiene bordes redondeados */
  margin: 1rem auto;
}

.first-slide img {
  max-height: 400px;
  width: auto;
  display: block;
  margin: 1rem auto;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 1rem;
  margin-top: -30px;
  color: white;
  font-weight: bold;
  font-size: 2rem;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}

.slide p {
  margin-top: 0.8rem;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .first-slide img, .slide img {
    max-height: 300px;
  }
}

/* Home Intro */
.home-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.profile-photo {
  width: 280px;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.intro-text {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Cards (CV) */
.card {
  background: #ffffff;
  padding: 1.8rem 2rem;
  margin: 1.5rem auto;
  border-radius: 12px;
  max-width: 900px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  color: #13315c;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: #13315c;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.card ul {
  list-style-type: disc;
  margin-left: 2rem;
  line-height: 1.6;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Botón */
.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: #13315c;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #ffcc00;
  color: #13315c;
}





