
/* styles.css para Arteficial.Studio */

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

body, html {
  font-family: sans-serif; 
  color: #fff;
}

/* Fondo visual del sitio */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/back.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.98;
  z-index: -1;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #111;
}

header img {
  height: 50px;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: transform 0.2s, color 0.2s;
}

nav a:hover {
  color: #00ffee;
  transform: scale(1.1);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.slider {
  display: flex;
  width: 400%;
  animation: slide 16s infinite;
}

.slide {
  width: 100%;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

@keyframes slide {
  0%   { transform: translateX(0%); }
  25%  { transform: translateX(-100%); }
  50%  { transform: translateX(-200%); }
  75%  { transform: translateX(-300%); }
  100% { transform: translateX(0%); }
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 1px 1px 4px black;
}

.hero-overlay h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-button {
  background: #00ffee;
  color: #000;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #00cccc;
}

main {
  padding: 3rem 2rem;
  text-align: center;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #111;
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.9rem;
}

footer a {
  color: #ccc;
  margin: 0 0.7rem;
  text-decoration: none;
}

footer a:hover {
  color: #00ffee;
}

/* Estilo para las secciónes Nosotros, etc */
.bloque {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 30px;
  margin: 40px auto;
  max-width: 1200px;
  flex-wrap: wrap;
}

.imagen {
  flex: 1 1 40%;
  text-align: center;
}

.imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.texto {
  flex: 1 1 55%;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
}

