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

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* HERO: Sección de entrada con vídeo de fondo */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: black;
}

/* Vídeo de fondo */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6); /* Opcional: oscurece para que el texto resalte */
}

/* Texto encima del vídeo */
.overlay-text {
  position: relative;
  z-index: 1;
  color: white;
  padding: 20px;
  max-width: 90%;
  animation: fadeIn 2s ease-out;
}

.overlay-text h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.overlay-text p {
  font-size: 1.5rem;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

/* Contenido del video */
.content {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ddd;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
}

.section-text {
  margin-bottom: 40px;
}

/* Proyectos */
.projects {
   text-align: center;
  padding: 80px 20px;
   background: #111;
   color: #fff;
}

.project-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 40px;
}

.project-card {
  background: #1b1b1b;
  border-radius: 16px;
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #f85a16;
}

.project-info p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #ccc;
}

.project-link {
  display: inline-block;
  padding: 10px 20px;
  background: #f85a16;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.project-link:hover {
  background: #ff7e3f;
}

/* Animación de entrada opcional */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Redes sociales */
footer {
  background: #0d0d0d;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 20px;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
}

.cv-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  background: #f85a16;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.cv-button:hover {
  background: #ff7e3f;
}


/* Scroll Invisible */
/* Para Firefox */
body {
  overflow: hidden;
  overflow-y: scroll; 
  scrollbar-width: none; 
}

/* Para Chrome, Edge, Safari */
body::-webkit-scrollbar {
  display: none;
}
