/* ─── Reset básico ─── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── Tipografía general ─── */
body {
  font-size: 1.20rem;
}

.comment-card {
  /* mantiene el radio en la parte de arriba, deja las de abajo a 90° */
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* ─── Header (no fijo) ─── */
.site-header {
  position: static;
  width: 100%;
  background: #fff;
  padding-bottom:10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  margin-bottom: 40px;
}
.site-header .navbar {
  display: flex;
  justify-content: center; /* Centra logo + título */
  align-items: center;
  padding: 0.5rem 1rem;
}
.logo-title {
  display: flex;
  align-items: center;
  text-decoration: none !important;
}
.logo-title img {
  height: 45px;
  margin-right: 0.5rem;
}
.logo-title h1 {
  font-size: 4rem;
  color: #c00;
  white-space: nowrap;
  margin: 0;
}

/* ─── Búsqueda avanzada ─── */
#advancedSearch {
  display: none;
  background: #f8f9fa;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

/* ─── Tarjetas de lugar ─── */
.card {
  transition: box-shadow .3s;
}
.card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ─── Carrusel de fotos ─── */
#carouselPhotos {
  max-width: 800px;
  margin: 2rem auto;
}
#carouselPhotos .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-bottom: 2rem;
}
.thumb-photo {
  height: 80px;
  cursor: pointer;
  border: 2px solid transparent;
}
.thumb-photo.active {
  border-color: #c00;
}
#carouselPhotos .carousel-caption {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  padding: 0.5rem;
  text-align: center;
}
.carousel-caption a {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
}

/* ─── Secciones ─── */
section {
  padding: 2rem 0;
}
section h2 {
  color: #c00;
}
section h3 {
  color: #006699;
  margin: 2rem 0 1rem;
}

/* ─── Sidebar publicidad ─── */
.sidebar-ad {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: .5rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* ─── Footer ─── */
footer {
  background: #c00;
  color: #fff;
  padding: 2rem 0;
}
footer a {
  color: #fff;
  text-decoration: none;
}

/* ─── Banner de Cookies ─── */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px;
  z-index: 1050;
}
.cookie-consent a {
  text-decoration: none;
  color: #fff;
}

.pagination .page-item.active .page-link {
  background-color: red;
  border-color: red;
  color: #fff;
}

/* ─── Responsive ─── */



@media (max-width: 980px) {


  .input-group,
  .input-group-sm {
    display: block !important;
    flex-wrap: wrap  !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .input-group > .form-control,
  .input-group-sm > .form-control {
    width: 100% !important;
  }
  .input-group > .input-group-text,
  .input-group > .btn,
  .input-group-sm > .input-group-text,
  .input-group-sm > .btn {
    margin-top: .5rem;    /* separa verticalmente los elementos */
  }

 

#nearbyRadius,
#tipoLugar,
#provincia{
	
    display: block !important;
    flex-wrap: wrap  !important;
    margin-left: 0 !important;
    margin-right: 0 !important;	
    margin-bottom: 10px;
    width: 100% !important;
}


#masFiltros{
	
	margin-top: 3px!important;
	margin-bottom: 0px!important;
	
}

#botonBuscar,
#botonLimpiar{
	
	width: 48%!important;
	margin: 1px!important;
	padding: 0px!important;
	padding-top: 4px!important;
	padding-bottom: 4px!important;
	
}

#buscalimpia,
#divCercanosBtn{
	width:100%;
	text-align:center;
	margin: auto;
	padding-top: 4px;
	
}


#nearbyBtn {
	
	text-align:center;
	margin: auto;
	width: 100% !important;
	
}



}


@media (max-width: 776px) {
  .logo-title img {
    height: 30px;
  }
  .logo-title h1 {
    font-size: 3rem;
  }
  
  /* ─── Banner de Cookies ─── */
.cookie-consent {
 
font-size:1rem;
padding: 7px;

}
.carousel-caption a {
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
}  






}
@media (max-width: 576px) {

  .logo-title h1 {
    font-size: 2rem;
  }
  
    /* ─── Banner de Cookies ─── */
.cookie-consent {
 
font-size:0.8rem;
padding: 7px;

}
.carousel-caption a {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
}  

.site-header {

  padding-bottom:0px!important;
  
  }
  
}




