/* ========================================
   RESET Y ESTILOS UNIVERSALES
   ======================================== */

/* Ajuste universal para que todo responda bien */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Las imágenes se adaptan automáticamente */
img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Contenedor adaptable */
.contenedor {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 15px;
}

/* ========================================
   ESTILOS GENERALES
   ======================================== */

body {
  background-color: #FFFFFF;
  color: #333333;
  margin: 0;
  padding: 0;
  font-family: 'Rajdhani', sans-serif;
}

p {
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
}

p:has(+ .marcas-motos) {
  color: #00BFFF;
  font-family: 'Audiowide', sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin: 30px 0 10px 0;
}

h1 {
  color: #1E90FF;
  font-family: 'swipe', 'Orbitron', sans-serif;
  font-size: 56px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 8px rgba(30, 144, 255, 0.3);
  margin: 0;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 25px rgba(0, 0, 0, 0.8));
}

h2 {
  color: #1E90FF;
  font-family: 'Audiowide', sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========================================
   BARRA DE NAVEGACIÓN
   ======================================== */

.bar {
  background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
  width: 100%;
  height: 50px;
  display: flex;
  list-style: none;
  padding: 0;
  border-top: 2px solid #1E90FF;
  border-bottom: 2px solid #1E90FF;
  box-shadow: 0 2px 10px rgba(30, 144, 255, 0.2);
}

.bar li {
  height: 100%;
  width: 100px;
  border-right: 1px solid #1E90FF;
}

.bar li a {
  color: #333333;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Russo One', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.bar li a:hover {
  background-color: #1E90FF;
  color: #FFFFFF;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.bar li a.active {
  background-color: #1E90FF;
  color: #FFFFFF;
  font-weight: bold;
}

/* ========================================
   FORMULARIOS
   ======================================== */

form {
  padding: 20px 0;
  max-width: 500px;
  border-bottom: 2px solid #000dff;
}

form label {
  display: block;
  margin: 15px 0 5px 0;
  color: #0eb7e5;
  font-weight: bold;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin-bottom: 15px;
  border: 2px solid #00e5ff;
  background-color: #0a0a00;
  color: #0055ff;
  border-radius: 5px;
  font-family: 'Rajdhani', sans-serif;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  outline: none;
  box-shadow: 0 0 15px rgba(4, 0, 255, 0.5);
}

form textarea {
  height: 100px;
  resize: vertical;
}

form input[type="submit"] {
  background: linear-gradient(135deg, #1E90FF 0%, #0066CC 100%);
  color: #FFFFFF;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Russo One', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

form input[type="submit"]:hover {
  background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.6);
  transform: scale(1.05);
}

/* ========================================
   BÚSQUEDA
   ======================================== */

.search {
  display: flex;
  outline: 2px solid #1E90FF;
  border-radius: 5px;
  overflow: hidden;
}

.search > input {
  flex-grow: 1;
  border: 0;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: #FFFFFF;
  color: #333333;
  font-family: 'Rajdhani', sans-serif;
}

.search > input:focus {
  outline: none;
  background-color: #f8f9fa;
}

.search > button {
  padding: 0.8rem 2rem;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  background: linear-gradient(135deg, #1E90FF 0%, #0066CC 100%);
  color: #FFFFFF;
  font-family: 'Russo One', sans-serif;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.search > button:hover {
  background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.5);
}

/* ========================================
   UTILIDADES
   ======================================== */

.align-center {
  display: flex;
  align-items: center;
}

.inline-flex {
  display: inline-flex;
}

.bottom {
  margin-top: 10px;
  font-size: 14px;
}

.checkbox-block {
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.checkbox-block input {
  margin-right: 5px;
  cursor: pointer;
}

.radio-block input {
  margin: 0 3px 0 10px;
}

/* ========================================
   CARRUSEL
   ======================================== */

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 50px 0;
  margin: 0;
  border-top: 2px solid #1E90FF;
  border-bottom: 2px solid #1E90FF;
}

.carousel-track {
  display: flex;
  animation: slide 20s infinite linear;
  width: calc(390px * 10);
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-item {
  min-width: 350px;
  margin-right: 40px;
  text-align: center;
}

.carousel-item img {
  width: 320px;
  height: 240px;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid #1E90FF;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
  transition: all 0.3s ease;
}

.carousel-item img:hover {
  border-color: #0066CC;
  box-shadow: 0 6px 25px rgba(30, 144, 255, 0.5);
  transform: scale(1.05);
}

.carousel-item h3 {
  font-size: 18px;
  margin: 20px 0;
  color: #333333;
  font-weight: bold;
  line-height: 1.4;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   TABLAS
   ======================================== */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #FFFFFF;
  border: 2px solid #1E90FF;
}

table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #1E90FF;
  color: #333333;
  font-family: 'Rajdhani', sans-serif;
}

table tr:first-child td {
  background: linear-gradient(135deg, #1E90FF 0%, #0066CC 100%);
  font-weight: bold;
  color: #FFFFFF;
  font-family: 'Russo One', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

table tr:nth-child(even) {
  background-color: #f8f9fa;
}

table tr:hover {
  background-color: #e9ecef;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  color: #333333;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 2px solid #1E90FF;
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========================================
   ELEMENTOS ADICIONALES
   ======================================== */

hr {
  border: none;
  border-top: 2px solid #1E90FF;
  box-shadow: 0 2px 5px rgba(30, 144, 255, 0.3);
  margin: 20px 0;
}

ol, ul {
  color: #333333;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
}

ol li, ul li {
  margin: 10px 0;
  text-transform: capitalize;
}

/* ========================================
   MODAL PARA IMÁGENES
   ======================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  border: 2px solid #00BFFF;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.5);
  text-align: center;
}

.modal img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  border: 2px solid #00BFFF;
  margin-bottom: 20px;
}

.modal h3 {
  color: #FFFFFF;
  font-size: 24px;
  margin: 15px 0;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}

.modal p {
  color: #C0C0C0;
  font-size: 18px;
  margin: 10px 0;
}

.buy-button {
  background: linear-gradient(135deg, #FF4444 0%, #DC143C 100%);
  color: #FFFFFF;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-family: 'Russo One', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin: 20px 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.3);
}

.buy-button:hover {
  background: linear-gradient(135deg, #FF6666 0%, #FF4444 100%);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
  transform: scale(1.05);
}

.close-button {
  background: linear-gradient(135deg, #666666 0%, #333333 100%);
  color: #FFFFFF;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Russo One', sans-serif;
  cursor: pointer;
  margin: 10px;
  transition: all 0.3s ease;
}

.close-button:hover {
  background: linear-gradient(135deg, #888888 0%, #555555 100%);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #00BFFF;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #FF4444;
}

/* Hacer las imágenes del carousel clickeables */
.carousel-item img {
  cursor: pointer;
}/* 
========================================
   LISTA DE MARCAS DE MOTOS
   ======================================== */

.marcas-motos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px 0;
  list-style: none;
  margin: 20px 0;
}

.marcas-motos li {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #1E90FF;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(30, 144, 255, 0.2);
  overflow: hidden;
}

.marcas-motos li a {
  display: block;
  color: #333333;
  padding: 15px 20px;
  text-decoration: none;
  font-family: 'Russo One', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
}

.marcas-motos li:hover {
  background: linear-gradient(135deg, #1E90FF 0%, #0066CC 100%);
  border-color: #0066CC;
  box-shadow: 0 4px 20px rgba(30, 144, 255, 0.4);
  transform: translateY(-5px) scale(1.05);
}

.marcas-motos li:hover a {
  color: #FFFFFF;
}

.marcas-motos li:nth-child(odd) {
  border-color: #C0C0C0;
}

.marcas-motos li:nth-child(odd):hover {
  border-color: #00FFFF;
}/* 
========================================
   PÁGINAS DE MARCAS
   ======================================== */

.marca-info {
  background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
  border: 2px solid #00BFFF;
  border-radius: 15px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.marca-info h2 {
  color: #00BFFF;
  margin-bottom: 15px;
}

.marca-info p {
  color: #C0C0C0;
  font-size: 18px;
  line-height: 1.8;
}

.modelos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.modelo-card {
  background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
  border: 2px solid #00BFFF;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
}

.modelo-card:hover {
  border-color: #00FFFF;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
  transform: translateY(-10px);
}

.modelo-card img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #C0C0C0;
  margin-bottom: 20px;
}

.modelo-card h3 {
  color: #FFFFFF;
  font-family: 'Russo One', sans-serif;
  font-size: 24px;
  margin: 15px 0;
  text-transform: uppercase;
}

.specs {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  border: 1px solid #00BFFF;
}

.specs p {
  color: #C0C0C0;
  font-size: 14px;
  margin: 8px 0;
  text-align: left;
}

.specs strong {
  color: #00BFFF;
}

.precio {
  color: #00FFFF;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Russo One', sans-serif;
  margin: 20px 0;
}/
* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

/* Tablets y pantallas medianas (768px y menos) */
@media screen and (max-width: 768px) {
  
  /* Títulos más pequeños en móvil */
  h1 {
    font-size: 36px;
    letter-spacing: 2px;
    text-align: center;
    margin: 20px 0;
  }
  
  h2 {
    font-size: 24px;
    text-align: center;
    margin: 15px 0;
  }
  
  /* Navegación responsive */
  .bar {
    flex-direction: column;
    height: auto;
  }
  
  .bar li {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #00BFFF;
  }
  
  .bar li:last-child {
    border-bottom: none;
  }
  
  .bar li a {
    padding: 15px;
    font-size: 16px;
  }
  
  /* Lista de marcas responsive */
  .marcas-motos {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 15px 0;
  }
  
  .marcas-motos li a {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  /* Carrusel responsive */
  .carousel-container {
    padding: 30px 0;
  }
  
  .carousel-item {
    min-width: 280px;
    margin-right: 20px;
  }
  
  .carousel-item img {
    width: 250px;
    height: 180px;
  }
  
  .carousel-item h3 {
    font-size: 16px;
    margin: 15px 0;
  }
  
  /* Páginas de marcas responsive */
  .marca-info {
    padding: 20px;
    margin: 20px 10px;
  }
  
  .marca-info h2 {
    font-size: 20px;
  }
  
  .marca-info p {
    font-size: 16px;
  }
  
  .modelos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 10px;
  }
  
  .modelo-card {
    padding: 20px;
  }
  
  .modelo-card img {
    max-width: 100%;
    height: 180px;
  }
  
  .modelo-card h3 {
    font-size: 20px;
  }
  
  /* Modal responsive */
  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 15px;
  }
  
  .modal img {
    max-width: 100%;
  }
  
  .modal h3 {
    font-size: 20px;
  }
  
  .buy-button, .close-button {
    padding: 12px 20px;
    font-size: 16px;
    margin: 10px 5px;
  }
  
  /* Footer responsive */
  footer {
    padding: 15px 10px;
    font-size: 14px;
  }
}

/* Móviles pequeños (480px y menos) */
@media screen and (max-width: 480px) {
  
  body {
    padding: 0 10px;
  }
  
  h1 {
    font-size: 28px;
    letter-spacing: 1px;
  }
  
  h2 {
    font-size: 20px;
  }
  
  /* Navegación más compacta */
  .bar li a {
    padding: 12px;
    font-size: 14px;
  }
  
  /* Marcas más pequeñas */
  .marcas-motos {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .marcas-motos li a {
    padding: 10px;
    font-size: 12px;
    letter-spacing: 1px;
  }
  
  /* Carrusel más pequeño */
  .carousel-item {
    min-width: 240px;
    margin-right: 15px;
  }
  
  .carousel-item img {
    width: 220px;
    height: 160px;
  }
  
  .carousel-item h3 {
    font-size: 14px;
    margin: 10px 0;
  }
  
  /* Páginas de marcas más compactas */
  .marca-info {
    padding: 15px;
    margin: 15px 5px;
  }
  
  .marca-info h2 {
    font-size: 18px;
  }
  
  .marca-info p {
    font-size: 14px;
  }
  
  .modelo-card {
    padding: 15px;
  }
  
  .modelo-card h3 {
    font-size: 18px;
  }
  
  .specs p {
    font-size: 12px;
  }
  
  .precio {
    font-size: 18px;
  }
  
  /* Modal más pequeño */
  .modal-content {
    width: 98%;
    margin: 5% auto;
    padding: 10px;
  }
  
  .modal h3 {
    font-size: 18px;
  }
  
  .buy-button, .close-button {
    padding: 10px 15px;
    font-size: 14px;
    margin: 8px 3px;
  }
}

/* Pantallas grandes (1200px y más) */
@media screen and (min-width: 1200px) {
  
  body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .marcas-motos {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1000px;
    margin: 20px auto;
  }
  
  .modelos-grid {
    max-width: 1000px;
    margin: 30px auto;
  }
  
  .carousel-container {
    max-width: 1200px;
    margin: 0 auto;
  }
}/* =
=======================================
   PÁGINA DE CONTACTO
   ======================================== */

.contact-info {
  background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
  border: 2px solid #00BFFF;
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.contact-info h2 {
  color: #00BFFF;
  margin-bottom: 20px;
  text-align: center;
}

.contact-info p {
  color: #C0C0C0;
  font-size: 16px;
  margin: 10px 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.contact-info p:last-child {
  border-bottom: none;
}

.contact-info strong {
  color: #00BFFF;
  display: inline-block;
  width: 100px;
}

/* Mejorar formularios */
form h2 {
  color: #00BFFF;
  text-align: center;
  margin: 30px 0 20px 0;
}

form select {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin-bottom: 15px;
  border: 2px solid #00BFFF;
  background-color: #0a0a00;
  color: #C0C0C0;
  border-radius: 5px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
}

form select:focus {
  outline: none;
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
}

form select option {
  background-color: #1a1a1a;
  color: #C0C0C0;
}

/* Responsive para contacto */
@media screen and (max-width: 768px) {
  .contact-info {
    padding: 20px;
    margin: 15px 0;
  }
  
  .contact-info h2 {
    font-size: 20px;
  }
  
  .contact-info p {
    font-size: 14px;
  }
  
  .contact-info strong {
    width: 80px;
    font-size: 14px;
  }
  
  form {
    padding: 15px 0;
  }
  
  form h2 {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .contact-info {
    padding: 15px;
  }
  
  .contact-info strong {
    display: block;
    width: 100%;
    margin-bottom: 5px;
  }
  
  .contact-info p {
    font-size: 13px;
    padding: 10px 0;
  }
}