/* =========================
   ESTILOS GENERALES
   ========================= */

  @import url('https://fonts.googleapis.com/css2?family=Asap:wght@400;500;600;700;800&display=swap');


body {
  font-family: 'Asap', sans-serif;
  color: #333;
  background-color: #f5f6f7;
}

h1, h2, h5 {
  font-weight: 700;
}



/* Botón principal en dorado (para conservar contraste) */
.btn-warning {
  background-color: #f2c037;
  border: none;
  color: #222;
}

.btn-warning:hover {
  background-color: #d9aa2d;
  color: #111;
}

/* =========================
   HEADER / NAVBAR
   ========================= */

.navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.7rem 1rem;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

.navbar-light .nav-link {
  color: #007bbd !important;
  font-weight: 500;
  margin: 0 5px;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link.active {
  color: #f2c037 !important;
}

.navbar .btn-warning {
  font-weight: 600;
  border-radius: 6px;
  padding: 5px 15px;
}


/* =========================
   HERO SECTION
   ========================= */
.hero {
  background: 
    linear-gradient(to bottom, rgba(110,193,228,0.5), rgba(255,255,255,0.6)),
    url('../img/banner-ferias.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003366;
  text-shadow: 0 2px 6px rgba(255,255,255,0.7);
}

.hero h1 {
  background-color: rgba(255, 255, 255, 0.75);
  padding: 10px 20px;
  border-radius: 10px;
}

/* =========================
   FILTROS
   ========================= */
.filtros {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.filtros input,
.filtros select {
  border-radius: 8px;
  border: 1px solid #cce7f3;
}

/* =========================
   EVENTOS
   ========================= */
.event-card img {
  height: 200px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
}

.event-card {
  background-color: #fff;
  border: 1px solid #e6f1f8;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 123, 189, 0.2);
}

.event-card h5 {
  color: #007bbd;
}

/* =========================
   CONTACTO
   ========================= */
#contacto {
  background-color: #007bbd;
  color: white;
  padding: 60px 0;
}

#contacto h2 {
  color: #f2c037;
}

#contacto .form-control {
  border-radius: 8px;
  border: 1px solid #cce7f3;
}



.role-card {
  cursor: pointer;
  transition: all .2s ease;
}

.role-card.active {
  border: 2px solid #000;
  transform: scale(1.03);
}

.role-description {
  margin-top: 30px;
  min-height: 120px;
}

  /* estilo mínimo */
    #map { width:100%; height:75vh; }
    .marker-card { max-width: 280px; }
    .marker-card img { width:100%; height:120px; object-fit:cover; border-radius:4px; }
    .legend { background:#fff;padding:8px;border-radius:6px; box-shadow:0 2px 6px rgba(0,0,0,0.15); }



.df-home-publicidad{
    position: relative;
    text-align: center;
}

.df-publicidad-banner{
    width: 100%;
    display: flex;
    justify-content: center;
}

.df-publicidad-banner img{
    width: auto;
    height: auto;
    display: block;
    border-radius: 14px;
    max-width: 100%;
}

.select2-container{
    width:100% !important;
}

.select2-container--default .select2-selection--single{
    height:38px !important;
    border:1px solid #ced4da !important;
    border-radius:.375rem !important;
    background:#fff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height:38px !important;
    padding-left:12px !important;
    color:#212529 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
    height:38px !important;
    right:8px !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single{
    border-color:#86b7fe !important;
    outline:0 !important;
    box-shadow:0 0 0 .25rem rgba(13,110,253,.25) !important;
}

