/* Estils adicionals per a la pàgina del projecte El Jardín de Elisa */

/* Project Hero Section */
.eljardindeelisa-background {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./img/eljardin-background.jpg') center/cover no-repeat;
}

.entrecuentas-background {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./img/entrecuentas-hero.jpg') center/cover no-repeat;
}

.inoxidablesmontseny-background {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/inoxidablesmontseny-hero.webp') center/cover no-repeat;
}

.voleibolmontseny-background {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/voleibolmontseny-hero.png') center/cover no-repeat;
}

#project-hero {
  color: #ffffff;
  text-align: center;
  padding: 4rem 1rem;
  margin-top: 90px;
}

#project-hero .container {
  max-width: 800px;
  margin: 0 auto;
}

#project-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.project-logo-small {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-top: 1rem;
  border: 4px solid #ffffff;
}

/* Project Details Section */
#project-details {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: -50px auto 2rem;
  padding: 0rem 2rem;
  border-radius: 10px;
  max-width: 800px;
}

.section-container {
  padding: 1rem 2rem 2rem 2rem;
  text-align: left;
}

.project-description {
  text-align: justify;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

#project-details ul {
  list-style: none;
  padding: 0;
}

#project-details ul li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

#project-details ul li strong {
  font-style: italic;
}

#project-details ul li a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

#project-details ul li a:hover {
  color: #0056b3;
}

/* Project Details Section V2 */
#project-details-v2 {
  display: flex;
  justify-content: center;
  flex: 3;
}

#project-details-v2 ul {
  list-style: none;
  padding: 0;
}

#project-details-v2 ul li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

#project-details-v2 ul li strong {
  font-style: italic;
}

#project-details-v2 ul li a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

#project-details-v2 ul li a:hover {
  color: #0056b3;
}

.project-description-v2 {
  text-align: justify;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

/* Footer Section */
footer {
  background: #333;
  color: #ffffff;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

.social-icons a {
  color: #ffffff;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #007bff;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  #project-hero {
    padding: 2rem 1rem;
    margin-top: 67px;
  }

  #project-hero h1 {
    font-size: 2rem;
  }

  .project-logo-small {
    width: 80px;
    height: 80px;
  }

  #project-details {
    margin: -30px 2rem 2rem;
    padding: 1rem;
  }

  .section-container {
    padding: 1rem;
  }

  .project-description {
    font-size: 0.9rem;
  }

  #project-details ul li {
    font-size: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
  }

  #project-details ul li strong {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  header .container {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  nav ul li {
    margin-bottom: 10px;
  }

  #project-hero h1 {
    font-size: 1.5rem;
  }

  .project-description {
    font-size: 0.85rem;
  }

  footer {
    padding: 1rem 0;
  }

  .social-icons a {
    font-size: 1.2rem;
  }
}



/* Contenedor general para preview y detalles */
#project-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Columna para la vista previa */
.project-preview {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Opcional: marco simulando un dispositivo móvil */
.screen-frame {
  border: 16px solid #333;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  overflow: hidden;
  /* Dimensiones típicas para un móvil */
  width: 360px;
  height: 600px;
}

/* Ajustamos el iframe para ocupar todo el marco */
.screen-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Columna para los detalles del proyecto */
.section-container-v2 {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0rem 2rem;
  border-radius: 10px;
  max-width: 800px;
  padding: 1rem 2rem 2rem 2rem;
  text-align: left; /* Alinea tot el contingut a l'esquerra */
}

/* Para dispositivos móviles, apilamos los elementos verticalmente */
@media (max-width: 768px) {
  #project-content {
    flex-direction: column;
    align-items: center;
  }
  
  /* Puedes ajustar el tamaño del marco para móviles si lo deseas */
  .screen-frame {
    width: 280px;
    height: 550px;
    margin-bottom: 1rem;
  }
}
