/* TIPOGRAFÍA GLOBAL */
body, h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea {
    font-family: 'Poppins', sans-serif !important;
}

body {
    background: linear-gradient(180deg, #F2F5F9, #E9EEF5);
}

/* Hacer que los títulos destaquen un poco más */
h1, h2, h3, h4 {
    letter-spacing: -0.5px;
}

::selection {
    background: #FF3B3F;
    color: white;
}

/* 1. PALETA DE COLORES (Sobrescribiendo Bootstrap) */
:root {
    /* 🎯 COLOR PRINCIPAL (más vibrante y moderno) */
    --bs-primary: #FF3D5A;
    --bs-primary-rgb: 255, 61, 90;
    /* 🎯 SECUNDARIO (azul tech/mapa) */
    --bs-secondary: #3A86FF;
    /* 🎯 OSCURO (modo cine real, más profundo) */
    --bs-dark: #0B132B;
    --bs-dark-rgb: 11, 19, 43;
    /* 🎯 COLOR “FRIKI” DIFERENCIAL (clave) */
    --bs-info: #00F5D4;          /* Turquesa neón rollo sci-fi */
    /* 🎯 ACENTO CALIENTE (ratings, highlights) */
    --bs-warning: #FFBE0B;
    /* 🎯 EXTRA (opcional para detalles premium) */
    --accent-purple: #8338EC;    /* Muy útil para filtros/map markers */
    /* 🎯 FONDOS */
    --bs-body-bg: #F2F5F9;
    --bs-body-color: #2F2F2F;
    /* 🎯 LINKS */
    --bs-link-color: #00F5D4;
    --bs-link-hover-color: #7FFFD4;
}

/* 2. DISEÑO DE TARJETAS (Efecto "Flotante" moderno) */
.card {
    background-color: #FFFFFF !important;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
    transition: all 0.25s ease;
    overflow: hidden;
}

/* Efecto al pasar el ratón por las tarjetas */
.card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12) !important;
}

/* Redondear bien las imágenes dentro de las tarjetas */
.card-img-top {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

/* 3. BOTONES CON ESTILO */
.btn {
    border-radius: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #FF3B3F, #FF7A00);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 59, 63, 0.3);
}

/* Botón estilo links */
.btn-link {
    background-color: var(--bs-link-color);
    color: #0B132B; /* texto oscuro sobre turquesa */
    border: none;
    border-radius: 50px; /* redondeado pill */
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-link:hover {
    background-color: #7FFFD4; /* hover más claro */
    color: #0B132B;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 245, 212, 0.3);
}

/* 4. BARRA DE NAVEGACIÓN ELEGANTE */
.navbar {
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.navbar-brand {
    color: var(--bs-primary) !important;
    font-weight: 800;
}

/* 5. SOMBRAS SUAVES PARA EL MAPA */
#map {
    border-radius: 16px;
    border: 3px solid #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* 6. LINKS */
a {
    text-decoration: none;
}

a:hover {
    color: var(--bs-primary);
}

/* PIN */
.pin {
    width: 18px;
    height: 18px;
    position: relative;
}

/* Pin base visible */
.pin .pin-base {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 30px solid #FF3B3F; /* color del pin */
    z-index: 2; /* delante del radar */
}

/* Radar pulsante detrás del pin */
.pulse-radar {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.3); /* azul estilo Leaflet */
    animation: pulse 1.5s infinite;
    pointer-events: none;
    z-index: 0;
}

/* Animación del radar */
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* insignia */
.badge {
    border-radius: 999px;
    padding: 0.4em 0.8em;
    font-weight: 600;
}

/* Tabs personalizadas con tu color principal */
.nav-pills .nav-link {
    color: var(--bs-dark); /* texto por defecto */
    background-color: transparent; /* fondo normal transparente */
    transition: all 0.2s ease;
}

.nav-pills .nav-link:hover {
    color: #fff;
    background-color: #FF3D5A; /* hover color */
}

.nav-pills .nav-link.active {
    color: #fff;
    background-color: #FF3D5A; /* color activo principal */
    box-shadow: 0 4px 12px rgba(255, 61, 90, 0.3);
}

/* Redondeo y padding consistente con tu estilo */
.nav-pills .nav-link {
    border-radius: 50px; /* estilo pill */
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}
/*LOGO*/
.hero-logo-wrap {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: linear-gradient(135deg, #FF3B3F, #FF7A00);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(255, 61, 90, 0.32);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.hero-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    display: block;
}

.navbar-logo-white {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

