/*
Theme Name: Garaje Abierto
Author: Nicolás Ortiz
Description: Tema personalizado para Garaje Abierto
Version: 1.0
*/

/* 🔹 Reset básico */
body, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f4f4f4;
    color: #000000;
    line-height: 1.6;
}

/* 🔹 Header con logo */
header {
    background-color: #000000;
    text-align: center;
}

.logo-full {
  display: block;
  margin: 0 auto;
  height: auto;
}

@media (min-width: 992px) {
  .logo-full { width: 600px; max-width: 100%; }
}
@media (min-width: 576px) and (max-width: 991px) {
  .logo-full { width: 500px; max-width: 100%; }
}
@media (max-width: 575px) {
  .logo-full { width: 350px; max-width: 100%; }
}

/* 🔹 Franja roja */
.franja-roja {
    background-color: #e60000;
    min-height: 90px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 -2px 5px rgba(0,0,0,0.3);
}

/* 🔹 Botones cuadrados negros con borde rojo */
.custom-btn {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background-color: #111;
    border: 2px solid #e60000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}

.custom-btn i {
    font-size: 1.2rem;
    color: #fff;
}

.custom-btn.me-2 { margin-right: 10px; }

.custom-btn:hover {
    background-color: #e60000;
    border-color: #111;
    transform: scale(1.1);
}

/* 🔹 Botón "Publicar vehículo" con texto */
.btn-publicar {
    height: 45px;
    border-radius: 8px;
    background-color: #111;       /* negro mate */
    border: 2px solid #e60000;    /* borde rojo intenso */
    color: #fff;                  /* texto blanco */
    padding: 0 15px;              /* ancho suficiente para texto */
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: middle;
    text-decoration: none;
}

.btn-publicar i {
    margin-right: 6px;            /* espacio entre ícono y texto */
    font-size: 1.2rem;
    color: #fff;
}

.btn-publicar:hover {
    background-color: #e60000;    /* rojo intenso al pasar el mouse */
    border-color: #111;           /* borde negro */
    transform: scale(1.05);
}

/* 🔹 Botón "Borrar filtros" */
.clear-btn {
    height: 45px;
    border-radius: 8px;
    background-color: #e60000;
    border: 2px solid #111;
    color: #fff;
    padding: 0 15px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: middle;
    text-decoration: none;
}

.clear-btn:hover {
    background-color: #111;
    border-color: #e60000;
    transform: scale(1.05);
}

/* 🔹 Cards de vehículos */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    background-color: #fff;
}
.card:hover { transform: scale(1.03); }
.card-img-top { width: 100%; height: 200px; object-fit: cover; }
.card-title { font-size: 1.2rem; font-weight: bold; color: #212529; margin-bottom: .75rem; }
.card-body p { margin-bottom: .5rem; font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }

/* 🔹 Botón WhatsApp */
.btn-success { background-color: #25d366; border: none; font-weight: bold; transition: background-color 0.2s ease-in-out; }
.btn-success:hover { background-color: #1ebe5d; }

/* 🔹 Contenedor */
.container { max-width: 1200px; }

/* 🔹 Título */
h2 { font-size: 1.6rem; font-weight: bold; color: #212529; margin-bottom: 1rem; }

/* 🔹 Grilla */
@media (min-width: 768px) {
    .col-md-4 { flex: 0 0 auto; width: 33.3333%; }
}

/* 🔹 Carrusel */
.carousel-item img {
    border-radius: 10px 10px 0 0;
    height: 250px;
    object-fit: cover;
}

/* 🔹 WhatsApp flotante */
.whatsapp-icon-float { position: fixed; bottom: 20px; right: 20px; z-index: 1000; }
.whatsapp-icon { width: 55px; height: 55px; }
.whatsapp-message {
    position: fixed; bottom: 90px; right: 20px;
    background-color: #000; color: #fff;
    padding: 12px 18px; border-radius: 8px;
    font-size: 15px; font-weight: bold; text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); z-index: 999;
}

/* 🔹 Flecha volver arriba */
#scrollTopBtn {
    display: none; position: fixed; bottom: 160px; right: 20px;
    background-color: #000; color: #fff;
    font-size: 24px; padding: 10px 15px;
    border-radius: 50%; cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); z-index: 1000;
    transition: transform 0.2s ease-in-out;
}
#scrollTopBtn:hover { transform: scale(1.1); }

/* 🔹 Botón "Publicar vehículo" */
.btn-publicar {
    height: 45px;
    border-radius: 8px;
    background-color: #111;       /* negro mate */
    border: 2px solid #e60000;    /* borde rojo intenso */
    color: #fff !important;       /* texto blanco forzado */
    padding: 0 15px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: middle;
    text-decoration: none !important; /* quita subrayado */
}

.btn-publicar i {
    margin-right: 6px;
    font-size: 1.2rem;
    color: #fff !important;
}

.btn-publicar:hover {
    background-color: #e60000;    /* rojo intenso al pasar el mouse */
    border-color: #111;
    transform: scale(1.05);
    color: #fff !important;
}