/* Reset y variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  /* Neutrales */
  --clr-black: #000000;
  --clr-white: #FFFFFF;
  --clr-gray-dark: #2E2E2E;
  --clr-gray-light: #B0B0B0;
  /* Acentos */
  --clr-gold: #D4AF37;
  --clr-yellow: #FFD700;
}

.Designed{
  color: #fff;
  text-decoration: none;
  transition: all .5s ease;
  text-shadow: 2px 2px 2px #000;
  filter: drop-shadow(0 0 3px #000);
}

.Designed:hover{
  animation: designed 10s linear infinite;
  transform: scale(1.02);
}

@keyframes designed{
  0%,100%{
    color: #fff;
  }
  10%{
    color: red;
  }
  20%{
    color: orange;
  }
  30%{
    color: yellow;
  }
  40%{
    color: green;
  }
  50%{
    color: aquamarine;
  }
  60%{
    color: blue;
  }
  70%{
    color: purple;
  }
  80%{
    color: rgb(247, 20, 107);
  }
  90%{
    color: red;
  }
}

/* Tipografía base */
body {
  font-family: 'Orbitron', sans-serif;
  background: var(--clr-black);
  color: var(--clr-white);
  line-height: 1.6;
}
/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--clr-gray-dark), var(--clr-black));
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  z-index: 10;
}
#navbar.shrink {
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 40px 40px;
  background: linear-gradient(45deg, transparent,#333, black);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(10px);
  /* mantener el box‑shadow dorado suave */
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.logo{
  transition: all .5s ease;
}

.logo:hover{
  transform: scale(1.03);
  filter: drop-shadow(0 0 4px gold);
}
/* CSS: reveal horizontal con show/hide al entrar/salir */
.reveal {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animaciones */
@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(-20px); opacity: 0; }
}

.menu.show {
  display: flex;
  animation: slideDown 0.3s ease forwards;
}

.menu.hide {
  animation: slideUp 0.3s ease forwards;
}

.menu a {
  margin-left: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-white);
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
}
.menu a:hover {
  color: var(--clr-yellow);
}
.menu a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--clr-yellow);
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}
.menu a:hover::after {
  width: 100%;
}

/* Ocultar botón en desktop y menú normal */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 20;
}
.hamburger .bar {
  width: 100%;
  height: 0.25rem;
  background: var(--clr-white);
  border-radius: 10px;
  transition: all 0.3s;
}

/* Download card estilo animado */
#download-section { padding:9rem 2rem; background: linear-gradient(black, #333); border-bottom: 2px solid #000;}
.download-card {
  display:flex; align-items:center; gap:2rem;
  background:linear-gradient(#222, #555);
  border:4px solid var(--clr-black); border-radius:1.5rem;
  box-shadow: 8px 8px 0 var(--clr-gold), -4px -4px 0 var(--clr-yellow);
  padding:2rem; flex-wrap:wrap;
  transition:transform .3s;
  width: 80%;
  margin: 0 auto 10px;
}
.download-card:hover { transform:scale(1.02) translateY(-5px); }

/* Imagen de la app */
.app-image { flex:1 1 300px; text-align:center; }
.app-image img { width:80%; border-radius:1rem; animation: appimg 4s infinite ease;}
@keyframes appimg{
  0%,100%{
    transform: scale(1);
  }
  50%{
    transform: scale(1.03);
  }
}

/* Información y botones */
.app-info { flex:1 1 300px; }
.app-info h2 { font-size:2rem; margin-bottom:1rem; color:var(--clr-yellow); filter: drop-shadow(0 0 4px #000);}
.app-info h3{color: #fff; filter: drop-shadow(0 0 3px #000);}
.app-info p { margin-top: 1rem; filter: drop-shadow(0 0 5px #000); padding: 10px; line-height:1.5; margin-bottom:1.5rem; color: #fff; border-radius: 10px; background: #222;}
.store-buttons { display:flex; gap:1rem; }
.store-btn {
  display:inline-block; width:100%; height:5rem;
  border:2px dashed var(--clr-black); border-radius:1rem;
  overflow:hidden;
  background: linear-gradient(90deg, #aaaaaa, #333); transition: all .5s ease;
  background-size: 200%;
  background-position: left;
  filter: drop-shadow(0 0 7px #000);
}

.store-btn img { width:100%; height:100%;  }
.store-btn:hover { transform:scale(1.05); box-shadow:3px 3px 0 var(--clr-gold); background-position: right;}

/* Contacto & Ubicación */
#contacto {
  display: flex;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  gap: 1rem;
  background-image: url(../img/banner/img-cont2.png);
  object-fit: cover;
}

#contacto .mapa {
  flex: 1 1 300px;
}
#contacto .mapa h2 {
  color: var(--clr-yellow);
  margin-bottom: 1rem;
  font-size: 2rem;
  filter: drop-shadow(0 0 5px #000);
}
#contacto .mapa iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 1rem;
}
.info-empresa {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.serv-transporte,
.contactos,
.redes {
  background: #111;
  padding: 1rem;
  border: 2px solid var(--clr-gold);
  border-radius: 1rem;
}
.serv-transporte h2,
.contactos h2 {
  color: var(--clr-yellow);
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 5px #000);
}
.serv-transporte p,
.contactos p {
  color: var(--clr-white);
}
.redes {
  background-color: #111;
  border: 2px solid #f7d13f;
  border-radius: 10px;
  padding: 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 110px;
  width: 100%;
  position: relative;
}

.redes h3 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
  color: #fff;
  text-align: left;
}
.logos-redes {
  position: absolute;
  left: 30%;
  bottom: 1rem;
  display: flex;
  gap: 3rem;
}

.logos-redes a img {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 6px #f7d13f);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logos-redes a img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px #ffe062);
}

.footer-politicas {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background-color: #111;
  padding: 1rem;
  position: relative;
  z-index: 10;
}

.footer-politicas .politica {
  position: relative;
  cursor: pointer;
}

.footer-politicas img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.footer-politicas img:hover {
  transform: scale(1.2);
}

.popup {
  display: none;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  color: #fff;
  padding: 1rem;
  border: 1px solid #f7d13f;
  border-radius: 10px;
  width: 400px;
  z-index: 999;
  box-shadow: 0 0 10px #000;
}

.popup h4 {
  margin-top: 0;
}

.btn-descarga {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: #ecc420;
  color: #111;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all .5s ease;
}

.btn-descarga:hover {
  background-color: #f8d443;
  box-shadow: 2px 1px 5px #000;
}

/* WhatsApp draggable */
#whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  z-index: 20;
  cursor: grab;
  user-select: none;
}
#whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
  transition: all .5s ease;
}

#whatsapp img:hover{
  transform: scale(1.05);
}

@media(max-width: 1000px){
  .logos-redes {
    bottom: .5rem;
    gap: 2rem;
  }

  .logos-redes a img {
    width: 40px;
    height: 40px;
  }
}

/* Responsive */
@media(max-width:768px) {
  .download-card { flex-direction:column; }
  .app-image, .app-info { flex:1; }
  .menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(90deg, rgb(51, 51, 51), rgb(26, 26, 26), rgb(51, 51, 51));
    filter: drop-shadow(0 0 3px gold);    position: absolute;
    top: 100%;
    right: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    width: 35%;
  }
  .menu a{
    text-align: center;
    margin: .25rem;
  }

  /* Muestra el botón hamburguesa */
  .hamburger {
    display: flex;
  }
  /* Cuando el menú tenga la clase 'show', muéstralo */
  .menu.show {
    display: flex;
  }
  .logos-redes {
    bottom: .5rem;
    gap: 2rem;
  }

  .logos-redes a img {
    width: 35px;
    height: 35px;
  }

  .footer-politicas {
    flex-direction: column;
    align-items: center;
  }

  .popup {
    width: 300px;
    bottom: 50px;
  }
}
