/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
body {
    overflow-x: none;
    font-family: "Manrope", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #8a8a8a;
    padding: 0;
    line-height: 1.9em;
    word-spacing: 0px;
    background-image: url(../images/bg.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}
.cabecera{
	background-color: rgba(42,42,42,0.90) !important;
}
.logo img {
	max-width: 100%;
	height: auto;
	transition: all 0.3s ease;
}

@media (max-width: 767px) {
	.logo img {
		max-width: 200px;
	}
}

@media (max-width: 576px) {
	.logo img {
		max-width: 150px;
	}
}
.botonera{
    background-color: rgba(37,38,47,0.90);
}

.bg-light {
  background-color: transparent !important;
}
.navbar {
	font-family: "Manrope", Helvetica, Arial, sans-serif;
	font-size: 13px !important;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}
.telefono-nav {
    display: flex;
    align-items: center;
    border-radius: 5px;
    background-color: rgba(255,0,4,1.00);
	font-family: "Manrope", Helvetica, Arial, sans-serif;
}
.telefono-nav .nav-link {
	color: white !important;
	font-weight: 500;
	padding: 0.5rem 1rem !important;
	margin: 0;
}
.linea{
    border-top: 4px solid #FF0004;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
}
.texto{
    font-family: "Oxanium", Helvetica, Arial, sans-serif;
    text-align: center;
    font-size: 30px;
    font-weight: 200;
    line-height: 30px;
	color: white
}
.texto1{
    font-family: "Oxanium", Helvetica, Arial, sans-serif;
    text-align: center;
    font-size: 50px;
    font-weight: 200;
    line-height: 41px;
	color: white
}
.frace{
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 110px;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

.img_auto{
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.bienvenida{
	text-align: center;
	background-color: #25262f;
}
.subtitle{
    position: relative;
    font-weight: 500;
    display: inline-block;
    font-size: 12px;
    font-family: "Oxanium", Helvetica, Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5em;
    margin-bottom: 20px;
    padding-top: 6px;
    padding-bottom: 3px;
    letter-spacing: 10px;
    text-transform: uppercase;
    border-radius: 3px;
}

.subtitle:before,
.subtitle:after{
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background: red;
  left: 0;
  bottom: 0;
}
.subtitle:after{
  bottom: auto;
  left: auto;
  top:0;
  right: 0;
}
h2{
    font-family: "Oxanium", Helvetica, Arial, sans-serif;
    text-align: center;
    font-size: 30px;
    font-weight: 200;
    margin-bottom: 25px;
    color: white;
    line-height: 40px;
    letter-spacing: 10px;
}
.en_numeros{
    background-color: rgba(147,155,200,0.30);
	padding-bottom: 20px
}
.caja{
    margin: 0;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(169,169,169,0.30);
}
.icon{
	margin-top: 15px;
	height: 70px
}
.numero{
	text-align: center;
	font-family: "Oxanium", Helvetica, Arial, sans-serif;
	font-size: 40px;
    font-weight: 200;
	color: white;
	margin-top: 10px
}
.descripcion{
    text-align: center;
    color: white;
    font-family: "Oxanium", Helvetica, Arial, sans-serif;
    font-weight: 200;
    letter-spacing: 5px;
	margin-top: 10px
}
.marcas{
	background-color:black;
}
.destacados{
    text-align: center;
    background-color: #1f212b;
}
.items{
    border-radius: 10px;
    padding: 10px;
    background-color: black;
}
.datos{
    border-bottom: 2px solid rgba(255,255,255,1.00);
	margin-bottom: 10px;
	padding-bottom: 10px
}
.datos_lista{
	margin-bottom: 5px;
	padding-bottom: 5px
}
.marca{
	text-align: left;
	font-size: 25px;
	color: white
}
.modelo{
	text-align: left;
	font-size: 14px;
	color: white
}
.precio{
	text-align: right;
	font-size: 16px;
	color: white;
	font-weight: 600
}
.caracteristicas{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 14px;
	color: white;
	margin-top: 10px;
}
.caracteristicas .separador{
	color: rgba(255,255,255,0.5);
	font-weight: 300;
}
.entrar a{
    font-family: "Oxanium", Helvetica, Arial, sans-serif;
    letter-spacing: 10px;
    text-decoration: none;
    color: white;
    padding: 10px;
    border: 1px solid rgba(255,255,255,1.00);
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    border-radius: 5px;
    display: table;
    transition: background-color 0.3s ease;
}
.entrar a:hover{
	background-color: red;
}
.direccion{
	text-align: center;
	color: white;
}
.telefono{
	text-align: center;
	font-size: 18px;
	color: white;
	margin-bottom: 10px
}
.redes{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
}
.red-social{
	color: white;
	font-size: 24px;
	text-decoration: none;
	transition: color 0.3s ease;
}
.red-social:hover{
	color: #FF0004;
}
.copy{
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	background-color: rgba(37,38,47,0.90);
}
footer{
    border-top: 4px solid #FF0004;
    width: 100%;
	background-color: black;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	color: white;
}
footer .direccion{
	color: white;
}
footer .telefono{
	color: white;
}
.seccion{
    background-image: url(../images/bg_titulos.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding-top: 20px;
    padding-bottom: 20px;
}
h3{
    font-family: "Oxanium", Helvetica, Arial, sans-serif !important;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}
span{
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

/* Estilos responsive para catálogo */
.items {
    transition: all 0.3s ease;
    border-color: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.02);
}

.items .foto {
    width: 100%;
    max-width: 100%;
}

.overlay-vendido {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Catálogo - contenedor de imagen con overlay vendido */
.foto-catalogo {
    width: 280px;
    min-width: 280px;
    max-height: 200px;
    overflow: hidden;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.foto-catalogo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Catálogo: reducir espacio inferior del item */
.items .datos_lista .entrar {
    margin-bottom: 0;
}

.items .datos_lista .entrar a {
    margin-top: 12px;
    margin-bottom: 0;
}

.overlay-vendido-catalogo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    pointer-events: none;
}

.overlay-vendido-catalogo .badge-vendido {
    max-width: 60%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .foto-catalogo {
        width: 100%;
        min-width: 100%;
        max-height: 220px;
    }

    .foto-catalogo img {
        width: 100%;
        height: 220px;
    }
}

/* Overlay vendido para cards (home/destacados) */
.overlay-vendido-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    pointer-events: none;
}

.overlay-vendido-card .badge-vendido {
    max-width: 60%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.btn-descubrir {
    letter-spacing: 10px;
    font-family: "Oxanium", Helvetica, Arial, sans-serif;
    padding: 10px 30px;
    transition: background-color 0.3s;
}

@media (min-width: 768px) {
    .items .foto {
        width: 100%;
    }
    .btn-descubrir {
        max-width: 250px;
        width: auto;
    }
}

@media (max-width: 767px) {
    .items .foto {
        width: 100%;
    }
}

/* Estilos para show.blade.php de auto */
.card-auto {
    background-color: rgba(37, 38, 47, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.img-placeholder {
    height: 300px;
}

@media (min-width: 768px) {
    .img-placeholder {
        height: 500px;
    }
}

.overlay-vendido-auto {
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 10;
}

.precio-auto {
    color: #FF0004;
    font-size: 16px;
}

.caracteristicas-border {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.caracteristica-label {
    color: rgba(255, 255, 255, 0.7);
}

.descripcion-texto {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    white-space: pre-wrap;
}

.form-control-custom {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    font-size: 13px;
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control-custom:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 4, 0.25);
}

.btn-enviar {
    background-color: #FF0004 !important;
    color: white !important;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    letter-spacing: 10px;
    font-family: "Oxanium", Helvetica, Arial, sans-serif;
    transition: background-color 0.3s;
}

.btn-enviar:hover {
    background-color: #cc0003 !important;
    color: white !important;
}

.alert-vendido {
    background-color: rgba(255, 193, 7, 0.2) !important;
    border: 1px solid #ffc107 !important;
    color: #fff !important;
}

/* Responsive para autos relacionados */
@media (max-width: 576px) {
    .items {
        margin-bottom: 1rem;
    }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #fff;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 15px;
        right: 15px;
    }
}