/* 1. RESET Y FUENTE BÁSICA */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
  color: #CFD8DC;
}

/* Títulos con Poppins */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #80CBC4;
}

/* 2. FONDO */
body {
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* 4. HERO */
.hero {
  min-height: 90vh; /* Reducido de 100vh */
  padding: 80px 5% 0; /* Reducido el padding inferior */
  display: flex;
  justify-content: center;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.hero-content {
  flex: 1;
  min-width: 280px;
}

/* Reemplazar los estilos actuales de hero-photo */

.hero-photo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centrar todos los elementos */
  justify-content: center;
  min-width: 280px;
  gap: 25px; /* Espacio entre los tres contenedores */
  padding-left: 100px; /* Añadir padding izquierdo para moverlo a la derecha */
  margin-right: -100px; /* Compensar el margen para mantener proporción */
}

/* Contenedor 1: Foto */
.hero-photo-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-photo-container img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #80CBC4;
  box-shadow: 0 0 15px rgba(128, 203, 196, 0.3);
  transition: all 0.3s ease;
}

.hero-photo-container img:hover {
  transform: scale(1.05);
  border-color: #B2DFDB;
  box-shadow: 0 0 25px rgba(128, 203, 196, 0.5);
}

.contact-icons-container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin-left: -630px; 
  position: relative;
  left: 100px; /* Ajuste adicional para alinear con la nueva posición */
}

.contact-icons {
  display: flex;
  gap: 20px; 
  justify-content: flex-start;
  align-items: center;
}

.contact-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px; 
  height: 45px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.contact-icons a:hover {
  transform: translateY(-3px);
  background-color: rgba(128, 203, 196, 0.1);
  box-shadow: 0 5px 15px rgba(128, 203, 196, 0.3);
}

.contact-icons a img {
  width: 24px;
  height: 24px;
}

.hero-button-container {
  width: 100%;
  display: flex;
  justify-content: center;
}


@media (max-width: 768px) {
  .hero-photo {
    padding-left: 0; /* Eliminar el padding en pantallas pequeñas */
    margin-right: 0;  /* Eliminar el margen negativo en pantallas pequeñas */
    padding: 0 20px;
    margin-top: 20px;
    gap: 20px;
  }
  
  .contact-icons-container {
    justify-content: center; 
    margin-left: 0; 
    padding-right: 0; 
    left: 0; /* Restablecer la posición en pantallas pequeñas */
  }
}

/* Ajustes para la versión móvil de hero photo y contactos */
@media (max-width: 768px) {
  .hero-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  
  .hero-photo-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .hero-photo-container img {
    width: 180px;
    height: 180px;
  }
  
  .contact-icons-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: 0;
    position: static;
    left: 0;
  }
  
  .contact-icons {
    justify-content: center;
    gap: 20px;
  }
  
  .hero-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

.hero-subtitle {
    font-size: 3.5rem;
    color: #80CBC4;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(128, 203, 196, 0.3);
    -webkit-text-stroke: 2px #B2DFDB;
    letter-spacing: 2px;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    color: #80CBC4;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(128, 203, 196, 0.4);
    -webkit-text-stroke: 2px #B2DFDB;
    letter-spacing: 3px;
    position: relative;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #CFD8DC;
}

.tech-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  will-change: transform; 
}



.tech-icons img:hover {
  transform: scale(1.2) translateZ(0);
  filter: drop-shadow(0 0 15px #80CBC4);
}

.tech-stack-section {
    position: relative; 
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    background: rgba(27, 39, 53, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(128, 203, 196, 0.1);
    max-width: 300px;
    margin-left: 20px;
    padding: 25px 20px; 
    margin-top: -30px;
    margin-bottom: 20px; 
    z-index: 1; 
}

.tech-category {
    text-align: center;
}

.tech-category h4 {
    color: #64ffda;
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    font-weight: 600;
}

.tech-category h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #80CBC4;
    border-radius: 2px;
}

.tech-icons-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.tech-icons-vertical img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(20%) brightness(90%);
}

.tech-icons-vertical img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(128, 203, 196, 0.6));
}

.tech-icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: center;
    padding: 10px;
}

.tech-icons-grid img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(20%) brightness(90%);
}

.tech-icons-grid img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(128, 203, 196, 0.6));
}

@media (max-width: 1024px) {
    .tech-icons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .tech-icons-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1024px) {
    .tech-stack-section {
        position: relative;
        top: 0;
        max-width: 100%;
        margin-top: 40px;
    }
    
    .tech-icons-vertical {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
  .tech-stack-section {
    position: static;
    margin-left: 0;
    margin-top: 40px;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .tech-category {
    margin-bottom: 30px;
    flex: 1 0 150px;
    max-width: 200px;
  }
  
  .tech-icons-vertical {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .tech-stack-section {
    flex-direction: column;
    align-items: center;
  }
  
  .tech-category {
    max-width: 100%;
    text-align: center;
  }
  
  .tech-icons-grid,
  .tech-icons-vertical {
    justify-content: center;
  }
}

.hero-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 0; 
    width: 100%; 
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: #B39DDB;
    color: #fff;
}

.primary-btn:hover {
    background-color: #9575CD;
}

.btn.primary-btn {
    background-color: transparent;
    color: #80CBC4;
    border: 2px solid #80CBC4;
    padding: 12px 25px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(128, 203, 196, 0.2);
    backdrop-filter: blur(5px);
}

.btn.primary-btn:hover {
    background-color: rgba(128, 203, 196, 0.1);
    color: #B2DFDB;
    border-color: #B2DFDB;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(128, 203, 196, 0.4);
}

.btn.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(128, 203, 196, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn.primary-btn:hover::before {
    left: 100%;
}

.content-section {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 40px 20px;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 1fr 400px; 
    gap: 40px;
    align-items: start;
    text-align: left;
}

.content-section > h2 {
    grid-column: 1 / -1; 
    margin-bottom: 30px;
}

.content-section > p,
.content-section > ul {
    grid-column: 1; 
    max-width: 600px;
}

.image-container {
    grid-column: 2; 
    position: sticky;
    top: 100px;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.section-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(128, 203, 196, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.9;
}

.section-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(128, 203, 196, 0.3);
    opacity: 1;
}

.image-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .section-image {
        max-width: 100%;
        height: 200px;
    }
}

.section-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(128, 203, 196, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .content-section {
        grid-template-columns: 1fr 300px;
        gap: 30px;
        padding: 30px 15px;
    }

    .section-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .content-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .image-container {
        grid-column: 1;
        position: relative;
        top: 0;
        justify-content: center;
        margin-top: 30px;
    }

    .section-image {
        max-width: 100%;
        height: 200px;
    }
}

.experience-item {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
  align-items: flex-start;
  gap: 20px;
}

.company-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#experiencia {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#experiencia .image-container {
    width: 100%;
    max-width: 800px;
    margin: 60px 0 20px 0;
}

#experiencia .experience-item {
    width: 100%;
    margin-bottom: 40px;
}

.company-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#experiencia .section-image {
    width: 50%; 
    height: auto;
    max-height: none;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    margin: 0 auto; 
}

#experiencia .section-image:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 12px rgba(128, 203, 196, 0.5));
    opacity: 1;
}

@media (max-width: 768px) {
    #experiencia .section-image {
        width: 70%; 
        height: auto;
        max-height: none;
    }
}

#experiencia .section-image {
    width: 50%; 
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(128, 203, 196, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
}

#experiencia .section-image:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 12px rgba(128, 203, 196, 0.5));
    opacity: 1;
}

@media (max-width: 768px) {
    #experiencia .section-image {
        width: 70%; 
        height: auto;
        max-height: none;
    }
}

.blog-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-preview {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background-color: rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-preview:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(128, 203, 196, 0.3);
    background-color: rgba(255,255,255,0.08);
}

.blog-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-preview:hover img {
    filter: brightness(1.2);
}

.blog-preview-content {
    padding: 20px;
    transition: all 0.3s ease;
}

.blog-preview:hover .blog-preview-content h3 {
    color: #B2DFDB;
    text-shadow: 0 0 10px rgba(128, 203, 196, 0.4);
}

.blog-preview-content h3 {
  margin-bottom: 0.5rem;
}

.blog-preview-content p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* 10. SCROLL SUAVE */
html {
  scroll-behavior: smooth;
}

.contact-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  width: 100%; /* Asegurar que ocupa todo el ancho */
}

.contact-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  background-color: transparent;
  position: relative;
}

.contact-icons a img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(128, 203, 196, 0.4));
  transition: all 0.3s ease;
}

/* Simplificar el efecto hover */
.contact-icons a:hover {
  transform: translateY(-5px);
}

.contact-icons a:hover img {
  filter: brightness(1.2) drop-shadow(0 8px 15px rgba(128, 203, 196, 0.6));
}

/* Eliminar los media queries de hover que pueden estar causando conflicto */
@media (hover: hover) {
    .contact-icons a:hover,
    .tech-icons img:hover,
    .tech-icons-grid img:hover,
    .tech-icons-vertical img:hover {
        transform: translateY(-5px);
    }
}

/* 12. RESPONSIVE */
@media (max-width: 1024px) {
  .hero-row {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-row {
    flex-direction: column;
  }
  .hero-content,
  .hero-photo {
    max-width: 100%;
  }
  .hero-photo img {
    width: 180px;
    height: 180px;
  }
  .content-section {
    max-width: 100%;
    margin: 0;
    padding: 20px 10px;
    text-align: left;
  }
  .guide {
    right: 10px;
    padding: 15px;
  }
}

/* Estilos Skills */

.contact-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente para visibilidad */
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  z-index: 1000;
}

.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  margin-bottom: 100px;
  text-align: left;
}

.content-section:nth-of-type(odd),
.content-section:nth-of-type(even) {
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
}

/* Estilo especial para la sección "Sobre mí" */
#sobre-mi {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    text-align: left;
    padding-top: 20px;
}

#sobre-mi .image-container {
    grid-column: 2;
    position: sticky;
    top: 50px; /* Reducido de 100px */
    margin-top: -30px; /* Sube la imagen */
}

#sobre-mi h2 {
    margin-top: 20px;
    margin-bottom: 30px;
}

#sobre-mi p {
    max-width: 100%;
    margin: 0;
}

/* Estilos para las demás secciones */
#skills, #experiencia, #blog {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#skills .image-container,
#experiencia .image-container,
#blog .image-container {
    width: 100%;
    max-width: 800px;
    margin: 40px 0;
}

/* Estilos para los iconos de contacto */
.contact-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  position: relative;
}

.contact-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 2px solid #80CBC4; /* Color de la página */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(128, 203, 196, 0.2); /* Medio transparente */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-icons a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.contact-icons a:hover {
  transform: scale(1.1);
  background-color: rgba(128, 203, 196, 0.4);
}

/* Mostrar número al pasar el cursor sobre el icono de teléfono */
.contact-icons a.phone {
  position: relative;
}

.contact-icons a.phone:hover::after {
  content: "631 78 39 14";
  display: block;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Barra de progreso vertical */
.progress-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    height: auto; /* Cambiado de height fijo */
    display: flex;
    align-items: center;
}

.progress-nav ul {
    list-style: none;
    position: relative;
    padding: 20px 0; /* Añadido padding vertical */
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.progress-nav ul::before { /* Añadida línea de fondo */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(128, 203, 196, 0.2);
    z-index: -1;
}

.progress-nav li {
    position: relative;
    margin: 10px 0; /* Añadido margen vertical */
}

.progress-nav .progress-dot {
    width: 12px;
    height: 12px;
    background: #80CBC4;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.progress-nav li::before {
    content: '';
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 2px;
    height: 30px;
    background: rgba(128, 203, 196, 0.2);
    z-index: -1;
}

.progress-nav .tooltip {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(128, 203, 196, 0.9);
    color: #1b2735;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.progress-nav a:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 30px;
}

.progress-nav li.active .progress-dot {
    transform: scale(1.5);
    box-shadow: 0 0 15px rgba(128, 203, 196, 0.6);
    background: #B39DDB;
}

/* Responsive */
@media (max-width: 768px) {
    .progress-nav {
        right: 15px;
    }
}

@media (max-width: 1024px) {
    #sobre-mi {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    #sobre-mi {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: -20px;
        padding-top: 10px;
    }

    #sobre-mi .image-container {
        grid-column: 1;
        position: relative;
        top: 0;
        margin-top: 0;
    }

    .section-image {
        max-height: 300px;
    }
}

/* Modificar los estilos de la sección Skills */
#skills {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    position: relative;
    padding-bottom: 20px; /* Añadir padding inferior */
}

#skills h2 {
    grid-column: 1 / -1;
    margin-bottom: 20px; /* Reducido de 30px */
}

#skills p,
#skills ul {
    width: 100%;
    max-width: 100%;
    margin-top: 0; /* Añadido */
    margin-bottom: 15px; /* Añadir margen inferior */
    position: relative;
    z-index: 2; /* Poner el contenido por encima */
}

#skills .tech-stack-section {
    grid-column: 2;
    position: relative;
    top: auto;
    margin: 60px 0 20px 0; /* Márgenes verticales claros */
    height: auto;
    align-self: auto;
}

/* Ajustes responsive */
@media (max-width: 1024px) {
    #skills {
        grid-template-columns: 1fr 250px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    #skills {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #skills .tech-stack-section {
        margin-top: 0;
        position: relative;
        top: 0;
    }

    #skills p,
    #skills ul,
    #skills .image-container {
        grid-column: 1;
    }
}

/* Ajustes del tech stack */
.tech-stack-section {
    position: relative; /* Cambiado de sticky a relative */
    top: 0;
    width: 100%;
    max-width: 100%;
    margin-top: 60px; /* Aumentado para dar más espacio */
    margin-bottom: 20px; /* Añadido margen inferior */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    background: rgba(27, 39, 53, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(128, 203, 196, 0.1);
    z-index: 1; /* Asegurar que no tape contenido importante */
}

.tech-category {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-category h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Asegurarnos de que se mantiene responsive */
@media (max-width: 768px) {
    #skills .tech-stack-section {
        margin-top: 0; /* Reset en móvil */
        position: relative;
    }
}

/* Modificar los estilos de los h2 */
.content-section h2 {
    font-size: 3.5rem; /* Aumentado de tamaño */
    color: #80CBC4;
    margin-bottom: 20px; /* Reducido de 40px a 20px */
    position: relative;
    text-shadow: 0 0 10px rgba(128, 203, 196, 0.3);
    -webkit-text-stroke: 2px #B2DFDB; /* Borde más brillante */
    letter-spacing: 2px;
}

/* Ajuste responsive para h2 */
@media (max-width: 768px) {
    .content-section h2 {
        font-size: 2.5rem;
        -webkit-text-stroke: 1px #B2DFDB;
    }
}

/* Ajustar responsive */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 5% 0;
    }

    #sobre-mi {
        margin-top: -20px;
    }

    #sobre-mi .image-container {
        margin-top: 0;
        position: relative;
        top: 0;
    }

    .contact-icons {
        margin-bottom: 15px;
    }
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    margin-top: 20px;
    padding-right: 40px; /* Aumentar padding derecho */
    width: 100%; /* Asegurar que ocupa todo el ancho */
}

.btn.primary-btn {
    white-space: nowrap;
    padding: 12px 25px;
}

/* Ajuste responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        align-items: center; /* Volver a center en móvil */
        padding-right: 0;
    }
    
    .contact-icons,
    .hero-buttons {
        justify-content: center; /* Volver a center en móvil */
    }

    .hero-photo {
        align-items: center;
        padding-right: 0;
    }

    .hero-subtitle {
        font-size: 2.5rem;
        -webkit-text-stroke: 1px #B2DFDB;
    }
    
    .hero-title {
        font-size: 3rem;
        -webkit-text-stroke: 1px #B2DFDB;
        margin-bottom: 20px;
    }
}

/* Estilos base para imágenes e iconos */
.tech-icons img,
.tech-icons-grid img,
.tech-icons-vertical img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.contact-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    background-color: transparent;
    position: relative;
}

.content-section img,
.hero-photo img,
.tech-icons img,
.tech-icons-grid img,
.tech-icons-vertical img,
.image-container img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section img:hover,
.hero-photo img:hover,
.tech-icons img:hover,
.tech-icons-grid img:hover,
.tech-icons-vertical img:hover,
.image-container img:hover {
    transform: scale(1.05);
}

/* Estilos base para imágenes e iconos */
.content-section img,
.hero-photo img,
.tech-icons img,
.tech-icons-grid img,
.tech-icons-vertical img,
.image-container img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto hover unificado */
.content-section img:hover,
.hero-photo img:hover,
.tech-icons img:hover,
.tech-icons-grid img:hover,
.tech-icons-vertical img:hover,
.image-container img:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(128, 203, 196, 0.6));
}

/* Excluir imágenes del blog del efecto hover */
.blog-preview img:hover {
    transform: none;
    filter: none;
    box-shadow: none;
}

/* Estilos base unificados para iconos e imágenes */
.tech-icons img,
.tech-icons-grid img,
.tech-icons-vertical img,
#experiencia .section-image {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 2px rgba(128, 203, 196, 0.2));
}

/* Efecto hover para iconos de tecnologías */
.tech-icons img:hover,
.tech-icons-grid img:hover,
.tech-icons-vertical img:hover {
    transform: translateY(-5px);
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(128, 203, 196, 0.6));
}

/* Efecto hover específico para la imagen workspace */
#experiencia .section-image {
    width: 30%;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;
}

#experiencia .section-image:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 12px rgba(128, 203, 196, 0.5));
    opacity: 1;
}

/* Eliminar estilos que causaban el borde cuadrado */
.content-section img:hover,
.image-container img:hover {
    box-shadow: none;
}

/* Mejoras de responsividad para móviles */

/* Ajuste general para todo el contenido */
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

/* Hero section responsive */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 20px 0; /* Padding horizontal uniforme */
    width: 100%;
    margin-bottom: 30px;
  }
  
  .hero-row {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    align-items: center;
  }
  
  .hero-content, 
  .hero-photo {
    width: 100%;
    padding: 0;
    margin: 0;
    align-items: center;
    text-align: center;
  }
  
  .hero-photo {
    margin-top: 30px;
    padding-right: 0;
  }
  
  /* Centrar los títulos en móvil */
  .hero-subtitle,
  .hero-title {
    width: 100%;
    text-align: center;
  }
  
  /* Centrar iconos de tecnologías */
  .tech-icons {
    justify-content: center;
    margin: 20px auto;
  }
  
  .contact-wrapper {
    padding-right: 0;
    align-items: center;
    width: 100%;
    margin-top: 20px;
  }
  
  .contact-icons {
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
    margin-top: 20px;
  }
}

/* Secciones de contenido responsive */
@media (max-width: 768px) {
  .content-section {
    width: 100%;
    max-width: 100%;
    padding: 40px 20px; /* Padding horizontal uniforme */
    margin: 0 auto 60px;
    box-sizing: border-box;
    grid-template-columns: 1fr !important; /* Forzar una columna en móvil */
    text-align: center;
  }
  
  /* Centrar títulos de secciones */
  .content-section h2 {
    text-align: center;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 2.5rem;
  }
  
  /* Ajustar las imágenes para que aparezcan debajo */
  .content-section .image-container {
    grid-row: 2; /* Forzar que la imagen aparezca después del contenido */
    order: 2; /* Para flexbox */
    margin: 30px auto !important;
    width: 100%;
    max-width: 400px;
    justify-content: center;
    position: relative !important;
    top: auto !important;
  }
  
  .section-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    margin: 0 auto;
  }
  
  /* Ajustes específicos para secciones */
  #sobre-mi {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 10px;
    padding: 20px;
  }
  
  #sobre-mi .image-container {
    margin-top: 30px !important;
  }
  
  #skills {
    display: flex;
    flex-direction: column;
  }
  
  #skills ul {
    text-align: left;
    padding-left: 20px;
  }
  
  #skills .tech-stack-section {
    margin-top: 40px !important;
    position: relative;
    width: 100%;
    max-width: 100%;
    order: 2;
  }
  
  .tech-icons-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .tech-icons-vertical {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  /* Ajustes para experiencia */
  #experiencia {
    display: flex;
    flex-direction: column;
  }
  
  .experience-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  
  .company-logo {
    margin-bottom: 10px;
  }
  
  .experience-details {
    width: 100%;
  }
  
  /* Ajuste especial para workspace.png en experiencia */
  #experiencia .image-container {
    margin-top: 40px !important;
    width: 100%;
  }
  
  #experiencia .section-image {
    width: 70%; /* Más grande en móvil */
    max-width: 300px;
    height: auto;
  }
  
  /* Ajuste especial para blog */
  #blog {
    text-align: center;
  }
  
  .blog-preview-container {
    justify-content: center;
    width: 100%;
  }
  
  .blog-preview {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Ajustar barra de navegación vertical */
  .progress-nav {
    display: none; /* Ocultar en móvil para no estorbar */
  }
}

/* Asegurar que el botón de chatbot no tape contenido en móvil */
@media (max-width: 768px) {
  .chatbot-button {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  
  .chatbot-button svg {
    width: 25px;
    height: 25px;
  }
}

/* Mejoras de responsividad para móviles */

/* Ajuste general para todo el contenido */
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Hero section responsive */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 5% 0;
    width: 100%;
  }
  
  .hero-row {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }
  
  .hero-content, 
  .hero-photo {
    width: 100%;
    padding: 0;
    align-items: center;
    text-align: center;
  }
  
  /* Centrar los títulos en móvil */
  .hero-subtitle,
  .hero-title {
    width: 100%;
    text-align: center;
  }
  
  /* Centrar iconos de tecnologías */
  .tech-icons {
    justify-content: center;
  }
}

/* Secciones de contenido responsive */
@media (max-width: 768px) {
  .content-section {
    width: 100%;
    max-width: 100%;
    padding: 40px 20px; /* Padding horizontal uniforme */
    margin: 0 auto 60px;
    box-sizing: border-box;
    grid-template-columns: 1fr;
  }
  
  /* Centrar títulos de secciones */
  .content-section h2 {
    text-align: center;
    width: 100%;
  }
  
  /* Ajustar imágenes para que no desborden */
  .section-image {
    width: 100%;
    max-width: 100%;
  }
  
  /* Experiencia y blog responsive */
  #experiencia .experience-item,
  .blog-preview-container {
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Ajustar la barra de navegación vertical */
  .progress-nav {
    right: 10px;
  }
}

/* Ajuste especial para la sección blog */
@media (max-width: 768px) {
  .blog-preview-container {
    justify-content: center;
  }
  
  .blog-preview {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }
}

/* Botón flotante para el chatbot - aumentado 50% */
.chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 90px;  /* Aumentado de 60px a 90px (50% más) */
    height: 90px; /* Aumentado de 60px a 90px (50% más) */
    border-radius: 50%;
    background-color: #80CBC4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    animation: pulse 2s infinite;
}

.chatbot-button:hover {
    transform: scale(1.1);
    background-color: #B2DFDB;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.chatbot-button svg {
    width: 45px;  /* Aumentado de 30px a 45px (50% más) */
    height: 45px; /* Aumentado de 30px a 45px (50% más) */
    color: #1b2735;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(128, 203, 196, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(128, 203, 196, 0); /* Aumentado el radio de pulso */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(128, 203, 196, 0);
    }
}

@media (max-width: 768px) {
    .chatbot-button {
        bottom: 20px;
        right: 20px;
        width: 75px; 
        height: 75px; 
    }
    
    .chatbot-button svg {
        width: 38px; 
    height: 38px; 
  }
}

@media (max-width: 768px) {
    .content-section {
        text-align: center;
        padding: 30px 15px;
    }
    
    #sobre-mi {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    #sobre-mi p {
        text-align: left;
    }
    
    #sobre-mi .image-container {
        grid-column: 1;
        margin: 20px auto 0;
        position: relative;
        top: 0;
        max-width: 280px;
    }
    
    #skills {
        display: flex;
        flex-direction: column;
    }
    
    #skills ul {
        text-align: left;
        padding-left: 20px;
    }
    
    #skills .tech-stack-section {
        position: relative;
        top: 0;
        margin-top: 30px;
        margin-bottom: 0;
        max-width: 100%;
        order: 2;
    }
    
    .tech-icons-vertical {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .experience-item {
        flex-direction: column;
        align-items: center;
    }
    
    .experience-details {
        text-align: left;
        width: 100%;
    }
    
    #experiencia .image-container {
        margin-top: 40px;
        width: 100%;
    }
    
    #experiencia .section-image {
        width: 80%;
        max-width: 300px;
        height: auto;
    }
    
    .blog-preview-container {
        justify-content: center;
    }
    
    .blog-preview {
        max-width: 340px;
    }
}

#sobre-mi {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    text-align: left;
    padding-top: 20px;
}

#sobre-mi h2 {
    margin-bottom: 30px;
}

#sobre-mi p {
    max-width: 100%;
    margin: 0;
}

#sobre-mi .image-container {
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    position: relative;
    top: 0;
    overflow: hidden; /* Para asegurar que la imagen no sobresalga del border-radius */
}

#sobre-mi .section-image {
    max-width: 350px;
    height: auto;
    border-radius: 20px; /* Bordes redondeados, aumenta para más curvatura */
    box-shadow: 0 6px 25px rgba(128, 203, 196, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#sobre-mi .section-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(128, 203, 196, 0.5);
    border-radius: 25px; /* Ligeramente más redondeado en hover */
}

/* Modificaciones para la sección "Skills" */
#skills {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
}

#skills p, 
#skills ul {
    width: 100%;
    max-width: 100%;
}

/* Tech Stack en formato horizontal */
.tech-stack-section {
    position: relative; /* Cambiado de sticky a relative */
    top: 0;
    width: 100%;
    max-width: 100%;
    margin-top: 60px; /* Aumentado para dar más espacio */
    margin-bottom: 20px; /* Añadido margen inferior */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
   	background: rgba(27, 39, 53, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(128, 203, 196, 0.1);
    z-index: 1; /* Asegurar que no tape contenido importante */
}

.tech-category {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-category h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Responsive para tablets y móviles */
@media (max-width: 1024px) {
    .tech-stack-section {
        flex-wrap: wrap;
    }
    
    .tech-category {
        flex-basis: 45%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    #sobre-mi, #skills {
        text-align: center;
    }
    
    #skills ul {
        text-align: left;
    }
    
    .tech-stack-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    
    .tech-category {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    
    .tech-icons-vertical {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .tech-icons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ajuste para la sección "Sobre mí" en móvil */
@media (max-width: 768px) {
  #sobre-mi {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
    padding: 20px;
    margin: 0;
  }
  
  #sobre-mi p {
    width: 100%;
    max-width: 100%;
    text-align: left;
    margin: 0;
  }
  
  #sobre-mi .image-container {
    grid-column: 1;
    margin: 20px auto;
    position: relative;
    top: 0;
    justify-content: center;
    width: 100%;
  }
  
  #sobre-mi .section-image {
    width: 80%;
    max-width: 300px;
    height: auto;
  }
}

/* Reorganizar tech stack en móvil */
@media (max-width: 768px) {
  .tech-stack-section {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 30px;
  }
  
  .tech-category {
    width: 100%;
    margin-bottom: 0;
    order: 0; /* Reset order */
  }
  
  /* Orden específico para categorías en móvil */
  .tech-category:nth-child(1) { order: 1; } /* Tecnologías primero */
  .tech-category:nth-child(2) { order: 2; } /* Sistemas segundo */
  .tech-category:nth-child(3) { order: 3; } /* Bases de Datos tercero */
  
  .tech-icons-vertical {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .tech-icons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Mejoras generales para móvil */
@media (max-width: 768px) {
  /* Ajustar el hero para mejor visualización */
  .hero-row {
    flex-direction: column;
  }
  
  .hero-content, 
  .hero-photo {
    width: 100%;
    padding: 0 20px;
    margin: 0;
  }
  
  /* Ajustar secciones */
  .content-section {
    padding: 40px 20px;
    margin: 0 0 40px 0;
  }
  
  /* Ajustar tamaño de texto */
  .content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  /* Mejorar espaciado entre elementos */
  ul {
    padding-left: 20px;
  }
  
  /* Centrar la barra de navegación de progreso */
  .progress-nav {
    right: 10px;
  }
}

/* Asegurarte que estos estilos estén al FINAL del archivo para que tengan prioridad */

/* SOLUCIÓN: Reglas con !important para forzar el comportamiento correcto en móviles */
@media (max-width: 768px) {
  /* Arreglo para hero photo y elementos de contacto */
  .hero-photo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 25px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  
  .hero-photo-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  
  /* Arreglo para los iconos de contacto */
  .contact-icons-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-left: 0 !important;
    position: static !important;
    left: 0 !important;
  }
  
  .contact-icons {
    justify-content: center !important;
    gap: 20px !important;
  }
  
  /* Arreglo para el botón de CV */
  .hero-button-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  
  /* Arreglo para la sección Sobre mí */
  #sobre-mi {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: left !important;
    padding: 20px !important;
    margin: 0 !important;
    display: block !important;
  }
  
  #sobre-mi .image-container {
    grid-column: 1 !important;
    margin: 20px auto !important;
    position: static !important;
    top: 0 !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
  
  /* Arreglo para tech stack */
  .tech-stack-section {
    flex-direction: column !important;
    align-items: center !important;
    padding: 20px !important;
    gap: 30px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Asegurar orden correcto de secciones tech */
  .tech-category {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }
  
  /* Orden específico - BASE DE DATOS debajo de SISTEMAS */
  .tech-stack-section .tech-category:nth-of-type(1) { order: 1 !important; }
  .tech-stack-section .tech-category:nth-of-type(2) { order: 2 !important; }
  .tech-stack-section .tech-category:nth-of-type(3) { order: 3 !important; }
  
  .tech-icons-vertical {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
  }
  
  /* Ajuste general de contenido para móvil */
  .content-section {
    padding: 30px 15px !important;
    max-width: 100% !important;
    display: block !important;
  }
}

/* Sección de Proyectos */
.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.4s ease;
  position: relative;
  height: 100%;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(128, 203, 196, 0.1);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -20px rgba(128, 203, 196, 0.3);
  border-color: rgba(128, 203, 196, 0.3);
}

.project-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(27, 39, 53, 0) 0%,
    rgba(27, 39, 53, 0.8) 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-link {
  background-color: #80CBC4;
  color: #1b2735;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-link:hover {
  background-color: #B2DFDB;
  transform: translateY(-2px);
}

.project-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.project-tags span {
  background-color: rgba(128, 203, 196, 0.1);
  color: #80CBC4;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(128, 203, 196, 0.2);
}

.project-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #80CBC4;
  position: relative;
}

.project-description {
  color: #CFD8DC;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .projects-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}

/* Añadir al final de tu archivo styles.css */
.projects-container.featured-only {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-top: 40px;
}

.project-card.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  height: auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
}

.project-card.featured .project-image {
  height: 350px;
}

.project-card.featured .project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-card.featured .project-description {
  font-size: 1.1rem;
  line-height: 1.7;
}

.project-card.featured h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.project-card.featured .project-tags span {
  font-size: 1rem;
  padding: 8px 16px;
}

@media (max-width: 1100px) {
  .project-card.featured {
    grid-template-columns: 1fr;
  }
  
  .project-card.featured .project-image {
    height: 250px;
  }
}