@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');
/* ======= BASE ======= */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}


/* ======= NAVBAR ======= */
.ozaeta-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #000;
  padding: 10px 30px;
  border-bottom: 2px solid #00f7ff;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.navbar-left {
  flex-shrink: 0;
}
.logo {
  color: #00f7ff;
  font-size: 24px;
  font-weight: bold;
}
.navbar-right {
  display: flex;
  flex-grow: 1;
  justify-content: flex-end;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #00f7ff;
}
/* ======= DROPDOWN ======= */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  border: 2px solid #00f7ff;
  border-radius: 20px;
  padding: 15px 20px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  width: 220px;
  font-size: 14px;
}
.dropdown:hover .dropdown-menu {
  display: flex;
}
.dropdown-menu li {
  list-style: none;
  margin-bottom: 10px;
}
.dropdown-menu li:last-child {
  margin-bottom: 0;
}
.dropdown-menu a {
  text-decoration: none;
  color: #fff;
  transition: color 0.2s;
}
.dropdown-menu li a:hover {
  background-color: transparent; 
  color: rgb(255, 51, 0);
}
/* ======= CARRUSEL ======= */
.scrollable-carousel {
  flex: 1;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding-bottom: 60px; 
}
.carousel.slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.carousel-item img {
  height: 100vh;
  object-fit: cover;
  display: block;
  width: 100%;
}
/* ======= FOOTER ======= */
.ozaeta-footer {
  background-color: #000;
  border-top: 2px solid #00f7ff;
  border-bottom: 2px solid #00f7ff;
  padding: 10px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
}
.footer-content {
  display: flex;
  align-items: center;
  gap: 40px;
  color: #00f7ff;
  font-size: 24px;
}
.footer-logo {
  font-size: 28px;
  font-weight: bold;
}
.footer-icon {
  font-size: 20px;
}
/* ======= CONTACTO ======= */
.contact-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.robot-bg-scroll {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  overflow-y: auto;
  z-index: 1;
}
.robot-bg-scroll img {
  width: 100%;
  height: auto;
  display: block;
}
.contact-info {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 50%;
  height: 100%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: transparent;
}
.contact-info h1 {
  font-size: 48px;
  margin-bottom: 30px;
}
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info li {
  font-size: 20px;
  margin-bottom: 20px;
}
.contact-info a {
  text-decoration: none;
  color: #00f7ff;
  transition: color 0.3s;
}
.contact-info a:hover {
  color: rgb(255, 51, 0);
}
/* ======= SERVICIOS ======= */
.servicio-section-scroll {
  background-image: url("img/fondo.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-y: auto;
  padding: 60px 0;
}
.servicio-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 40px 5%;
}
.servicio-wrapper.derecha {
  justify-content: flex-end;
}
.servicio-wrapper.izquierda {
  justify-content: flex-start;
}
.servicio-card {
  background-color: rgba(0, 0, 0, 0.4);
  border: 3px solid #00f7ff;
  border-radius: 20px;
  padding: 20px;
  width: 80%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.servicio-header {
  background-color: rgba(255, 0, 0, 0.7);
  border-radius: 20px;
  padding: 10px 20px;
  color: white;
  font-size: 18px;
  border: 2px solid white;
}
.servicio-video video {
  width: 100%;
  border-radius: 20px;
  border: 2px solid #00f7ff;
  display: block;
}
/* ======= HERO ======= */
.hero {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 2px 2px 10px #000;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
}
.hero p.lead {
  font-size: 1.5rem;
  color: #00f7ff;
}
#hero-carousel .carousel-item {
  height: 60vh;
}
#hero-carousel .btn-primary {
  background-color: #007bff;
  border: none;
  font-weight: bold;
  color: #fff;
}

/* ======= HISTORIA ======= */
#historia h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #00f7ff;
}
#historia p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff;
}
#historia img {
  border: 3px solid #00f7ff;
  border-radius: 12px;
}

/* ======= DISEÑO ======= */
#diseno {
  background-color: #000;
}
#diseno h2 {
  color: #00f7ff;
}
#diseno p {
  color: #fff;
  line-height: 1.6;
}
#diseno img {
  transition: transform 0.3s ease;
}
#diseno img:hover {
  transform: scale(1.05);
}

/* ======= INTERACCIÓN ======= */
#interaccion {
  background-color: #000;
}
#interaccion h2 {
  color: #00f7ff;
}
#interaccion p,
#interaccion .lead {
  color: #fff;
}
#interaccion input {
  background-color: #000;
  border: 2px solid #00f7ff;
  color: #00f7ff;
  border-radius: 10px;
  padding: 10px;
}
#interaccion .btn {
  background-color: #007bff;
  font-weight: bold;
}

/* ======= FILOSOFÍA ======= */
#filosofia {
  background-color: #111;
  padding: 60px 20px;
  color: #00f7ff;
}
#filosofia h2 {
  font-size: 2rem;
}
#filosofia blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: rgb(255, 51, 0);
  margin-bottom: 1.5rem;
}
#filosofia p,
#filosofia .lead {
  color: #fff;
}
#filosofia input {
  background-color: #000;
  color: #00f7ff;
  border: 1px solid #00f7ff;
  padding: 10px;
}

/* ======= REFERENTES ======= */
#referentes {
  background-color: #111;
  padding: 60px 30px;
  border-top: 2px solid #00f7ff;
  border-bottom: 2px solid #00f7ff;
}
#referentes h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #00f7ff;
}
#referentes ul li {
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.6;
}
#referentes em {
  color: #ff8888;
}
/* ======= FOOTER FINAL ======= */


.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: bold;
}
.footer-icon {
  color: #00f7ff;
  padding: 0 10px;
}

/* ======= DISEÑO CONCEPTUAL (img específica) ======= */
#diseno-conceptual img {
  border: 2px solid #00f7ff;
}
#diseno-conceptual .img-fluid {
  border-radius: 15px;
}

/* ======= BLOQUE RESPONSIVE ======= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .container h2 {
    font-size: 2rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* ======= GENERALES ======= */
h1, h2, h3, p, li {
  color: #00f7ff;
}
ul {
  padding-left: 1.5rem;
}
video {
  border: 3px solid #00f7ff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ======= ESTRUCTURA CONTENEDORES ======= */
.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
section {
  padding: 60px 20px;
  width: 100%;
  overflow: visible;
  
}
.container, .row, .col-md-6 {
  overflow: visible;
}

/* ======= SCROLL ======= */
html, body {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.servicio-header a {
  color: #00f7ff;             
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  text-decoration: none;        
  transition: color 0.3s;
}

.servicio-header a:hover {
  color: black;                
}

#herramientas {
  border-top: 2px solid #00f7ff;
  border-bottom: 2px solid #00f7ff;
}

.tool-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 4px rgb(255, 51, 0));
}

.tool-label:hover {
  color: rgb(255, 51, 0);
}

.tool-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 20px; 
  padding-bottom: 100px;
  gap: 10px;
  overflow: visible;
}

.tool-icon {
  max-height: 100px;
  object-fit: contain;
  width: auto;
  display: block;
}

.tool-label {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  color: #00f7ff;
  font-size: 16px;
  text-align: center;
  line-height: 1.1;
}

/* Blender destacado */
.tool-blender .tool-icon {
  max-height: 130px;
  filter: drop-shadow(0 0 15px #ff8c00);
  transition: transform 0.3s;
}

.tool-blender .tool-label {
  font-size: 20px;
  font-weight: bold;
  color: #00f7ff;
}

/* Ajuste específico para Arduino */
.tool-entry .tool-icon.arduino {
  max-height: 90px;
}

#herramientas,
#curriculum {
  background-image: url('img/fondo.png'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
}

#curriculum::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.397); 
  z-index: -1;
}
#herramientas {
  padding: 100px 40px !important;
}
#curriculum {
  padding: 100px 40px !important;
}

.guion-portada {
  width: 100%;
  border-radius: 20px;
  border: 2px solid #00f7ff;
  display: block;
  transition: transform 0.3s ease;
}
.guion-portada:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}

.servicio-video video {
  width: 100%;
  margin: 0 auto; 
  max-width: 700px;
  border-radius: 20px;
  border: 2px solid #00f7ff;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;

}

.servicio-video video:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}


/* Solo aplica a la página de NOVA para evitar conflictos */
.nova-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}

.nova-page h2,
.nova-page h3,
.nova-page p,
.nova-page li {
  font-family: 'Orbitron', sans-serif;
}


/* ==== Ajustes visuales solo para páginas con contenido expandido ==== */
.nova-intro-section {
  padding-top: 120px; 
  padding-bottom: 100px; 
}

.nova-intro-section h2 {
  margin-bottom: 40px;
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #00f7ff;
  text-shadow: 0 0 10px black;
}

.nova-gallery-section {
  padding-bottom: 120px; 
}

.nova-gallery-section video {
  border: 2px solid #00f7ff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.4);
  transition: transform 0.3s;
}
.nova-gallery {
  padding-bottom: 140px !important;
}

.nova-gallery video {
  border: 2px solid #00f7ff;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 247, 255, 0.4);
  transition: transform 0.3s ease;
}

.nova-gallery video:hover {
  transform: scale(1.03);
}


.nova-gallery-section video:hover {
  transform: scale(1.02);
}

  #referentes {
  background-image: url("img/fondo.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Orbitron', sans-serif;
  position: relative;
  z-index: 1;
}

  #referentes h2,
  #referentes h4 {
    color: #00f7ff;
  }

  #referentes p,
  #referentes li {
    color: #b8faff;
  }

  .img-fluid.rounded {
    border: 2px solid #00f7ff;
  }

#referentes .img-fluid.rounded {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
  border: 2px solid #00f7ff;
}

.hero-overlay {
  position: relative;
}

.hero-text-izq {
  position: fixed;
  bottom: 20%;       
  left: 5%;          
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.45);
  padding: 30px 25px;
  border-radius: 20px;
  max-width: 90%;
  backdrop-filter: blur(3px);
  text-shadow: 0 0 8px black;
  width: fit-content;
}


.titulo-hero {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #00f7ff;
}

.subtitulo-hero {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: white;
}

.descripcion-hero {
  font-size: 0.95rem;
  color: #b8faff;
}

@media (max-width: 768px) {
  .hero-text-izq {
    bottom: 10%;     
    left: 4%;
    padding: 15px 20px;
  }

  .titulo-hero {
    font-size: 1.4rem;
  }

  .subtitulo-hero {
    font-size: 1rem;
  }

  .descripcion-hero {
    font-size: 0.85rem;
  }
}

.servicio-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto;
  max-width: 1200px;
  gap: 40px;
  flex-wrap: wrap;
}

.servicio-wrapper.izquierda {
  flex-direction: row; /* Video izquierda, texto derecha */
}

.servicio-video {
  max-width: 500px;
  flex: 1;
}

.servicio-info {
  flex: 1;
  max-width: 500px;
}
