html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f4f5f7;
  color: #1a1a1a;
}

/* ================= NAVBAR ================= */

.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-item-link {
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-item-link:hover {
  color: #fff !important;
}

.social-icon-link {
  opacity: 0.7;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}

.social-icon-link:hover {
  opacity: 1;
}

/* ================= HERO ================= */

.hero {
  background: url('img/2.jpeg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
}

.profile-card {
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 18px;
  padding: 30px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.profile-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  margin-bottom: 15px;
}

.hero-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ================= SECCIONES ================= */

section {
  padding: 90px 0;
}

h2 {
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

section p {
  color: #555;
}

section .text-center.mb-5 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  font-size: 15px;
}

.bg-white {
  background: #fff;
}

/* ================= PROYECTOS (SOFTWARE CARDS) ================= */

.project-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.13);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card h5 {
  margin-top: 10px;
  font-weight: 700;
}

.project-card p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #555;
}

/* ================= HERRAMIENTAS ================= */

.tool-item {
  padding: 20px 10px;
  border-radius: 14px;
  transition: 0.25s ease;
}

.tool-item:hover {
  background: #f4f5f7;
  transform: translateY(-4px);
}

.tool-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.tool-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 8px;
  margin-bottom: 0;
}

/* ================= FOTOGRAFÍA ================= */

.photo-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  transition: 0.3s ease;
}

.photo-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ================= VIDEOS ================= */

/* .video-box video {
  width: 100%;
  height: 360px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.video-box p {
  font-size: 14px;
  margin-top: 10px;
  color: #555;
}
 */


/*  .video-box {
  display: flex;
  justify-content: center;
}

.video-box video {
  width: auto;
  height: 500px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  background: black;
} */



.video-box video {
  width: 100%;
  max-height: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  background: #000;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
/* ================= DISEÑOS ================= */

.design-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s ease;
}

.design-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ================= PROYECTOS UNIVERSIDAD ================= */

/* .uni-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
} */

.uni-img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
}

.uni-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.uni-list {
  padding-left: 18px;
  color: #444;
  line-height: 1.75;
  font-size: 14px;
}

.uni-list li {
  margin-bottom: 4px;
}

/* ================= EXPERIENCIA LABORAL ================= */

#experiencia-laboral {
  background: #f4f5f7;
}

.exp-block {
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}

.exp-divider {
  height: 1px;
  background: #e8e9eb;
  margin: 40px 0;
}

.exp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}

.exp-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.exp-company {
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
  font-weight: 500;
}

.exp-desc {
  color: #444;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 14px;
}

.exp-list {
  padding-left: 18px;
  color: #444;
  line-height: 1.8;
  font-size: 14px;
}

.exp-list li {
  margin-bottom: 4px;
}

.exp-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.exp-tools .badge {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
}

/* ================= EXPERIENCIA (sección original) ================= */

#experiencia {
  background: #fff;
}

#experiencia .experience-card {
  background: #f4f5f7;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

#experiencia .experience-card:hover {
  transform: translateY(-5px);
}

#experiencia h4 {
  margin-bottom: 5px;
}

/* ================= REDES SOCIALES ================= */

.social-card {
  color: #1a1a1a;
}

.social-card-inner {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.social-card-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}

.social-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0;
  color: #1a1a1a;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .exp-block {
    padding: 24px;
  }

  .exp-title {
    font-size: 1.3rem;
  }

  .photo-img,
  .design-img {
    height: 260px;
  }

  .video-box video {
    height: 240px;
  }

  .exp-main-img {
    height: 260px;
  }

  .uni-img {
    height: 240px;
  }

  .d-none.d-lg-flex {
    display: none !important;
  }
}