/* paleta de colores 
Azul profundo   (#09456C) 4
Teal vibrante   (#026F6E) 3
Teal claro      (#1CA39E) 2
Gris humo       (#F5F5F5) 1
Blanco          (#FFFFFF)
Negro carbón    (#160D18) 
*/
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #F5F5F5;
  overflow-x: hidden; /* Evita el scroll horizontal */
}

header {
  text-align: center;
  padding: 2rem;
}

header img {
  width: 25vh;
  border-radius: 50%;
}

h1 {
  margin: 0.5rem 0 0;
  font-size: 2rem;
  color: #09456C;
}

h2 {
  font-size: 1.2rem;
  color: #026F6E;
}
/* Sección completa con fondo celeste */
.about {
  background-color: #1CA39E;
  width: 100%;
  padding: 2vw 0; /* espacio vertical */
}

/* Contenido interno centrado */
.about-content {
  max-width: 900px;
  margin: auto;
  padding: 1vw;
  color: white;
} /*hasta aca anda todo*/
.about-content h3 {
  text-align: center;
}
.about-content p {
  text-align: center;
}
/* skills */
.skills{
  text-align: center;
  background-color: #026F6E;
}

.skills h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 0;
  padding-top : 2rem;
}
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  justify-content: center;
  max-width: 900px;
  margin: auto;
  padding: 2rem 0;
}

.skill-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1CA39E;
  padding: 1rem;
  border-radius: 8px;
  color: white;
  width: 160px;
  height: 160px;
  cursor: pointer;
  text-align: center;
}

.skill-card img {
  width: 60%;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.skill-card span {
  font-size: 0.9rem;
}

/* Tooltip personalizado */
.tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #23145B;
  color: white;
  padding: 0.5rem;
  border-radius: 4px;
  width: 220px;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.8rem;
  z-index: 10;
  white-space: pre-line;
}

.skill-card:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
.skill-card:hover {
  background-color: #15807C;
  transition: background-color 0.3s ease; /* ← tono más oscuro */
}



/* dashboards & projects */
.dashboard-carousel {
  width: 100vw;
  height: 400px;
  display: flex;
  gap: 4vw;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem;
  scroll-padding: 2rem;
}

.dashboard-carousel::-webkit-scrollbar {
  display: none;
}

.dashboard-carousel li {
  list-style: none;
  flex: 0 0 100%;
  position: relative;
  scroll-snap-align: center;
  border-radius: 8px;
  overflow: hidden;
}

.dashboard-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.dashboard-carousel  li:hover img {
  filter: brightness(50%);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
}

.dashboard-carousel li:hover .overlay {
  opacity: 1;
}

.proyect-carousel li:hover .overlay {
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

.dashboard-title {
  text-align: center;
  font-size: 2rem;
  color: #00D2C5;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.gallery {
  background-color: #09456C;
  padding: 3rem 0;
}

.scroll-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.scroll-buttons button {
  background-color: #00D2C5;
  color: black;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.scroll-buttons button:hover {
  background-color: #00a9a0;
}

/* contacto */

.contacto {
  background-color: #0F0F1C; /* negro profundo, no puro */
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.contacto h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00D2C5; /* acento visual */
}

.contacto p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.contacto form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contacto input,
.contacto textarea {
  background-color: #1A1A2E;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.8rem;
  font-size: 1rem;
}

.contacto input::placeholder,
.contacto textarea::placeholder {
  color: #888;
}

.contacto button {
  background-color: #00D2C5;
  color: black;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contacto button:hover {
  background-color: #00a9a0;
}

.contact-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-links a {
  color: #00D2C5;
  text-decoration: none;
  font-weight: bold;
}

.contact-links a:hover {
  text-decoration: underline;
}

/* estilos para la foto de perfil */ 

.perfil{
  position: relative;
}

.info {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #23145B;
  color: white;
  padding: 0.5rem;
  border-radius: 4px;
  width: 220px;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.8rem;
  z-index: 10;
  white-space: pre-line;
}

.perfil:hover .info{
 visibility: visible;
 opacity: 1;
}