@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&display=swap');

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

body {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.wrapper{
  width: 100vw;
  height: 100vh;
  background-color: #20346e;
  color: #fff4d7;
  padding-top: 120px;
  position: relative;
  z-index: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 2em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(32, 52, 110, 0.95);
  z-index: 10;
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}


.brand {
  margin-top: -7px;
}

.brand .logo {
  height: 40px;
  width: auto;
}

.brand .logo-text {
  font-size: 2.2em;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #FFF4D7, #798cc3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(121, 140, 195, 0.3);
  letter-spacing: 2px;
}



.menu {
  display: flex;
  width: 50%;
  justify-content: space-around;
}

.menu li{
  list-style: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}
.menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px  20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

.menu .active {
  color: #798cc3;
}

.menu a:hover {
  background-color: #798cc3;
  color: #20346e;
  transition: ease-in .4s;
}

.menu a.active:hover {
  background-color: #798cc3;
  color: #20346e;
  transition: ease-in .4s;
}

/* Estilos para el menú hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #FFF4D7;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.main {
  margin: 0 auto;
  width: 80vw;
  height: 80vh;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  align-items: center;
  position: relative;
  z-index: 5;
}

h1{
  font-size: 3em;
}

span{
  color: #798cc3;
}

/* Estilo específico para el texto PREYNTER */
.preynter-text {
  color: #20346e;
  background-color: #FFF4D7;
  border: 3px solid #798cc3;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
}

p {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.1em;
  color: #FFF4D7;
  margin-bottom: 1em;
}

.download-cv{
  padding: 15px 20px;
  background-color: #798cc3;
  border: none;
  border-radius: 20px;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 1px 3px 11px -5px rgba(121, 140, 195, .69);
  color: #20346e;
  font-weight: 600;
}

.download-cv:hover{
  background-color: #FFF4D7;
  box-shadow: 0 4px 15px rgba(255, 244, 215, 0.4);
  color: #20346e;
  border: 2px solid #798cc3;
}

.main img{
  width: 420px;
  border: 7px solid #798cc3;
  height: 480px;
  z-index: 1;
  object-fit: contain;
  background-color: rgba(255, 244, 215, 0.1);
  border-radius: 15px;
  padding: 25px;
}

.about{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100vw;
  align-items: center;
  background-color: #cbc9a3;
  position: relative;
  z-index: 2;
}

.about-info{
  grid-column: 5/10;
  padding: 3em;
}

.about-info h2 {
  font-size: 2em;
  color: #20346e;
}

.about-info p {
  color: #2c2c2c;
  font-weight: 500;
  font-size: 1.05em;
}

.divider {
  height: 4px;
  width: 80px;
  background-color: #798cc3;
  margin: 5px;
  margin-bottom: 2em;
}

.about p{
  margin-bottom: 2em;
}

/* Estilos para los iconos de herramientas */
.tools-icons {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-top: 1em;
}

.tool-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2em;
  border-radius: 15px;
  background-color: rgba(255, 244, 215, 0.555);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 2px solid rgba(121, 140, 195, 0.2);
  min-width: 160px;
  min-height: 180px;
}

.tool-icon:hover {
  transform: translateY(-5px);
  background-color: #FFF4D7;
  border-color: #798cc3;
}

.tool-icon img {
  width: 200px;
  height: 200px;
  margin-bottom: 0.8em;
  object-fit: contain;
}

.tool-icon span {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 1.5em;
  color: #20346e;
  text-align: center;
}


/* Estilos para la sección de portfolio */
.portfolio {
  background-color: #20346e;
  padding: 4em 2em;
  position: relative;
  z-index: 2;
}

.portfolio-headings {
  text-align: center;
  margin-bottom: 3em;
}

.portfolio-headings .divider {
  display: none;
}

.portfolio-headings h2 {
  font-size: 2.5em;
  color: #fff;
  margin-bottom: 0.5em;
}

.tools-section {
  text-align: center;
  margin-bottom: 4em;
}

.tools-section h3 {
  font-size: 1.8em;
  color: #fff;
  margin-bottom: 1.5em;
  font-family: 'Nunito', sans-serif;
}

.projects-gallery {
  max-width: 1200px;
  margin: 0 auto;
}

.projects-gallery h3 {
  font-size: 2em;
  color: #fff;
  text-align: center;
  margin-bottom: 2em;
  font-family: 'Nunito', sans-serif;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
  padding: 1em;
}

.gallery-item {
  background: #FFF4D7;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.video-item {
  position: relative;
}

.video-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(121, 140, 195, 0.9);
  color: #20346e;
  font-size: 2em;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.item-description {
  padding: 1.5em;
}

.item-description h4 {
  font-size: 1.3em;
  color: #20346e;
  margin-bottom: 0.5em;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

.item-description p {
  color: #666;
  font-size: 0.95em;
  line-height: 1.5;
}

/* Estilos para los modales */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  background-color: #FFF4D7;
  border-radius: 15px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #aaa;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close:hover {
  color: #20346e;
}

.modal-content img,
.modal-content video {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 10px;
}

.modal-info {
  padding: 1.5em 0;
  text-align: center;
}

.modal-info h3 {
  font-size: 1.8em;
  color: #20346e;
  margin-bottom: 1em;
  font-family: 'Nunito', sans-serif;
}

.modal-info p {
  color: #666;
  font-size: 1.1em;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
  
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .tools-icons {
    flex-direction: column;
    gap: 1em;
  }
}
/* Navegación suave */
html {
  scroll-behavior: smooth;
}

/* Estilos para la sección de contacto */
.contact {
  background-color: #cbc9a3;
  padding: 4em 2em;
  text-align: center;
  position: relative;
  z-index: 0;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.contact h2 {
  font-size: 2.5em;
  color: #20346e;
  margin-bottom: 0.5em;
  font-family: 'Nunito', sans-serif;
}

.contact p {
  color: #2c2c2c;
  font-size: 1.1em;
  margin-bottom: 2em;
}

.contact-info {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  padding: 1.5em;
  background-color: rgba(255, 244, 215, 0.8);
  border-radius: 15px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-item:hover {
  transform: translateY(-5px);
  background-color: #FFF4D7;
  border-color: #798cc3;
  box-shadow: 0 10px 25px rgba(121, 140, 195, 0.3);
}

.contact-icon {
  font-size: 2.5em;
  color: #798cc3;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.contact-item:hover .contact-icon {
  color: #20346e;
  transform: scale(1.1);
  animation: bounce 0.6s ease;
}

.contact-details {
  text-align: left;
}

.contact-details h4 {
  font-size: 1.2em;
  color: #20346e;
  margin-bottom: 0.3em;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

.contact-details a {
  color: #2c2c2c;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #798cc3;
}

/* Animaciones */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) scale(1.1);
  }
  40% {
    transform: translateY(-10px) scale(1.1);
  }
  60% {
    transform: translateY(-5px) scale(1.1);
  }
}

/* Responsive para contacto */
@media (max-width: 768px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1em;
    padding: 1.2em;
  }
  
  .contact-details {
    text-align: center;
  }
  
  .contact-icon {
    font-size: 2em;
  }
}

/* Mejorar el efecto activo del menú */
.menu a.active {
  color: #798cc3;
  background-color: rgba(255, 244, 215, 0.15);
  border-radius: 5px;
}

/* Ajustar el offset para la navegación fija */
section {
  scroll-margin-top: 120px;
}

#inicio, #sobre-mi, #portfolio, #contacto {
  scroll-margin-top: 120px;
}
/* Estilos para secciones de trabajos específicos */
.blender-works {
  background-color: #20346e;
  padding: 4em 2em;
  min-height: 100vh;
}

.works-header {
  text-align: center;
  margin-bottom: 3em;
  position: relative;
}

.back-button {
  position: absolute;
  left: 0;
  top: 0;
  background-color: #798cc3;
  color: #20346e;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #FFF4D7;
  transform: translateX(-5px);
}

.works-header h2 {
  font-size: 2.5em;
  color: #fff;
  margin-bottom: 0.5em;
  font-family: 'Nunito', sans-serif;
}

.blender-gallery {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hacer los iconos de herramientas clickeables */
.tool-icon {
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.tool-icon:hover {
  transform: translateY(-8px);
  background-color: #FFF4D7;
  border-color: #798cc3;
  box-shadow: 0 10px 25px rgba(121, 140, 195, 0.3);
}

/* Responsive para secciones de trabajos */
@media (max-width: 768px) {
  .back-button {
    position: relative;
    margin-bottom: 1em;
  }
  
  .works-header h2 {
    font-size: 2em;
  }
}
/* Estilos específicos para la imagen en la sección Sobre mí */
.about img {
  border-radius: 15px;
  border: 5px solid #798cc3;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(121, 140, 195, 0.3);
}
/* Estilos para sección de trabajos de Photoshop */
.photoshop-works {
  background-color: #20346e;
  padding: 4em 2em;
  min-height: 100vh;
}

.photoshop-gallery {
  max-width: 1200px;
  margin: 0 auto;
}

/* Estilos para sección de trabajos de Unity */
.unity-works {
  background-color: #20346e;
  padding: 4em 2em;
  min-height: 100vh;
}

.unity-gallery {
  max-width: 1200px;
  margin: 0 auto;
}
/* ===== RESPONSIVE DESIGN ===== */

/* Tablets y pantallas medianas (768px - 1024px) */
@media (max-width: 1024px) {
  .wrapper {
    padding-top: 120px;
  }
  
  .main {
    width: 90vw;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2em;
    height: auto;
    padding: 2em 0;
  }
  
  .main img {
    width: 300px;
    height: 350px;
    margin: 0 auto;
  }
  
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 2em auto;
  }
  
  .about-info {
    grid-column: 1;
    padding: 2em;
  }
  
  .tools-icons {
    flex-direction: column;
    gap: 1.5em;
    align-items: center;
  }
  
  .tool-icon {
    min-width: 200px;
    min-height: 220px;
  }
}

/* Móviles y pantallas pequeñas (hasta 768px) */
@media (max-width: 768px) {
  /* Navegación */
  .navbar {
    flex-direction: row;
    padding: 1em 2em;
    align-items: center;
  }
  
  .hamburger {
    display: flex;
  }
  
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: rgba(32, 52, 110, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  .menu.active {
    right: 0;
  }
  
  .menu li {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.3s ease forwards;
  }
  
  .menu.active li:nth-child(1) { animation-delay: 0.1s; }
  .menu.active li:nth-child(2) { animation-delay: 0.2s; }
  .menu.active li:nth-child(3) { animation-delay: 0.3s; }
  .menu.active li:nth-child(4) { animation-delay: 0.4s; }
  
  .menu a {
    padding: 15px 25px;
    font-size: 1.2em;
    border-radius: 10px;
    width: 200px;
    text-align: center;
  }
  
  @keyframes slideInRight {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Sección principal */
  .wrapper {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
  }
  
  .main {
    width: 95vw;
    padding: 1em 0;
    margin-top: 1em;
  }
  
  .main img {
    width: 250px;
    height: 300px;
    padding: 15px;
  }
  
  h1 {
    font-size: 2em;
    margin-bottom: 1em;
  }
  
  .preynter-text {
    padding: 6px 12px;
    font-size: 0.9em;
  }
  
  p {
    font-size: 1em;
    margin-bottom: 1.5em;
  }
  
  /* Sección Sobre mí */
  .about img {
    max-width: 300px;
    height: auto;
  }
  
  .about-info {
    padding: 1.5em;
  }
  
  .about-info h2 {
    font-size: 1.8em;
  }
  
  /* Herramientas */
  .tools-section h3 {
    font-size: 1.5em;
  }
  
  .tool-icon {
    min-width: 150px;
    min-height: 180px;
    padding: 1em;
  }
  
  .tool-icon img {
    width: 80px;
    height: 80px;
  }
  
  .tool-icon span {
    font-size: 0.9em;
  }
  
  /* Portfolio */
  .portfolio {
    padding: 2em 1em;
  }
  
  .portfolio-headings h2 {
    font-size: 2em;
  }
  
  .projects-gallery h3 {
    font-size: 1.6em;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5em;
    padding: 0.5em;
  }
  
  /* Secciones específicas de herramientas */
  .blender-works,
  .photoshop-works,
  .unity-works {
    padding: 2em 1em;
  }
  
  .works-header h2 {
    font-size: 2em;
    margin-top: 1em;
  }
  
  .back-button {
    position: relative;
    margin-bottom: 1em;
    padding: 10px 16px;
    font-size: 0.9em;
  }
  
  /* Contacto */
  .contact {
    padding: 2em 1em;
  }
  
  .contact h2 {
    font-size: 2em;
  }
  
  .contact-info {
    gap: 1.2em;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1em;
    padding: 1.2em;
  }
  
  .contact-details {
    text-align: center;
  }
  
  .contact-icon {
    font-size: 2em;
  }
  
  /* Modales */
  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 15px;
  }
  
  .modal-info h3 {
    font-size: 1.5em;
  }
  
  .close {
    font-size: 28px;
    top: 10px;
    right: 15px;
  }
}

/* Móviles muy pequeños (hasta 480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 0.8em;
  }
  
  .menu {
    gap: 0.3em;
  }
  
  .menu a {
    padding: 6px 8px;
    font-size: 0.8em;
  }
  
  h1 {
    font-size: 1.8em;
  }
  
  .preynter-text {
    padding: 4px 8px;
    font-size: 0.8em;
    border-width: 2px;
  }
  
  .main img {
    width: 200px;
    height: 250px;
    padding: 10px;
  }
  
  .about img {
    max-width: 250px;
  }
  
  .about-info {
    padding: 1em;
  }
  
  .about-info h2 {
    font-size: 1.6em;
  }
  
  .tool-icon {
    min-width: 130px;
    min-height: 160px;
    padding: 0.8em;
  }
  
  .tool-icon img {
    width: 60px;
    height: 60px;
  }
  
  .tool-icon span {
    font-size: 0.8em;
  }
  
  .portfolio-headings h2 {
    font-size: 1.8em;
  }
  
  .projects-gallery h3 {
    font-size: 1.4em;
  }
  
  .works-header h2 {
    font-size: 1.8em;
  }
  
  .contact h2 {
    font-size: 1.8em;
  }
  
  .download-cv {
    padding: 12px 16px;
    font-size: 0.9em;
  }
}

/* Ajustes para pantallas muy anchas */
@media (min-width: 1400px) {
  .main {
    width: 70vw;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  
  .tools-icons {
    max-width: 800px;
    margin: 0 auto;
  }
}
/* Estilos para la nueva organización de proyectos de Blender */

/* Proyecto destacado - Diamante */
.featured-project {
  margin-bottom: 4em;
}

.featured-project h3 {
  font-size: 2.2em;
  color: #FFF4D7;
  text-align: center;
  margin-bottom: 1.5em;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}

.diamond-project {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2em;
  background: linear-gradient(135deg, rgba(255, 244, 215, 0.1), rgba(121, 140, 195, 0.1));
  padding: 2em;
  border-radius: 20px;
  border: 2px solid #798cc3;
  box-shadow: 0 15px 40px rgba(121, 140, 195, 0.2);
}

.featured-item {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: 3px solid #798cc3;
}

.featured-item:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 50px rgba(121, 140, 195, 0.3);
}

/* Otros proyectos */
.other-projects {
  margin-top: 3em;
}

.other-projects h3 {
  font-size: 2em;
  color: #FFF4D7;
  text-align: center;
  margin-bottom: 2em;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

/* Bloques de proyectos */
.project-block {
  background-color: rgba(255, 244, 215, 0.05);
  border-radius: 15px;
  padding: 1.5em;
  margin-bottom: 2em;
  border: 1px solid rgba(121, 140, 195, 0.2);
}

.project-title {
  font-size: 1.4em;
  color: #798cc3;
  text-align: center;
  margin-bottom: 1em;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  border-bottom: 2px solid #798cc3;
  padding-bottom: 0.5em;
}

.project-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
}

/* Responsive para la nueva organización */
@media (max-width: 768px) {
  .diamond-project {
    grid-template-columns: 1fr;
    padding: 1.5em;
  }
  
  .featured-item {
    transform: scale(1);
  }
  
  .featured-item:hover {
    transform: scale(1.02);
  }
  
  .featured-project h3 {
    font-size: 1.8em;
  }
  
  .other-projects h3 {
    font-size: 1.6em;
  }
  
  .project-title {
    font-size: 1.2em;
  }
  
  .project-items {
    grid-template-columns: 1fr;
  }
  
  .project-block {
    padding: 1em;
  }
}

@media (max-width: 480px) {
  .diamond-project {
    padding: 1em;
  }
  
  .featured-project h3 {
    font-size: 1.6em;
  }
  
  .other-projects h3 {
    font-size: 1.4em;
  }
  
  .project-title {
    font-size: 1.1em;
  }
}
/* Estilos para sección de trabajos de Unity */
.unity-works {
  background-color: #20346e;
  padding: 4em 2em;
  min-height: 100vh;
}

.unity-gallery {
  max-width: 1200px;
  margin: 0 auto;
}
/* ===== BARRAS DE HABILIDADES ===== */

.skills-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2em 0;
}

.skills-section h3 {
  font-size: 2em;
  color: #fff;
  text-align: center;
  margin-bottom: 2em;
  font-family: 'Nunito', sans-serif;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 2em;
  padding: 0 2em;
}

.skill-item {
  background: rgba(255, 244, 215, 0.05);
  padding: 1.5em;
  border-radius: 20px;
  border: 2px solid rgba(121, 140, 195, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-item:hover {
  background: rgba(255, 244, 215, 0.1);
  border-color: #798cc3;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(121, 140, 195, 0.2);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}

.skill-name {
  font-size: 1.3em;
  font-weight: 600;
  color: #FFF4D7;
  font-family: 'Nunito', sans-serif;
}

.skill-percentage {
  font-size: 1.1em;
  font-weight: 700;
  color: #798cc3;
  font-family: 'Montserrat', sans-serif;
}

.skill-bar {
  width: 100%;
  height: 20px;
  background-color: rgba(32, 52, 110, 0.3);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  border-radius: 25px;
  width: 0%;
  transition: width 2s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* Colores específicos para cada habilidad - Todas con el estilo de Photoshop */
.blender-progress {
  background: linear-gradient(90deg, #FFF4D7, #798cc3);
  box-shadow: 0 0 15px rgba(255, 244, 215, 0.4);
}

.photoshop-progress {
  background: linear-gradient(90deg, #FFF4D7, #798cc3);
  box-shadow: 0 0 15px rgba(255, 244, 215, 0.4);
}

.unity-progress {
  background: linear-gradient(90deg, #FFF4D7, #798cc3);
  box-shadow: 0 0 15px rgba(255, 244, 215, 0.4);
}

/* Efecto de brillo en las barras */
.skill-progress::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Responsive para barras de habilidades */
@media (max-width: 768px) {
  .skills-container {
    padding: 0 1em;
    gap: 1.5em;
  }
  
  .skill-item {
    padding: 1.2em;
  }
  
  .skill-name {
    font-size: 1.1em;
  }
  
  .skill-percentage {
    font-size: 1em;
  }
  
  .skill-bar {
    height: 16px;
  }
}

@media (max-width: 480px) {
  .skills-section h3 {
    font-size: 1.6em;
  }
  
  .skill-item {
    padding: 1em;
  }
  
  .skill-name {
    font-size: 1em;
  }
  
  .skill-percentage {
    font-size: 0.9em;
  }
  
  .skill-bar {
    height: 14px;
  }
}
/* ===== ANIMACIÓN DE HOJAS DE FONDO ===== */

.leaves-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.leaf {
  position: absolute;
  width: 25px;
  height: 25px;
  background: #798cc3;
  border-radius: 0 100% 0 100%;
  opacity: 0.6;
  top: -50px;
}

/* Animación simple de caída */
.leaf-1 {
  left: 10%;
  background: #798cc3;
  animation: fallDown 5s linear infinite;
  animation-delay: 0s;
}

.leaf-2 {
  left: 25%;
  background: #FFF4D7;
  animation: fallDown 6s linear infinite;
  animation-delay: 1s;
}

.leaf-3 {
  left: 40%;
  background: #cbc9a3;
  animation: fallDown 7s linear infinite;
  animation-delay: 2s;
}

.leaf-4 {
  left: 55%;
  background: #798cc3;
  animation: fallDown 5.5s linear infinite;
  animation-delay: 0.5s;
}

.leaf-5 {
  left: 70%;
  background: #FFF4D7;
  animation: fallDown 6.5s linear infinite;
  animation-delay: 1.5s;
}

.leaf-6 {
  left: 85%;
  background: #cbc9a3;
  animation: fallDown 7.5s linear infinite;
  animation-delay: 2.5s;
}

@keyframes fallDown {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(calc(100vh + 50px)) rotate(360deg);
    opacity: 0;
  }
}

/* Efecto de fondo sutil */
body {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, rgba(32, 52, 110, 0.02) 0%, rgba(255, 244, 215, 0.02) 100%);
}
/* ===== FOOTER ===== */

.footer {
  background: linear-gradient(135deg, #20346e 0%, #798cc3 100%);
  padding: 3em 2em 1em 2em;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3em;
  align-items: start;
}

/* Navegación del footer */
.footer-nav h4 {
  color: #FFF4D7;
  font-size: 1.3em;
  margin-bottom: 1em;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.8em;
}

.footer-nav a {
  color: #cbc9a3;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #FFF4D7;
}

/* Iconos de contacto */
.footer-contact h4 {
  color: #FFF4D7;
  font-size: 1.3em;
  margin-bottom: 1em;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  text-align: center;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 1.5em;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  text-decoration: none;
  color: #cbc9a3;
  transition: all 0.3s ease;
  border-radius: 50%;
  background: rgba(255, 244, 215, 0.1);
}

.contact-icon:hover {
  color: #FFF4D7;
  background: rgba(255, 244, 215, 0.2);
  transform: translateY(-3px) scale(1.1);
}

.contact-icon i {
  font-size: 1.5em;
}

/* Animación del ciervo con video */
.footer-deer {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.deer-video-container {
  width: 200px;
  height: 100px;
  position: relative;
  margin-bottom: 1em;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, #20346e, #798cc3);
}

.deer-video {
  width: 300px;
  height: 150px;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: moveDeer 12s linear infinite;
  filter: 
    grayscale(1) 
    contrast(3) 
    brightness(0.2) 
    sepia(1) 
    hue-rotate(25deg) 
    saturate(2) 
    brightness(2.5);
  mix-blend-mode: lighten;
}

@keyframes moveDeer {
  0% {
    left: -50%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* Firma del footer */
.footer-signature {
  color: #cbc9a3;
  font-size: 0.9em;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  margin: 0;
}

/* Responsive del footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2em;
    text-align: center;
  }
  
  .contact-icons {
    gap: 1.2em;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
  }
  
  .contact-icon i {
    font-size: 1.3em;
  }
  
  .deer-video-container {
    width: 150px;
    height: 75px;
  }
  
  .deer-video {
    width: 225px;
    height: 112px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2em 1em 1em 1em;
  }
  
  .footer-content {
    gap: 1.5em;
  }
  
  .footer-nav h4,
  .footer-contact h4 {
    font-size: 1.1em;
  }
  
  .contact-icons {
    gap: 1em;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .contact-icon i {
    font-size: 1.2em;
  }
  
  .deer-video-container {
    width: 120px;
    height: 60px;
  }
  
  .deer-video {
    width: 180px;
    height: 90px;
  }
}