/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
font-family: 'Roboto Condensed', sans-serif;
  background: linear-gradient(135deg, #000000 0%, #4f4f47 70%, #000000 100%);
  background-attachment: fixed;
  margin: 0;
  padding: 20px;
  color: #ffffff;
  line-height: 1.6;
  font-weight: 400;
}

/* Header hasta arriba */
nav {
  background: linear-gradient(135deg, #009889e9 0%, #000000 100%);
  padding: 15px;
  text-align: right;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Letras ingles espanol */
nav a {
  color: rgb(255, 255, 255);
  margin-left: 15px;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: rgb(71, 69, 69);
  backdrop-filter: blur(10px);
  font-family: 'Roboto Condensed', sans-serif;
}

/* Color brillo ing/esp */
nav a:hover {
  background: rgba(255, 241, 38, 0.445);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Fondo muscle car */
header {
  text-align: center;
  margin-top: 30px;
  padding: 40px 20px;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('Imagenes/Fondo\ Header.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 {
  color: #ff0000;
  font-size: 2.5em;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #009889e9 0%, #009889e979 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
}

header p {
  font-size: 1.2em;
  opacity: 0.9;
  margin-bottom: 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}

.logo {
  max-width: 800px;
  height: auto;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(0.2em);
}

/* Carousel Principal */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 450px;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: rgb(255, 0, 0);
  padding: 40px;
  text-align: center;
  
}

/* Letras carrusel principal */
.slide-overlay h3 {
  margin: 0;
  font-size: 2.2em;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
}

.slide-overlay p {
  margin: 5px 0 0 0;
  font-size: 1.1em;
  opacity: 0.9;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}

/* Navegación del carousel principal */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 1.5em;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

/* Brillo flechas carrusel principal */
.carousel-nav:hover {
  background: #009889e9;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgb(255, 255, 255);
}

.prev {
  left: 5%;
}

.next {
  right: 5px;
}

/* Dots del carousel principal */
.carousel-dots {
  text-align: center;
  margin-top: 25px;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 8px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* Bolita cambio de imagenes carrusel principal */
.dot.active {
  background-color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

/* Contenedor de botones principales */
.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 50px 0;
  padding: 40px 20px;
  background: rgb(0, 0, 0);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Color letras botones */
.btn-primary, .btn-secondary, .btn-link {
  color: rgb(255, 255, 255);
  width: 160px;
  height: 55px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  font-family: 'Roboto Condensed', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Ajuste específico para el botón de Importación */
.btn-secondary:nth-child(3) {
  font-size: 0.7em !important;
  letter-spacing: 0.1px !important;
}

/* Botones autos en venta, servicio, etc */
.btn-primary, .btn-secondary, .btn-link {
  background: linear-gradient(135deg, #009889e9 0%, #009889e9 100%);
}

.btn-primary:hover, .btn-secondary:hover, .btn-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.btn-link:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Efectos de brillo en botones */
.btn-primary::before, .btn-secondary::before, .btn-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before, .btn-secondary:hover::before, .btn-link:hover::before {
  left: 100%;
}

/* Modales mejorados */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: block;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  margin: 3% auto;
  padding: 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.4s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  color: #ffffff;
}

/* Modal específico para autos en venta - fondo negro */
.cars-modal-content {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
  border: 2px solid rgba(0, 152, 137, 0.3) !important;
}

.cars-modal-content h2 {
  color: #009889e9;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  font-size: 3em; /* ← AGREGA ESTA LÍNEA */
}

/* Modal especial para el Bronco - aparece arriba */
.modal-bronco-content {
  margin: 2% auto !important;
  max-height: 90vh !important;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important;
}

.close {
  color: #009889e9;
  float: right;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 25px;
  top: 20px;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  color: #ffffff;
  background: rgba(0, 152, 137, 0.2);
  transform: rotate(90deg);

}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Grid de autos */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.car-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid rgba(0, 152, 137, 0.3);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.car-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 152, 137, 0.1) 0%, rgba(0, 152, 137, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.car-card:hover::before {
  opacity: 1;
}

.car-card:hover {
  transform: translateY(-10px);
  border-color: #009889e9;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.car-card h3 {
  color: #ffffffe9;
  margin: 20px 0 15px 0;
  font-size: 1.3em;
  position: relative;
  z-index: 2;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
}

/* Letras descripción autos en venta */
.car-card p {
  font-size: 1.1em;
  font-weight: 400;
  color: #ffffff;
  margin: 15px 0;
  line-height: 1.5;
  position: relative;
  z-index: 2;
  font-family: 'Roboto Condensed', sans-serif;
}

/* Carruseles de autos individuales */
.car-carousel-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.car-carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.car-carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.car-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.car-carousel-slide:hover img {
  transform: scale(1.05);
}

/* Navegación de carruseles de autos */
.car-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: rgb(255, 255, 255);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.2em;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.car-carousel-nav:hover {
  background: #009889e9;
  color: #000000;
  transform: translateY(-50%) scale(1.1);
}

.car-prev {
  left: 10px;
}

.car-next {
  right: 10px;
}

/* Dots de carruseles de autos */
.car-carousel-dots {
  text-align: center;
  margin-top: 15px;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.car-dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.car-dot.active {
  background-color: #ffffffe9;
  box-shadow: 0 0 10px #009889e9;
}

.car-dot:hover {
  background-color: #009889e9;
  transform: scale(1.2);
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

/* Letras de servicios */
.info-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  border-left: 4px solid #009889e9;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.info-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 152, 137, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.info-card h3 {
  color: #009889e9;
  margin-bottom: 15px;
  font-size: 1.3em;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
}

.info-card p {
  color: #ffffff;
  line-height: 1.6;
  opacity: 0.9;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.contact-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid rgba(0, 152, 137, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-item:hover {
  transform: translateY(-5px);
  border-color: #009889e9;
  box-shadow: 0 15px 35px rgba(0, 152, 137, 0.2);
}

.contact-item h3 {
  color: #009889e9;
  margin-bottom: 15px;
  font-size: 1.3em;
  font-family: 'PoppiRoboto Condensedns', sans-serif;
  font-weight: 600;
}

/* Estilos específicos para el modal del Bronco */
.bronco-details {
  margin-top: 30px;
}

.detail-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  margin: 20px 0;
  border-radius: 15px;
  border-left: 4px solid #009889e9;
}

.detail-section h4 {
  color: #009889e9;
  margin-bottom: 15px;
  font-size: 1.2em;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
}

.detail-section ul {
  list-style: none;
  padding-left: 0;
}

.detail-section li {
  color: #ffffff;
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}

.detail-section li::before {
  content: "▶";
  color: #009889e9;
  position: absolute;
  left: 0;
}

.contact-section {
  background: rgba(0, 152, 137, 0.1);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  margin-top: 30px;
  border: 2px solid #009889e9;
}

.contact-section h4 {
  color: #009889e9;
  margin-bottom: 15px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
}

.contact-section p {
  color: #ffffff;
  font-size: 1.1em;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}

/* Estilos para el formulario de contacto */
.contact-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid rgba(0, 152, 137, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #009889e9;
  font-weight: 500;
  font-family: 'Roboto Condensed', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #009889e9;
  box-shadow: 0 0 10px rgba(0, 152, 137, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #009889e9 0%, #007a6b 100%);
  color: #000000;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Roboto Condensed', sans-serif;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 152, 137, 0.4);
}

.contact-info-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid rgba(0, 152, 137, 0.3);
}

.contact-info-section h3 {
  color: #009889e9;
  margin-bottom: 25px;
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-details .contact-item {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(0, 152, 137, 0.2);
  text-align: left;
}

.contact-details .contact-item h4 {
  color: #009889e9;
  margin-bottom: 10px;
  font-size: 1.1em;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 500;
}

.contact-details .contact-item p {
  color: #ffffff;
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .carousel-slide {
    height: 300px;
  }
  
  .carousel-nav {
    padding: 10px 15px;
    font-size: 1.2em;
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }
  
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
    padding: 25px;
  }
  
  .modal-bronco-content {
    margin: 1% auto !important;
  }
  
  .car-carousel-container {
    height: 180px;
  }
  
  .car-carousel-nav {
    padding: 8px 12px;
    font-size: 1em;
  }
  
  .cars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .car-card {
    padding: 20px;
  }
  
  .info-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  header h1 {
    font-size: 2em;
  }
  
  .logo {
    max-width: 450px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    height: 250px;
  }
  
  .slide-overlay {
    padding: 20px;
  }
  
  .slide-overlay h3 {
    font-size: 1.5em;
  }
  
  .car-carousel-container {
    height: 160px;
  }
  
  .modal-content {
    padding: 20px;
  }
  
  .button-container {
    padding: 20px;
  }
  
  .modal-bronco-content {
    margin: 0.5% auto !important;
    padding: 15px !important;
  }
  
  .contact-form-container {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #009889e9 0%, #007a6b 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #007a6b 0%, #009889e9 100%);
}

/* Animaciones de entrada */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.car-card {
  animation: slideInFromBottom 0.6s ease forwards;
}

.info-card {
  animation: slideInFromLeft 0.6s ease forwards;
}

.contact-item {
  animation: slideInFromRight 0.6s ease forwards;
}

.car-details {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid #ffffff22;
  margin-top: 10px;
  padding: 20px;
  border-radius: 15px;
  text-align: left;
  color: #ffffff;
  animation: fadeIn 0.3s ease;
  font-family: 'Roboto Condensed', sans-serif;
}

.car-details.show {
  display: block;
}

/* Títulos y encabezados generales */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
}

/* Párrafos y texto general */
p, span, div {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}

/* Botones */
button {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 500;
}

/* Inputs y formularios */
input, select, textarea, label {
  font-family: 'Roboto Condensed', sans-serif;
}

/* Enlaces */
a {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 500;
}
/* Estilos para la galería mejorada */
.gallery-nav-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.gallery-nav-btn {
  padding: 12px 25px;
  background: linear-gradient(135deg, #009889e9 0%, #007a6b 100%);
  color: #000000;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 152, 137, 0.4);
}

.gallery-nav-btn.active {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  color: #000000;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.gallery-section {
  display: none;
  animation: fadeInGallery 0.5s ease;
}

.gallery-section.active {
  display: block;
}

@keyframes fadeInGallery {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grid para piezas y rines */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(0, 152, 137, 0.3);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.gallery-item:hover {
  transform: translateY(-8px);
  border-color: #009889e9;
  box-shadow: 0 15px 35px rgba(0, 152, 137, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-description {
  padding: 20px;
}

.gallery-description h4 {
  color: #009889e9;
  margin-bottom: 10px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.2em;
}

.gallery-description p {
  color: #ffffff;
  line-height: 1.5;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  opacity: 0.9;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; /* Espacio entre las imágenes y el logo */
  max-width: 100%;
  padding: 0 5px; /* Padding para no tocar los bordes */
}

.header-image {
  height: 50px; /* Ajusta según necesites */
  width: auto;
  object-fit: contain;
}

.left-image {
  order: 1;
}

.logo {
  order: 2;
  height: 350px; /* Mantener el logo un poco más grande */
}

.right-image {
  order: 3;
  height: 200px; /* Cambia este valor para el tamaño que quieras */
  width: auto; /* Mantiene las proporciones */
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .header-content {
    gap: 10px;
    padding: 0 10px;
  }
  
  .header-image {
    height: 60px;
  }
  
  .logo {
    height: 60px;
  }
}
/* Responsive para galería */
@media (max-width: 768px) {
  .gallery-nav-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .gallery-nav-btn {
    width: 80%;
    max-width: 250px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-item {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .gallery-description {
    padding: 15px;
  }
  
  .gallery-description h4 {
    font-size: 1.1em;
  }
  
  .gallery-description p {
    font-size: 0.9em;
  }
}
/* Ajustar logos del header en móviles */
@media (max-width: 400px) {
  .header-image.left-image,
  .header-image.right-image {
    height: 45px !important;
    width: auto !important;
    max-width: 25px !important;
  }
}

@media (max-width: 400px) {
  .header-image.left-image,
  .header-image.right-image {
    height: 45px !important;
    width: auto !important;
    max-width: 25px !important;
  }
}