
body {
  background: #000000;
  color: #fff
}

.sticky-uber {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.75) !important;
}

/* Transición general */
.transition-nav {
  transition: all .25s ease-in-out;
}

/* NAVBAR GLASS INICIAL (sobre el hero) */
.glass-nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Estado "shrink" al hacer scroll */
.navbar.shrink {
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
  background: rgba(0, 0, 0, 0.80) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cambios visuales cuando se encoge */
.navbar.shrink .navbar-brand {
  font-size: 1.1rem !important;
}

.navbar.shrink .nav-link {
  font-size: 0.93rem !important;
  opacity: 0.9;
}

/* Hover más elegante */
.nav-link:hover {
  opacity: 1;
}

.navbar.shrink .nav-link {
  font-size: 0.95rem !important;
}

.hero {
  background: url('https://radiotaximadrid.com/assets/img/vtc_taxi_madrid.webp') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  /* espacio para el navbar glass */
  color: white;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .8);
}
.hero {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
}
.service-card {
  padding: 30px;
  border-radius: 20px;
  text-align: center;
    background: rgba(255, 255, 255);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color:#444
}
.bg-light{
  color:#444
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.9);
}

.service-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, .25));
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
  min-height: 40px;
}
#mainNav {

  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

#mainNav.shrink {
  background-color: rgba(0, 0, 0, 0.85);
  /* ejemplo */
  padding: 0.1rem 1rem;
}

/* ===========================
   Colores base del proyecto
=========================== */
:root {
  --color-bg: #0d0d0d;
  /* Fondo general */
  --color-surface: #1a1a1a;
  /* Bloques */
  --color-border: #333333;
  /* Bordes */
  --color-text: #e6e6e6;
  /* Texto ppal */
  --color-text-muted: #b3b3b3;
  /* Texto secundario */
  --color-primary: #0d6efd;
  /* Azul bootstrap */
  --color-primary-dark: #0b5ed7;
  --navbar-height: 70px;
}

/* ===========================
   Fondo general de página
=========================== */
body {
  background: var(--color-bg);
  color: var(--color-text);
  padding-bottom: 110px;
  /* para botones flotantes */
  font-family: "Inter", sans-serif;
}

/* ===========================
   Títulos
=========================== */
h1,
h2,
h3,
h4,
h5 {
  color: var(--color-text);
  font-weight: 700;
}

/* ===========================
   BUSCADOR sticky
=========================== */
.sticky-search {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 15px;
  border-radius: 8px;
}

#search-input {
  background: #111;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

#search-input::placeholder {
  color: var(--color-text-muted);
}

/* ===========================
   Tarjetas LISTA FLEX
=========================== */
.poblaciones-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Tarjeta */
.poblacion-item {
  background: var(--color-surface);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.poblacion-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Título enlace */
.poblacion-title a {
  font-size: 1.25rem;
  color: var(--color-primary);
  text-decoration: none;
}

.poblacion-title a:hover {
  color: var(--color-primary-dark);
}

/* Texto secundario */
.poblacion-item p {
  color: var(--color-text-muted);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Bold labels */
.poblacion-item b {
  color: var(--color-text);
}

/* Botón */
.poblacion-item .btn-primary {
  background: var(--color-primary);
  border: none;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
}

.poblacion-item .btn-primary:hover {
  background: var(--color-primary-dark);
}

/* ===========================
   Responsive Grid
=========================== */
@media (min-width: 768px) {
  .poblaciones-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .poblacion-item {
    width: calc(50% - 10px);
  }
}

@media (min-width: 992px) {
  .poblacion-item {
    width: calc(33.33% - 10px);
  }
}

/* ===========================
   Scroll suave
=========================== */
html {
  scroll-behavior: smooth;
}