/* RESET */
* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box;
}
body {
  overflow-x: hidden;
}

/* Header - Logo */
.logo img.logo-header {
  height: 80px; /* Altura fija cómoda para desktop */
  transition: height 0.3s ease;
}

@media (max-width: 768px) {
  .logo img.logo-header {
    height: 60px; /* Más pequeño en pantallas pequeñas */
  }
}

/* Centrar verticalmente items del navbar y logo */
.navbar-nav > li.nav-item,
.logo {
  display: flex;
  align-items: center;
	justify-content: center;


}

/* Si quieres que el logo tenga un margen extra a los lados para que no quede muy pegado */

/* Banner */
.hero-banner {
    position: relative;
    padding: 0 50px;
    background-image: url("../img/sketch1604023467675 (1).png");
    height: 100vh; /* este es el truco: ocupa toda la ventana */
    width: 100%;
    background-size: cover;
    background-position: center;
}


.hero-banner::before {
    content: "";
    background: rgba(77, 77, 92, 0.6);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.contenido-banner {
    position: relative;
    color: #FFFFFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.contenido-banner h2 {
    font-size: 30px;
    font-weight: 400;
    padding: 10px 0;
}

.contenido-banner h2 span {
    font-weight: 600;
}

.boton-empezar {
    text-decoration: none;
    color: #FFFFFF;
    border: 1px solid #DBE14D;
    padding: 20px 40px;
    align-self: baseline;
    background: transparent; 
    transition: background 0.4s, color 0.4s;
}

.boton-empezar:hover {
    background: #DBE14D;
    color: #FFFFFF;
}

/* Persona */

/* ================= HERO - Sección de presentación lado a lado ================= */
.hero {
  min-height: 100vh; /* Asegura que la sección ocupe al menos el alto de la pantalla */
  display: flex;
  align-items: stretch;
}

.hero .row {
  flex: 1;
}

.hero img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}


.hero-left, .hero-right {
  width: 50%;
  display: flex;
  align-items: center; /* Centra contenido verticalmente */
}

.hero-right img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  display: block;
}


.boton-saber-mas {
    display: inline-block;
    text-decoration: none;
    color: #DBE14D;
    padding: 10px 30px;
    border: 3px solid #DBE14D;
    border-radius: 30px;
    margin-top: 15px;
    transition: background 0.4s, color 0.4s;
}

.boton-saber-mas:hover {
    background: #DBE14D;
    color: #FFFFFF;
}

/* Iconos */
.iconos {
    padding: 50px 50px;
    background: rgba(77,77,92,0.6);
}

.contenedor-iconos {
    padding: 50px 50px 50px 50px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.contenedor-iconos div {
    flex: 1;
    margin: 20px 0;
    border-right: 2px solid #DBE14D;
}

/* Evitar borde en último item */
.contenedor-iconos div:last-child {
    border-right: none;
}

.contenedor-iconos div h5 {
    color: #0C0606;
    font-size: 20px;
    font-weight: 100;
    margin: 10px 0;
}

.contenedor-iconos div p {
    color: #0D0B0B;
    font-size: 15px;
}

.boton-icono {
    text-align: center;
    padding-bottom: 50px;
}



/*footer*/

.footer {
  background-color: #111;
  color: #fff;
  
}
.footer .footer-main {
  display: flex;
  flex-wrap: wrap;          /* Para que se pueda ajustar en móvil */
  gap: 2rem;
  justify-content: space-between; /* Espacio entre columnas */
  align-items: flex-start;
	
}

.footer .footer-left,
.footer .footer-right {
  flex: 1 1 100%;           /* En móvil ocupan todo el ancho */
  max-width: 100%;
	display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
	 margin-top: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  font-size: 0.875rem;
  color: #aaa;
}

.footer-bottom svg {
  transition: fill 0.3s;
}

.footer-bottom svg:hover {
	fill: white;}



.footer-right .social-link a {
  color: #ccc;
  font-size: 1.25rem;
  margin-right: 1rem;
  transition: color 0.3s;
}

.footer-right .social-link a:hover {
  color: #fff;
}

.footer-right .contact-info a {
  color: #aaa;
  display: block;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.footer-right .contact-info a:hover {
  color: white;
}

.footer .btn {
  padding: 1.25rem 2rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  border-radius: 0;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.footer .btn--primary {
  background-color: #d1350d;
  color: white;
  border: none;
}

.footer .btn--stroke {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.footer-left p.texto-footer {
  font-size: 1.25rem;
  color: #aaa;
  margin-bottom: 2rem;
  max-width: 500px;
}

blockquote.texto-footer {
  font-size: 1.2rem; /* Tamaño más grande */
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 2rem;
  padding-left: 1.5rem;
  
  color: #ccc;
}

blockquote.texto-footer cite {
  display: block;

  font-style: normal;
  font-weight: bold;

}

/* Desktop: columnas lado a lado */
@media (min-width: 768px) {
  .footer .footer-left,
  .footer .footer-right {
    flex: 1 1 45%;          /* Ocupan aproximadamente la mitad cada uno */
    max-width: 45%;
  }
}

/*footer end*/



/* Lenguaje de programación */

.seccion {
    margin-bottom: 2rem;
}

.boton {
    display: inline-block;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}
/* === Lenguaje de programación – layout tipo “Work” === */

.lp-layout {
  color: #f8f9fa;
}

/* Lista general */
.lp-work-list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Cada bloque (JS, JQuery, etc.) */
.lp-work-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, transform 0.15s ease;
}

.lp-work-item:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent);
  transform: translateX(2px);
}

/* Título tipo “work section” (caps, letter spacing) */
.lp-work-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #adb5bd;
  margin: 0 0 0.35rem;
}

/* Descripción corta bajo el título */
.lp-work-meta {
  margin: 0;
  font-size: 0.9rem;
  color: #ced4da;
}

/* Pill de la derecha (JS / JQ / PHP / Web) */
.lp-work-tag {
  font-size: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 249, 250, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #f8f9fa;
  white-space: nowrap;
}

/* Filas de enlaces dentro de cada bloque */
.lp-link-row {
  padding: 0.4rem 0;
  gap: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.lp-link-row:first-child {
  border-top: none;
}

/* Botón principal (lado izquierdo) */
.lp-link-button {
  background: none;
  border: none;
  padding: 0;
  color: #000000;
  text-align: left;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.4;
}

.lp-link-button:hover,
.lp-link-button:focus {
  color: #ffdd57; /* leve acento, puedes cambiarlo si tienes otro color de marca */
}

/* Enlace secundario “Ver” (lado derecho) */
.lp-link-external {
  font-size: 0.85rem;
  text-decoration: none;
  color: #747474;
  white-space: nowrap;
}

.lp-link-external:hover {
  text-decoration: underline;
  color: #646669;
}

/* Tarjeta del visor */
.lp-preview {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
  border-radius: 1rem;
}

/* En pantallas pequeñas el visor se separa un poco más de la lista */
@media (max-width: 991.98px) {
  .lp-preview {
    margin-top: 1.5rem;
  }
}

/* Portafolio */

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  box-shadow: 0 0 20px #fff;
}

#lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}
/* === Transición de página (SVG) === */
.page-transition {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-transition.is-active {
  opacity: 1;
}

.page-transition svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-transition path {
  fill: #111111; /* Puedes cambiar al color principal de tu marca */
}
/* ==========================
   HOME / INDEX
   ========================== */

.main-home {
  min-height: calc(100vh - 120px);
}

.hero-home {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-home h1 {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-highlight {
  color: #ff4b81;
}

.hero-subtitle {
  max-width: 550px;
  color: #c7c7c7;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #c7c7c7;
  margin-bottom: 0.75rem;
}

.btn-main {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-main-primary {
  background: linear-gradient(135deg, #ff4b81, #ffb347);
  border: none;
  color: #111;
}

.btn-main-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f5f5f5;
}

.btn-main-outline:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.home-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (max-width: 991px) {
  .home-cards-grid {
    grid-template-columns: 1fr;
  }
}

.home-card {
  background: radial-gradient(circle at top, #1a1a1a 0, #080808 60%);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.home-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.home-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.home-card p {
  font-size: 0.9rem;
  color: #b9b9b9;
}

.home-card-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #ffb347;
  text-decoration: none;
}

.home-card-link:hover {
  text-decoration: underline;
}

/* ==========================
   MODAL POESÍA URBANA
   ========================== */

.modal-raperos .modal-content {
  background: #050505;
  color: #f5f5f5;
  border-radius: 0;
  border: none;
}

.modal-raperos .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-raperos .btn-close {
  filter: invert(1);
  opacity: 0.7;
}

.modal-raperos .btn-close:hover {
  opacity: 1;
}

.raperos-scroll-wrapper {
  position: relative;
  height: calc(100vh - 70px);
  overflow: hidden; /* Lenis se encarga del scroll interno */
}

.raperos-scroll-content {
  position: relative;
  min-height: 100%;
}

.rap-section {
  min-height: 100vh;
  padding: 3.5rem 1.5rem;
  display: flex;
  align-items: center;
}

.rap-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.rap-section-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffb347;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.rap-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.rap-section p {
  font-size: 0.95rem;
  color: #d4d4d4;
}

.rap-section-hero {
  background: radial-gradient(circle at top, #241327 0, #050505 60%);
}

.rap-section-tech {
  background: radial-gradient(circle at top, #12242b 0, #050505 60%);
}

.rap-section-experience {
  background: radial-gradient(circle at top, #26200e 0, #050505 60%);
}

.rap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.rap-tag {
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f5f5;
}
/* ==========================
   AJUSTES DE ACCESIBILIDAD MODAL PERFIL
   ========================== */

.modal-raperos {
  background-color: #000;  /* fondo negro */
  color: #ffffff;          /* texto blanco por defecto */
}

.modal-raperos .modal-header,
.modal-raperos .modal-body {
  background-color: #000;
  color: #ffffff;
}

.modal-raperos h2,
.modal-raperos h3,
.modal-raperos h4,
.modal-raperos h5,
.modal-raperos p,
.modal-raperos li,
.modal-raperos small {
  color: #ffffff;
}

.modal-raperos .rap-section {
  background: #000; /* base negra */
}

/* Si quieres mantener los degradados, pero con texto bien visible: */
.rap-section-hero,
.rap-section-tech,
.rap-section-experience {
  background: radial-gradient(circle at top, #222 0, #000 60%);
  color: #ffffff;
}

.rap-section-label {
  color: #ffb347; /* etiqueta en dorado, sigue destacando */
}

/* Asegurar que tags también se vean bien */
.rap-tag {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Botón de cierre fijo dentro del modal */
.modal-close-fixed {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1060;
}
/* ==========================
   PORTAFOLIO – GRID TIPO BLACKBIRD
   ========================== */

.portfolio-main {
  color: #f5f5f5;
}

/* Filtros */
.portfolio-filters {
  gap: 0.4rem;
}

.portfolio-filter-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #c7c7c7;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.portfolio-filter-btn.is-checked,
.portfolio-filter-btn:hover {
  background: linear-gradient(135deg, #ff4b81, #ffb347);
  border-color: transparent;
  color: #111;
}

/* Grid de proyectos */
.portfolio-grid {
  margin-top: 1.5rem;
}

/* Tarjeta estilo blackbird */
.portfolio-card {
  background: radial-gradient(circle at top, #1a1a1a 0, #050505 60%);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.24);
}

/* Imagen */
.portfolio-card-image-wrapper {
  display: block;
  position: relative;
  overflow: hidden;
}

.portfolio-card-image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.portfolio-card:hover .portfolio-card-image {
  transform: scale(1.05);
}

/* Cuerpo */
.portfolio-card-body {
  padding: 1.3rem 1.4rem 1.4rem;
}

.portfolio-pill {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Variantes de pill por tipo (puedes ajustar colores si quieres) */
.web-pill {
  border-color: rgba(132, 190, 255, 0.7);
}

.branding-pill {
  border-color: rgba(255, 177, 66, 0.7);
}

.ilustracion-pill {
  border-color: rgba(184, 120, 255, 0.7);
}

.experimento-pill {
  border-color: rgba(120, 255, 191, 0.7);
}

.portfolio-meta {
  color: #9da1aa;
}

.portfolio-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.4rem 0 0.35rem;
}

.portfolio-description {
  font-size: 0.9rem;
  color: #c7c7c7;
  margin-bottom: 0.7rem;
}

/* Tags */
.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.75rem;
}

.portfolio-tags span {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e5e5e5;
}

/* Responsivo */
@media (max-width: 575.98px) {
  .portfolio-card-image {
    height: 190px;
  }
}
