* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0f172a;
    color: #e5e7eb;
}

/* NAV */
header {
    background: #020617;
    position: sticky;
    top: 0;
}

nav {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #38bdf8;
    font-size: 1.6rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    margin-left: 1.5rem;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* HERO */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #020617, #1e293b);
}

.hero h1 {
    color: #38bdf8;
    margin-bottom: 1rem;
}

/* CARS */
.cars {
    max-width: 1200px;
    margin: auto;
    padding: 4rem 2rem;
}

.cars h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #38bdf8;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.car-card {
    background: #020617;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.car-card:hover {
    transform: translateY(-8px);
}

.car-card h3 {
    color: #38bdf8;
    margin-bottom: 0.5rem;
}

/* CONTACT */
.contact {
    background: #020617;
    text-align: center;
    padding: 4rem 2rem;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 1rem;
    background: #000;
}

/* MOBILE MENU */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #020617;
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .nav-links.nav-active {
        display: flex;
    }

    .nav-links li {
        padding: 1rem;
        text-align: center;
    }

    .burger {
        display: block;
    }
}




.car-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.car-card p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.price {
    display: inline-block;
    background: #38bdf8;
    color: #020617;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}







/* LOGO AGENCIA DEPORTIVA */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 75px;              /* MÁS GRANDE */
    height: 75px;
    border-radius: 50%;       /* REDONDO */
    background: #020617;
    padding: 6px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.8); /* SOMBRA AZUL */
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);    /* EFECTO LLAMATIVO */
}

.logo span {
    color: #38bdf8;
    font-size: 1.8rem;        /* TEXTO MÁS GRANDE */
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}




/* BOTÓN WHATSAPP PREMIUM */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.7);
    z-index: 999;
    animation: pulse 1.8s infinite;
}

.whatsapp-float img {
    width: 34px;
}

/* Animación */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}







.btn-cotizar {
    display: block;
    margin-top: 1rem;
    text-align: center;
    padding: 0.6rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #020617;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cotizar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.7);
}






/* Flechas del carrusel más grandes y visibles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1); /* iconos blancos */
}

/* Botones redondos con fondo */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  top: 50%;
  transform: translateY(-50%);
}

/* Efecto brillo al pasar el mouse */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: cyan;
  box-shadow: 0 0 15px cyan;
}

/* Iconos más grandes */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 80% 80%;
}



/* --- IMÁGENES DEL CARRUSEL SIN DISTORSIÓN --- */
.carousel-item img {
  height: 450px;              /* altura fija en escritorio */
  object-fit: cover;          /* recorte elegante sin deformar */
  width: 100%;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-item img {
    height: 260px;           /* más baja en celular */
  }
}







.map-container{
  width: 90%;
  max-width: 450px;      /* ⭐ Tamaño máximo */
  margin: 20px auto;     /* Centrado */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,.2);
}

/* ⭐ Hace el mapa responsivo sin deformarse */
.map-container iframe{
  width: 100%;
  height: 300px;         /* ⭐ Ajusta el tamaño aquí */
  border: 0;
}







table tbody tr:hover{
  background-color: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  transform: scale(1.01);
  transition: .2s ease-in-out;
}




.publicidad-video:hover {
  transform: scale(1.03);
  box-shadow: 0 0 35px rgba(0, 255, 255, .7);
  transition: .3s ease-in-out;
}




section .shadow:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(0,255,255,.4);
  transition: .3s ease-in-out;
}



#redes a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.6);
}





.social {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Facebook azul */
.facebook {
  background: #1877F2;
}

/* Instagram degradado */
.instagram {
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

/* Efecto hover */
.social:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 25px rgba(0,255,255,0.6);
}
