

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  background-color: #b4d0eb; 
}

/* 2. TIPOGRAFÍA GENERAL  */
     
     
h1,
h2,
h3,
h4 {
  /* MEJORADO: Fuente display para títulos */
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a; 
 
  letter-spacing: -0.02em;
} 

h1 { 
 
  font-size: 3rem; 
  margin-bottom: 1.5rem;
  font-weight: 900;
}

h2 { 
  font-size: 2.25rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.75rem; 
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem; 
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  
  max-width: 100%;
}

strong {
  font-weight: 600;
  color: #000000;
}

em {
  font-style: italic;
}

/* Párrafos introductorios más grandes */
.about__intro,
.hero__description {
  font-size: 1.125rem; /* 18px */
  line-height: 1.8;
  color: #555555;
}

/*3. ENLACES - MEJORADO*/
a {
  color: #2563eb;
  text-decoration: none;
 }

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

a:active {
  color: #1e40af;
}

/* 4. LISTAS */
     
ul {
  list-style: none;
}

/* 5. HEADER -  */
      
.header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  padding: 24px 0;
  margin: 0 19px;
  background-image: url(../img/matrix2.webp);
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header__brand {
  text-align: center;
  margin-bottom: 24px;
}

.header__name {
  color: #000000;
  margin-bottom: 8px;
  
  font-family: "Lexend", sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.header__tagline {
  color: #0a0101;
  font-size: 1.7rem; 
  margin: 0 auto;
  /* NUEVO: Espaciado de letras para subtítulos */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/*6. NAVEGACIÓN */
    
.nav {
  text-align: center;
} 

.nav__list {
  
  text-align: left;
}

.nav__item {
  display: inline-block;
  margin: 0 16px;
}

.nav__link {
  padding: 8px 12px; 
  display: inline-block;
  color: #333333;
  font-weight: 500;
  font-size: 1.2rem; 
  letter-spacing: 0.01em;
}

.nav__link:hover {
  color:white;     
  text-decoration: none;
}

.nav__link--active {
  color:gold;      
  font-weight: 600;
} 

/*  7. MAIN CONTENT */
     
.main {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* 8. HERO SECTION */
    
.hero {
  padding: 64px 0;
  text-align: center;
  background-color: #f0f4f8;
  margin-bottom: 48px;
}

.hero__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero__title {
  font-size: 3.5rem; 
  color: #1a1a1a;
  margin-bottom: 1rem;
 
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.5rem; /* 24px */
  color: #2563eb;
  margin-bottom: 1.5rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero__description {
  font-size: 1.125rem; 
  color: #666666;
  text-align: left;
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.8;
  padding-right: 3rem;
  padding-top: 3rem;
}

.hero__actions {
  margin-bottom: 3rem;
  margin-top: 2.5rem;
}

.hero__stats {
  text-align: center;
}

.stat {
  display: inline-block;
  margin: 0 32px;
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 2.5rem; 
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.875rem; 
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.hero_photo {
  width: 30%;
  height: 50%;
  border-radius: 1rem;
}

/* 9. BOTONES - TIPOGRAFÍA MEJORADA */
    
.button {
  display: inline-block;
  padding: 12px 24px;
  margin: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
 
  font-family: "Inter", sans-serif;
  letter-spacing: 0.02em;
}

.button--primary {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.button--primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  text-decoration: none;
  color: gold;
}

.button--secondary {
  background-color: #ffffff;
  color: #2563eb;
  border-color: #2563eb;
}

.button--secondary:hover {
  background-color: #f0f4ff;
  text-decoration: none;
}

.button--large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

/* 10. ABOUT SECTION - TIPOGRAFÍA MEJORADA */
    
.about {
  padding: 48px 0;
}

.about__container {
  max-width: 800px;
  margin: 0 auto;
}

.about__title {
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

.about__intro {
  font-size: 1.25rem; /* 20px */
  text-align: center;
  color: #333333;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.about__text {
  color: #666666;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* 11. QUOTE - TIPOGRAFÍA MEJORADA */
    
  background-color: #f8f9fa;
  padding: 2rem;
  margin: 2.5rem 0;
  border-left: 4px solid #2563eb;
}

/* 12. VALUES - TIPOGRAFÍA */
.values {
  margin-top: 3rem;
}

.values__title {
  text-align: center;
  margin-bottom: 2rem;
}

.values__list {
  padding: 0;
}

.values__item {
  padding: 1.25rem;
  margin-bottom: 1rem;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  line-height: 1.6;
}

.values__item:hover {
  background-color: #f0f4f8;
  border-color: #2563eb;
}

.values__icon {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.values__item strong {
  margin-right: 0.5rem;
  font-weight: 600;
  font-size: 1.0625rem;
}

.values__item span {
  color: #666666;
  font-size: 0.9375rem;
} 

/* 13. PROJECTS SECTION*/
    
.projects {
  padding: 64px 0;
  background-color: #f8f9fa;
}

.projects__container {
  max-width: 1200px;
  margin: 0 auto;
}
.project__content {
  margin-top: 3rem;
}
.projects__title {
  text-align: center;
  margin-bottom: 1rem;
}

.projects__description {
  text-align: center;
  color: #666666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.projects__grid {
  padding: 0 20px;
}

/*14. PROJECT CARD - TIPOGRAFÍA MEJORADA */
    
.project {
  background-color: #ffffff;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e0e0e0;
}

.project:hover {
  border-color: #2563eb;
}

.project--featured {
  border: 2px solid #2563eb;
  position: relative;
}

.project__badge {
  background-color: #2563eb;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.project__title {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.project__description {
  color: #666666;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project__subtitle {
  font-size: 1.0625rem;
  color: #333333;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.project__learnings {
  list-style: disc;
  /*padding-left: 1.5rem; */
  margin-bottom: 1.5rem;
  text-align: left;
}

.project__learnings li {
  color: #666666;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.project__technologies {
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 0.25rem 0.75rem;
  margin-right: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.project__links {
  text-align: left;
}

.project__link {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

/*  15. SKILLS SECTION - TIPOGRAFÍA MEJORADA */
     
.skills {
  padding: 64px 0;
}

.skills__container {
  max-width: 800px;
  margin: 0 auto;
}

.skills__title {
  text-align: center;
  margin-bottom: 1rem;
}

.skills__subtitle {
  text-align: center;
  color: #666666;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  font-weight: 400;
}

.skills__list {
  margin-bottom: 3rem;
}

.skill {
  margin-bottom: 2rem;
}

.skill__name {
  margin-bottom: 0.5rem;
  color: #1a1a1a;
  font-size: 1.0625rem;
  font-weight: 600;
}

.skill__bar {
  background-color: #e0e0e0;
  height: 24px;
  position: relative;
  margin-bottom: 0.5rem;
}

.skill__progress {
  background-color: #2563eb;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.skill__progress--html {
  width: 75%;
}

.skill__progress--css {
  width: 60%;
}

.skill__progress--js {
  width: 20%;
}

.skill__percentage {
  color: #666666;
  font-size: 0.875rem;
  font-weight: 500;
}

/* 16. LEARNING - TIPOGRAFÍA MEJORADA */
     
.learning {
  background-color: #f8f9fa;
  padding: 1.5rem;
}

.learning__title {
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-size: 1.25rem;
}

.learning__list {
  list-style: disc;
  padding-left: 1.5rem;
}

.learning__item {
  color: #666666;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* 17. CONTACT SECTION - TIPOGRAFÍA MEJORADA */
    
.contact {
  padding: 64px 0;
  background-color: #f0f4f8;
}

.contact__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact__title {
  margin-bottom: 1rem;
}

.contact__description {
  color: #666666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.contact__methods {
  margin-bottom: 3rem;
}

.contact__method {
  display: inline-block;
  margin: 0 2rem 2rem;
  text-align: center;
}

.contact__method-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
  font-weight: 600;
}

.contact__link {
  color: #2563eb;
  font-weight: 500;
  font-size: 0.9375rem;
}

/*  18. FOOTER - TIPOGRAFÍA MEJORADA */
     
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 48px 0;
  text-align: center;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer__nav {
  margin-bottom: 1.5rem;
}

.footer__link {
  color: #ffffff;
  margin: 0 1rem;
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 400;
}

.footer__link:hover {
  color: #93c5fd;
  text-decoration: none;
}

.footer__copyright {
  color: #9ca3af;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer__credits {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
}