Several factors influence real estate prices in Castelldefels, a coastal town near Barcelona. Firstly, its proximity to the Mediterranean Sea plays a significant role, as properties with ocean views command higher prices. The availability and quality of local amenities, such as schools, shopping centers, and parks, also affect market demand; for instance, homes located near the popular Castelldefels beach or the town center tend to be more sought after. Additionally, the overall economic climate, including average income levels and employment opportunities in the region, impacts buyer purchasing power. Seasonal tourism can create fluctuations in demand, particularly for vacation rentals. Infrastructure developments, like upgrades to public transport links connecting Castelldefels to Barcelona, further enhance accessibility, influencing real estate values. Lastly, the aesthetic appeal of neighborhoods, characterized by their architecture and green spaces, also plays an essential role in determining property prices.