/* === FONDO CON LOGO === */
body {
  background: url("./img/Logos/Logo-Prin.png") center center no-repeat fixed;
  background-size: 400px;       /* tamaño del logo */
  background-color: #0a0a0a;    /* color de fondo base */
  color: #fff;
}

/* Oscurece un poco el contenido si el logo distrae */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85); /* capa semitransparente */
  z-index: -1; /* detrás del contenido */
}



:root {
  --azul: #00bfff;
  --gris: #c5c6c7;
  --fondo: #0b0c10;
  --secundario: #1f2833;
  --oscuro: #101820;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--fondo);
  color: white;
}

/* ---------- HEADER ---------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background-color: var(--oscuro);
  position: sticky;
  top: 0;
  z-index: 10;
}

header h1 {
  font-size: 1.8rem;
  color: var(--azul);
  letter-spacing: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--azul);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to right, #0b0c10, #1f2833);
  padding: 2rem;
}

.hero h2 {
  font-size: 2.8rem;
  color: var(--azul);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  color: var(--gris);
}

/* ---------- SECCIONES ---------- */
section {
  padding: 80px 10%;
  text-align: center;
}

section h2 {
  font-size: 2.2rem;
  color: var(--azul);
  margin-bottom: 1.5rem;
}

/* ---------- CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--secundario);
  padding: 2rem;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 191, 255, 0.2);
}

.card h3 {
  color: white;
  margin-bottom: 1rem;
}

.card p {
  color: var(--gris);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background-color: var(--azul);
  color: #000;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #46cfff;
  transform: scale(1.05);
}

/* ---------- CLIENTES ---------- */
.clientes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cliente {
  background-color: var(--secundario);
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 500;
}

/* ---------- CONTACTO ---------- */
#contacto p {
  color: var(--gris);
  margin: 0.6rem 0;
  font-size: 1rem;
}

#contacto a {

  text-decoration: none;
}

#contacto a:hover {
  text-decoration: underline;
}

/* ---------- FOOTER ---------- */
footer {
  background-color: var(--oscuro);
  text-align: center;
  padding: 2rem 10%;
  color: var(--gris);
}

footer a {
  color: var(--azul);
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 60px 5%;
  }

  .card {
    padding: 1.5rem;
  }

  footer {
    padding: 1.5rem 5%;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}

/* === HERO SLIDER FUNCIONAL === */
.hero-studio {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-studio .slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-studio .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-studio .slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

