/* Reset css*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container{
    padding: 4rem 2rem;
    display:flex;
    justify-content: center;
    align-items: center;

}
.container-dis {
  background-color: #49444935;
 
  list-style-type: none;
  color: black;

}
.container-dis a {
  
  list-style-type: none;
  text-decoration: none;
  color: black;

}

.container-dis a:hover{  
  color:#b00e6f;
 
}

.container-int{ 
  width: 50%;   
  margin: 0 auto;

}
.container-int h1 h2{
  font-weight: bold; 
  font-size: 30px; 
}

.container-res{ 
  width: 50%;   
  margin: 0 auto;

}
.container-res img{
  max-width: 20%;
}



/*icono logo*/

.icono-fucsia{
  color:rgb(176, 14, 111);
}
.icono-fucsia:hover{
  color:rgb(115, 12, 70);
  transform: translateY(-5px);
  transition: transform 0.6s ease;

}


.fondo-gris-claro{
  background-color: rgba(73, 68, 73, 0.193);
  transform: translateY(-5px);
  transition: transform 0.6s ease;
  cursor: pointer;
}

.row {
  display: flex;
  gap: 20px; /* espacio entre columnas */
}
.row img{
  max-width: 70%;
}

.column {
  flex: 1; /* ambas columnas ocupan el mismo ancho */
}



.btn{
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px;
  background-color: rgb(176, 14, 111);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  border: none;

}

.btn:hover{
    background-color: rgb(115, 12, 70);
    color: white;
    transform: translateY(-5px);
    transition: transform 0.6s ease;
    cursor: pointer;
}

.espaciado{
  margin: 20px;
}

/* Tipografía */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;  
  position: sticky;
  top: 0;
  
  
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: rgb(202, 32, 157); 
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #222222;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #b00e6f;
}

/* Botón menú hamburguesa */
#menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero */
.hero {
    background-image: url(../assets/img/portada-fondo.jpg);
    background-repeat: no-repeat; 
    background-size: cover;
    
  text-align: center;
  padding: 6rem 2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 400;
  color: white;
}




/* Grid proyectos */
.work-section {
  padding: 4rem 2rem;
}

.work-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
}

/*cards*/
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card {
  background-color: rgba(73, 68, 73, 0.193);
  padding: 2rem;
  font-weight: 700;
  text-align: center;  
  cursor: pointer;
  transition: transform 0.6s ease;
  color: black; 
}

.card:hover {
  transform: translateY(-10px);
  color:#b00e6f;
  
}


/* About */
.about-section {
  background: linear-gradient(to right, #000000, #130f13, #000000);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.about-section h2 {
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

/* Contacto */
.contact-section {
  padding: 4rem 2rem;
  text-align: center;
}

.contact-section h2 {
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  font-size: 1rem;
  border-radius: 3px;
  resize: none;
}



/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #999;
}

/* Responsive - menú hamburguesa */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  #menu-toggle {
    display: block;
  }



}
