/* styles.css */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0e0e0e;
  color: #f5f5f5;
}

.hero {
  background: url('hero-bg.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.hero-buttons .btn {
  background-color: #d4af37;
  color: #0e0e0e;
  padding: 0.8rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
}

.featured-models {
  padding: 3rem 2rem;
  background-color: #121212;
}

.featured-models h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #d4af37;
}

.model-carousel {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.model-card img {
  width: 100%;
  border-radius: 8px;
}

.model-card h3 {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.model-card p {
  color: #aaa;
  font-size: 0.9rem;
}

.view-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.model-card:hover .view-button {
  opacity: 1;
}

.model-card {
  background-color: #1f1f1f;
  border-radius: 10px;
  overflow: hidden;
  width: 200px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.model-card:hover {
  transform: scale(1.05);
}

.model-image {
  position: relative;
}

.model-image img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
@media (min-width: 1024px) {
  .model-image img {
    max-height: 400px;
  }
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.model-card:hover .overlay {
  opacity: 1;
}

.btn-view {
  background-color: #d4af37;
  color: #0e0e0e;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 10px #d4af37;
  transition: transform 0.2s ease;
}

.btn-view:hover {
  transform: scale(1.1);
}

.promo-carousel {
  height: 90vh;
  position: relative;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden
}
.banner-wrapper {
  position: relative;
  height: 100%;
}

.banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: scale(1.05); /* Zoom inicial */
  animation: fadeZoom 1.2s ease-out forwards;
}

/* Animación de entrada */
@keyframes fadeZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.banner-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  max-width: 500px;
  width: 90%;
}

/* Botón estilizado */
.btn-banner {
  display: inline-block;
  margin-top: 1rem;
  background-color: #d4af37;
  color: #121212;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.btn-banner:hover {
  transform: scale(1.05);
}

.banner-content {
  background: rgba(0,0,0,0.6);
  padding: 1rem;
  border-radius: 8px;
  color: #fff;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  margin-top: 250px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.banner.show .banner-content {
  opacity: 1;
  transform: scale(1);
}

.btn-banner {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: #d4af37;
  color: #121212;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
@media (max-width: 768px) {
  .banner {
    background-size: contain;
    background-position: top center;
    height: 100vh;
  }

  .banner-content {
    margin-top: 100px;
    padding: 1rem;
    max-width: 90%;
  }
}

.destacadas {
  padding: 2rem;
  background-color: #121212;
  color: #d4af37;
}
.destacadas h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 1rem;
}
/* Flechas personalizadas (opcional) */
.swiper-button-prev,
.swiper-button-next {
  color: #d4af37;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  color: #d4af37; /* dorado */
}
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-contenido {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 0 10px #000;
}

.modal-contenido button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 16px;
}
.modal-contenido h2{
    color: black;
}
.modal-contenido p{
    color: black;
}